@parcel/types-internal 2.12.1-dev.3204 → 2.12.1-dev.3207

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/Cache.d.ts CHANGED
@@ -13,6 +13,7 @@ export interface Cache {
13
13
  setLargeBlob(key: string, contents: Buffer | string, options?: {
14
14
  signal?: AbortSignal;
15
15
  }): Promise<void>;
16
+ deleteLargeBlob(key: string): Promise<void>;
16
17
  getBuffer(key: string): Promise<Buffer | null | undefined>;
17
18
 
18
19
  /**
package/lib/index.d.ts CHANGED
@@ -306,6 +306,7 @@ export type InitialServerOptions = {
306
306
  };
307
307
  export interface PluginOptions {
308
308
  readonly mode: BuildMode;
309
+ readonly parcelVersion: string;
309
310
  readonly env: EnvMap;
310
311
  readonly hmrOptions: HMROptions | null | undefined;
311
312
  readonly serveOptions: ServerOptions | false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/types-internal",
3
- "version": "2.12.1-dev.3204+e87c13686",
3
+ "version": "2.12.1-dev.3207+ddaa72fad",
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.1557+e87c13686",
20
- "@parcel/feature-flags": "2.12.1-dev.3204+e87c13686",
19
+ "@parcel/diagnostic": "2.0.0-dev.1584+ddaa72fad",
20
+ "@parcel/feature-flags": "2.12.1-dev.3207+ddaa72fad",
21
21
  "@parcel/source-map": "^2.1.1",
22
22
  "utility-types": "^3.10.0"
23
23
  },
24
- "gitHead": "e87c13686e8fa4ad96cc61c19d9e4fcf9c372f2e"
24
+ "gitHead": "ddaa72fad245c2d5b065df71ad1a18f17d518c8c"
25
25
  }
package/src/Cache.js CHANGED
@@ -18,6 +18,7 @@ export interface Cache {
18
18
  contents: Buffer | string,
19
19
  options?: {|signal?: AbortSignal|},
20
20
  ): Promise<void>;
21
+ deleteLargeBlob(key: string): Promise<void>;
21
22
  getBuffer(key: string): Promise<?Buffer>;
22
23
  /**
23
24
  * In a multi-threaded environment, where there are potentially multiple Cache
package/src/index.js CHANGED
@@ -400,6 +400,7 @@ export type InitialServerOptions = {|
400
400
 
401
401
  export interface PluginOptions {
402
402
  +mode: BuildMode;
403
+ +parcelVersion: string;
403
404
  +env: EnvMap;
404
405
  +hmrOptions: ?HMROptions;
405
406
  +serveOptions: ServerOptions | false;