[Snyk] Upgrade workbox-core from 5.0.0-alpha.0 to 5.1.4 #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade workbox-core from 5.0.0-alpha.0 to 5.1.4.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: workbox-core
The v5.1.4 release contains a dependency update for
rollup-plugin-terser
, resolving a security error with one of its dependencies.See #2601
🐛 What's Fixed?
workbox-build
workbox-build
'sgetManifest()
JSDoc [#2429]workbox-cli
swSrc
for hardcoded injection point inwizard
flow [#2451]workbox-core
handlerCallback
JSDocs update [#2440]workbox-precaching
isSWEnv
assertion [#2453]is
[#2466]Thanks!
Special thanks to @ akonchady for contributing a PR that went in to this release.
🐛 What's Fixed?
workbox-build
strip-comments
dependency to an earlier revision, to provide continued compatibility with the v8.x.y releases ofnode
. [#2416]Thanks!
Special thanks to @ Mister-Hope for raising issues that were resolved in this release.
(We ran into some issues with the
v5.1.0
release process, sov5.1.1
is a republish of the same code.)🎉 What's New?
workbox-routing
hash
portion is displayed. [#2371]workbox-webpack-plugin
compileSrc
option (defaulting totrue
) has been added. If set tofalse
, thenwebpack
will not run theswSrc
file through a compilation. This can be useful if you want yourswDest
output to be, e.g., a JSON file which contains your precache manifest. [#2412]🐛 What's Fixed?
workbox-webpack-plugin
webpack
modules. [#2397]webpackCompilationPlugins
that customize theswSrc
compilation should now be properly applied. [#2400]Thanks!
Special thanks to @ aritsune, @ bailnl, @ novaknole and @ pizzafox for raising issues that were resolved in this release.
v5.1.0
Read more
The latest release candidate of Workbox v5 includes the following developer-visible changes, in addition to all the changes from the previous pre-release.
Installation of the latest pre-release version
We are using the
next
tag innpm
for the current pre-release version. To install a given module use, e.g.,npm install --save-dev workbox-webpack-plugin@next
.🎉 What's New?
Improvements to the JSDoc documentation for all of the build tools. [#2320]
whitelist
/blacklist
(in theNavigationRoute
class) andnavigateFallbackWhitelist
/navigateFallbackBlacklist
(in the build tools) have been renamed toallowlist
/denylist
andnavigateFallbackAllowlist
/navigateFallbackDenylist
. Functionality remains the same. [#2325]🐛 What's Fixed?
workbox-build
injectManifest
mode. [#2301]revision: null
instead of deleting therevision
property when the build tool determines that therevision
isn't necessary. [#2326]workbox-core
__WB_DISABLE_DEV_LOGS
value that's explicitly set by your service worker script. [#2296]workbox-strategies
handle()
method of each strategy now supports passing in astring
URL as therequest
property, matching the behavior of the (now deprecated)makeRequest()
method. [#2317]The latest release candidate of Workbox v5 includes the following developer-visible changes, in addition to all the changes from the previous pre-release.
Installation of the latest pre-release version
We are using the
next
tag innpm
for the current pre-release version. To install a given module use, e.g.,npm install --save-dev workbox-webpack-plugin@next
.🎉 What's New?
All browser packages
__WB_DISABLE_DEV_LOGS
global has been added to disable all logging in development mode. [#2284]workbox-precaching
precache()
/precacheAndRoute()
and passing in an precache manifest entry that is just a string has been deprecated. It will trigger a warning message in v5, and will be treated as a runtime error in a future release. If you need to use a hardcoded URL as a manifest entry, first ensure that it contains inline revision information, like a hash. Then, instead of passing in a string like'/app.1234abcd.js'
, use{url: '/app.1234abcd.js', revision: null}
to explicitly state that therevision
is meant to benull
. [#2262]🐛 What's Fixed?
workbox-routing
ReadableStream
bug in development mode in Safari. [#2268]workbox-precaching
cacheWillUpdate()
plugin callback was not beingawait
-ed. [#2287]Commit messages
Package name: workbox-core
is
GoogleChrome/workbox#2466)Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs