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

workbox-build

Package Overview
Dependencies
Maintainers
4
Versions
101
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 3.1.0 to 3.2.0

2

build/cdn-details.json

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

"releasesDir": "releases",
"latestVersion": "3.1.0"
"latestVersion": "3.2.0"
}

@@ -21,3 +21,3 @@ 'use strict';

* [configuration guide](https://developers.google.com/web/tools/workbox/modules/workbox-build#generateswstring_mode).
* @return {Promise<{swString: String, warnings: Array<String>}>} A promise that
* @return {Promise<{swString: string, warnings: Array<string>}>} A promise that
* resolves once the service worker template is populated. The `swString`

@@ -24,0 +24,0 @@ * property contains a string representation of the full service worker code.

@@ -27,3 +27,3 @@ 'use strict';

* [configuration guide](https://developers.google.com/web/tools/workbox/modules/workbox-build#full_generatesw_config).
* @return {Promise<{count: Number, size: Number, warnings: Array<String>}>}
* @return {Promise<{count: number, size: number, warnings: Array<string>}>}
* A promise that resolves once the service worker file has been written to

@@ -30,0 +30,0 @@ * `swDest`. The `size` property contains the aggregate size of all the

@@ -19,3 +19,3 @@ 'use strict';

* @return {Promise<{manifestEntries: Array<ManifestEntry>,
* count: Number, size: Number, warnings: Array<String>}>} A promise that
* count: number, size: number, warnings: Array<string>}>} A promise that
* resolves once the precache manifest is determined. The `size` property

@@ -22,0 +22,0 @@ * contains the aggregate size of all the precached entries, in bytes, the

@@ -27,3 +27,3 @@ 'use strict';

* [configuration guide](https://developers.google.com/web/tools/workbox/modules/workbox-build#full_injectmanifest_config).
* @return {Promise<{count: Number, size: Number, warnings: Array<String>}>}
* @return {Promise<{count: number, size: number, warnings: Array<string>}>}
* A promise that resolves once the service worker file has been written to

@@ -30,0 +30,0 @@ * `swDest`. The `size` property contains the aggregate size of all the

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

plugins: joi.array().items(joi.object())
})
}).with('expiration', 'cacheName')
}).requiredKeys('urlPattern', 'handler')),
skipWaiting: joi.boolean().default(defaults.skipWaiting)
});

@@ -29,3 +29,3 @@ 'use strict';

importWorkboxFrom: 'cdn',
injectionPointRegexp: /(\.precacheAndRoute\()\s*\[\s*\]\s*(\))/
injectionPointRegexp: /(\.precacheAndRoute\()\s*\[\s*\]\s*(\)|,)/
};
{
"name": "workbox-build",
"version": "3.1.0",
"version": "3.2.0",
"description": "A module that integrates into your build process, helping you generate a manifest of local files that workbox-sw should precache.",

@@ -30,12 +30,14 @@ "keywords": [

"pretty-bytes": "^4.0.2",
"workbox-background-sync": "^3.1.0",
"workbox-broadcast-cache-update": "^3.1.0",
"workbox-cache-expiration": "^3.1.0",
"workbox-cacheable-response": "^3.1.0",
"workbox-core": "^3.1.0",
"workbox-google-analytics": "^3.1.0",
"workbox-precaching": "^3.1.0",
"workbox-routing": "^3.1.0",
"workbox-strategies": "^3.1.0",
"workbox-sw": "^3.1.0"
"workbox-background-sync": "^3.2.0",
"workbox-broadcast-cache-update": "^3.2.0",
"workbox-cache-expiration": "^3.2.0",
"workbox-cacheable-response": "^3.2.0",
"workbox-core": "^3.2.0",
"workbox-google-analytics": "^3.2.0",
"workbox-precaching": "^3.2.0",
"workbox-range-requests": "^3.2.0",
"workbox-routing": "^3.2.0",
"workbox-strategies": "^3.2.0",
"workbox-streams": "^3.2.0",
"workbox-sw": "^3.2.0"
},

@@ -42,0 +44,0 @@ "main": "build/index.js",

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

"releasesDir": "releases",
"latestVersion": "3.1.0"
"latestVersion": "3.2.0"
}

@@ -28,3 +28,3 @@ /*

* [configuration guide](https://developers.google.com/web/tools/workbox/modules/workbox-build#generateswstring_mode).
* @return {Promise<{swString: String, warnings: Array<String>}>} A promise that
* @return {Promise<{swString: string, warnings: Array<string>}>} A promise that
* resolves once the service worker template is populated. The `swString`

@@ -31,0 +31,0 @@ * property contains a string representation of the full service worker code.

@@ -39,3 +39,3 @@ /*

* [configuration guide](https://developers.google.com/web/tools/workbox/modules/workbox-build#full_generatesw_config).
* @return {Promise<{count: Number, size: Number, warnings: Array<String>}>}
* @return {Promise<{count: number, size: number, warnings: Array<string>}>}
* A promise that resolves once the service worker file has been written to

@@ -42,0 +42,0 @@ * `swDest`. The `size` property contains the aggregate size of all the

@@ -29,3 +29,3 @@ /*

* @return {Promise<{manifestEntries: Array<ManifestEntry>,
* count: Number, size: Number, warnings: Array<String>}>} A promise that
* count: number, size: number, warnings: Array<string>}>} A promise that
* resolves once the precache manifest is determined. The `size` property

@@ -32,0 +32,0 @@ * contains the aggregate size of all the precached entries, in bytes, the

@@ -39,3 +39,3 @@ /*

* [configuration guide](https://developers.google.com/web/tools/workbox/modules/workbox-build#full_injectmanifest_config).
* @return {Promise<{count: Number, size: Number, warnings: Array<String>}>}
* @return {Promise<{count: number, size: number, warnings: Array<string>}>}
* A promise that resolves once the service worker file has been written to

@@ -42,0 +42,0 @@ * `swDest`. The `size` property contains the aggregate size of all the

@@ -61,5 +61,5 @@ /*

plugins: joi.array().items(joi.object()),
}),
}).with('expiration', 'cacheName'),
}).requiredKeys('urlPattern', 'handler')),
skipWaiting: joi.boolean().default(defaults.skipWaiting),
});

@@ -27,3 +27,3 @@ /*

importWorkboxFrom: 'cdn',
injectionPointRegexp: /(\.precacheAndRoute\()\s*\[\s*\]\s*(\))/,
injectionPointRegexp: /(\.precacheAndRoute\()\s*\[\s*\]\s*(\)|,)/,
};
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