@parcel/types-internal 2.15.3-canary.3472 → 2.15.3-canary.3476

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
@@ -1407,6 +1407,9 @@ export interface Bundle {
1407
1407
 
1408
1408
  /** Traverses assets and dependencies in the bundle. */
1409
1409
  traverse<TContext>(visit: GraphVisitor<BundleTraversable, TContext>): TContext | null | undefined;
1410
+
1411
+ /** Returns a hash of the contents of the bundle. */
1412
+ getContentHash(): string;
1410
1413
  }
1411
1414
 
1412
1415
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/types-internal",
3
- "version": "2.15.3-canary.3472+b66f37168",
3
+ "version": "2.15.3-canary.3476+d948759d2",
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-canary.1849+b66f37168",
20
- "@parcel/feature-flags": "2.15.3-canary.3472+b66f37168",
19
+ "@parcel/diagnostic": "2.0.0-canary.1853+d948759d2",
20
+ "@parcel/feature-flags": "2.15.3-canary.3476+d948759d2",
21
21
  "@parcel/source-map": "^2.1.1",
22
22
  "utility-types": "^3.11.0"
23
23
  },
24
- "gitHead": "b66f37168d0e830c030d0427bceac90117674cae"
24
+ "gitHead": "d948759d2fd502bc0c76cf87480f6fb12d2a2ee6"
25
25
  }
package/src/index.js CHANGED
@@ -1426,6 +1426,8 @@ export interface Bundle {
1426
1426
  traverse<TContext>(
1427
1427
  visit: GraphVisitor<BundleTraversable, TContext>,
1428
1428
  ): ?TContext;
1429
+ /** Returns a hash of the contents of the bundle. */
1430
+ getContentHash(): string;
1429
1431
  }
1430
1432
 
1431
1433
  /**