@atlaspack/transformer-js 3.2.3-canary.241 → 3.2.3-canary.242

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.
@@ -538,13 +538,7 @@ var _default = exports.default = new (_plugin().Transformer)({
538
538
  } : null
539
539
  });
540
540
  if ((0, _featureFlags().getFeatureFlag)('conditionalBundlingApi')) {
541
- asset.meta.conditions = conditions.map(
542
- // @ts-expect-error TS7006
543
- c => ({
544
- key: c.key,
545
- ifTruePlaceholder: c.if_true_placeholder,
546
- ifFalsePlaceholder: c.if_false_placeholder
547
- }));
541
+ asset.meta.conditions = conditions;
548
542
  }
549
543
  if (is_constant_module) {
550
544
  asset.meta.isConstantModule = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/transformer-js",
3
- "version": "3.2.3-canary.241+816fbf634",
3
+ "version": "3.2.3-canary.242+3091fa364",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -24,12 +24,12 @@
24
24
  "src"
25
25
  ],
26
26
  "dependencies": {
27
- "@atlaspack/diagnostic": "2.14.1-canary.309+816fbf634",
28
- "@atlaspack/feature-flags": "2.14.1-canary.309+816fbf634",
29
- "@atlaspack/plugin": "2.14.5-canary.241+816fbf634",
30
- "@atlaspack/rust": "3.2.1-canary.241+816fbf634",
31
- "@atlaspack/utils": "2.14.5-canary.241+816fbf634",
32
- "@atlaspack/workers": "2.14.5-canary.241+816fbf634",
27
+ "@atlaspack/diagnostic": "2.14.1-canary.310+3091fa364",
28
+ "@atlaspack/feature-flags": "2.14.1-canary.310+3091fa364",
29
+ "@atlaspack/plugin": "2.14.5-canary.242+3091fa364",
30
+ "@atlaspack/rust": "3.2.1-canary.242+3091fa364",
31
+ "@atlaspack/utils": "2.14.5-canary.242+3091fa364",
32
+ "@atlaspack/workers": "2.14.5-canary.242+3091fa364",
33
33
  "@parcel/source-map": "^2.1.1",
34
34
  "@swc/helpers": "^0.5.15",
35
35
  "browserslist": "^4.6.6",
@@ -41,5 +41,5 @@
41
41
  "@atlaspack/core": "2.25.1"
42
42
  },
43
43
  "type": "commonjs",
44
- "gitHead": "816fbf634125215c3b4f2d79c0cd4a976648f1dc"
44
+ "gitHead": "3091fa36425ecffe3938e55247a035b08cda37a2"
45
45
  }
@@ -645,14 +645,7 @@ export default new Transformer({
645
645
  });
646
646
 
647
647
  if (getFeatureFlag('conditionalBundlingApi')) {
648
- asset.meta.conditions = conditions.map(
649
- // @ts-expect-error TS7006
650
- (c): ConditionMeta => ({
651
- key: c.key,
652
- ifTruePlaceholder: c.if_true_placeholder,
653
- ifFalsePlaceholder: c.if_false_placeholder,
654
- }),
655
- );
648
+ asset.meta.conditions = conditions;
656
649
  }
657
650
 
658
651
  if (is_constant_module) {