@atlaspack/runtime-js
Advanced tools
Comparing version 2.12.1-canary.3608 to 2.12.1-canary.3609
@@ -89,3 +89,3 @@ "use strict"; | ||
}; | ||
window.dispatchEvent(new CustomEvent('atlaspack:import_retry', event)); | ||
globalThis.dispatchEvent(new CustomEvent('atlaspack:import_retry', event)); | ||
case 17: | ||
@@ -92,0 +92,0 @@ case "end": |
"use strict"; | ||
var mapping = new Map(); | ||
function register(baseUrl, manifest) { | ||
function register( /** @type {string} */baseUrl, /** @type {Array<string>} */manifest // ['id', 'path', 'id2', 'path2'] | ||
) { | ||
for (var i = 0; i < manifest.length - 1; i += 2) { | ||
@@ -6,0 +7,0 @@ mapping.set(manifest[i], { |
{ | ||
"name": "@atlaspack/runtime-js", | ||
"version": "2.12.1-canary.3608+c17d17f39", | ||
"version": "2.12.1-canary.3609+4608bfa87", | ||
"license": "(MIT OR Apache-2.0)", | ||
@@ -15,14 +15,14 @@ "publishConfig": { | ||
"engines": { | ||
"atlaspack": "2.12.1-canary.3608+c17d17f39", | ||
"atlaspack": "2.12.1-canary.3609+4608bfa87", | ||
"node": ">= 16.0.0" | ||
}, | ||
"dependencies": { | ||
"@atlaspack/diagnostic": "2.12.1-canary.3608+c17d17f39", | ||
"@atlaspack/domain-sharding": "2.12.1-canary.3608+c17d17f39", | ||
"@atlaspack/feature-flags": "2.12.1-canary.3608+c17d17f39", | ||
"@atlaspack/plugin": "2.12.1-canary.3608+c17d17f39", | ||
"@atlaspack/utils": "2.12.1-canary.3608+c17d17f39", | ||
"@atlaspack/diagnostic": "2.12.1-canary.3609+4608bfa87", | ||
"@atlaspack/domain-sharding": "2.12.1-canary.3609+4608bfa87", | ||
"@atlaspack/feature-flags": "2.12.1-canary.3609+4608bfa87", | ||
"@atlaspack/plugin": "2.12.1-canary.3609+4608bfa87", | ||
"@atlaspack/utils": "2.12.1-canary.3609+4608bfa87", | ||
"nullthrows": "^1.1.1" | ||
}, | ||
"gitHead": "c17d17f3994e30988351ae34a5b68b85048a3e0c" | ||
"gitHead": "4608bfa87145cdd385b090b70b4d9a10e73334a3" | ||
} |
@@ -50,3 +50,3 @@ async function load(id) { | ||
const event = {detail: {target: url, attempt: i}}; | ||
window.dispatchEvent( | ||
globalThis.dispatchEvent( | ||
new CustomEvent('atlaspack:import_retry', event), | ||
@@ -53,0 +53,0 @@ ); |
var mapping = new Map(); | ||
function register(baseUrl, manifest) { | ||
function register( | ||
/** @type {string} */ baseUrl, | ||
/** @type {Array<string>} */ manifest, // ['id', 'path', 'id2', 'path2'] | ||
) { | ||
for (var i = 0; i < manifest.length - 1; i += 2) { | ||
@@ -5,0 +8,0 @@ mapping.set(manifest[i], { |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
110710
52
2461