@serwist/build
Advanced tools
Comparing version 9.0.0-preview.6 to 9.0.0-preview.7
@@ -410,7 +410,7 @@ import stringify from 'fast-json-stable-stringify'; | ||
debugObj[url] = dependencies; | ||
throw new Error(`${errors["bad-template-urls-asset"]} ` + `'${globPattern}' from '${JSON.stringify(debugObj)}':\n` + `${error instanceof Error ? error.toString() : ""}`); | ||
throw new Error(`${errors["bad-template-urls-asset"]} '${globPattern}' from '${JSON.stringify(debugObj)}':\n${error instanceof Error ? error.toString() : ""}`); | ||
} | ||
}, []); | ||
if (details.length === 0) { | ||
throw new Error(`${errors["bad-template-urls-asset"]} The glob ` + `pattern '${dependencies.toString()}' did not match anything.`); | ||
throw new Error(`${errors["bad-template-urls-asset"]} The glob pattern '${dependencies.toString()}' did not match anything.`); | ||
} | ||
@@ -417,0 +417,0 @@ allFileDetails.set(url, getCompositeDetails(url, details)); |
{ | ||
"name": "@serwist/build", | ||
"version": "9.0.0-preview.6", | ||
"version": "9.0.0-preview.7", | ||
"type": "module", | ||
@@ -58,10 +58,10 @@ "description": "A module that integrates into your build process, helping you generate a manifest of local files that should be precached.", | ||
"zod": "3.22.4", | ||
"@serwist/background-sync": "9.0.0-preview.6", | ||
"@serwist/broadcast-update": "9.0.0-preview.6", | ||
"@serwist/cacheable-response": "9.0.0-preview.6", | ||
"@serwist/core": "9.0.0-preview.6", | ||
"@serwist/expiration": "9.0.0-preview.6", | ||
"@serwist/google-analytics": "9.0.0-preview.6", | ||
"@serwist/precaching": "9.0.0-preview.6", | ||
"@serwist/routing": "9.0.0-preview.6" | ||
"@serwist/background-sync": "9.0.0-preview.7", | ||
"@serwist/broadcast-update": "9.0.0-preview.7", | ||
"@serwist/cacheable-response": "9.0.0-preview.7", | ||
"@serwist/core": "9.0.0-preview.7", | ||
"@serwist/expiration": "9.0.0-preview.7", | ||
"@serwist/google-analytics": "9.0.0-preview.7", | ||
"@serwist/precaching": "9.0.0-preview.7", | ||
"@serwist/routing": "9.0.0-preview.7" | ||
}, | ||
@@ -75,4 +75,4 @@ "devDependencies": { | ||
"typescript": "5.4.0-dev.20240206", | ||
"@serwist/constants": "9.0.0-preview.6", | ||
"@serwist/utils": "9.0.0-preview.6" | ||
"@serwist/constants": "9.0.0-preview.7", | ||
"@serwist/utils": "9.0.0-preview.7" | ||
}, | ||
@@ -79,0 +79,0 @@ "peerDependencies": { |
@@ -97,5 +97,5 @@ /* | ||
throw new Error( | ||
`${errors["bad-template-urls-asset"]} ` + | ||
`'${globPattern}' from '${JSON.stringify(debugObj)}':\n` + | ||
`${error instanceof Error ? error.toString() : ""}`, | ||
`${errors["bad-template-urls-asset"]} '${globPattern}' from '${JSON.stringify(debugObj)}':\n${ | ||
error instanceof Error ? error.toString() : "" | ||
}`, | ||
); | ||
@@ -105,3 +105,3 @@ } | ||
if (details.length === 0) { | ||
throw new Error(`${errors["bad-template-urls-asset"]} The glob ` + `pattern '${dependencies.toString()}' did not match anything.`); | ||
throw new Error(`${errors["bad-template-urls-asset"]} The glob pattern '${dependencies.toString()}' did not match anything.`); | ||
} | ||
@@ -108,0 +108,0 @@ allFileDetails.set(url, getCompositeDetails(url, details)); |
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
198089
125
+ Added@serwist/background-sync@9.0.0-preview.7(transitive)
+ Added@serwist/broadcast-update@9.0.0-preview.7(transitive)
+ Added@serwist/cacheable-response@9.0.0-preview.7(transitive)
+ Added@serwist/core@9.0.0-preview.7(transitive)
+ Added@serwist/expiration@9.0.0-preview.7(transitive)
+ Added@serwist/google-analytics@9.0.0-preview.7(transitive)
+ Added@serwist/precaching@9.0.0-preview.7(transitive)
+ Added@serwist/routing@9.0.0-preview.7(transitive)
+ Added@serwist/strategies@9.0.0-preview.7(transitive)
- Removed@serwist/background-sync@9.0.0-preview.6(transitive)
- Removed@serwist/broadcast-update@9.0.0-preview.6(transitive)
- Removed@serwist/cacheable-response@9.0.0-preview.6(transitive)
- Removed@serwist/core@9.0.0-preview.6(transitive)
- Removed@serwist/expiration@9.0.0-preview.6(transitive)
- Removed@serwist/google-analytics@9.0.0-preview.6(transitive)
- Removed@serwist/precaching@9.0.0-preview.6(transitive)
- Removed@serwist/routing@9.0.0-preview.6(transitive)
- Removed@serwist/strategies@9.0.0-preview.6(transitive)