@atlaspack/runtime-js 2.18.1 → 2.18.2
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 +16 -0
- package/lib/JSRuntime.js +1 -0
- package/package.json +7 -6
- package/src/JSRuntime.ts +2 -1
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.
|
|
3
|
+
"version": "2.18.2",
|
|
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.
|
|
20
|
-
"@atlaspack/domain-sharding": "2.14.
|
|
21
|
-
"@atlaspack/feature-flags": "2.23.
|
|
22
|
-
"@atlaspack/plugin": "2.14.
|
|
23
|
-
"@atlaspack/utils": "2.18.
|
|
19
|
+
"@atlaspack/diagnostic": "2.14.3",
|
|
20
|
+
"@atlaspack/domain-sharding": "2.14.3",
|
|
21
|
+
"@atlaspack/feature-flags": "2.23.1",
|
|
22
|
+
"@atlaspack/plugin": "2.14.26",
|
|
23
|
+
"@atlaspack/utils": "2.18.3",
|
|
24
|
+
"@atlaspack/types-internal": "2.19.2",
|
|
24
25
|
"nullthrows": "^1.1.1"
|
|
25
26
|
},
|
|
26
27
|
"type": "commonjs",
|
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,
|