Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-11 | Merge branch 'stack-trace-test-firefox'HEADmaster | Rens Baardman | |
2019-06-11 | Add Firefox compatibility to stack trace teststack-trace-test-firefox | Rens Baardman | |
2019-06-11 | Merge branch 'update-dependencies' | Rens Baardman | |
2019-06-11 | Update dependenciesupdate-dependencies | Rens Baardman | |
2019-06-11 | Merge branches 'update-travis-node-versions', 'change-carriage-returns' and ↵ | Rens Baardman | |
'fix-167-global-var-leakage' | |||
2019-06-11 | Fix #167: non-enumerable globals are now also prefixed with `var`fix-167-global-var-leakage | Rens Baardman | |
2019-06-11 | Change line endings from carriage returns to line feedschange-carriage-returns | Rens Baardman | |
2019-06-11 | Update Node versions used by Travisupdate-travis-node-versions | Rens Baardman | |
We drop 9 in favour of 10, since 10 is the LTS-version. | |||
2018-12-20 | Merge pull request #151 from emilgoldsmith/patch-1 | Johannes Ewald | |
Fix typo in README | |||
2018-10-16 | Fix typo in README | Emil Goldsmith Olesen | |
2018-04-24 | Merge pull request #139 from jhnns/fix/const-regex | Johannes Ewald | |
Fix const regex | |||
2018-04-24 | Fix const regex | Johannes Ewald | |
Fixes an issue where const wasn't properly detected when using destructering. | |||
2018-04-10 | 4.0.0v4.0.0 | Johannes Ewald | |
2018-04-10 | Update CHANGELOG | Johannes Ewald | |
2018-04-10 | Merge pull request #134 from jhnns/pr/origin/127 | Johannes Ewald | |
Use 'coffeescript' package | |||
2018-04-10 | Merge branch 'master' into pr/origin/127 | Johannes Ewald | |
2018-04-10 | Fix wrong badge link in README | Johannes Ewald | |
2018-04-10 | Drop official node v4 support | Johannes Ewald | |
2018-04-10 | Maintain column width when transforming consts | Johannes Ewald | |
2018-04-09 | Replace babel with a regex-based transformation | Johannes Ewald | |
This regex replacement is not 100% safe because transforming JavaScript requires an actual parser. However, parsing (e.g. via babel) comes with its own problems because now the parser needs to be aware of syntax extensions which might not be supported by the parser, but the underlying JavaScript engine. In fact, rewire used to have babel in place but required an extra transform for the object spread operator (check out commit d9a81c0cdacf6995b24d205b4a2068adbd8b34ff or see https://github.com/jhnns/rewire/pull/128). It was also notable slower (see https://github.com/jhnns/rewire/issues/132). There is another issue: replacing const with let is not safe because of their different behavior. That's why we also have ESLint in place which tries to identify this error case. There is one edge case though: when a new syntax is used *and* a const re-assignment happens, rewire would compile happily in this situation but the actual code wouldn't work. However, since most projects have a seperate linting step which catches these const re-assignment errors anyway, it's probably still a reasonable trade-off. Fixes https://github.com/jhnns/rewire/issues/132 | |||
2018-04-09 | Refactor babel plugin initialization in moduleEnv.js | Johannes Ewald | |
2018-04-09 | Remove unused path import | Johannes Ewald | |
2018-04-09 | Merge pull request #128 from 2Pacalypse-/master | Johannes Ewald | |
Add support for object spread/rest operator. | |||
2018-01-24 | Add support for object spread/rest operator. | Marko Žarković | |
Before this commit, using rewire on a module that had object spread/rest operator in it would throw an exception. Now it doesn't. | |||
2018-01-16 | use 'coffeescript' package | Oded Niv | |
2017-11-20 | 3.0.2v3.0.2 | Johannes Ewald | |
2017-11-20 | Update CHANGELOG | Johannes Ewald | |
2017-11-20 | Update package-lock.json | Johannes Ewald | |
2017-11-20 | Merge pull request #123 from JvJefke/bugfix/class-constructor | Johannes Ewald | |
Do not use .babelrc file when using babel | |||
2017-11-15 | Remove Class tests because travis node 4.x tests fails (does not support ↵ | jeroenvalcke | |
classes yet) | |||
2017-11-15 | Make sure rewire is not using a .babelrc file | jeroenvalcke | |
2017-11-15 | Add line end | jeroenvalcke | |
2017-11-15 | Merge remote-tracking branch 'upstream/master' into bugfix/class-constructor | jeroenvalcke | |
2017-11-15 | Add class tests | jeroenvalcke | |
2017-11-15 | v3.0.1v3.0.1 | Johannes Ewald | |
2017-11-15 | Update CHANGELOG | Johannes Ewald | |
2017-11-15 | Merge pull request #122 from JvJefke/bugfix/babel-plugin-resolve | Johannes Ewald | |
Fix for #121 "pluginUnknown" error | |||
2017-11-13 | Require resolve babel plugin so it searches the plugin from the cwd() | jeroenvalcke | |
2017-11-13 | Merge remote-tracking branch 'upstream/master' | jeroenvalcke | |
2017-11-11 | v3.0.0v3.0.0 | Johannes Ewald | |
2017-11-11 | Update CHANGELOG | Johannes Ewald | |
2017-11-11 | Update mocha | Johannes Ewald | |
2017-11-11 | Update README | Johannes Ewald | |
2017-11-11 | Remove legacy code for node < 4 | Johannes Ewald | |
2017-11-11 | Merge pull request #118 from jhnns/pr/origin/117 | Johannes Ewald | |
Enable const support | |||
2017-11-11 | Update .travis.yml | Johannes Ewald | |
Remove unsupported node versions | |||
2017-11-11 | Refactor code | Johannes Ewald | |
2017-11-08 | Remove options from readme | jeroenvalcke | |
2017-11-08 | Remove opts and only use old load functionality for coffee scripts | jeroenvalcke | |
2017-10-20 | Also run travis tests in 6.x | Jeroen Valcke | |