Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/workbox-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/workbox-webpack-plugin - npm Package Compare versions

Comparing version 5.1.7 to 5.1.8

110

workbox-webpack-plugin/index.d.ts

@@ -19,3 +19,3 @@ // Type definitions for workbox-webpack-plugin 5.1

*/
networkTimeoutSeconds?: number;
networkTimeoutSeconds?: number | undefined;

@@ -25,3 +25,3 @@ /**

*/
cacheName?: string;
cacheName?: string | undefined;

@@ -35,8 +35,8 @@ /**

*/
maxEntries?: number;
maxEntries?: number | undefined;
/**
* Cache will only hold entries for X seconds.
*/
maxAgeSeconds?: number;
};
maxAgeSeconds?: number | undefined;
} | undefined;

@@ -50,4 +50,4 @@ /**

maxRetentionTime: number;
};
};
} | undefined;
} | undefined;

@@ -61,8 +61,8 @@ /**

*/
statuses?: number[];
statuses?: number[] | undefined;
/**
* Only cache responses with headers which match this map.
*/
headers?: { [header: string]: string };
};
headers?: { [header: string]: string } | undefined;
} | undefined;

@@ -73,4 +73,4 @@ /**

broadcastUpdate?: {
channelName?: string;
};
channelName?: string | undefined;
} | undefined;

@@ -80,3 +80,3 @@ /**

*/
plugins?: any[];
plugins?: any[] | undefined;

@@ -109,3 +109,3 @@ /**

*/
options?: RuntimeCacheOptions;
options?: RuntimeCacheOptions | undefined;
}

@@ -121,6 +121,6 @@

/** The revision details for the file. This is a hash generated by node based on the file contents. */
revision?: string;
revision?: string | undefined;
/** Integrity metadata that will be used when making the network request for the URL. */
integrity?: string;
} | string>;
integrity?: string | undefined;
} | string> | undefined;

@@ -133,3 +133,3 @@ /**

*/
swDest?: string;
swDest?: string | undefined;

@@ -145,3 +145,3 @@ /**

*/
chunks?: string[];
chunks?: string[] | undefined;

@@ -156,3 +156,3 @@ /**

*/
excludeChunks?: string[];
excludeChunks?: string[] | undefined;

@@ -170,3 +170,3 @@ /**

*/
include?: Array<string|RegExp>;
include?: Array<string|RegExp> | undefined;

@@ -177,5 +177,5 @@ /**

*/
importScriptsViaChunks?: string[];
importScriptsViaChunks?: string[] | undefined;
test?: Array<string|RegExp>;
test?: Array<string|RegExp> | undefined;

@@ -190,3 +190,3 @@ /**

*/
exclude?: Array<string|RegExp>;
exclude?: Array<string|RegExp> | undefined;

@@ -204,3 +204,3 @@ /**

*/
importsDirectory?: string;
importsDirectory?: string | undefined;

@@ -211,3 +211,3 @@ /**

*/
mode?: 'production' | string;
mode?: 'production' | string | undefined;

@@ -225,3 +225,3 @@ /**

*/
precacheManifestFilename?: string;
precacheManifestFilename?: string | undefined;

@@ -236,3 +236,3 @@ /**

*/
globDirectory?: string;
globDirectory?: string | undefined;

@@ -247,3 +247,3 @@ /**

*/
globFollow?: boolean;
globFollow?: boolean | undefined;

@@ -258,3 +258,3 @@ /**

*/
globIgnores?: string[];
globIgnores?: string[] | undefined;

@@ -273,3 +273,3 @@ /**

*/
globPatterns?: string[];
globPatterns?: string[] | undefined;

@@ -284,3 +284,3 @@ /**

*/
globStrict?: boolean;
globStrict?: boolean | undefined;

@@ -296,3 +296,3 @@ /**

*/
templatedUrls?: { [url: string]: string | (string[]) } | null;
templatedUrls?: { [url: string]: string | (string[]) } | null | undefined;

@@ -306,3 +306,3 @@ /**

*/
maximumFileSizeToCacheInBytes?: number;
maximumFileSizeToCacheInBytes?: number | undefined;

