Skip to content
This repository was archived by the owner on Sep 22, 2021. It is now read-only.

Update brfs to the latest version 🚀 #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented Jun 22, 2018

Version 2.0.0 of brfs was just published.

Dependency [brfs](https://github.com/substack/brfs)
Current Version 1.6.1
Type dependency

The version 2.0.0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of brfs.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes v2.0.0

Update to static-module 3. This adds scope tracking, and keeps fs requires around if they are still used.

Scope tracking

Previously the below:

var fs = require('fs')
function x (fs) { return fs.readFileSync(__filename) }
x({ readFileSync: function () { return 10 } })

would compile the fs.readFileSync() call, even though it's not actually referring to the fs module. This may seem contrived but it can happen easily if a file was minified before being passed to brfs, and a million different variables are all named e.

Retain used requires

Previously the below:

var fs = require('fs')
fs.readFileSync(someDynamicValue())
fs.readFileSync(__filename)

would compile to:

fs.readFileSync(someDynamicValue())
Buffer('...', 'base64')

But now it compiles to:

var fs = require('fs')
fs.readFileSync(someDynamicValue())
Buffer('...', 'base64')

This is primarily helpful when bundling for node or electron.

Commits

The new version differs by 5 commits.

  • 7e13064 2.0.0
  • 5920e0f Add Node 10 to CI.
  • 27be82e Add test for scope tracking features in static-module@3
  • a365cb7 Merge pull request #89 from browserify/static-module-3
  • 8149ee7 Update static-module to v3 with scope tracking.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

greenkeeper bot added a commit that referenced this pull request Aug 22, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Aug 22, 2018

Version 2.0.1 just got published.

Update to this version instead 🚀

Release Notes v2.0.1
Commits

The new version differs by 3 commits.

  • f84ecf0 2.0.1
  • cdb9b07 Merge pull request #90 from pirxpilot/fix-sourcemap-filename
  • 1781b03 fix input.js file entries in source maps

See the full diff

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

0 participants