Comparing version 1.0.1 to 1.0.2
@@ -82,3 +82,3 @@ const BASE_TEMPLATE=`/* ************************************************************************************************ | ||
const cachesToDelete = keyList.filter((key) => key !== CACHE_NAME); | ||
await Promise.all(cachesToDelete.map(caches.delete)); | ||
await Promise.all(cachesToDelete.map((key) => caches.delete(key))); | ||
}; | ||
@@ -85,0 +85,0 @@ |
{ | ||
"name": "sw-builder", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "The sw-builder package automates the creation of your Application's Service Worker, which pre-caches your build. This leads to a better overall performance and enables users to access your PWA without an Internet connection.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -36,6 +36,6 @@ # Service Worker Builder | ||
"scripts": { | ||
"build": "sw-builder && tsc && ...", | ||
"build": "tsc && ... && sw-builder", | ||
// specify a custom path for the configuration file | ||
"build": "sw-builder --config='sw-custom.config.json' && tsc && ...", | ||
"build": " tsc && ... && sw-builder --config='sw-custom.config.json'", | ||
} | ||
@@ -42,0 +42,0 @@ ... |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
16798
0