Comparing version 3.0.1 to 3.0.2
Changelog | ||
--------- | ||
### 3.0.2 | ||
- Fix a bug where rewire used the project's .babelrc [#119](https://github.com/jhnns/rewire/issues/119) [#123](https://github.com/jhnns/rewire/pull/123) | ||
### 3.0.1 | ||
@@ -5,0 +8,0 @@ - Fix Unknown Plugin "transform-es2015-block-scoping" [#121](https://github.com/jhnns/rewire/issues/121) [#122](https://github.com/jhnns/rewire/pull/122) |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ var rewireModule = require("./rewire.js"); |
@@ -81,3 +81,4 @@ "use strict"; | ||
retainLines: true, | ||
filename: filename | ||
filename: filename, | ||
babelrc: false | ||
}).code; | ||
@@ -84,0 +85,0 @@ _compile.call(module, content, filename); |
@@ -0,0 +0,0 @@ var Module = require("module"), |
{ | ||
"name": "rewire", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Easy dependency injection for node.js unit testing", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -0,0 +0,0 @@ rewire |
module.exports = true; |
@@ -0,0 +0,0 @@ const someOtherModule = require("./someOtherModule"); |
@@ -0,0 +0,0 @@ implicitGlobal = "this is an implicit global var ..." + |
@@ -0,0 +0,0 @@ "use strict"; // run code in ES5 strict mode |
module.exports = null; |
@@ -0,0 +0,0 @@ var obj = {}; |
@@ -0,0 +0,0 @@ // Don't run code in ES5 strict mode. |
@@ -0,0 +0,0 @@ "use strict"; // run code in ES5 strict mode |
@@ -0,0 +0,0 @@ // Using const here because we know that Babel will transform that part |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55639
33
976