Socket
Socket
Sign inDemoInstall

workbox-build

Package Overview
Dependencies
Maintainers
4
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

workbox-build - npm Package Compare versions

Comparing version 5.0.0-rc.2 to 5.0.0

2

build/cdn-details.json

@@ -5,3 +5,3 @@ {

"releasesDir": "releases",
"latestVersion": "5.0.0-rc.2"
"latestVersion": "5.0.0"
}

@@ -41,5 +41,5 @@ "use strict";

*
* @param {Array<ManifestEntry>} [config.additionalManifestEntries] A list of
* entries to be precached, in addition to any entries that are generated as
* part of the build configuration.
* @param {Array<module:workbox-build.ManifestEntry>} [config.additionalManifestEntries]
* A list of entries to be precached, in addition to any entries that are
* generated as part of the build configuration.
*

@@ -113,3 +113,3 @@ * @param {Array<string>} [config.babelPresetEnvTargets=['chrome >= 56']]

*
* @param {Array<ManifestTransform>} [config.manifestTransforms] One or more
* @param {Array<module:workbox-build.ManifestTransform>} [config.manifestTransforms] One or more
* functions which will be applied sequentially against the generated manifest.

@@ -144,3 +144,3 @@ * If `modifyURLPrefix` or `dontCacheBustURLsMatching` are also specified, their

*
* @param {Array<RegExp>} [config.navigateFallbackBlacklist] An optional array
* @param {Array<RegExp>} [config.navigateFallbackDenylist] An optional array
* of regular expressions that restricts which URLs the configured

@@ -150,6 +150,6 @@ * `navigateFallback` behavior applies to. This is useful if only a subset of

