Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rewire requirement from ^2.5.1 to ^4.0.1 #37

merged 1 commit into from Nov 23, 2018


3 participants
Copy link

commented Nov 22, 2018

Updates the requirements on rewire to permit the latest version.

Release notes

Sourced from rewire's releases.


  • Fix a bug where const was not properly detected #139

Sourced from rewire's changelog.



  • Breaking: Remove official node v4 support. It probably still works with node v4, but no guarantees anymore.
  • Potentially breaking: Replace babel with regex-based transformation 9b77ed9a293c538ec3eb5160bcb933e012ce517f.
    This should not break, but it has been flagged as major version bump as the regex might not catch all cases reliably and thus fail for some users.
  • Improve runtime performance #132
  • Use coffeescript package in favor of deprecated coffee-script #134


  • Fix a bug where rewire used the project's .babelrc #119 #123


  • Fix Unknown Plugin "transform-es2015-block-scoping" #121 #122


  • Breaking: Remove support for node versions below 4
  • Add support for const #79 #95 #117 #118


  • Fix cluttering of require.extensions even if CoffeeScript is not installed #98


  • Ignore modules that export non-extensible values like primitives or sealed objects #83


  • Provide shared test cases to other modules that mimic rewire's behavior in other environments jhnns/rewire-webpack#18


  • Make rewire's special methods __set__, __get__ and __with__ writable #78


  • Add license and keywords to package.json #59 #60


  • Fix issue where the strict mode was not detected when a comment was before "strict mode"; #54


  • Fix a problem when a function declaration had the same name as a global variable #56
  • Add README section about rewire's limitations


  • Fix problems when global objects like JSON, etc. have been rewired #40


  • Add possibility to mock undefined, implicit globals #35


  • Add support for dot notation in set(env) calls #39
... (truncated)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.


This comment has been minimized.

Copy link

commented Nov 22, 2018

Coverage Status

Coverage increased (+0.4%) to 86.071% when pulling 5b796f0 on dependabot/npm_and_yarn/rewire-tw-4.0.1 into ddd2044 on master.

Update rewire requirement from ^2.5.1 to ^4.0.1
Updates the requirements on [rewire]( to permit the latest version.
- [Release notes](
- [Changelog](
- [Commits](

Signed-off-by: dependabot[bot] <>

@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/rewire-tw-4.0.1 branch from 5b796f0 to 7e69f42 Nov 22, 2018

@segayuu segayuu merged commit 8e42b9c into master Nov 23, 2018

6 checks passed

codeclimate All good!
continuous-integration/appveyor/branch AppVeyor build succeeded
continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed
continuous-integration/travis-ci/push The Travis CI build passed
coverage/coveralls First build on dependabot/npm_and_yarn/rewire-tw-4.0.1 at 85.714%

@segayuu segayuu deleted the dependabot/npm_and_yarn/rewire-tw-4.0.1 branch Nov 23, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.