Skip to content

Commit

Permalink
publish new version
Browse files Browse the repository at this point in the history
  • Loading branch information
dmail committed Nov 17, 2023
1 parent 7d23cbe commit c564175
Show file tree
Hide file tree
Showing 18 changed files with 167 additions and 99 deletions.
5 changes: 5 additions & 0 deletions dist/jsenv_core.js
Original file line number Diff line number Diff line change
Expand Up @@ -3761,6 +3761,7 @@ const createLog = ({
const { columns = 80, rows = 24 } = stream;

const log = {
destroyed: false,
onVerticalOverflow: () => {},
};

Expand Down Expand Up @@ -3825,6 +3826,9 @@ const createLog = ({
};

const write = (string, outputFromOutside = streamOutputSpy()) => {
if (log.destroyed) {
throw new Error("Cannot write log after destroy");
}
if (!lastOutput) {
doWrite(string);
return;
Expand All @@ -3845,6 +3849,7 @@ const createLog = ({
};

const destroy = () => {
log.destroyed = true;
if (streamOutputSpy) {
streamOutputSpy(); // this uninstalls the spy
streamOutputSpy = null;
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/core",
"version": "38.3.5",
"version": "38.3.6",
"description": "Tool to develop, test and build js projects",
"license": "MIT",
"author": {
Expand Down Expand Up @@ -68,14 +68,14 @@
"@jsenv/importmap": "1.2.1",
"@jsenv/integrity": "0.0.1",
"@jsenv/js-module-fallback": "1.3.9",
"@jsenv/log": "3.4.2",
"@jsenv/log": "3.4.3",
"@jsenv/node-esm-resolution": "1.0.1",
"@jsenv/plugin-bundling": "2.5.8",
"@jsenv/plugin-bundling": "2.5.9",
"@jsenv/plugin-minification": "1.5.4",
"@jsenv/plugin-supervisor": "1.3.9",
"@jsenv/plugin-transpilation": "1.3.8",
"@jsenv/runtime-compat": "1.2.0",
"@jsenv/server": "15.1.5",
"@jsenv/server": "15.1.6",
"@jsenv/sourcemap": "1.2.4",
"@jsenv/url-meta": "8.1.0",
"@jsenv/urls": "2.2.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/independent/fetch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/fetch",
"version": "1.1.44",
"version": "1.1.45",
"description": "Unified url fetcher (http, http, file, data)",
"license": "MIT",
"author": {
Expand Down Expand Up @@ -37,7 +37,7 @@
},
"dependencies": {
"@jsenv/urls": "2.2.1",
"@jsenv/server": "15.1.5",
"@jsenv/server": "15.1.6",
"node-fetch": "2.6.7"
}
}
6 changes: 3 additions & 3 deletions packages/independent/github-check-run/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/github-check-run",
"version": "0.1.3",
"version": "0.1.4",
"description": "Interact with GitHub check rest API",
"license": "MIT",
"author": {
Expand Down Expand Up @@ -34,7 +34,7 @@
"test": "node ./scripts/test.mjs"
},
"dependencies": {
"@jsenv/fetch": "1.1.44",
"@jsenv/log": "3.4.2"
"@jsenv/fetch": "1.1.45",
"@jsenv/log": "3.4.3"
}
}
2 changes: 1 addition & 1 deletion packages/independent/log/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/log",
"version": "3.4.2",
"version": "3.4.3",
"description": "Nice and dynamic logs in the terminal",
"license": "MIT",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/independent/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/server",
"version": "15.1.5",
"version": "15.1.6",
"description": "Write your Node.js server using pure functions",
"license": "MIT",
"author": {
Expand Down Expand Up @@ -35,7 +35,7 @@
},
"dependencies": {
"@jsenv/abort": "4.2.4",
"@jsenv/log": "3.4.2",
"@jsenv/log": "3.4.3",
"@jsenv/url-meta": "8.1.0",
"@jsenv/utils": "2.0.1",
"ws": "8.14.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/internal/plugin-bundling/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/plugin-bundling",
"version": "2.5.8",
"version": "2.5.9",
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -24,7 +24,7 @@
"test": "node --conditions=development ./scripts/test.mjs"
},
"dependencies": {
"@jsenv/log": "3.4.2",
"@jsenv/log": "3.4.3",
"@jsenv/url-meta": "8.1.0",
"@jsenv/urls": "2.2.1",
"@jsenv/sourcemap": "1.2.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/related/create-jsenv/demo-node-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
},
"devDependencies": {
"@jsenv/assert": "2.11.0",
"@jsenv/core": "38.3.5",
"@jsenv/core": "38.3.6",
"@jsenv/eslint-config": "16.4.4",
"@jsenv/eslint-import-resolver": "8.0.4",
"@jsenv/test": "1.8.0",
"@jsenv/test": "1.8.1",
"eslint": "8.53.0",
"eslint-plugin-import": "2.29.0",
"prettier": "3.1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"@babel/plugin-syntax-import-assertions": "7.23.3",
"@jsenv/custom-elements-redefine": "0.0.1",
"@jsenv/assert": "2.11.0",
"@jsenv/core": "38.3.5",
"@jsenv/plugin-bundling": "2.5.8",
"@jsenv/core": "38.3.6",
"@jsenv/plugin-bundling": "2.5.9",
"@jsenv/plugin-minification": "1.5.4",
"@jsenv/eslint-config": "16.4.4",
"@jsenv/eslint-import-resolver": "8.0.4",
"@jsenv/test": "1.8.0",
"@jsenv/test": "1.8.1",
"eslint": "8.53.0",
"eslint-plugin-html": "7.1.0",
"eslint-plugin-import": "2.29.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/related/create-jsenv/demo-web-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"@babel/plugin-syntax-import-assertions": "7.23.3",
"@babel/plugin-transform-react-jsx": "7.22.15",
"@jsenv/assert": "2.11.0",
"@jsenv/core": "38.3.5",
"@jsenv/core": "38.3.6",
"@jsenv/plugin-preact": "1.5.0",
"@jsenv/plugin-bundling": "2.5.8",
"@jsenv/plugin-bundling": "2.5.9",
"@jsenv/plugin-minification": "1.5.4",
"@jsenv/eslint-config": "16.4.4",
"@jsenv/eslint-import-resolver": "8.0.4",
"@jsenv/test": "1.8.0",
"@jsenv/test": "1.8.1",
"eslint": "8.53.0",
"eslint-plugin-html": "7.1.0",
"eslint-plugin-import": "2.29.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/related/create-jsenv/demo-web-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
"@babel/plugin-syntax-import-assertions": "7.23.3",
"@babel/plugin-transform-react-jsx": "7.22.15",
"@jsenv/assert": "2.11.0",
"@jsenv/core": "38.3.5",
"@jsenv/plugin-react": "1.4.23",
"@jsenv/plugin-bundling": "2.5.8",
"@jsenv/core": "38.3.6",
"@jsenv/plugin-react": "1.4.24",
"@jsenv/plugin-bundling": "2.5.9",
"@jsenv/plugin-minification": "1.5.4",
"@jsenv/eslint-config": "16.4.4",
"@jsenv/eslint-import-resolver": "8.0.4",
"@jsenv/test": "1.8.0",
"@jsenv/test": "1.8.1",
"eslint": "8.53.0",
"eslint-plugin-html": "7.1.0",
"eslint-plugin-import": "2.29.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/related/create-jsenv/demo-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"@babel/eslint-parser": "7.23.3",
"@babel/plugin-syntax-import-assertions": "7.23.3",
"@jsenv/assert": "2.11.0",
"@jsenv/core": "38.3.5",
"@jsenv/plugin-bundling": "2.5.8",
"@jsenv/core": "38.3.6",
"@jsenv/plugin-bundling": "2.5.9",
"@jsenv/plugin-minification": "1.5.4",
"@jsenv/eslint-config": "16.4.4",
"@jsenv/eslint-import-resolver": "8.0.4",
"@jsenv/test": "1.8.0",
"@jsenv/test": "1.8.1",
"eslint": "8.53.0",
"eslint-plugin-html": "7.1.0",
"eslint-plugin-import": "2.29.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/related/create-jsenv/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-jsenv",
"version": "1.9.10",
"version": "1.9.12",
"description": "npm initializer for jsenv",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -30,6 +30,6 @@
],
"dependencies": {
"prompts": "2.4.2",
"@jsenv/log": "3.4.2"
"@jsenv/log": "3.4.3"
}
}
4 changes: 2 additions & 2 deletions packages/related/plugin-as-js-classic/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/plugin-as-js-classic",
"version": "1.5.13",
"version": "1.5.14",
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -26,6 +26,6 @@
"dependencies": {
"@jsenv/urls": "2.2.1",
"@jsenv/js-module-fallback": "1.3.9",
"@jsenv/plugin-bundling": "2.5.8"
"@jsenv/plugin-bundling": "2.5.9"
}
}
4 changes: 2 additions & 2 deletions packages/related/plugin-commonjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/plugin-commonjs",
"version": "2.6.10",
"version": "2.6.11",
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -25,7 +25,7 @@
},
"dependencies": {
"@jsenv/filesystem": "4.3.2",
"@jsenv/log": "3.4.2",
"@jsenv/log": "3.4.3",
"@jsenv/url-meta": "8.1.0",
"@jsenv/urls": "2.2.1",
"@rollup/plugin-commonjs": "25.0.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/related/plugin-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/plugin-react",
"version": "1.4.23",
"version": "1.4.24",
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -27,7 +27,7 @@
"@babel/plugin-transform-react-jsx": "7.22.15",
"@babel/plugin-transform-react-jsx-development": "7.22.5",
"@jsenv/ast": "6.0.1",
"@jsenv/plugin-commonjs": "2.6.10",
"@jsenv/plugin-commonjs": "2.6.11",
"@jsenv/sourcemap": "1.2.4",
"@jsenv/url-meta": "8.1.0",
"react-refresh": "0.14.0"
Expand Down
Loading

0 comments on commit c564175

Please sign in to comment.