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

@babel/helper-regex

Package Overview
Dependencies
Maintainers
6
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-regex - npm Package Compare versions

Comparing version 7.0.0-beta.42 to 7.0.0-beta.43

18

lib/index.js
"use strict";
exports.__esModule = true;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.is = is;
exports.pullFlag = pullFlag;
var _pull = _interopRequireDefault(require("lodash/pull"));
function _pull() {
const data = _interopRequireDefault(require("lodash/pull"));
_pull = function () {
return data;
};
return data;
}
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -16,6 +26,6 @@

function pullFlag(node, flag) {
var flags = node.flags.split("");
const flags = node.flags.split("");
if (node.flags.indexOf(flag) < 0) return;
(0, _pull.default)(flags, flag);
(0, _pull().default)(flags, flag);
node.flags = flags.join("");
}
{
"name": "@babel/helper-regex",
"version": "7.0.0-beta.42",
"version": "7.0.0-beta.43",
"description": "Helper function to check for literal RegEx",

@@ -5,0 +5,0 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-regex",

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