@atlaspack/packager-js 2.14.5-dev.69 → 2.14.5-dev.73

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,15 @@
1
1
  # @atlaspack/packager-js
2
2
 
3
+ ## 2.14.11
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`73ea3c4`](https://github.com/atlassian-labs/atlaspack/commit/73ea3c4d85d4401fdd15abcbf988237e890e7ad3), [`b1b3693`](https://github.com/atlassian-labs/atlaspack/commit/b1b369317c66f8a431c170df2ebba4fa5b2e38ef)]:
8
+ - @atlaspack/feature-flags@2.17.0
9
+ - @atlaspack/utils@2.14.11
10
+ - @atlaspack/types@2.15.1
11
+ - @atlaspack/plugin@2.14.11
12
+
3
13
  ## 2.14.10
4
14
 
5
15
  ### Patch Changes
@@ -127,12 +127,6 @@ class ScopeHoistingPackager {
127
127
  for (let b of this.bundleGraph.getReferencedBundles(this.bundle, {
128
128
  recursive: false
129
129
  })) {
130
- // If the referenced bundle is a native node bundle then don't require it as
131
- // an external as we don't want to require native node bundles from other
132
- // OS architectures
133
- if (process.env.ATLASPACK_SUPER_BUILD === 'true' && b.type === 'node') {
134
- continue;
135
- }
136
130
  this.externals.set((0, _utils().relativeBundlePath)(this.bundle, b), new Map());
137
131
  }
138
132
  }
@@ -594,14 +588,6 @@ ${code}
594
588
  this.externalAssets.add(resolved);
595
589
  continue;
596
590
  }
597
-
598
- // If the referencedBundle is a native node import then require it
599
- // directly
600
- // Only enabled for internal builds for now
601
- if (process.env.ATLASPACK_SUPER_BUILD === 'true' && referencedBundle && referencedBundle.type === 'node') {
602
- replacements.set((0, _nullthrows().default)(dep.symbols.get('*')).local, `require('${(0, _utils().relativeBundlePath)(this.bundle, referencedBundle)}')`);
603
- continue;
604
- }
605
591
  }
606
592
  for (let [imported, {
607
593
  local
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/packager-js",
3
- "version": "2.14.5-dev.69+67cb517ae",
3
+ "version": "2.14.5-dev.73+84eec3484",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -15,16 +15,16 @@
15
15
  "node": ">= 16.0.0"
16
16
  },
17
17
  "dependencies": {
18
- "@atlaspack/diagnostic": "2.14.1-dev.137+67cb517ae",
19
- "@atlaspack/feature-flags": "2.14.1-dev.137+67cb517ae",
20
- "@atlaspack/plugin": "2.14.5-dev.69+67cb517ae",
21
- "@atlaspack/rust": "3.2.1-dev.69+67cb517ae",
22
- "@atlaspack/types": "2.14.5-dev.69+67cb517ae",
23
- "@atlaspack/utils": "2.14.5-dev.69+67cb517ae",
18
+ "@atlaspack/diagnostic": "2.14.1-dev.141+84eec3484",
19
+ "@atlaspack/feature-flags": "2.14.1-dev.141+84eec3484",
20
+ "@atlaspack/plugin": "2.14.5-dev.73+84eec3484",
21
+ "@atlaspack/rust": "3.2.1-dev.73+84eec3484",
22
+ "@atlaspack/types": "2.14.5-dev.73+84eec3484",
23
+ "@atlaspack/utils": "2.14.5-dev.73+84eec3484",
24
24
  "@parcel/source-map": "^2.1.1",
25
25
  "globals": "^13.2.0",
26
26
  "nullthrows": "^1.1.1"
27
27
  },
28
28
  "type": "commonjs",
29
- "gitHead": "67cb517ae793046fb5a0d2ef02ba74510fefccf3"
29
+ "gitHead": "84eec348413c647de4872f902c4bc8ff54c347f3"
30
30
  }
@@ -149,13 +149,6 @@ export class ScopeHoistingPackager {
149
149
  for (let b of this.bundleGraph.getReferencedBundles(this.bundle, {
150
150
  recursive: false,
151
151
  })) {
152
- // If the referenced bundle is a native node bundle then don't require it as
153
- // an external as we don't want to require native node bundles from other
154
- // OS architectures
155
- if (process.env.ATLASPACK_SUPER_BUILD === 'true' && b.type === 'node') {
156
- continue;
157
- }
158
-
159
152
  this.externals.set(relativeBundlePath(this.bundle, b), new Map());
160
153
  }
161
154
  }
@@ -816,21 +809,6 @@ ${code}
816
809
  this.externalAssets.add(resolved);
817
810
  continue;
818
811
  }
819
-
820
- // If the referencedBundle is a native node import then require it
821
- // directly
822
- // Only enabled for internal builds for now
823
- if (
824
- process.env.ATLASPACK_SUPER_BUILD === 'true' &&
825
- referencedBundle &&
826
- referencedBundle.type === 'node'
827
- ) {
828
- replacements.set(
829
- nullthrows(dep.symbols.get('*')).local,
830
- `require('${relativeBundlePath(this.bundle, referencedBundle)}')`,
831
- );
832
- continue;
833
- }
834
812
  }
835
813
 
836
814
  for (let [imported, {local}] of dep.symbols) {