Skip to content

Commit

Permalink
publish latest
Browse files Browse the repository at this point in the history
  • Loading branch information
dmail committed Nov 7, 2024
1 parent 8c43653 commit 3ccb9e5
Show file tree
Hide file tree
Showing 18 changed files with 50 additions and 43 deletions.
13 changes: 10 additions & 3 deletions dist/jsenv_core.js
Original file line number Diff line number Diff line change
Expand Up @@ -16302,9 +16302,13 @@ const jsenvPluginHtmlReferenceAnalysis = ({
return (importmapUrlInfo) => {
const htmlUrl = htmlUrlInfo.url;
if (importmapUrlInfo) {
// importmap was found in this HTML file and is known
const importmap = JSON.parse(importmapUrlInfo.content);
importmaps[htmlUrl] = normalizeImportMap(importmap, htmlUrl);
if (importmapUrlInfo.error) {
importmaps[htmlUrl] = null;
} else {
// importmap was found in this HTML file and is known
const importmap = JSON.parse(importmapUrlInfo.content);
importmaps[htmlUrl] = normalizeImportMap(importmap, htmlUrl);
}
} else {
// no importmap in this HTML file
importmaps[htmlUrl] = null;
Expand Down Expand Up @@ -16643,6 +16647,9 @@ const jsenvPluginHtmlReferenceAnalysis = ({
importmapLoaded(importmapInlineUrlInfo);
}
mutations.push(() => {
if (importmapInlineUrlInfo.error) {
return;
}
setHtmlNodeText(
scriptNode,
importmapInlineUrlInfo.content,
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/core",
"version": "39.5.18",
"version": "39.5.19",
"description": "Tool to develop, test and build js projects",
"license": "MIT",
"author": {
Expand Down Expand Up @@ -69,17 +69,17 @@
"dependencies": {
"@financial-times/polyfill-useragent-normaliser": "1.10.2",
"@jsenv/abort": "4.3.0",
"@jsenv/ast": "6.3.4",
"@jsenv/ast": "6.3.5",
"@jsenv/filesystem": "4.10.11",
"@jsenv/humanize": "1.2.8",
"@jsenv/importmap": "1.2.1",
"@jsenv/integrity": "0.0.2",
"@jsenv/js-module-fallback": "1.3.48",
"@jsenv/js-module-fallback": "1.3.49",
"@jsenv/node-esm-resolution": "1.0.6",
"@jsenv/plugin-bundling": "2.7.16",
"@jsenv/plugin-minification": "1.5.10",
"@jsenv/plugin-supervisor": "1.5.24",
"@jsenv/plugin-transpilation": "1.4.83",
"@jsenv/plugin-supervisor": "1.5.25",
"@jsenv/plugin-transpilation": "1.4.84",
"@jsenv/runtime-compat": "1.3.1",
"@jsenv/server": "15.3.1",
"@jsenv/sourcemap": "1.2.25",
Expand Down
4 changes: 2 additions & 2 deletions packages/independent/md-up/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/md-up",
"version": "0.0.1",
"version": "0.0.2",
"license": "MIT",
"private": true,
"repository": {
Expand All @@ -26,6 +26,6 @@
"marked": "14.1.3",
"@jsenv/filesystem": "4.10.11",
"@jsenv/urls": "2.5.2",
"@jsenv/ast": "6.3.4"
"@jsenv/ast": "6.3.5"
}
}
4 changes: 2 additions & 2 deletions packages/independent/snapshot/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/snapshot",
"version": "2.11.16",
"version": "2.11.17",
"description": "Snapshot testing",
"license": "MIT",
"author": {
Expand Down Expand Up @@ -31,7 +31,7 @@
],
"dependencies": {
"@jsenv/assert": "4.4.2",
"@jsenv/ast": "6.3.4",
"@jsenv/ast": "6.3.5",
"@jsenv/exception": "1.1.3",
"@jsenv/humanize": "1.2.8",
"@jsenv/filesystem": "4.10.11",
Expand Down
4 changes: 2 additions & 2 deletions packages/internal/js-module-fallback/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/js-module-fallback",
"version": "1.3.48",
"version": "1.3.49",
"license": "MIT",
"repository": {
"type": "git",
Expand Down Expand Up @@ -31,7 +31,7 @@
"@babel/plugin-transform-modules-umd": "7.25.9",
"@babel/plugin-transform-modules-systemjs": "7.25.9",
"babel-plugin-transform-async-to-promises": "0.8.18",
"@jsenv/ast": "6.3.4",
"@jsenv/ast": "6.3.5",
"@jsenv/sourcemap": "1.2.25",
"@jsenv/urls": "2.5.2"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/internal/plugin-supervisor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/plugin-supervisor",
"version": "1.5.24",
"version": "1.5.25",
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -26,7 +26,7 @@
"/dist/"
],
"dependencies": {
"@jsenv/ast": "6.3.4",
"@jsenv/ast": "6.3.5",
"@jsenv/urls": "2.5.2",
"@jsenv/sourcemap": "1.2.25",
"launch-editor": "2.9.1"
Expand Down
6 changes: 3 additions & 3 deletions packages/internal/plugin-transpilation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/plugin-transpilation",
"version": "1.4.83",
"version": "1.4.84",
"description": "TODO",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -51,8 +51,8 @@
"@babel/plugin-transform-template-literals": "7.25.9",
"@babel/plugin-transform-typeof-symbol": "7.25.9",
"@babel/plugin-transform-unicode-regex": "7.25.9",
"@jsenv/ast": "6.3.4",
"@jsenv/js-module-fallback": "1.3.48",
"@jsenv/ast": "6.3.5",
"@jsenv/js-module-fallback": "1.3.49",
"@jsenv/runtime-compat": "1.3.1",
"babel-plugin-transform-async-to-promises": "0.8.18",
"construct-style-sheets-polyfill": "3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/related/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/cli",
"version": "0.1.62",
"version": "0.1.63",
"description": "Command Line Interface for jsenv",
"license": "MIT",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/related/cli/template-node-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
},
"devDependencies": {
"@jsenv/assert": "4.4.2",
"@jsenv/core": "39.5.18",
"@jsenv/core": "39.5.19",
"@jsenv/eslint-config-relax": "1.2.12",
"@jsenv/test": "3.5.21",
"@jsenv/test": "3.5.22",
"eslint": "9.14.0",
"prettier": "3.3.3"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/related/cli/template-web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"@babel/plugin-syntax-import-assertions": "7.26.0",
"@jsenv/custom-elements-redefine": "0.0.1",
"@jsenv/assert": "4.4.2",
"@jsenv/core": "39.5.18",
"@jsenv/core": "39.5.19",
"@jsenv/plugin-bundling": "2.7.16",
"@jsenv/plugin-minification": "1.5.10",
"@jsenv/eslint-config-relax": "1.2.12",
"@jsenv/test": "3.5.21",
"@jsenv/test": "3.5.22",
"eslint": "9.14.0",
"open": "10.1.0",
"@playwright/browser-chromium": "1.48.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/related/cli/template-web-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
"@babel/plugin-syntax-import-assertions": "7.26.0",
"@babel/plugin-transform-react-jsx": "7.25.9",
"@jsenv/assert": "4.4.2",
"@jsenv/core": "39.5.18",
"@jsenv/plugin-preact": "1.6.24",
"@jsenv/core": "39.5.19",
"@jsenv/plugin-preact": "1.6.25",
"@jsenv/plugin-bundling": "2.7.16",
"@jsenv/plugin-minification": "1.5.10",
"@jsenv/eslint-config-relax": "1.2.12",
"@jsenv/test": "3.5.21",
"@jsenv/test": "3.5.22",
"eslint": "9.14.0",
"open": "10.1.0",
"@playwright/browser-chromium": "1.48.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/related/cli/template-web-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
"@babel/plugin-syntax-import-assertions": "7.26.0",
"@babel/plugin-transform-react-jsx": "7.25.9",
"@jsenv/assert": "4.4.2",
"@jsenv/core": "39.5.18",
"@jsenv/plugin-react": "1.5.43",
"@jsenv/core": "39.5.19",
"@jsenv/plugin-react": "1.5.44",
"@jsenv/plugin-bundling": "2.7.16",
"@jsenv/plugin-minification": "1.5.10",
"@jsenv/eslint-config-relax": "1.2.12",
"@jsenv/test": "3.5.21",
"@jsenv/test": "3.5.22",
"eslint": "9.14.0",
"open": "10.1.0",
"@playwright/browser-chromium": "1.48.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/related/cli/template-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"devDependencies": {
"@babel/plugin-syntax-import-assertions": "7.26.0",
"@jsenv/assert": "4.4.2",
"@jsenv/core": "39.5.18",
"@jsenv/core": "39.5.19",
"@jsenv/eslint-config-relax": "1.2.12",
"@jsenv/plugin-bundling": "2.7.16",
"@jsenv/plugin-minification": "1.5.10",
"@jsenv/test": "3.5.21",
"@jsenv/test": "3.5.22",
"eslint": "9.14.0",
"open": "10.1.0",
"@playwright/browser-chromium": "1.48.2",
Expand Down
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.60",
"version": "1.5.61",
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -22,7 +22,7 @@
],
"dependencies": {
"@jsenv/urls": "2.5.2",
"@jsenv/js-module-fallback": "1.3.48",
"@jsenv/js-module-fallback": "1.3.49",
"@jsenv/plugin-bundling": "2.7.16"
}
}
4 changes: 2 additions & 2 deletions packages/related/plugin-preact/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/plugin-preact",
"version": "1.6.24",
"version": "1.6.25",
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -24,7 +24,7 @@
"babel-plugin-transform-hook-names": "1.0.2",
"@babel/plugin-transform-react-jsx": "7.25.9",
"@babel/plugin-transform-react-jsx-development": "7.25.9",
"@jsenv/ast": "6.3.4",
"@jsenv/ast": "6.3.5",
"@jsenv/sourcemap": "1.2.25",
"@jsenv/url-meta": "8.5.2",
"@prefresh/babel-plugin": "0.5.1",
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.5.43",
"version": "1.5.44",
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -23,7 +23,7 @@
"dependencies": {
"@babel/plugin-transform-react-jsx": "7.25.9",
"@babel/plugin-transform-react-jsx-development": "7.25.9",
"@jsenv/ast": "6.3.4",
"@jsenv/ast": "6.3.5",
"@jsenv/plugin-commonjs": "2.8.29",
"@jsenv/sourcemap": "1.2.25",
"@jsenv/url-meta": "8.5.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/related/plugin-toolbar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/plugin-toolbar",
"version": "1.4.23",
"version": "1.4.24",
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -26,7 +26,7 @@
"/src/"
],
"dependencies": {
"@jsenv/ast": "6.3.4",
"@jsenv/ast": "6.3.5",
"@preact/signals": "1.3.0"
},
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions packages/related/test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsenv/test",
"version": "3.5.21",
"version": "3.5.22",
"license": "MIT",
"repository": {
"type": "git",
Expand Down Expand Up @@ -37,13 +37,13 @@
"dependencies": {
"@c88/v8-coverage": "0.1.1",
"@jsenv/abort": "4.3.0",
"@jsenv/ast": "6.3.4",
"@jsenv/ast": "6.3.5",
"@jsenv/exception": "1.1.3",
"@jsenv/filesystem": "4.10.11",
"@jsenv/github-check-run": "0.2.1",
"@jsenv/node-esm-resolution": "1.0.6",
"@jsenv/humanize": "1.2.8",
"@jsenv/plugin-supervisor": "1.5.24",
"@jsenv/plugin-supervisor": "1.5.25",
"@jsenv/sourcemap": "1.2.25",
"@jsenv/url-meta": "8.5.2",
"@jsenv/urls": "2.5.2",
Expand Down

0 comments on commit 3ccb9e5

Please sign in to comment.