@atlaspack/runtime-js
Advanced tools
Comparing version
{ | ||
"name": "@atlaspack/runtime-js", | ||
"version": "2.12.1-canary.3587+8f31c246e", | ||
"version": "2.12.1-canary.3588+c2c354003", | ||
"license": "(MIT OR Apache-2.0)", | ||
@@ -15,13 +15,13 @@ "publishConfig": { | ||
"engines": { | ||
"atlaspack": "2.12.1-canary.3587+8f31c246e", | ||
"atlaspack": "2.12.1-canary.3588+c2c354003", | ||
"node": ">= 16.0.0" | ||
}, | ||
"dependencies": { | ||
"@atlaspack/diagnostic": "2.12.1-canary.3587+8f31c246e", | ||
"@atlaspack/feature-flags": "2.12.1-canary.3587+8f31c246e", | ||
"@atlaspack/plugin": "2.12.1-canary.3587+8f31c246e", | ||
"@atlaspack/utils": "2.12.1-canary.3587+8f31c246e", | ||
"@atlaspack/diagnostic": "2.12.1-canary.3588+c2c354003", | ||
"@atlaspack/feature-flags": "2.12.1-canary.3588+c2c354003", | ||
"@atlaspack/plugin": "2.12.1-canary.3588+c2c354003", | ||
"@atlaspack/utils": "2.12.1-canary.3588+c2c354003", | ||
"nullthrows": "^1.1.1" | ||
}, | ||
"gitHead": "8f31c246e157e2a474cda2d497f2d2144fa80be5" | ||
"gitHead": "c2c354003cf6c999a93d60794dbce0d1a925ecbc" | ||
} |
@@ -0,3 +1,5 @@ | ||
// @flow | ||
import assert from 'assert'; | ||
// $FlowFixMe importing TypeScript | ||
import {getBaseURL} from '../src/helpers/bundle-url-common'; | ||
@@ -4,0 +6,0 @@ |
@@ -0,1 +1,2 @@ | ||
// @flow | ||
import assert from 'assert'; | ||
@@ -5,2 +6,3 @@ | ||
// $FlowFixMe importing TypeScript | ||
import {getShardedBundleURL} from '../src/helpers/bundle-url-shards'; | ||
@@ -29,2 +31,3 @@ | ||
beforeEach(() => { | ||
// $FlowFixMe | ||
delete globalThis.__ATLASPACK_ENABLE_DOMAIN_SHARDS; | ||
@@ -36,2 +39,3 @@ }); | ||
// $FlowFixMe | ||
globalThis.__ATLASPACK_ENABLE_DOMAIN_SHARDS = true; | ||
@@ -52,2 +56,3 @@ | ||
// $FlowFixMe | ||
globalThis.__ATLASPACK_ENABLE_DOMAIN_SHARDS = true; | ||
@@ -120,2 +125,3 @@ | ||
.find((b) => b.name === 'index.js'); | ||
if (!mainBundle) return assert(mainBundle); | ||
@@ -122,0 +128,0 @@ const code = await overlayFS.readFile(mainBundle.filePath, 'utf-8'); |
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
107546
0.18%2437
0.33%