Socket
Socket
Sign inDemoInstall

@babel/helper-create-regexp-features-plugin

Package Overview
Dependencies
Maintainers
6
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-create-regexp-features-plugin - npm Package Compare versions

Comparing version 7.8.3 to 7.8.6

7

lib/index.js

@@ -20,2 +20,4 @@ "use strict";

var _helperAnnotateAsPure = _interopRequireDefault(require("@babel/helper-annotate-as-pure"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -94,3 +96,6 @@

if (regexpuOptions.namedGroup && Object.keys(namedCaptureGroups).length > 0 && runtime && !isRegExpTest(path)) {
path.replaceWith(_core.types.callExpression(this.addHelper("wrapRegExp"), [node, _core.types.valueToNode(namedCaptureGroups)]));
const call = _core.types.callExpression(this.addHelper("wrapRegExp"), [node, _core.types.valueToNode(namedCaptureGroups)]);
(0, _helperAnnotateAsPure.default)(call);
path.replaceWith(call);
}

@@ -97,0 +102,0 @@

7

package.json
{
"name": "@babel/helper-create-regexp-features-plugin",
"version": "7.8.3",
"version": "7.8.6",
"author": "The Babel Team (https://babeljs.io/team)",

@@ -21,2 +21,3 @@ "license": "MIT",

"dependencies": {
"@babel/helper-annotate-as-pure": "^7.8.3",
"@babel/helper-regex": "^7.8.3",

@@ -29,6 +30,6 @@ "regexpu-core": "^4.6.0"

"devDependencies": {
"@babel/core": "^7.8.3",
"@babel/core": "^7.8.6",
"@babel/helper-plugin-test-runner": "^7.8.3"
},
"gitHead": "a7620bd266ae1345975767bbc7abf09034437017"
"gitHead": "750d3dde3bd2d390819820fd22c05441da78751b"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc