vite-plugin-pwa
Advanced tools
Comparing version 0.20.5 to 0.21.0
@@ -6,3 +6,3 @@ import { | ||
slash | ||
} from "./chunk-5JSAQONO.js"; | ||
} from "./chunk-G4TAN34B.js"; | ||
import { | ||
@@ -12,6 +12,5 @@ extractIcons | ||
import { | ||
__require, | ||
cyan, | ||
yellow | ||
} from "./chunk-UB6OAFZF.js"; | ||
} from "./chunk-LKBIOQSP.js"; | ||
@@ -302,3 +301,5 @@ // src/context.ts | ||
import { fileURLToPath as fileURLToPath2 } from "node:url"; | ||
import { createRequire } from "node:module"; | ||
var _dirname = typeof __dirname !== "undefined" ? __dirname : dirname2(fileURLToPath2(import.meta.url)); | ||
var require2 = createRequire(_dirname); | ||
async function loadWorkboxBuild() { | ||
@@ -309,3 +310,3 @@ try { | ||
} catch (_) { | ||
return __require("workbox-build"); | ||
return require2("workbox-build"); | ||
} | ||
@@ -372,3 +373,3 @@ } | ||
} | ||
await import("./vite-build-SPZPV25C.js").then(({ buildSW }) => buildSW(version, options, viteOptions, loadWorkboxBuild())); | ||
await import("./vite-build-OTSIQXDK.js").then(({ buildSW }) => buildSW(version, options, viteOptions, loadWorkboxBuild())); | ||
} | ||
@@ -1118,3 +1119,3 @@ | ||
if (ctx.options.pwaAssets && !ctx.options.pwaAssets.disabled) { | ||
ctx.pwaAssetsGenerator = import("./generator-EZTYL4FH.js").then(({ loadInstructions }) => loadInstructions(ctx)).catch((e) => { | ||
ctx.pwaAssetsGenerator = import("./generator-MNT5NYL6.js").then(({ loadInstructions }) => loadInstructions(ctx)).catch((e) => { | ||
console.error([ | ||
@@ -1121,0 +1122,0 @@ "", |
{ | ||
"name": "vite-plugin-pwa", | ||
"type": "module", | ||
"version": "0.20.5", | ||
"version": "0.21.0", | ||
"packageManager": "pnpm@9.9.0", | ||
@@ -115,4 +115,4 @@ "description": "Zero-config PWA for Vite", | ||
"vite": "^3.1.0 || ^4.0.0 || ^5.0.0", | ||
"workbox-build": "^7.1.0", | ||
"workbox-window": "^7.1.0" | ||
"workbox-build": "^7.3.0", | ||
"workbox-window": "^7.3.0" | ||
}, | ||
@@ -127,5 +127,5 @@ "peerDependenciesMeta": { | ||
"pretty-bytes": "^6.1.1", | ||
"tinyglobby": "^0.2.0", | ||
"workbox-build": "^7.1.0", | ||
"workbox-window": "^7.1.0" | ||
"tinyglobby": "^0.2.10", | ||
"workbox-build": "^7.3.0", | ||
"workbox-window": "^7.3.0" | ||
}, | ||
@@ -150,3 +150,2 @@ "devDependencies": { | ||
"react": "^18.2.0", | ||
"rollup": "^4.4.1", | ||
"solid-js": "^1.8.5", | ||
@@ -159,3 +158,8 @@ "svelte": "^4.2.5", | ||
"vue": "^3.3.8" | ||
}, | ||
"pnpm": { | ||
"overrides": { | ||
"rollup": "^4.4.1" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
24
10
230221
5762
Updatedtinyglobby@^0.2.10
Updatedworkbox-build@^7.3.0
Updatedworkbox-window@^7.3.0