@babel/register
Advanced tools
Comparing version 7.0.0-beta.32 to 7.0.0-beta.33
{ | ||
"name": "@babel/register", | ||
"version": "7.0.0-beta.32", | ||
"version": "7.0.0-beta.33", | ||
"description": "babel require hook", | ||
@@ -22,8 +22,8 @@ "license": "MIT", | ||
"peerDependencies": { | ||
"@babel/core": "7.0.0-beta.32" | ||
"@babel/core": "7.0.0-beta.33" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "7.0.0-beta.32", | ||
"@babel/core": "7.0.0-beta.33", | ||
"default-require-extensions": "^2.0.0" | ||
} | ||
} |
@@ -42,3 +42,3 @@ # @babel/register | ||
// an array of strings to be explicitly matched or a regex / glob | ||
ignore: false | ||
ignore: [] | ||
}); | ||
@@ -53,6 +53,6 @@ ``` | ||
// aren't compiled. | ||
ignore: /regex/, | ||
ignore: [/regex/], | ||
// Ignore can also be specified as a function. | ||
ignore: function(filename) { | ||
ignore: [function(filename) { | ||
if (filename === "/path/to/es6-file.js") { | ||
@@ -63,3 +63,3 @@ return false; | ||
} | ||
}, | ||
}], | ||
@@ -85,3 +85,3 @@ // Optional only regex - if any filenames **don't** match this regex then they | ||
By default `babel-node` and `@babel/register` will save to a json cache in your | ||
By default `@babel/node` cli and `@babel/register` will save to a json cache in your | ||
temporary directory. | ||
@@ -88,0 +88,0 @@ |
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
9533