Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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

Package Overview
Dependencies
Maintainers
6
Versions
59
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.12.1 to 7.12.7

10

lib/index.js

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

var _helperRegex = require("@babel/helper-regex");
var _helperAnnotateAsPure = _interopRequireDefault(require("@babel/helper-annotate-as-pure"));

@@ -25,2 +23,6 @@

function pullFlag(node, flag) {
node.flags = node.flags.replace(flag, "");
}
const version = _package.default.version.split(".").reduce((v, x) => v * 1e5 + +x, 0);

@@ -104,7 +106,7 @@

if ((0, _features.hasFeature)(features, _features.FEATURES.unicodeFlag)) {
(0, _helperRegex.pullFlag)(node, "u");
pullFlag(node, "u");
}
if ((0, _features.hasFeature)(features, _features.FEATURES.dotAllFlag)) {
(0, _helperRegex.pullFlag)(node, "s");
pullFlag(node, "s");
}

@@ -111,0 +113,0 @@ }

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

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

"@babel/helper-annotate-as-pure": "^7.10.4",
"@babel/helper-regex": "^7.10.4",
"regexpu-core": "^4.7.1"

@@ -30,5 +29,5 @@ },

"devDependencies": {
"@babel/core": "^7.12.1",
"@babel/core": "7.12.7",
"@babel/helper-plugin-test-runner": "7.10.4"
}
}

2

README.md

@@ -5,3 +5,3 @@ # @babel/helper-create-regexp-features-plugin

See our website [@babel/helper-create-regexp-features-plugin](https://babeljs.io/docs/en/next/babel-helper-create-regexp-features-plugin.html) for more information.
See our website [@babel/helper-create-regexp-features-plugin](https://babeljs.io/docs/en/babel-helper-create-regexp-features-plugin) for more information.

@@ -8,0 +8,0 @@ ## Install

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