@atlaspack/runtime-js 2.18.2-dev-inline-requires-reuse-bdc9ca9c3.0 → 2.18.3-inline-requires-take-2-2a0c642df.0

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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atlaspack/runtime-js
2
2
 
3
+ ## 2.18.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#742](https://github.com/atlassian-labs/atlaspack/pull/742) [`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd) Thanks [@yamadapc](https://github.com/yamadapc)! - Internal changes and bug fixes to environmentDeduplication flag
8
+
9
+ - [#755](https://github.com/atlassian-labs/atlaspack/pull/755) [`b6e72b6`](https://github.com/atlassian-labs/atlaspack/commit/b6e72b6dd2b517cbb0e700fa69e63332d3eacb1e) Thanks [@benjervis](https://github.com/benjervis)! - Allow runtime assets to be marked as requiring execution on load
10
+
11
+ - Updated dependencies [[`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd), [`889c65c`](https://github.com/atlassian-labs/atlaspack/commit/889c65cd25b811045e26a117e7404f694dde77a2)]:
12
+ - @atlaspack/domain-sharding@2.14.3
13
+ - @atlaspack/types-internal@2.19.2
14
+ - @atlaspack/feature-flags@2.23.1
15
+ - @atlaspack/diagnostic@2.14.3
16
+ - @atlaspack/plugin@2.14.26
17
+ - @atlaspack/utils@2.18.3
18
+
3
19
  ## 2.18.1
4
20
 
5
21
  ### Patch Changes
package/lib/JSRuntime.js CHANGED
@@ -321,6 +321,7 @@ var _default = exports.default = new (_plugin().Runtime)({
321
321
  env: {
322
322
  sourceType: 'module'
323
323
  },
324
+ runtimeAssetRequiringExecutionOnLoad: true,
324
325
  priority: getManifestBundlePriority(bundleGraph, bundle, config.splitManifestThreshold)
325
326
  });
326
327
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/runtime-js",
3
- "version": "2.18.2-dev-inline-requires-reuse-bdc9ca9c3.0",
3
+ "version": "2.18.3-inline-requires-take-2-2a0c642df.0",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -16,11 +16,12 @@
16
16
  "node": ">= 16.0.0"
17
17
  },
18
18
  "dependencies": {
19
- "@atlaspack/diagnostic": "2.14.3-dev-inline-requires-reuse-bdc9ca9c3.0",
20
- "@atlaspack/domain-sharding": "2.14.3-dev-inline-requires-reuse-bdc9ca9c3.0",
21
- "@atlaspack/feature-flags": "2.23.1-dev-inline-requires-reuse-bdc9ca9c3.0",
22
- "@atlaspack/plugin": "2.14.26-dev-inline-requires-reuse-bdc9ca9c3.0",
23
- "@atlaspack/utils": "2.18.3-dev-inline-requires-reuse-bdc9ca9c3.0",
19
+ "@atlaspack/diagnostic": "2.14.4-inline-requires-take-2-2a0c642df.0",
20
+ "@atlaspack/domain-sharding": "2.14.4-inline-requires-take-2-2a0c642df.0",
21
+ "@atlaspack/feature-flags": "2.23.2-inline-requires-take-2-2a0c642df.0",
22
+ "@atlaspack/plugin": "2.14.27-inline-requires-take-2-2a0c642df.0",
23
+ "@atlaspack/types-internal": "2.19.3-inline-requires-take-2-2a0c642df.0",
24
+ "@atlaspack/utils": "2.18.4-inline-requires-take-2-2a0c642df.0",
24
25
  "nullthrows": "^1.1.1"
25
26
  },
26
27
  "type": "commonjs",
@@ -28,5 +29,5 @@
28
29
  "check-ts": "tsc --emitDeclarationOnly --rootDir src",
29
30
  "build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
30
31
  },
31
- "gitHead": "bdc9ca9c38f45155a6d6f280e343a29e3f030a83"
32
+ "gitHead": "2a0c642dfe354e30a8cbd23be0b1a283eab54040"
32
33
  }
package/src/JSRuntime.ts CHANGED
@@ -6,7 +6,7 @@ import type {
6
6
  PluginOptions,
7
7
  NamedBundle,
8
8
  RuntimeAsset,
9
- } from '@atlaspack/types';
9
+ } from '@atlaspack/types-internal';
10
10
 
11
11
  import {Runtime} from '@atlaspack/plugin';
12
12
  import {
@@ -404,6 +404,7 @@ export default new Runtime({
404
404
  code: getRegisterCode(bundle, bundleGraph),
405
405
  isEntry: true,
406
406
  env: {sourceType: 'module'},
407
+ runtimeAssetRequiringExecutionOnLoad: true,
407
408
  priority: getManifestBundlePriority(
408
409
  bundleGraph,
409
410
  bundle,