- 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
- Fix issues with reverting nested properties #39
- Fix problems when an illegal variable name is used for a global
- Fix shadowing of internal
module
,exports
andrequire
when a global counterpart exists jhnns/rewire-webpack#6
- Fixed missing
var
statement which lead to pollution of global namespace #33
- Made magic
__set__
,__get__
and__with__
not enumerable #32
- Added revert feature of
__set__
method - Introduced
__with__
method to revert changes automatically
- Added test coverage tool
- Small README and description changes
- Removed client-side bundler extensions. Browserify is not supported anymore. Webpack support has been extracted into separate repository https://github.com/jhnns/rewire-webpack
- Removed IDE stuff from npm package
- Added deprecation warning for client-side bundlers
- Updated package.json for node v0.10
- Fixed bug with modules that had a comment on the last line
- Added Coffee-Script support
- Removed Makefile: Use
npm test
instead.
- Improved client-side rewire() with webpack
- Fixed error with client-side bundlers when a module was ending with a comment
- Improved strict mode detection
- Fixed crash when a global module has been used in the browser
- Removed caching functionality. Now rewire doesn't modify
require.cache
at all - Added support for webpack-bundler
- Moved browserify-middleware from
rewire.browserify
torewire.bundlers.browserify
- Reached stable state :)