@shgysk8zer0/importmap 1.10.2 → 1.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/cli.cjs +3 -2
- package/cli.js +3 -2
- package/html.cjs +200 -2
- package/html.js +200 -2
- package/importmap.cjs +1 -1
- package/importmap.js +1 -1
- package/importmap.json +10 -10
- package/index.cjs +2 -2
- package/index.js +2 -2
- package/package.json +6 -6
package/index.cjs
CHANGED
|
@@ -239,7 +239,7 @@ class Importmap {
|
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
-
var data = JSON.parse('{\n "imports": {\n "@node/": "/node_modules/",\n "@shgysk8zer0/kazoo/": "https://unpkg.com/@shgysk8zer0/kazoo@1.0.12/",\n "@shgysk8zer0/konami": "https://unpkg.com/@shgysk8zer0/konami@1.1.2/konami.js",\n "@shgysk8zer0/polyfills": "https://unpkg.com/@shgysk8zer0/polyfills@0.8.4/browser.min.js",\n "@shgysk8zer0/polyfills/": "https://unpkg.com/@shgysk8zer0/polyfills@0.8.4/",\n "@shgysk8zer0/jwk-utils": "https://unpkg.com/@shgysk8zer0/jwk-utils@1.2.0/jwk-utils.min.js",\n "@shgysk8zer0/jwk-utils/": "https://unpkg.com/@shgysk8zer0/jwk-utils@1.2.0/",\n "@shgysk8zer0/jswaggersheets": "https://unpkg.com/@shgysk8zer0/jswaggersheets@1.1.0/swagger.js",\n "@shgysk8zer0/jswaggersheets/": "https://unpkg.com/@shgysk8zer0/jswaggersheets@1.1.0/",\n "@shgysk8zer0/jss/": "https://unpkg.com/@shgysk8zer0/jss@1.0.1/",\n "@shgysk8zer0/consts/": "https://unpkg.com/@shgysk8zer0/consts@1.0.8/",\n "@shgysk8zer0/http/": "https://unpkg.com/@shgysk8zer0/http@1.0.5/",\n "@shgysk8zer0/http-status": "https://unpkg.com/@shgysk8zer0/http-status@1.1.4/http-status.js",\n "@shgysk8zer0/aes-gcm": "https://unpkg.com/@shgysk8zer0/aes-gcm@1.1.0/aes-gcm.min.js",\n "@shgysk8zer0/aes-gcm/": "https://unpkg.com/@shgysk8zer0/aes-gcm@1.1.0/",\n "@shgysk8zer0/squish": "https://unpkg.com/@shgysk8zer0/squish@1.0.2/squish.min.js",\n "@shgysk8zer0/squish/": "https://unpkg.com/@shgysk8zer0/squish@1.0.2/",\n "@shgysk8zer0/suid": "https://unpkg.com/@shgysk8zer0/suid@1.0.0/suid.min.js",\n "@shgysk8zer0/suid/": "https://unpkg.com/@shgysk8zer0/suid@1.0.0/",\n "@shgysk8zer0/geoutils": "https://unpkg.com/@shgysk8zer0/geoutils@1.0.6/geoutils.min.js",\n "@shgysk8zer0/geoutils/": "https://unpkg.com/@shgysk8zer0/geoutils@1.0.6/",\n "@shgysk8zer0/core-css/": "https://unpkg.com/@shgysk8zer0/core-css@3.0.0/",\n "@shgysk8zer0/signals": "https://unpkg.com/@shgysk8zer0/signals@0.1.0/signals.min.js",\n "@shgysk8zer0/signals/": "https://unpkg.com/@shgysk8zer0/signals@0.1.0/",\n "@shgysk8zer0/importmap": "https://unpkg.com/@shgysk8zer0/importmap@1.10.2/importmap.js",\n "@shgysk8zer0/importmap/": "https://unpkg.com/@shgysk8zer0/importmap@1.10.2/",\n "@shgysk8zer0/components/": "https://unpkg.com/@shgysk8zer0/components@0.3.23/",\n "@aegisjsproject/trusted-types": "https://unpkg.com/@aegisjsproject/trusted-types@1.1.0/bundle.min.js",\n "@aegisjsproject/trusted-types/": "https://unpkg.com/@aegisjsproject/trusted-types@1.1.0/",\n "@aegisjsproject/parsers": "https://unpkg.com/@aegisjsproject/parsers@0.2.0/bundle.min.js",\n "@aegisjsproject/parsers/": "https://unpkg.com/@aegisjsproject/parsers@0.2.0/",\n "@aegisjsproject/sanitizer": "https://unpkg.com/@aegisjsproject/sanitizer@0.3.0/sanitizer.js",\n "@aegisjsproject/sanitizer/": "https://unpkg.com/@aegisjsproject/sanitizer@0.3.0/",\n "@aegisjsproject/core": "https://unpkg.com/@aegisjsproject/core@0.3.0/core.js",\n "@aegisjsproject/core/": "https://unpkg.com/@aegisjsproject/core@0.3.0/",\n "@aegisjsproject/styles": "https://unpkg.com/@aegisjsproject/styles@0.4.0/styles.js",\n "@aegisjsproject/styles/": "https://unpkg.com/@aegisjsproject/styles@0.4.0/",\n "@aegisjsproject/component": "https://unpkg.com/@aegisjsproject/component@0.2.0/component.js",\n "@aegisjsproject/component/": "https://unpkg.com/@aegisjsproject/component@0.2.0/",\n "@aegisjsproject/markdown": "https://unpkg.com/@aegisjsproject/markdown@0.1.7/markdown.min.js",\n "@aegisjsproject/markdown/": "https://unpkg.com/@aegisjsproject/markdown@0.1.7/",\n "@aegisjsproject/aegis-md": "https://unpkg.com/@aegisjsproject/aegis-md@0.0.4/aegis-md.js",\n "@aegisjsproject/aegis-md/": "https://unpkg.com/@aegisjsproject/aegis-md@0.0.4/",\n "@aegisjsproject/url": "https://unpkg.com/@aegisjsproject/url@1.1.0/url.min.js",\n "@aegisjsproject/url/": "https://unpkg.com/@aegisjsproject/url@1.1.0/",\n "@aegisjsproject/idb/": "https://unpkg.com/@aegisjsproject/idb@1.1.0/",\n "@aegisjsproject/idb": "https://unpkg.com/@aegisjsproject/idb@1.1.0/idb.min.js",\n "@aegisjsproject/otp/": "https://unpkg.com/@aegisjsproject/otp@1.0.2/",\n "@aegisjsproject/otp": "https://unpkg.com/@aegisjsproject/otp@1.0.2/otp.min.js",\n "@aegisjsproject/md-editor": "https://unpkg.com/@aegisjsproject/md-editor@1.0.0/md-editor.js",\n "@aegisjsproject/md-editor/": "https://unpkg.com/@aegisjsproject/md-editor@1.0.0/",\n "@aegisjsproject/barcodescanner": "https://unpkg.com/@aegisjsproject/barcodescanner@1.2.3/scanner.min.js",\n "@aegisjsproject/barcodescanner/": "https://unpkg.com/@aegisjsproject/barcodescanner@1.2.3/",\n "@aegisjsproject/state": "https://unpkg.com/@aegisjsproject/state@1.1.0/state.mjs",\n "@aegisjsproject/state/": "https://unpkg.com/@aegisjsproject/state@1.1.0/",\n "@aegisjsproject/router": "https://unpkg.com/@aegisjsproject/router@1.3.0/router.mjs",\n "@aegisjsproject/router/": "https://unpkg.com/@aegisjsproject/router@1.3.0/",\n "@aegisjsproject/callback-registry": "https://unpkg.com/@aegisjsproject/callback-registry@2.1.0/callbackRegistry.js",\n "@aegisjsproject/callback-registry/": "https://unpkg.com/@aegisjsproject/callback-registry@2.1.0/",\n "@aegisjsproject/attempt": "https://unpkg.com/@aegisjsproject/attempt@1.0.7/attempt.js",\n "@aegisjsproject/attempt/": "https://unpkg.com/@aegisjsproject/attempt@1.0.7/",\n "@aegisjsproject/secret-store": "https://unpkg.com/@aegisjsproject/secret-store@1.1.1/commands.min.js",\n "@aegisjsproject/commands/": "https://unpkg.com/@aegisjsproject/commands@1.0.2/",\n "@aegisjsproject/commands": "https://unpkg.com/@aegisjsproject/commands@1.0.2/commands.min.js",\n "@aegisjsproject/firebase-account-routes": "https://unpkg.com/@aegisjsproject/firebase-account-routes@0.0.6/main.js",\n "@aegisjsproject/firebase-account-routes/": "https://unpkg.com/@aegisjsproject/firebase-account-routes@0.0.6/",\n "@aegisjsproject/secret-store/": "https://unpkg.com/@aegisjsproject/secret-store@1.1.1/",\n "@aegisjsproject/qr-encoder": "https://unpkg.com/@aegisjsproject/qr-encoder@1.0.1/index.min.js",\n "@aegisjsproject/qr-encoder/": "https://unpkg.com/@aegisjsproject/qr-encoder@1.0.1/",\n "@aegisjsproject/escape": "https://unpkg.com/@aegisjsproject/escape@1.1.0/index.min.js",\n "@aegisjsproject/escape/": "https://unpkg.com/@aegisjsproject/escape@1.1.0/",\n "@aegisjsproject/disposable": "https://unpkg.com/@aegisjsproject/disposable@1.0.3/disposable.min.js",\n "@aegisjsproject/disposable/": "https://unpkg.com/@aegisjsproject/disposable@1.0.3/",\n "@aegisjsproject/iota": "https://unpkg.com/@aegisjsproject/iota@1.0.12/iota.min.js",\n "@aegisjsproject/iota/": "https://unpkg.com/@aegisjsproject/iota@1.0.12/",\n "@aegisjsproject/disposable-registry": "https://unpkg.com/@aegisjsproject/disposable-registry@1.1.0/registry.js",\n "@aegisjsproject/disposable-registry/": "https://unpkg.com/@aegisjsproject/disposable-registry@1.1.0/",\n "@aegisjsproject/hermes": "https://unpkg.com/@aegisjsproject/hermes@1.1.0/hermes.js",\n "@aegisjsproject/hermes/": "https://unpkg.com/@aegisjsproject/hermes@1.1.0/",\n "@aegisjsproject/pwa-prompt": "https://unpkg.com/@aegisjsproject/pwa-prompt@1.0.1/prompt.js",\n "@aegisjsproject/pwa-prompt/": "https://unpkg.com/@aegisjsproject/pwa-prompt@1.0.1/",\n "@aegisjsproject/button": "https://unpkg.com/@aegisjsproject/button@1.0.1/button.min.js",\n "@aegisjsproject/button/": "https://unpkg.com/@aegisjsproject/button@1.0.1/",\n "@aegisjsproject/atlas": "https://unpkg.com/@aegisjsproject/atlas@1.0.2/atlas.min.js",\n "@aegisjsproject/atlas/": "https://unpkg.com/@aegisjsproject/atlas@1.0.2/",\n "@aegisjsproject/toast-message": "https://unpkg.com/@aegisjsproject/toast-message@1.0.3/toast-message.min.js",\n "@aegisjsproject/toast-message/": "https://unpkg.com/@aegisjsproject/toast-message@1.0.3/",\n "@kernvalley/components/": "https://unpkg.com/@kernvalley/components@2.0.10/",\n "@webcomponents/custom-elements": "https://unpkg.com/@webcomponents/custom-elements@1.6.0/custom-elements.min.js",\n "leaflet": "https://unpkg.com/leaflet@1.9.4/dist/leaflet-src.esm.js",\n "leaflet/": "https://unpkg.com/leaflet@1.9.4/dist/",\n "urlpattern-polyfill": "https://unpkg.com/urlpattern-polyfill@10.1.0/index.js",\n "highlight.js": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/es/core.min.js",\n "highlight.js/": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/es/",\n "highlight.js/styles/": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/",\n "@highlightjs/cdn-assets": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/es/core.min.js",\n "@highlightjs/cdn-assets/": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/es/",\n "@highlightjs/cdn-assets/styles/": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/",\n "marked": "https://unpkg.com/marked@18.0.5/lib/marked.esm.js",\n "marked-highlight": "https://unpkg.com/marked-highlight@2.2.4/src/index.js",\n "yaml": "https://unpkg.com/yaml@2.9.0/browser/dist/index.js",\n "yaml/": "https://unpkg.com/yaml@2.9.0/browser/dist/",\n "firebase/": "https://www.gstatic.com/firebasejs/12.12.1/",\n "firebase/app": "https://www.gstatic.com/firebasejs/12.12.1/firebase-app.js",\n "firebase/app-check": "https://www.gstatic.com/firebasejs/12.12.1/firebase-app-check.js",\n "firebase/auth": "https://www.gstatic.com/firebasejs/12.12.1/firebase-auth.js",\n "firebase/database": "https://www.gstatic.com/firebasejs/12.12.1/firebase-database.js",\n "firebase/firestore": "https://www.gstatic.com/firebasejs/12.12.1/firebase-firestore.js",\n "firebase/functions": "https://www.gstatic.com/firebasejs/12.12.1/firebase-functions.js",\n "firebase/messaging": "https://www.gstatic.com/firebasejs/12.12.1/firebase-messaging.js",\n "firebase/performance": "https://www.gstatic.com/firebasejs/12.12.1/firebase-performance.js",\n "firebase/remote-config": "https://www.gstatic.com/firebasejs/12.12.1/firebase-remote-config.js",\n "firebase/storage": "https://www.gstatic.com/firebasejs/12.12.1/firebase-storage.js",\n "firebase/analytics": "https://www.gstatic.com/firebasejs/12.12.1/firebase-analytics.js",\n "qr": "https://unpkg.com/qr@0.6.0/index.js",\n "qr/": "https://unpkg.com/qr@0.6.0/",\n "lit": "https://unpkg.com/lit@3.3.3/index.js",\n "lit/": "https://unpkg.com/lit@3.3.3/",\n "lit-html": "https://unpkg.com/lit-html@3.3.3/lit-html.js",\n "lit-html/": "https://unpkg.com/lit-html@3.3.3/",\n "lit-element": "https://unpkg.com/lit-element@4.2.2/lit-element.js",\n "lit-element/": "https://unpkg.com/lit-element@4.2.2/",\n "@lit/reactive-element": "https://unpkg.com/@lit/reactive-element@2.1.2/reactive-element.js",\n "@lit/reactive-element/": "https://unpkg.com/@lit/reactive-element@2.1.2/",\n "@awesome.me/webawesome/": "https://unpkg.com/@awesome.me/webawesome@3.8.0/",\n "normalize.css": "https://unpkg.com/normalize.css@8.0.1/normalize.css"\n },\n "scopes": {}\n}');
|
|
242
|
+
var data = JSON.parse('{\n "imports": {\n "@node/": "/node_modules/",\n "@shgysk8zer0/kazoo/": "https://unpkg.com/@shgysk8zer0/kazoo@1.0.12/",\n "@shgysk8zer0/konami": "https://unpkg.com/@shgysk8zer0/konami@1.1.2/konami.js",\n "@shgysk8zer0/polyfills": "https://unpkg.com/@shgysk8zer0/polyfills@0.8.6/browser.min.js",\n "@shgysk8zer0/polyfills/": "https://unpkg.com/@shgysk8zer0/polyfills@0.8.6/",\n "@shgysk8zer0/jwk-utils": "https://unpkg.com/@shgysk8zer0/jwk-utils@1.2.1/jwk-utils.min.js",\n "@shgysk8zer0/jwk-utils/": "https://unpkg.com/@shgysk8zer0/jwk-utils@1.2.1/",\n "@shgysk8zer0/jswaggersheets": "https://unpkg.com/@shgysk8zer0/jswaggersheets@1.1.0/swagger.js",\n "@shgysk8zer0/jswaggersheets/": "https://unpkg.com/@shgysk8zer0/jswaggersheets@1.1.0/",\n "@shgysk8zer0/jss/": "https://unpkg.com/@shgysk8zer0/jss@1.0.1/",\n "@shgysk8zer0/consts/": "https://unpkg.com/@shgysk8zer0/consts@1.0.8/",\n "@shgysk8zer0/http/": "https://unpkg.com/@shgysk8zer0/http@1.0.5/",\n "@shgysk8zer0/http-status": "https://unpkg.com/@shgysk8zer0/http-status@1.1.4/http-status.js",\n "@shgysk8zer0/aes-gcm": "https://unpkg.com/@shgysk8zer0/aes-gcm@1.1.0/aes-gcm.min.js",\n "@shgysk8zer0/aes-gcm/": "https://unpkg.com/@shgysk8zer0/aes-gcm@1.1.0/",\n "@shgysk8zer0/squish": "https://unpkg.com/@shgysk8zer0/squish@1.0.2/squish.min.js",\n "@shgysk8zer0/squish/": "https://unpkg.com/@shgysk8zer0/squish@1.0.2/",\n "@shgysk8zer0/suid": "https://unpkg.com/@shgysk8zer0/suid@1.0.0/suid.min.js",\n "@shgysk8zer0/suid/": "https://unpkg.com/@shgysk8zer0/suid@1.0.0/",\n "@shgysk8zer0/geoutils": "https://unpkg.com/@shgysk8zer0/geoutils@1.0.6/geoutils.min.js",\n "@shgysk8zer0/geoutils/": "https://unpkg.com/@shgysk8zer0/geoutils@1.0.6/",\n "@shgysk8zer0/core-css/": "https://unpkg.com/@shgysk8zer0/core-css@3.0.0/",\n "@shgysk8zer0/signals": "https://unpkg.com/@shgysk8zer0/signals@0.1.0/signals.min.js",\n "@shgysk8zer0/signals/": "https://unpkg.com/@shgysk8zer0/signals@0.1.0/",\n "@shgysk8zer0/importmap": "https://unpkg.com/@shgysk8zer0/importmap@1.10.3/importmap.js",\n "@shgysk8zer0/importmap/": "https://unpkg.com/@shgysk8zer0/importmap@1.10.3/",\n "@shgysk8zer0/components/": "https://unpkg.com/@shgysk8zer0/components@0.3.23/",\n "@aegisjsproject/trusted-types": "https://unpkg.com/@aegisjsproject/trusted-types@1.1.0/bundle.min.js",\n "@aegisjsproject/trusted-types/": "https://unpkg.com/@aegisjsproject/trusted-types@1.1.0/",\n "@aegisjsproject/parsers": "https://unpkg.com/@aegisjsproject/parsers@0.2.0/bundle.min.js",\n "@aegisjsproject/parsers/": "https://unpkg.com/@aegisjsproject/parsers@0.2.0/",\n "@aegisjsproject/sanitizer": "https://unpkg.com/@aegisjsproject/sanitizer@0.3.0/sanitizer.js",\n "@aegisjsproject/sanitizer/": "https://unpkg.com/@aegisjsproject/sanitizer@0.3.0/",\n "@aegisjsproject/core": "https://unpkg.com/@aegisjsproject/core@0.3.0/core.js",\n "@aegisjsproject/core/": "https://unpkg.com/@aegisjsproject/core@0.3.0/",\n "@aegisjsproject/styles": "https://unpkg.com/@aegisjsproject/styles@0.4.0/styles.js",\n "@aegisjsproject/styles/": "https://unpkg.com/@aegisjsproject/styles@0.4.0/",\n "@aegisjsproject/component": "https://unpkg.com/@aegisjsproject/component@0.2.0/component.js",\n "@aegisjsproject/component/": "https://unpkg.com/@aegisjsproject/component@0.2.0/",\n "@aegisjsproject/markdown": "https://unpkg.com/@aegisjsproject/markdown@0.1.7/markdown.min.js",\n "@aegisjsproject/markdown/": "https://unpkg.com/@aegisjsproject/markdown@0.1.7/",\n "@aegisjsproject/aegis-md": "https://unpkg.com/@aegisjsproject/aegis-md@0.0.4/aegis-md.js",\n "@aegisjsproject/aegis-md/": "https://unpkg.com/@aegisjsproject/aegis-md@0.0.4/",\n "@aegisjsproject/url": "https://unpkg.com/@aegisjsproject/url@1.1.0/url.min.js",\n "@aegisjsproject/url/": "https://unpkg.com/@aegisjsproject/url@1.1.0/",\n "@aegisjsproject/idb/": "https://unpkg.com/@aegisjsproject/idb@1.1.0/",\n "@aegisjsproject/idb": "https://unpkg.com/@aegisjsproject/idb@1.1.0/idb.min.js",\n "@aegisjsproject/otp/": "https://unpkg.com/@aegisjsproject/otp@1.0.2/",\n "@aegisjsproject/otp": "https://unpkg.com/@aegisjsproject/otp@1.0.2/otp.min.js",\n "@aegisjsproject/md-editor": "https://unpkg.com/@aegisjsproject/md-editor@1.0.0/md-editor.js",\n "@aegisjsproject/md-editor/": "https://unpkg.com/@aegisjsproject/md-editor@1.0.0/",\n "@aegisjsproject/barcodescanner": "https://unpkg.com/@aegisjsproject/barcodescanner@1.2.3/scanner.min.js",\n "@aegisjsproject/barcodescanner/": "https://unpkg.com/@aegisjsproject/barcodescanner@1.2.3/",\n "@aegisjsproject/state": "https://unpkg.com/@aegisjsproject/state@1.1.0/state.mjs",\n "@aegisjsproject/state/": "https://unpkg.com/@aegisjsproject/state@1.1.0/",\n "@aegisjsproject/router": "https://unpkg.com/@aegisjsproject/router@1.3.0/router.mjs",\n "@aegisjsproject/router/": "https://unpkg.com/@aegisjsproject/router@1.3.0/",\n "@aegisjsproject/callback-registry": "https://unpkg.com/@aegisjsproject/callback-registry@2.1.0/callbackRegistry.js",\n "@aegisjsproject/callback-registry/": "https://unpkg.com/@aegisjsproject/callback-registry@2.1.0/",\n "@aegisjsproject/attempt": "https://unpkg.com/@aegisjsproject/attempt@1.0.7/attempt.js",\n "@aegisjsproject/attempt/": "https://unpkg.com/@aegisjsproject/attempt@1.0.7/",\n "@aegisjsproject/secret-store": "https://unpkg.com/@aegisjsproject/secret-store@1.1.1/commands.min.js",\n "@aegisjsproject/commands/": "https://unpkg.com/@aegisjsproject/commands@1.0.2/",\n "@aegisjsproject/commands": "https://unpkg.com/@aegisjsproject/commands@1.0.2/commands.min.js",\n "@aegisjsproject/firebase-account-routes": "https://unpkg.com/@aegisjsproject/firebase-account-routes@0.0.6/main.js",\n "@aegisjsproject/firebase-account-routes/": "https://unpkg.com/@aegisjsproject/firebase-account-routes@0.0.6/",\n "@aegisjsproject/secret-store/": "https://unpkg.com/@aegisjsproject/secret-store@1.1.1/",\n "@aegisjsproject/qr-encoder": "https://unpkg.com/@aegisjsproject/qr-encoder@1.0.1/index.min.js",\n "@aegisjsproject/qr-encoder/": "https://unpkg.com/@aegisjsproject/qr-encoder@1.0.1/",\n "@aegisjsproject/escape": "https://unpkg.com/@aegisjsproject/escape@1.1.0/index.min.js",\n "@aegisjsproject/escape/": "https://unpkg.com/@aegisjsproject/escape@1.1.0/",\n "@aegisjsproject/disposable": "https://unpkg.com/@aegisjsproject/disposable@1.0.3/disposable.min.js",\n "@aegisjsproject/disposable/": "https://unpkg.com/@aegisjsproject/disposable@1.0.3/",\n "@aegisjsproject/iota": "https://unpkg.com/@aegisjsproject/iota@1.0.12/iota.min.js",\n "@aegisjsproject/iota/": "https://unpkg.com/@aegisjsproject/iota@1.0.12/",\n "@aegisjsproject/disposable-registry": "https://unpkg.com/@aegisjsproject/disposable-registry@1.1.0/registry.js",\n "@aegisjsproject/disposable-registry/": "https://unpkg.com/@aegisjsproject/disposable-registry@1.1.0/",\n "@aegisjsproject/hermes": "https://unpkg.com/@aegisjsproject/hermes@1.1.0/hermes.js",\n "@aegisjsproject/hermes/": "https://unpkg.com/@aegisjsproject/hermes@1.1.0/",\n "@aegisjsproject/pwa-prompt": "https://unpkg.com/@aegisjsproject/pwa-prompt@1.0.1/prompt.js",\n "@aegisjsproject/pwa-prompt/": "https://unpkg.com/@aegisjsproject/pwa-prompt@1.0.1/",\n "@aegisjsproject/button": "https://unpkg.com/@aegisjsproject/button@1.0.1/button.min.js",\n "@aegisjsproject/button/": "https://unpkg.com/@aegisjsproject/button@1.0.1/",\n "@aegisjsproject/atlas": "https://unpkg.com/@aegisjsproject/atlas@1.1.0/atlas.min.js",\n "@aegisjsproject/atlas/": "https://unpkg.com/@aegisjsproject/atlas@1.1.0/",\n "@aegisjsproject/toast-message": "https://unpkg.com/@aegisjsproject/toast-message@1.0.3/toast-message.min.js",\n "@aegisjsproject/toast-message/": "https://unpkg.com/@aegisjsproject/toast-message@1.0.3/",\n "@kernvalley/components/": "https://unpkg.com/@kernvalley/components@2.0.10/",\n "@webcomponents/custom-elements": "https://unpkg.com/@webcomponents/custom-elements@1.6.0/custom-elements.min.js",\n "leaflet": "https://unpkg.com/leaflet@1.9.4/dist/leaflet-src.esm.js",\n "leaflet/": "https://unpkg.com/leaflet@1.9.4/dist/",\n "urlpattern-polyfill": "https://unpkg.com/urlpattern-polyfill@10.1.0/index.js",\n "highlight.js": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/es/core.min.js",\n "highlight.js/": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/es/",\n "highlight.js/styles/": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/",\n "@highlightjs/cdn-assets": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/es/core.min.js",\n "@highlightjs/cdn-assets/": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/es/",\n "@highlightjs/cdn-assets/styles/": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/",\n "marked": "https://unpkg.com/marked@18.0.6/lib/marked.esm.js",\n "marked-highlight": "https://unpkg.com/marked-highlight@2.2.4/src/index.js",\n "yaml": "https://unpkg.com/yaml@2.9.0/browser/dist/index.js",\n "yaml/": "https://unpkg.com/yaml@2.9.0/browser/dist/",\n "firebase/": "https://www.gstatic.com/firebasejs/12.12.1/",\n "firebase/app": "https://www.gstatic.com/firebasejs/12.12.1/firebase-app.js",\n "firebase/app-check": "https://www.gstatic.com/firebasejs/12.12.1/firebase-app-check.js",\n "firebase/auth": "https://www.gstatic.com/firebasejs/12.12.1/firebase-auth.js",\n "firebase/database": "https://www.gstatic.com/firebasejs/12.12.1/firebase-database.js",\n "firebase/firestore": "https://www.gstatic.com/firebasejs/12.12.1/firebase-firestore.js",\n "firebase/functions": "https://www.gstatic.com/firebasejs/12.12.1/firebase-functions.js",\n "firebase/messaging": "https://www.gstatic.com/firebasejs/12.12.1/firebase-messaging.js",\n "firebase/performance": "https://www.gstatic.com/firebasejs/12.12.1/firebase-performance.js",\n "firebase/remote-config": "https://www.gstatic.com/firebasejs/12.12.1/firebase-remote-config.js",\n "firebase/storage": "https://www.gstatic.com/firebasejs/12.12.1/firebase-storage.js",\n "firebase/analytics": "https://www.gstatic.com/firebasejs/12.12.1/firebase-analytics.js",\n "qr": "https://unpkg.com/qr@0.6.0/index.js",\n "qr/": "https://unpkg.com/qr@0.6.0/",\n "lit": "https://unpkg.com/lit@3.3.3/index.js",\n "lit/": "https://unpkg.com/lit@3.3.3/",\n "lit-html": "https://unpkg.com/lit-html@3.3.3/lit-html.js",\n "lit-html/": "https://unpkg.com/lit-html@3.3.3/",\n "lit-element": "https://unpkg.com/lit-element@4.2.2/lit-element.js",\n "lit-element/": "https://unpkg.com/lit-element@4.2.2/",\n "@lit/reactive-element": "https://unpkg.com/@lit/reactive-element@2.1.2/reactive-element.js",\n "@lit/reactive-element/": "https://unpkg.com/@lit/reactive-element@2.1.2/",\n "@awesome.me/webawesome/": "https://unpkg.com/@awesome.me/webawesome@3.10.0/",\n "normalize.css": "https://unpkg.com/normalize.css@8.0.1/normalize.css"\n },\n "scopes": {}\n}');
|
|
243
243
|
|
|
244
244
|
const IMPORTMAP_EXP = /<script\b(?=[^>]*\btype=["']importmap["'])(?=(?:[^>]*\bnonce=["'](?<nonce>[^"']*)["'])?)(?=(?:[^>]*\bname=["'](?<name>[^"']*)["'])?)[^>]*>(?<content>[\s\S]*?)<\/script>/i;
|
|
245
245
|
|
|
@@ -347,7 +347,7 @@ async function updateJSON(file) {
|
|
|
347
347
|
} else if (file instanceof URL && file.protocol === 'file:') {
|
|
348
348
|
const importmap = await json_js.readJSONFile(file);
|
|
349
349
|
let { updated, imports } = await update(importmap.imports);
|
|
350
|
-
const pkg = await import(undefined('./package.json'));
|
|
350
|
+
const pkg = await import(undefined('./package.json'), { assert: { type: 'json' } });
|
|
351
351
|
const { name, version } = pkg.default;
|
|
352
352
|
const ownURL = new URL(`https://unpkg.com/${name}@${version}/`);
|
|
353
353
|
|
package/index.js
CHANGED
|
@@ -237,7 +237,7 @@ class Importmap {
|
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
-
var data = JSON.parse('{\n "imports": {\n "@node/": "/node_modules/",\n "@shgysk8zer0/kazoo/": "https://unpkg.com/@shgysk8zer0/kazoo@1.0.12/",\n "@shgysk8zer0/konami": "https://unpkg.com/@shgysk8zer0/konami@1.1.2/konami.js",\n "@shgysk8zer0/polyfills": "https://unpkg.com/@shgysk8zer0/polyfills@0.8.4/browser.min.js",\n "@shgysk8zer0/polyfills/": "https://unpkg.com/@shgysk8zer0/polyfills@0.8.4/",\n "@shgysk8zer0/jwk-utils": "https://unpkg.com/@shgysk8zer0/jwk-utils@1.2.0/jwk-utils.min.js",\n "@shgysk8zer0/jwk-utils/": "https://unpkg.com/@shgysk8zer0/jwk-utils@1.2.0/",\n "@shgysk8zer0/jswaggersheets": "https://unpkg.com/@shgysk8zer0/jswaggersheets@1.1.0/swagger.js",\n "@shgysk8zer0/jswaggersheets/": "https://unpkg.com/@shgysk8zer0/jswaggersheets@1.1.0/",\n "@shgysk8zer0/jss/": "https://unpkg.com/@shgysk8zer0/jss@1.0.1/",\n "@shgysk8zer0/consts/": "https://unpkg.com/@shgysk8zer0/consts@1.0.8/",\n "@shgysk8zer0/http/": "https://unpkg.com/@shgysk8zer0/http@1.0.5/",\n "@shgysk8zer0/http-status": "https://unpkg.com/@shgysk8zer0/http-status@1.1.4/http-status.js",\n "@shgysk8zer0/aes-gcm": "https://unpkg.com/@shgysk8zer0/aes-gcm@1.1.0/aes-gcm.min.js",\n "@shgysk8zer0/aes-gcm/": "https://unpkg.com/@shgysk8zer0/aes-gcm@1.1.0/",\n "@shgysk8zer0/squish": "https://unpkg.com/@shgysk8zer0/squish@1.0.2/squish.min.js",\n "@shgysk8zer0/squish/": "https://unpkg.com/@shgysk8zer0/squish@1.0.2/",\n "@shgysk8zer0/suid": "https://unpkg.com/@shgysk8zer0/suid@1.0.0/suid.min.js",\n "@shgysk8zer0/suid/": "https://unpkg.com/@shgysk8zer0/suid@1.0.0/",\n "@shgysk8zer0/geoutils": "https://unpkg.com/@shgysk8zer0/geoutils@1.0.6/geoutils.min.js",\n "@shgysk8zer0/geoutils/": "https://unpkg.com/@shgysk8zer0/geoutils@1.0.6/",\n "@shgysk8zer0/core-css/": "https://unpkg.com/@shgysk8zer0/core-css@3.0.0/",\n "@shgysk8zer0/signals": "https://unpkg.com/@shgysk8zer0/signals@0.1.0/signals.min.js",\n "@shgysk8zer0/signals/": "https://unpkg.com/@shgysk8zer0/signals@0.1.0/",\n "@shgysk8zer0/importmap": "https://unpkg.com/@shgysk8zer0/importmap@1.10.2/importmap.js",\n "@shgysk8zer0/importmap/": "https://unpkg.com/@shgysk8zer0/importmap@1.10.2/",\n "@shgysk8zer0/components/": "https://unpkg.com/@shgysk8zer0/components@0.3.23/",\n "@aegisjsproject/trusted-types": "https://unpkg.com/@aegisjsproject/trusted-types@1.1.0/bundle.min.js",\n "@aegisjsproject/trusted-types/": "https://unpkg.com/@aegisjsproject/trusted-types@1.1.0/",\n "@aegisjsproject/parsers": "https://unpkg.com/@aegisjsproject/parsers@0.2.0/bundle.min.js",\n "@aegisjsproject/parsers/": "https://unpkg.com/@aegisjsproject/parsers@0.2.0/",\n "@aegisjsproject/sanitizer": "https://unpkg.com/@aegisjsproject/sanitizer@0.3.0/sanitizer.js",\n "@aegisjsproject/sanitizer/": "https://unpkg.com/@aegisjsproject/sanitizer@0.3.0/",\n "@aegisjsproject/core": "https://unpkg.com/@aegisjsproject/core@0.3.0/core.js",\n "@aegisjsproject/core/": "https://unpkg.com/@aegisjsproject/core@0.3.0/",\n "@aegisjsproject/styles": "https://unpkg.com/@aegisjsproject/styles@0.4.0/styles.js",\n "@aegisjsproject/styles/": "https://unpkg.com/@aegisjsproject/styles@0.4.0/",\n "@aegisjsproject/component": "https://unpkg.com/@aegisjsproject/component@0.2.0/component.js",\n "@aegisjsproject/component/": "https://unpkg.com/@aegisjsproject/component@0.2.0/",\n "@aegisjsproject/markdown": "https://unpkg.com/@aegisjsproject/markdown@0.1.7/markdown.min.js",\n "@aegisjsproject/markdown/": "https://unpkg.com/@aegisjsproject/markdown@0.1.7/",\n "@aegisjsproject/aegis-md": "https://unpkg.com/@aegisjsproject/aegis-md@0.0.4/aegis-md.js",\n "@aegisjsproject/aegis-md/": "https://unpkg.com/@aegisjsproject/aegis-md@0.0.4/",\n "@aegisjsproject/url": "https://unpkg.com/@aegisjsproject/url@1.1.0/url.min.js",\n "@aegisjsproject/url/": "https://unpkg.com/@aegisjsproject/url@1.1.0/",\n "@aegisjsproject/idb/": "https://unpkg.com/@aegisjsproject/idb@1.1.0/",\n "@aegisjsproject/idb": "https://unpkg.com/@aegisjsproject/idb@1.1.0/idb.min.js",\n "@aegisjsproject/otp/": "https://unpkg.com/@aegisjsproject/otp@1.0.2/",\n "@aegisjsproject/otp": "https://unpkg.com/@aegisjsproject/otp@1.0.2/otp.min.js",\n "@aegisjsproject/md-editor": "https://unpkg.com/@aegisjsproject/md-editor@1.0.0/md-editor.js",\n "@aegisjsproject/md-editor/": "https://unpkg.com/@aegisjsproject/md-editor@1.0.0/",\n "@aegisjsproject/barcodescanner": "https://unpkg.com/@aegisjsproject/barcodescanner@1.2.3/scanner.min.js",\n "@aegisjsproject/barcodescanner/": "https://unpkg.com/@aegisjsproject/barcodescanner@1.2.3/",\n "@aegisjsproject/state": "https://unpkg.com/@aegisjsproject/state@1.1.0/state.mjs",\n "@aegisjsproject/state/": "https://unpkg.com/@aegisjsproject/state@1.1.0/",\n "@aegisjsproject/router": "https://unpkg.com/@aegisjsproject/router@1.3.0/router.mjs",\n "@aegisjsproject/router/": "https://unpkg.com/@aegisjsproject/router@1.3.0/",\n "@aegisjsproject/callback-registry": "https://unpkg.com/@aegisjsproject/callback-registry@2.1.0/callbackRegistry.js",\n "@aegisjsproject/callback-registry/": "https://unpkg.com/@aegisjsproject/callback-registry@2.1.0/",\n "@aegisjsproject/attempt": "https://unpkg.com/@aegisjsproject/attempt@1.0.7/attempt.js",\n "@aegisjsproject/attempt/": "https://unpkg.com/@aegisjsproject/attempt@1.0.7/",\n "@aegisjsproject/secret-store": "https://unpkg.com/@aegisjsproject/secret-store@1.1.1/commands.min.js",\n "@aegisjsproject/commands/": "https://unpkg.com/@aegisjsproject/commands@1.0.2/",\n "@aegisjsproject/commands": "https://unpkg.com/@aegisjsproject/commands@1.0.2/commands.min.js",\n "@aegisjsproject/firebase-account-routes": "https://unpkg.com/@aegisjsproject/firebase-account-routes@0.0.6/main.js",\n "@aegisjsproject/firebase-account-routes/": "https://unpkg.com/@aegisjsproject/firebase-account-routes@0.0.6/",\n "@aegisjsproject/secret-store/": "https://unpkg.com/@aegisjsproject/secret-store@1.1.1/",\n "@aegisjsproject/qr-encoder": "https://unpkg.com/@aegisjsproject/qr-encoder@1.0.1/index.min.js",\n "@aegisjsproject/qr-encoder/": "https://unpkg.com/@aegisjsproject/qr-encoder@1.0.1/",\n "@aegisjsproject/escape": "https://unpkg.com/@aegisjsproject/escape@1.1.0/index.min.js",\n "@aegisjsproject/escape/": "https://unpkg.com/@aegisjsproject/escape@1.1.0/",\n "@aegisjsproject/disposable": "https://unpkg.com/@aegisjsproject/disposable@1.0.3/disposable.min.js",\n "@aegisjsproject/disposable/": "https://unpkg.com/@aegisjsproject/disposable@1.0.3/",\n "@aegisjsproject/iota": "https://unpkg.com/@aegisjsproject/iota@1.0.12/iota.min.js",\n "@aegisjsproject/iota/": "https://unpkg.com/@aegisjsproject/iota@1.0.12/",\n "@aegisjsproject/disposable-registry": "https://unpkg.com/@aegisjsproject/disposable-registry@1.1.0/registry.js",\n "@aegisjsproject/disposable-registry/": "https://unpkg.com/@aegisjsproject/disposable-registry@1.1.0/",\n "@aegisjsproject/hermes": "https://unpkg.com/@aegisjsproject/hermes@1.1.0/hermes.js",\n "@aegisjsproject/hermes/": "https://unpkg.com/@aegisjsproject/hermes@1.1.0/",\n "@aegisjsproject/pwa-prompt": "https://unpkg.com/@aegisjsproject/pwa-prompt@1.0.1/prompt.js",\n "@aegisjsproject/pwa-prompt/": "https://unpkg.com/@aegisjsproject/pwa-prompt@1.0.1/",\n "@aegisjsproject/button": "https://unpkg.com/@aegisjsproject/button@1.0.1/button.min.js",\n "@aegisjsproject/button/": "https://unpkg.com/@aegisjsproject/button@1.0.1/",\n "@aegisjsproject/atlas": "https://unpkg.com/@aegisjsproject/atlas@1.0.2/atlas.min.js",\n "@aegisjsproject/atlas/": "https://unpkg.com/@aegisjsproject/atlas@1.0.2/",\n "@aegisjsproject/toast-message": "https://unpkg.com/@aegisjsproject/toast-message@1.0.3/toast-message.min.js",\n "@aegisjsproject/toast-message/": "https://unpkg.com/@aegisjsproject/toast-message@1.0.3/",\n "@kernvalley/components/": "https://unpkg.com/@kernvalley/components@2.0.10/",\n "@webcomponents/custom-elements": "https://unpkg.com/@webcomponents/custom-elements@1.6.0/custom-elements.min.js",\n "leaflet": "https://unpkg.com/leaflet@1.9.4/dist/leaflet-src.esm.js",\n "leaflet/": "https://unpkg.com/leaflet@1.9.4/dist/",\n "urlpattern-polyfill": "https://unpkg.com/urlpattern-polyfill@10.1.0/index.js",\n "highlight.js": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/es/core.min.js",\n "highlight.js/": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/es/",\n "highlight.js/styles/": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/",\n "@highlightjs/cdn-assets": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/es/core.min.js",\n "@highlightjs/cdn-assets/": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/es/",\n "@highlightjs/cdn-assets/styles/": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/",\n "marked": "https://unpkg.com/marked@18.0.5/lib/marked.esm.js",\n "marked-highlight": "https://unpkg.com/marked-highlight@2.2.4/src/index.js",\n "yaml": "https://unpkg.com/yaml@2.9.0/browser/dist/index.js",\n "yaml/": "https://unpkg.com/yaml@2.9.0/browser/dist/",\n "firebase/": "https://www.gstatic.com/firebasejs/12.12.1/",\n "firebase/app": "https://www.gstatic.com/firebasejs/12.12.1/firebase-app.js",\n "firebase/app-check": "https://www.gstatic.com/firebasejs/12.12.1/firebase-app-check.js",\n "firebase/auth": "https://www.gstatic.com/firebasejs/12.12.1/firebase-auth.js",\n "firebase/database": "https://www.gstatic.com/firebasejs/12.12.1/firebase-database.js",\n "firebase/firestore": "https://www.gstatic.com/firebasejs/12.12.1/firebase-firestore.js",\n "firebase/functions": "https://www.gstatic.com/firebasejs/12.12.1/firebase-functions.js",\n "firebase/messaging": "https://www.gstatic.com/firebasejs/12.12.1/firebase-messaging.js",\n "firebase/performance": "https://www.gstatic.com/firebasejs/12.12.1/firebase-performance.js",\n "firebase/remote-config": "https://www.gstatic.com/firebasejs/12.12.1/firebase-remote-config.js",\n "firebase/storage": "https://www.gstatic.com/firebasejs/12.12.1/firebase-storage.js",\n "firebase/analytics": "https://www.gstatic.com/firebasejs/12.12.1/firebase-analytics.js",\n "qr": "https://unpkg.com/qr@0.6.0/index.js",\n "qr/": "https://unpkg.com/qr@0.6.0/",\n "lit": "https://unpkg.com/lit@3.3.3/index.js",\n "lit/": "https://unpkg.com/lit@3.3.3/",\n "lit-html": "https://unpkg.com/lit-html@3.3.3/lit-html.js",\n "lit-html/": "https://unpkg.com/lit-html@3.3.3/",\n "lit-element": "https://unpkg.com/lit-element@4.2.2/lit-element.js",\n "lit-element/": "https://unpkg.com/lit-element@4.2.2/",\n "@lit/reactive-element": "https://unpkg.com/@lit/reactive-element@2.1.2/reactive-element.js",\n "@lit/reactive-element/": "https://unpkg.com/@lit/reactive-element@2.1.2/",\n "@awesome.me/webawesome/": "https://unpkg.com/@awesome.me/webawesome@3.8.0/",\n "normalize.css": "https://unpkg.com/normalize.css@8.0.1/normalize.css"\n },\n "scopes": {}\n}');
|
|
240
|
+
var data = JSON.parse('{\n "imports": {\n "@node/": "/node_modules/",\n "@shgysk8zer0/kazoo/": "https://unpkg.com/@shgysk8zer0/kazoo@1.0.12/",\n "@shgysk8zer0/konami": "https://unpkg.com/@shgysk8zer0/konami@1.1.2/konami.js",\n "@shgysk8zer0/polyfills": "https://unpkg.com/@shgysk8zer0/polyfills@0.8.6/browser.min.js",\n "@shgysk8zer0/polyfills/": "https://unpkg.com/@shgysk8zer0/polyfills@0.8.6/",\n "@shgysk8zer0/jwk-utils": "https://unpkg.com/@shgysk8zer0/jwk-utils@1.2.1/jwk-utils.min.js",\n "@shgysk8zer0/jwk-utils/": "https://unpkg.com/@shgysk8zer0/jwk-utils@1.2.1/",\n "@shgysk8zer0/jswaggersheets": "https://unpkg.com/@shgysk8zer0/jswaggersheets@1.1.0/swagger.js",\n "@shgysk8zer0/jswaggersheets/": "https://unpkg.com/@shgysk8zer0/jswaggersheets@1.1.0/",\n "@shgysk8zer0/jss/": "https://unpkg.com/@shgysk8zer0/jss@1.0.1/",\n "@shgysk8zer0/consts/": "https://unpkg.com/@shgysk8zer0/consts@1.0.8/",\n "@shgysk8zer0/http/": "https://unpkg.com/@shgysk8zer0/http@1.0.5/",\n "@shgysk8zer0/http-status": "https://unpkg.com/@shgysk8zer0/http-status@1.1.4/http-status.js",\n "@shgysk8zer0/aes-gcm": "https://unpkg.com/@shgysk8zer0/aes-gcm@1.1.0/aes-gcm.min.js",\n "@shgysk8zer0/aes-gcm/": "https://unpkg.com/@shgysk8zer0/aes-gcm@1.1.0/",\n "@shgysk8zer0/squish": "https://unpkg.com/@shgysk8zer0/squish@1.0.2/squish.min.js",\n "@shgysk8zer0/squish/": "https://unpkg.com/@shgysk8zer0/squish@1.0.2/",\n "@shgysk8zer0/suid": "https://unpkg.com/@shgysk8zer0/suid@1.0.0/suid.min.js",\n "@shgysk8zer0/suid/": "https://unpkg.com/@shgysk8zer0/suid@1.0.0/",\n "@shgysk8zer0/geoutils": "https://unpkg.com/@shgysk8zer0/geoutils@1.0.6/geoutils.min.js",\n "@shgysk8zer0/geoutils/": "https://unpkg.com/@shgysk8zer0/geoutils@1.0.6/",\n "@shgysk8zer0/core-css/": "https://unpkg.com/@shgysk8zer0/core-css@3.0.0/",\n "@shgysk8zer0/signals": "https://unpkg.com/@shgysk8zer0/signals@0.1.0/signals.min.js",\n "@shgysk8zer0/signals/": "https://unpkg.com/@shgysk8zer0/signals@0.1.0/",\n "@shgysk8zer0/importmap": "https://unpkg.com/@shgysk8zer0/importmap@1.10.3/importmap.js",\n "@shgysk8zer0/importmap/": "https://unpkg.com/@shgysk8zer0/importmap@1.10.3/",\n "@shgysk8zer0/components/": "https://unpkg.com/@shgysk8zer0/components@0.3.23/",\n "@aegisjsproject/trusted-types": "https://unpkg.com/@aegisjsproject/trusted-types@1.1.0/bundle.min.js",\n "@aegisjsproject/trusted-types/": "https://unpkg.com/@aegisjsproject/trusted-types@1.1.0/",\n "@aegisjsproject/parsers": "https://unpkg.com/@aegisjsproject/parsers@0.2.0/bundle.min.js",\n "@aegisjsproject/parsers/": "https://unpkg.com/@aegisjsproject/parsers@0.2.0/",\n "@aegisjsproject/sanitizer": "https://unpkg.com/@aegisjsproject/sanitizer@0.3.0/sanitizer.js",\n "@aegisjsproject/sanitizer/": "https://unpkg.com/@aegisjsproject/sanitizer@0.3.0/",\n "@aegisjsproject/core": "https://unpkg.com/@aegisjsproject/core@0.3.0/core.js",\n "@aegisjsproject/core/": "https://unpkg.com/@aegisjsproject/core@0.3.0/",\n "@aegisjsproject/styles": "https://unpkg.com/@aegisjsproject/styles@0.4.0/styles.js",\n "@aegisjsproject/styles/": "https://unpkg.com/@aegisjsproject/styles@0.4.0/",\n "@aegisjsproject/component": "https://unpkg.com/@aegisjsproject/component@0.2.0/component.js",\n "@aegisjsproject/component/": "https://unpkg.com/@aegisjsproject/component@0.2.0/",\n "@aegisjsproject/markdown": "https://unpkg.com/@aegisjsproject/markdown@0.1.7/markdown.min.js",\n "@aegisjsproject/markdown/": "https://unpkg.com/@aegisjsproject/markdown@0.1.7/",\n "@aegisjsproject/aegis-md": "https://unpkg.com/@aegisjsproject/aegis-md@0.0.4/aegis-md.js",\n "@aegisjsproject/aegis-md/": "https://unpkg.com/@aegisjsproject/aegis-md@0.0.4/",\n "@aegisjsproject/url": "https://unpkg.com/@aegisjsproject/url@1.1.0/url.min.js",\n "@aegisjsproject/url/": "https://unpkg.com/@aegisjsproject/url@1.1.0/",\n "@aegisjsproject/idb/": "https://unpkg.com/@aegisjsproject/idb@1.1.0/",\n "@aegisjsproject/idb": "https://unpkg.com/@aegisjsproject/idb@1.1.0/idb.min.js",\n "@aegisjsproject/otp/": "https://unpkg.com/@aegisjsproject/otp@1.0.2/",\n "@aegisjsproject/otp": "https://unpkg.com/@aegisjsproject/otp@1.0.2/otp.min.js",\n "@aegisjsproject/md-editor": "https://unpkg.com/@aegisjsproject/md-editor@1.0.0/md-editor.js",\n "@aegisjsproject/md-editor/": "https://unpkg.com/@aegisjsproject/md-editor@1.0.0/",\n "@aegisjsproject/barcodescanner": "https://unpkg.com/@aegisjsproject/barcodescanner@1.2.3/scanner.min.js",\n "@aegisjsproject/barcodescanner/": "https://unpkg.com/@aegisjsproject/barcodescanner@1.2.3/",\n "@aegisjsproject/state": "https://unpkg.com/@aegisjsproject/state@1.1.0/state.mjs",\n "@aegisjsproject/state/": "https://unpkg.com/@aegisjsproject/state@1.1.0/",\n "@aegisjsproject/router": "https://unpkg.com/@aegisjsproject/router@1.3.0/router.mjs",\n "@aegisjsproject/router/": "https://unpkg.com/@aegisjsproject/router@1.3.0/",\n "@aegisjsproject/callback-registry": "https://unpkg.com/@aegisjsproject/callback-registry@2.1.0/callbackRegistry.js",\n "@aegisjsproject/callback-registry/": "https://unpkg.com/@aegisjsproject/callback-registry@2.1.0/",\n "@aegisjsproject/attempt": "https://unpkg.com/@aegisjsproject/attempt@1.0.7/attempt.js",\n "@aegisjsproject/attempt/": "https://unpkg.com/@aegisjsproject/attempt@1.0.7/",\n "@aegisjsproject/secret-store": "https://unpkg.com/@aegisjsproject/secret-store@1.1.1/commands.min.js",\n "@aegisjsproject/commands/": "https://unpkg.com/@aegisjsproject/commands@1.0.2/",\n "@aegisjsproject/commands": "https://unpkg.com/@aegisjsproject/commands@1.0.2/commands.min.js",\n "@aegisjsproject/firebase-account-routes": "https://unpkg.com/@aegisjsproject/firebase-account-routes@0.0.6/main.js",\n "@aegisjsproject/firebase-account-routes/": "https://unpkg.com/@aegisjsproject/firebase-account-routes@0.0.6/",\n "@aegisjsproject/secret-store/": "https://unpkg.com/@aegisjsproject/secret-store@1.1.1/",\n "@aegisjsproject/qr-encoder": "https://unpkg.com/@aegisjsproject/qr-encoder@1.0.1/index.min.js",\n "@aegisjsproject/qr-encoder/": "https://unpkg.com/@aegisjsproject/qr-encoder@1.0.1/",\n "@aegisjsproject/escape": "https://unpkg.com/@aegisjsproject/escape@1.1.0/index.min.js",\n "@aegisjsproject/escape/": "https://unpkg.com/@aegisjsproject/escape@1.1.0/",\n "@aegisjsproject/disposable": "https://unpkg.com/@aegisjsproject/disposable@1.0.3/disposable.min.js",\n "@aegisjsproject/disposable/": "https://unpkg.com/@aegisjsproject/disposable@1.0.3/",\n "@aegisjsproject/iota": "https://unpkg.com/@aegisjsproject/iota@1.0.12/iota.min.js",\n "@aegisjsproject/iota/": "https://unpkg.com/@aegisjsproject/iota@1.0.12/",\n "@aegisjsproject/disposable-registry": "https://unpkg.com/@aegisjsproject/disposable-registry@1.1.0/registry.js",\n "@aegisjsproject/disposable-registry/": "https://unpkg.com/@aegisjsproject/disposable-registry@1.1.0/",\n "@aegisjsproject/hermes": "https://unpkg.com/@aegisjsproject/hermes@1.1.0/hermes.js",\n "@aegisjsproject/hermes/": "https://unpkg.com/@aegisjsproject/hermes@1.1.0/",\n "@aegisjsproject/pwa-prompt": "https://unpkg.com/@aegisjsproject/pwa-prompt@1.0.1/prompt.js",\n "@aegisjsproject/pwa-prompt/": "https://unpkg.com/@aegisjsproject/pwa-prompt@1.0.1/",\n "@aegisjsproject/button": "https://unpkg.com/@aegisjsproject/button@1.0.1/button.min.js",\n "@aegisjsproject/button/": "https://unpkg.com/@aegisjsproject/button@1.0.1/",\n "@aegisjsproject/atlas": "https://unpkg.com/@aegisjsproject/atlas@1.1.0/atlas.min.js",\n "@aegisjsproject/atlas/": "https://unpkg.com/@aegisjsproject/atlas@1.1.0/",\n "@aegisjsproject/toast-message": "https://unpkg.com/@aegisjsproject/toast-message@1.0.3/toast-message.min.js",\n "@aegisjsproject/toast-message/": "https://unpkg.com/@aegisjsproject/toast-message@1.0.3/",\n "@kernvalley/components/": "https://unpkg.com/@kernvalley/components@2.0.10/",\n "@webcomponents/custom-elements": "https://unpkg.com/@webcomponents/custom-elements@1.6.0/custom-elements.min.js",\n "leaflet": "https://unpkg.com/leaflet@1.9.4/dist/leaflet-src.esm.js",\n "leaflet/": "https://unpkg.com/leaflet@1.9.4/dist/",\n "urlpattern-polyfill": "https://unpkg.com/urlpattern-polyfill@10.1.0/index.js",\n "highlight.js": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/es/core.min.js",\n "highlight.js/": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/es/",\n "highlight.js/styles/": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/",\n "@highlightjs/cdn-assets": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/es/core.min.js",\n "@highlightjs/cdn-assets/": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/es/",\n "@highlightjs/cdn-assets/styles/": "https://unpkg.com/@highlightjs/cdn-assets@11.11.1/styles/",\n "marked": "https://unpkg.com/marked@18.0.6/lib/marked.esm.js",\n "marked-highlight": "https://unpkg.com/marked-highlight@2.2.4/src/index.js",\n "yaml": "https://unpkg.com/yaml@2.9.0/browser/dist/index.js",\n "yaml/": "https://unpkg.com/yaml@2.9.0/browser/dist/",\n "firebase/": "https://www.gstatic.com/firebasejs/12.12.1/",\n "firebase/app": "https://www.gstatic.com/firebasejs/12.12.1/firebase-app.js",\n "firebase/app-check": "https://www.gstatic.com/firebasejs/12.12.1/firebase-app-check.js",\n "firebase/auth": "https://www.gstatic.com/firebasejs/12.12.1/firebase-auth.js",\n "firebase/database": "https://www.gstatic.com/firebasejs/12.12.1/firebase-database.js",\n "firebase/firestore": "https://www.gstatic.com/firebasejs/12.12.1/firebase-firestore.js",\n "firebase/functions": "https://www.gstatic.com/firebasejs/12.12.1/firebase-functions.js",\n "firebase/messaging": "https://www.gstatic.com/firebasejs/12.12.1/firebase-messaging.js",\n "firebase/performance": "https://www.gstatic.com/firebasejs/12.12.1/firebase-performance.js",\n "firebase/remote-config": "https://www.gstatic.com/firebasejs/12.12.1/firebase-remote-config.js",\n "firebase/storage": "https://www.gstatic.com/firebasejs/12.12.1/firebase-storage.js",\n "firebase/analytics": "https://www.gstatic.com/firebasejs/12.12.1/firebase-analytics.js",\n "qr": "https://unpkg.com/qr@0.6.0/index.js",\n "qr/": "https://unpkg.com/qr@0.6.0/",\n "lit": "https://unpkg.com/lit@3.3.3/index.js",\n "lit/": "https://unpkg.com/lit@3.3.3/",\n "lit-html": "https://unpkg.com/lit-html@3.3.3/lit-html.js",\n "lit-html/": "https://unpkg.com/lit-html@3.3.3/",\n "lit-element": "https://unpkg.com/lit-element@4.2.2/lit-element.js",\n "lit-element/": "https://unpkg.com/lit-element@4.2.2/",\n "@lit/reactive-element": "https://unpkg.com/@lit/reactive-element@2.1.2/reactive-element.js",\n "@lit/reactive-element/": "https://unpkg.com/@lit/reactive-element@2.1.2/",\n "@awesome.me/webawesome/": "https://unpkg.com/@awesome.me/webawesome@3.10.0/",\n "normalize.css": "https://unpkg.com/normalize.css@8.0.1/normalize.css"\n },\n "scopes": {}\n}');
|
|
241
241
|
|
|
242
242
|
const IMPORTMAP_EXP = /<script\b(?=[^>]*\btype=["']importmap["'])(?=(?:[^>]*\bnonce=["'](?<nonce>[^"']*)["'])?)(?=(?:[^>]*\bname=["'](?<name>[^"']*)["'])?)[^>]*>(?<content>[\s\S]*?)<\/script>/i;
|
|
243
243
|
|
|
@@ -345,7 +345,7 @@ async function updateJSON(file) {
|
|
|
345
345
|
} else if (file instanceof URL && file.protocol === 'file:') {
|
|
346
346
|
const importmap = await readJSONFile(file);
|
|
347
347
|
let { updated, imports } = await update(importmap.imports);
|
|
348
|
-
const pkg = await import(import.meta.resolve('./package.json'), {
|
|
348
|
+
const pkg = await import(import.meta.resolve('./package.json'), { assert: { type: 'json' } });
|
|
349
349
|
const { name, version } = pkg.default;
|
|
350
350
|
const ownURL = new URL(`https://unpkg.com/${name}@${version}/`);
|
|
351
351
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shgysk8zer0/importmap",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.3",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=20.10.0"
|
|
6
6
|
},
|
|
@@ -69,14 +69,14 @@
|
|
|
69
69
|
},
|
|
70
70
|
"homepage": "https://github.com/shgysk8zer0/importmap#readme",
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@shgysk8zer0/eslint-config": "^1.0
|
|
73
|
-
"@shgysk8zer0/js-utils": "^1.0
|
|
74
|
-
"@shgysk8zer0/rollup-import": "^2.0
|
|
75
|
-
"eslint": "^10.
|
|
72
|
+
"@shgysk8zer0/eslint-config": "^1.1.0",
|
|
73
|
+
"@shgysk8zer0/js-utils": "^1.1.0",
|
|
74
|
+
"@shgysk8zer0/rollup-import": "^2.1.0",
|
|
75
|
+
"eslint": "^10.6.0"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
78
|
"@shgysk8zer0/npm-utils": "^1.2.0",
|
|
79
|
-
"@shgysk8zer0/polyfills": "^0.8.
|
|
79
|
+
"@shgysk8zer0/polyfills": "^0.8.6",
|
|
80
80
|
"commander": "^15.0.0"
|
|
81
81
|
},
|
|
82
82
|
"allowScripts": {
|