@parcel/types-internal 2.12.1-dev.3229 → 2.12.1-dev.3260

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.3229+795716bf4",
3
+ "version": "2.12.1-dev.3260+339350eb3",
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.1603+795716bf4",
20
- "@parcel/feature-flags": "2.12.1-dev.3229+795716bf4",
19
+ "@parcel/diagnostic": "2.0.0-dev.1632+339350eb3",
20
+ "@parcel/feature-flags": "2.12.1-dev.3260+339350eb3",
21
21
  "@parcel/source-map": "^2.1.1",
22
22
  "utility-types": "^3.10.0"
23
23
  },
24
- "gitHead": "795716bf4650f012262eade20f8dc1cfd1f02580"
24
+ "gitHead": "339350eb31fd33849cb1efe5fd7ad2cb096319f0"
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 */