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

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
@@ -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.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.1608+5b10f3ae4",
20
- "@parcel/feature-flags": "2.12.1-dev.3231+5b10f3ae4",
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": "5b10f3ae49b33948e5de2d3ebc88c4a6d32a8a95"
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 */