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

babel-plugin-transform-regexp-constructors

Package Overview
Dependencies
Maintainers
5
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-regexp-constructors - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0-alpha.da60c6b8

3

lib/index.js

@@ -19,2 +19,5 @@ "use strict";

}
pattern = pattern.replace(/\0/g, "\\0");
return t.regExpLiteral(pattern, flags);

@@ -21,0 +24,0 @@ }

2

package.json
{
"name": "babel-plugin-transform-regexp-constructors",
"version": "0.2.0",
"version": "0.3.0-alpha.da60c6b8",
"description": "This changes RegExp constructors into literals if the RegExp arguments are strings.",

@@ -5,0 +5,0 @@ "keywords": [

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