@parcel/types-internal 2.12.1-dev.3196 → 2.12.1-dev.3200

Sign up to get free protection for your applications and to get access to all the features.
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.3196+c9a0ab031",
3
+ "version": "2.12.1-dev.3200+54ccc2e5e",
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.1573+c9a0ab031",
20
- "@parcel/feature-flags": "2.12.1-dev.3196+c9a0ab031",
19
+ "@parcel/diagnostic": "2.0.0-dev.1577+54ccc2e5e",
20
+ "@parcel/feature-flags": "2.12.1-dev.3200+54ccc2e5e",
21
21
  "@parcel/source-map": "^2.1.1",
22
22
  "utility-types": "^3.10.0"
23
23
  },
24
- "gitHead": "c9a0ab031986a896a5991de16420b12988d013cd"
24
+ "gitHead": "54ccc2e5eae3b30ae16df2925599c5cd3ae7ea2d"
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;