@babel/register
Advanced tools
Comparing version 7.16.7 to 7.16.8
@@ -9,3 +9,8 @@ "use strict"; | ||
const register = hook.register.bind(null, new LocalClient()); | ||
const client = new LocalClient(); | ||
function register(opts = {}) { | ||
return hook.register(client, Object.assign({}, opts)); | ||
} | ||
module.exports = Object.assign(register, { | ||
@@ -12,0 +17,0 @@ revert: hook.revert, |
{ | ||
"name": "@babel/register", | ||
"version": "7.16.7", | ||
"version": "7.16.8", | ||
"description": "babel require hook", | ||
@@ -33,3 +33,3 @@ "license": "MIT", | ||
"@babel/plugin-transform-arrow-functions": "^7.16.7", | ||
"@babel/plugin-transform-modules-commonjs": "^7.16.7", | ||
"@babel/plugin-transform-modules-commonjs": "^7.16.8", | ||
"browserify": "^16.5.2" | ||
@@ -36,0 +36,0 @@ }, |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
20652
496
0