@atlaspack/types-internal 2.12.1-dev.3502 → 2.12.1-dev.3520

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/lib/index.d.ts CHANGED
@@ -1638,11 +1638,13 @@ export interface BundleGraph<TBundle extends Bundle> {
1638
1638
  ifTrueBundles: Array<TBundle>;
1639
1639
  ifFalseBundles: Array<TBundle>;
1640
1640
  }>>;
1641
- getConditionsForDependencies(deps: Array<Dependency>): Set<{
1641
+ getConditionsForDependencies(deps: Array<Dependency>, bundle: NamedBundle): Set<{
1642
1642
  publicId: string;
1643
1643
  key: string;
1644
1644
  ifTrueDependency: Dependency;
1645
1645
  ifFalseDependency: Dependency;
1646
+ ifTrueBundles: Array<TBundle>;
1647
+ ifFalseBundles: Array<TBundle>;
1646
1648
  ifTrueAssetId: string;
1647
1649
  ifFalseAssetId: string;
1648
1650
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/types-internal",
3
- "version": "2.12.1-dev.3502+c2daeab5a",
3
+ "version": "2.12.1-dev.3520+8a5346e28",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "main": "src/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -16,10 +16,10 @@
16
16
  "check-ts": "tsc --noEmit lib/index.d.ts"
17
17
  },
18
18
  "dependencies": {
19
- "@atlaspack/diagnostic": "2.12.1-dev.3502+c2daeab5a",
20
- "@atlaspack/feature-flags": "2.12.1-dev.3502+c2daeab5a",
19
+ "@atlaspack/diagnostic": "2.12.1-dev.3520+8a5346e28",
20
+ "@atlaspack/feature-flags": "2.12.1-dev.3520+8a5346e28",
21
21
  "@parcel/source-map": "^2.1.1",
22
22
  "utility-types": "^3.10.0"
23
23
  },
24
- "gitHead": "c2daeab5a12461903159dec34df5671eaaa9b749"
24
+ "gitHead": "8a5346e28c1bb3b9cd40f1c4e77c66dd6666f1e4"
25
25
  }
package/src/index.js CHANGED
@@ -1642,11 +1642,16 @@ export interface BundleGraph<TBundle: Bundle> {
1642
1642
  |},
1643
1643
  >,
1644
1644
  >;
1645
- getConditionsForDependencies(deps: Array<Dependency>): Set<{|
1645
+ getConditionsForDependencies(
1646
+ deps: Array<Dependency>,
1647
+ bundle: NamedBundle,
1648
+ ): Set<{|
1646
1649
  publicId: string,
1647
1650
  key: string,
1648
1651
  ifTrueDependency: Dependency,
1649
1652
  ifFalseDependency: Dependency,
1653
+ ifTrueBundles: Array<TBundle>,
1654
+ ifFalseBundles: Array<TBundle>,
1650
1655
  ifTrueAssetId: string,
1651
1656
  ifFalseAssetId: string,
1652
1657
  |}>;