@parcel/types-internal 2.12.1-dev.3231 → 2.12.1-dev.3275

Sign up to get free protection for your applications and to get access to all the features.
package/lib/index.d.ts CHANGED
@@ -1540,6 +1540,9 @@ export interface BundleGraph<TBundle extends Bundle> {
1540
1540
  includeInline?: boolean;
1541
1541
  }): Array<TBundle>;
1542
1542
 
1543
+ /** Returns a list of bundles that reference this bundle. */
1544
+ getReferencingBundles(bundle: Bundle): Array<TBundle>;
1545
+
1543
1546
  /** Get the dependencies that the asset requires */
1544
1547
  getDependencies(asset: Asset): Array<Dependency>;
1545
1548
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/types-internal",
3
- "version": "2.12.1-dev.3231+5b10f3ae4",
3
+ "version": "2.12.1-dev.3275+8b017703f",
4
4
  "license": "MIT",
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
- "@parcel/diagnostic": "2.0.0-dev.1608+5b10f3ae4",
20
- "@parcel/feature-flags": "2.12.1-dev.3231+5b10f3ae4",
19
+ "@parcel/diagnostic": "2.0.0-dev.1652+8b017703f",
20
+ "@parcel/feature-flags": "2.12.1-dev.3275+8b017703f",
21
21
  "@parcel/source-map": "^2.1.1",
22
22
  "utility-types": "^3.10.0"
23
23
  },
24
- "gitHead": "5b10f3ae49b33948e5de2d3ebc88c4a6d32a8a95"
24
+ "gitHead": "8b017703fdf4a90a643ce0190cdd7482060dc86b"
25
25
  }
package/src/index.js CHANGED
@@ -1542,6 +1542,8 @@ export interface BundleGraph<TBundle: Bundle> {
1542
1542
  bundle: Bundle,
1543
1543
  opts?: {|recursive?: boolean, includeInline?: boolean|},
1544
1544
  ): Array<TBundle>;
1545
+ /** Returns a list of bundles that reference this bundle. */
1546
+ getReferencingBundles(bundle: Bundle): Array<TBundle>;
1545
1547
  /** Get the dependencies that the asset requires */
1546
1548
  getDependencies(asset: Asset): Array<Dependency>;
1547
1549
  /** Get the dependencies that require the asset */