@parcel/types-internal 2.13.4-canary.3412 → 2.14.0
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 +4 -1
- package/package.json +4 -4
- package/src/index.js +10 -2
package/lib/index.d.ts
CHANGED
@@ -1535,7 +1535,9 @@ export interface BundleGraph<TBundle extends Bundle> {
|
|
1535
1535
|
|
1536
1536
|
/** Returns a list of bundles that load together in the given bundle group. */
|
1537
1537
|
getBundlesInBundleGroup(bundleGroup: BundleGroup, opts?: {
|
1538
|
-
|
1538
|
+
recursive?: boolean;
|
1539
|
+
includeInline?: boolean;
|
1540
|
+
includeIsolated?: boolean;
|
1539
1541
|
}): Array<TBundle>;
|
1540
1542
|
|
1541
1543
|
/** Returns a list of bundles that this bundle loads asynchronously. */
|
@@ -1551,6 +1553,7 @@ export interface BundleGraph<TBundle extends Bundle> {
|
|
1551
1553
|
getReferencedBundles(bundle: Bundle, opts?: {
|
1552
1554
|
recursive?: boolean;
|
1553
1555
|
includeInline?: boolean;
|
1556
|
+
includeIsolated?: boolean;
|
1554
1557
|
}): Array<TBundle>;
|
1555
1558
|
|
1556
1559
|
/** Returns a list of bundles that reference this bundle. */
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@parcel/types-internal",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.14.0",
|
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.
|
20
|
-
"@parcel/feature-flags": "2.
|
19
|
+
"@parcel/diagnostic": "2.14.0",
|
20
|
+
"@parcel/feature-flags": "2.14.0",
|
21
21
|
"@parcel/source-map": "^2.1.1",
|
22
22
|
"utility-types": "^3.10.0"
|
23
23
|
},
|
24
|
-
"gitHead": "
|
24
|
+
"gitHead": "2306f8f14e8cf7d7c2d94ef5c6e52f9754dd5be8"
|
25
25
|
}
|
package/src/index.js
CHANGED
@@ -1547,7 +1547,11 @@ export interface BundleGraph<TBundle: Bundle> {
|
|
1547
1547
|
/** Returns a list of bundles that load together in the given bundle group. */
|
1548
1548
|
getBundlesInBundleGroup(
|
1549
1549
|
bundleGroup: BundleGroup,
|
1550
|
-
opts?: {|
|
1550
|
+
opts?: {|
|
1551
|
+
recursive?: boolean,
|
1552
|
+
includeInline?: boolean,
|
1553
|
+
includeIsolated?: boolean,
|
1554
|
+
|},
|
1551
1555
|
): Array<TBundle>;
|
1552
1556
|
/** Returns a list of bundles that this bundle loads asynchronously. */
|
1553
1557
|
getChildBundles(bundle: Bundle): Array<TBundle>;
|
@@ -1558,7 +1562,11 @@ export interface BundleGraph<TBundle: Bundle> {
|
|
1558
1562
|
/** Returns a list of bundles that are referenced by this bundle. By default, inline bundles are excluded. */
|
1559
1563
|
getReferencedBundles(
|
1560
1564
|
bundle: Bundle,
|
1561
|
-
opts?: {|
|
1565
|
+
opts?: {|
|
1566
|
+
recursive?: boolean,
|
1567
|
+
includeInline?: boolean,
|
1568
|
+
includeIsolated?: boolean,
|
1569
|
+
|},
|
1562
1570
|
): Array<TBundle>;
|
1563
1571
|
/** Returns a list of bundles that reference this bundle. */
|
1564
1572
|
getReferencingBundles(bundle: Bundle): Array<TBundle>;
|