* [Single Page App](https://en.wikipedia.org/wiki/Single-page_application). If
* both `navigateFallbackBlacklist` and `navigateFallbackWhitelist` are
* configured, the blacklist takes precedent.
* both `navigateFallbackDenylist` and `navigateFallbackAllowlist` are
* configured, the denylist takes precedent.
*
* @param {Array<RegExp>} [config.navigateFallbackWhitelist] An optional array
* @param {Array<RegExp>} [config.navigateFallbackAllowlist] An optional array
* of regular expressions that restricts which URLs the configured

@@ -159,4 +159,4 @@ * `navigateFallback` behavior applies to. This is useful if only a subset of

* [Single Page App](https://en.wikipedia.org/wiki/Single-page_application). If
* both `navigateFallbackBlacklist` and `navigateFallbackWhitelist` are
* configured, the blacklist takes precedent.
* both `navigateFallbackDenylist` and `navigateFallbackAllowlist` are
* configured, the denylist takes precedent.
*

@@ -163,0 +163,0 @@ * @param {boolean} [config.navigationPreload=false] Whether or not to enable

@@ -26,5 +26,5 @@ "use strict";

*
* @param {Array<ManifestEntry>} [config.additionalManifestEntries] A list of
* entries to be precached, in addition to any entries that are generated as
* part of the build configuration.
* @param {Array<module:workbox-build.ManifestEntry>} [config.additionalManifestEntries]
* A list of entries to be precached, in addition to any entries that are
* generated as part of the build configuration.
*

@@ -59,3 +59,3 @@ * @param {RegExp} [config.dontCacheBustURLsMatching] Assets that match this will be

*
* @param {Array<ManifestTransform>} [config.manifestTransforms] One or more
* @param {Array<module:workbox-build.ManifestTransform>} [config.manifestTransforms] One or more
* functions which will be applied sequentially against the generated manifest.

@@ -62,0 +62,0 @@ * If `modifyURLPrefix` or `dontCacheBustURLsMatching` are also specified, their

@@ -57,5 +57,5 @@ "use strict";

*
* @param {Array<ManifestEntry>} [config.additionalManifestEntries] A list of
* entries to be precached, in addition to any entries that are generated as
* part of the build configuration.
* @param {Array<module:workbox-build.ManifestEntry>} [config.additionalManifestEntries]
* A list of entries to be precached, in addition to any entries that are
* generated as part of the build configuration.
*

@@ -94,3 +94,3 @@ * @param {RegExp} [config.dontCacheBustURLsMatching] Assets that match this will be

*
* @param {Array<ManifestTransform>} [config.manifestTransforms] One or more
* @param {Array<module:workbox-build.ManifestTransform>} [config.manifestTransforms] One or more
* functions which will be applied sequentially against the generated manifest.

@@ -97,0 +97,0 @@ * If `modifyURLPrefix` or `dontCacheBustURLsMatching` are also specified, their

@@ -22,3 +22,3 @@ "use strict";

* `revision` properties of some or all of the
* {@link module:workbox-build#ManifestEntry|ManifestEntries} in the manifest.
* {@link module:workbox-build.ManifestEntry|ManifestEntries} in the manifest.
*

@@ -31,4 +31,4 @@ * Deleting the `revision` property of an entry will cause

*
* @example <caption>A transformation that prepended the origin of a CDN for any
* URL starting with '/assets/' could be implemented as:</caption>
* @example A transformation that prepended the origin of a CDN for any
* URL starting with '/assets/' could be implemented as:
*

@@ -46,5 +46,5 @@ * const cdnTransform = async (manifestEntries) => {

*
* @example <caption>A transformation that nulls the revision field when the
* @example A transformation that nulls the revision field when the
* URL contains an 8-character hash surrounded by '.', indicating that it
* already contains revision information:</caption>
* already contains revision information:
*

@@ -51,0 +51,0 @@ * const removeRevisionTransform = async (manifestEntries) => {

{
"name": "workbox-build",
"version": "5.0.0-rc.2",
"version": "5.0.0",
"description": "A module that integrates into your build process, helping you generate a manifest of local files that workbox-sw should precache.",

@@ -45,16 +45,16 @@ "keywords": [

"upath": "^1.1.2",
"workbox-background-sync": "^5.0.0-rc.2",
"workbox-broadcast-update": "^5.0.0-rc.2",
"workbox-cacheable-response": "^5.0.0-rc.2",
"workbox-core": "^5.0.0-rc.2",
"workbox-expiration": "^5.0.0-rc.2",
"workbox-google-analytics": "^5.0.0-rc.2",
"workbox-navigation-preload": "^5.0.0-rc.2",
"workbox-precaching": "^5.0.0-rc.2",
"workbox-range-requests": "^5.0.0-rc.2",
"workbox-routing": "^5.0.0-rc.2",
"workbox-strategies": "^5.0.0-rc.2",
"workbox-streams": "^5.0.0-rc.2",
"workbox-sw": "^5.0.0-rc.2",
"workbox-window": "^5.0.0-rc.2"
"workbox-background-sync": "^5.0.0",
"workbox-broadcast-update": "^5.0.0",
"workbox-cacheable-response": "^5.0.0",
"workbox-core": "^5.0.0",
"workbox-expiration": "^5.0.0",
"workbox-google-analytics": "^5.0.0",
"workbox-navigation-preload": "^5.0.0",
"workbox-precaching": "^5.0.0",
"workbox-range-requests": "^5.0.0",
"workbox-routing": "^5.0.0",
"workbox-strategies": "^5.0.0",
"workbox-streams": "^5.0.0",
"workbox-sw": "^5.0.0",
"workbox-window": "^5.0.0"
},

@@ -70,3 +70,3 @@ "main": "build/index.js",

},
"gitHead": "89904768b2210e59c830dd380cf88a06e1c26a2b"
"gitHead": "571ffded1872309a305f108a99a5a36982fde342"
}

@@ -24,3 +24,3 @@ /*

* @typedef {Object} ManifestTransformResult
* @property {Array<ManifestEntry>} manifest
* @property {Array<module:workbox-build.ManifestEntry>} manifest
* @property {Array<string>|undefined} warnings

@@ -27,0 +27,0 @@ *

@@ -5,3 +5,3 @@ {

"releasesDir": "releases",
"latestVersion": "5.0.0-rc.2"
"latestVersion": "5.0.0"
}

@@ -38,5 +38,5 @@ /*

*
* @param {Array<ManifestEntry>} [config.additionalManifestEntries] A list of
* entries to be precached, in addition to any entries that are generated as
* part of the build configuration.
* @param {Array<module:workbox-build.ManifestEntry>} [config.additionalManifestEntries]
* A list of entries to be precached, in addition to any entries that are
* generated as part of the build configuration.
*

@@ -110,3 +110,3 @@ * @param {Array<string>} [config.babelPresetEnvTargets=['chrome >= 56']]

*
* @param {Array<ManifestTransform>} [config.manifestTransforms] One or more
* @param {Array<module:workbox-build.ManifestTransform>} [config.manifestTransforms] One or more
* functions which will be applied sequentially against the generated manifest.

@@ -141,3 +141,3 @@ * If `modifyURLPrefix` or `dontCacheBustURLsMatching` are also specified, their

*
* @param {Array<RegExp>} [config.navigateFallbackBlacklist] An optional array
* @param {Array<RegExp>} [config.navigateFallbackDenylist] An optional array
* of regular expressions that restricts which URLs the configured

@@ -147,6 +147,6 @@ * `navigateFallback` behavior applies to. This is useful if only a subset of

* [Single Page App](https://en.wikipedia.org/wiki/Single-page_application). If
* both `navigateFallbackBlacklist` and `navigateFallbackWhitelist` are
* configured, the blacklist takes precedent.
* both `navigateFallbackDenylist` and `navigateFallbackAllowlist` are
* configured, the denylist takes precedent.
*
* @param {Array<RegExp>} [config.navigateFallbackWhitelist] An optional array
* @param {Array<RegExp>} [config.navigateFallbackAllowlist] An optional array
* of regular expressions that restricts which URLs the configured

@@ -156,4 +156,4 @@ * `navigateFallback` behavior applies to. This is useful if only a subset of

* [Single Page App](https://en.wikipedia.org/wiki/Single-page_application). If
* both `navigateFallbackBlacklist` and `navigateFallbackWhitelist` are
* configured, the blacklist takes precedent.
* both `navigateFallbackDenylist` and `navigateFallbackAllowlist` are
* configured, the denylist takes precedent.
*

@@ -160,0 +160,0 @@ * @param {boolean} [config.navigationPreload=false] Whether or not to enable

@@ -24,5 +24,5 @@ /*

*
* @param {Array<ManifestEntry>} [config.additionalManifestEntries] A list of
* entries to be precached, in addition to any entries that are generated as
* part of the build configuration.
* @param {Array<module:workbox-build.ManifestEntry>} [config.additionalManifestEntries]
* A list of entries to be precached, in addition to any entries that are
* generated as part of the build configuration.
*

@@ -57,3 +57,3 @@ * @param {RegExp} [config.dontCacheBustURLsMatching] Assets that match this will be

*
* @param {Array<ManifestTransform>} [config.manifestTransforms] One or more
* @param {Array<module:workbox-build.ManifestTransform>} [config.manifestTransforms] One or more
* functions which will be applied sequentially against the generated manifest.

@@ -60,0 +60,0 @@ * If `modifyURLPrefix` or `dontCacheBustURLsMatching` are also specified, their

@@ -48,5 +48,5 @@ /*

*
* @param {Array<ManifestEntry>} [config.additionalManifestEntries] A list of
* entries to be precached, in addition to any entries that are generated as
* part of the build configuration.
* @param {Array<module:workbox-build.ManifestEntry>} [config.additionalManifestEntries]
* A list of entries to be precached, in addition to any entries that are
* generated as part of the build configuration.
*

@@ -85,3 +85,3 @@ * @param {RegExp} [config.dontCacheBustURLsMatching] Assets that match this will be

*
* @param {Array<ManifestTransform>} [config.manifestTransforms] One or more
* @param {Array<module:workbox-build.ManifestTransform>} [config.manifestTransforms] One or more
* functions which will be applied sequentially against the generated manifest.

@@ -88,0 +88,0 @@ * If `modifyURLPrefix` or `dontCacheBustURLsMatching` are also specified, their

@@ -20,3 +20,3 @@ /*

* `revision` properties of some or all of the
* {@link module:workbox-build#ManifestEntry|ManifestEntries} in the manifest.
* {@link module:workbox-build.ManifestEntry|ManifestEntries} in the manifest.
*

@@ -29,4 +29,4 @@ * Deleting the `revision` property of an entry will cause

*
* @example <caption>A transformation that prepended the origin of a CDN for any
* URL starting with '/assets/' could be implemented as:</caption>
* @example A transformation that prepended the origin of a CDN for any
* URL starting with '/assets/' could be implemented as:
*

@@ -44,5 +44,5 @@ * const cdnTransform = async (manifestEntries) => {

*
* @example <caption>A transformation that nulls the revision field when the
* @example A transformation that nulls the revision field when the
* URL contains an 8-character hash surrounded by '.', indicating that it
* already contains revision information:</caption>
* already contains revision information:
*

@@ -49,0 +49,0 @@ * const removeRevisionTransform = async (manifestEntries) => {

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