[Snyk] Upgrade brfs from 1.6.1 to 2.0.2 #7
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 brfs from 1.6.1 to 2.0.2.
ℹ️ 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.
Warning: This is a major version upgrade, and may be a breaking change.
Release notes
Package name: brfs
input.js
file entries in source maps (#90 by @ pirxpilot)Update to static-module 3. This adds scope tracking, and keeps
fs
requires around if they are still used.Scope tracking
Previously the below:
would compile the
fs.readFileSync()
call, even though it's not actually referring to thefs
module. This may seem contrived but it can happen easily if a file was minified before being passed tobrfs
, and a million different variables are all namede
.Retain used requires
Previously the below:
would compile to:
But now it compiles to:
This is primarily helpful when bundling for node or electron.
Update tests so they work with the latest Browserify.
Commit messages
Package name: brfs
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