@atlaspack/transformer-js 20.0.0 → 20.1.1

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.
@@ -386,7 +386,6 @@ var _default = exports.default = new (_plugin().Transformer)({
386
386
  config = JSON.parse(options.env.SYNC_DYNAMIC_IMPORT_CONFIG);
387
387
  (0, _assert().default)(typeof ((_config = config) === null || _config === void 0 ? void 0 : _config.entrypoint_filepath_suffix) === 'string');
388
388
  (0, _assert().default)(Array.isArray(config.actual_require_paths));
389
- (0, _assert().default)(typeof (config.activate_reject_on_unresolved_imports ?? false) === 'boolean');
390
389
  configCache.set('SYNC_DYNAMIC_IMPORT_CONFIG', config);
391
390
  }
392
391
  syncDynamicImportConfig = config;
@@ -395,8 +394,7 @@ var _default = exports.default = new (_plugin().Transformer)({
395
394
  console.warn('Failed to parse SYNC_DYNAMIC_IMPORT_CONFIG to JSON or config shape did not match. Config will not be applied.');
396
395
  const fallback = {
397
396
  entrypoint_filepath_suffix: '__NO_MATCH__',
398
- actual_require_paths: [],
399
- activate_reject_on_unresolved_imports: false
397
+ actual_require_paths: []
400
398
  };
401
399
 
402
400
  // Set cache to fallback so we don't keep trying to parse.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/transformer-js",
3
- "version": "20.0.0",
3
+ "version": "20.1.1",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -27,11 +27,11 @@
27
27
  "@atlaspack/build-cache": "2.13.17",
28
28
  "@atlaspack/diagnostic": "2.14.4",
29
29
  "@atlaspack/feature-flags": "2.31.3",
30
- "@atlaspack/plugin": "2.14.63",
31
- "@atlaspack/rust": "3.29.2",
32
- "@atlaspack/source-map": "3.3.7",
33
- "@atlaspack/utils": "3.4.5",
34
- "@atlaspack/workers": "2.14.63",
30
+ "@atlaspack/plugin": "2.14.65",
31
+ "@atlaspack/rust": "4.0.0",
32
+ "@atlaspack/source-map": "3.3.9",
33
+ "@atlaspack/utils": "3.4.7",
34
+ "@atlaspack/workers": "2.14.65",
35
35
  "@swc/helpers": "^0.5.15",
36
36
  "browserslist": "^4.6.6",
37
37
  "nullthrows": "^1.1.1",
@@ -39,7 +39,7 @@
39
39
  "semver": "^7.5.2"
40
40
  },
41
41
  "peerDependencies": {
42
- "@atlaspack/core": "2.39.0"
42
+ "@atlaspack/core": "2.39.2"
43
43
  },
44
44
  "type": "commonjs"
45
45
  }
@@ -513,7 +513,6 @@ export default new Transformer({
513
513
  | {
514
514
  entrypoint_filepath_suffix: string;
515
515
  actual_require_paths: string[];
516
- activate_reject_on_unresolved_imports?: boolean;
517
516
  }
518
517
  | undefined;
519
518
 
@@ -528,10 +527,6 @@ export default new Transformer({
528
527
 
529
528
  invariant(typeof config?.entrypoint_filepath_suffix === 'string');
530
529
  invariant(Array.isArray(config.actual_require_paths));
531
- invariant(
532
- typeof (config.activate_reject_on_unresolved_imports ?? false) ===
533
- 'boolean',
534
- );
535
530
 
536
531
  configCache.set('SYNC_DYNAMIC_IMPORT_CONFIG', config);
537
532
  }
@@ -546,7 +541,6 @@ export default new Transformer({
546
541
  const fallback = {
547
542
  entrypoint_filepath_suffix: '__NO_MATCH__',
548
543
  actual_require_paths: [],
549
- activate_reject_on_unresolved_imports: false,
550
544
  };
551
545
 
552
546
  // Set cache to fallback so we don't keep trying to parse.