@@ -318,3 +318,3 @@ /**

*/
dontCacheBustURLsMatching?: RegExp | null;
dontCacheBustURLsMatching?: RegExp | null | undefined;

@@ -331,3 +331,3 @@ /**

*/
modifyURLPrefix?: { [url: string]: string } | null;
modifyURLPrefix?: { [url: string]: string } | null | undefined;

@@ -340,3 +340,3 @@ /**

*/
manifestTransforms?: Array<(originalManifest: ReadonlyArray<ManifestEntry>) => { manifest: ManifestEntry[], warnings?: string[] }> | null;
manifestTransforms?: Array<(originalManifest: ReadonlyArray<ManifestEntry>) => { manifest: ManifestEntry[], warnings?: string[] | undefined }> | null | undefined;
}

@@ -348,3 +348,3 @@

*/
babelPresetEnvTargets?: string[];
babelPresetEnvTargets?: string[] | undefined;

@@ -354,3 +354,3 @@ /**

*/
cleanupOutdatedCaches?: boolean;
cleanupOutdatedCaches?: boolean | undefined;

@@ -362,3 +362,3 @@ /**

*/
inlineWorkboxRuntime?: boolean;
inlineWorkboxRuntime?: boolean | undefined;

@@ -371,3 +371,3 @@ /**

*/
skipWaiting?: boolean;
skipWaiting?: boolean | undefined;

@@ -377,3 +377,3 @@ /**

*/
sourcemap?: boolean;
sourcemap?: boolean | undefined;

@@ -387,3 +387,3 @@ /**

*/
clientsClaim?: boolean;
clientsClaim?: boolean | undefined;

@@ -397,3 +397,3 @@ /**

*/
runtimeCaching?: RuntimeCacheRule[];
runtimeCaching?: RuntimeCacheRule[] | undefined;

@@ -412,3 +412,3 @@ /**

*/
navigateFallback?: string;
navigateFallback?: string | undefined;

@@ -425,3 +425,3 @@ /**

*/
navigateFallbackDenylist?: RegExp[];
navigateFallbackDenylist?: RegExp[] | undefined;

@@ -438,3 +438,3 @@ /**

*/
navigateFallbackAllowlist?: RegExp[];
navigateFallbackAllowlist?: RegExp[] | undefined;

@@ -445,3 +445,3 @@ /**

*/
navigationPreload?: boolean;
navigationPreload?: boolean | undefined;

@@ -461,3 +461,3 @@ /**

*/
importScripts?: string[];
importScripts?: string[] | undefined;

@@ -473,3 +473,3 @@ /**

*/
ignoreURLParametersMatching?: RegExp[];
ignoreURLParametersMatching?: RegExp[] | undefined;

@@ -485,3 +485,3 @@ /**

*/
directoryIndex?: string;
directoryIndex?: string | undefined;

@@ -496,3 +496,3 @@ /**

*/
cacheId?: string | null;
cacheId?: string | null | undefined;

@@ -507,3 +507,3 @@ /**

*/
offlineGoogleAnalytics?: boolean;
offlineGoogleAnalytics?: boolean | undefined;
}

@@ -529,3 +529,3 @@

*/
compileSrc?: boolean;
compileSrc?: boolean | undefined;

@@ -535,3 +535,3 @@ /**

*/
webpackCompilationPlugins?: any[];
webpackCompilationPlugins?: any[] | undefined;
}

@@ -538,0 +538,0 @@

{
"name": "@types/workbox-webpack-plugin",
"version": "5.1.7",
"version": "5.1.8",
"description": "TypeScript definitions for workbox-webpack-plugin",

@@ -28,4 +28,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/workbox-webpack-plugin",

"dependencies": {},
"typesPublisherContentHash": "e5f975c2fd9b2cd59fb9fe1306d35d6d694e467e22d6a28aa3f39ad9146e8ab0",
"typesPublisherContentHash": "edb0a2df6d0fa4fefbfa31d22822b741df0ec76360c2b7883e0032586e18b80f",
"typeScriptVersion": "3.7"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 14 Jun 2021 20:31:20 GMT
* Last updated: Fri, 02 Jul 2021 18:06:00 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc