Socket
Socket
Sign inDemoInstall

@babel/plugin-proposal-unicode-property-regex

Package Overview
Dependencies
Maintainers
5
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-proposal-unicode-property-regex - npm Package Compare versions

Comparing version 7.0.0-beta.46 to 7.0.0-beta.47

19

lib/index.js

@@ -9,3 +9,3 @@ "use strict";

function _helperPluginUtils() {
var data = require("@babel/helper-plugin-utils");
const data = require("@babel/helper-plugin-utils");

@@ -20,3 +20,3 @@ _helperPluginUtils = function _helperPluginUtils() {

function _regexpuCore() {
var data = _interopRequireDefault(require("regexpu-core"));
const data = _interopRequireDefault(require("regexpu-core"));

@@ -31,3 +31,3 @@ _regexpuCore = function _regexpuCore() {

function regex() {
var data = _interopRequireWildcard(require("@babel/helper-regex"));
const data = _interopRequireWildcard(require("@babel/helper-regex"));

@@ -45,6 +45,6 @@ regex = function regex() {

var _default = (0, _helperPluginUtils().declare)(function (api, options) {
var _default = (0, _helperPluginUtils().declare)((api, options) => {
api.assertVersion(7);
var _options$useUnicodeFl = options.useUnicodeFlag,
useUnicodeFlag = _options$useUnicodeFl === void 0 ? true : _options$useUnicodeFl;
const _options$useUnicodeFl = options.useUnicodeFlag,
useUnicodeFlag = _options$useUnicodeFl === void 0 ? true : _options$useUnicodeFl;

@@ -57,4 +57,4 @@ if (typeof useUnicodeFlag !== "boolean") {

visitor: {
RegExpLiteral: function RegExpLiteral(path) {
var node = path.node;
RegExpLiteral(path) {
const node = path.node;

@@ -67,3 +67,3 @@ if (!regex().is(node, "u")) {

unicodePropertyEscape: true,
useUnicodeFlag: useUnicodeFlag
useUnicodeFlag
});

@@ -75,2 +75,3 @@

}
}

@@ -77,0 +78,0 @@ };

{
"name": "@babel/plugin-proposal-unicode-property-regex",
"version": "7.0.0-beta.46",
"version": "7.0.0-beta.47",
"description": "Compile Unicode property escapes in Unicode regular expressions to ES5.",

@@ -22,13 +22,13 @@ "homepage": "https://babeljs.io/",

"dependencies": {
"@babel/helper-plugin-utils": "7.0.0-beta.46",
"@babel/helper-regex": "7.0.0-beta.46",
"regexpu-core": "^4.1.3"
"@babel/helper-plugin-utils": "7.0.0-beta.47",
"@babel/helper-regex": "7.0.0-beta.47",
"regexpu-core": "^4.1.4"
},
"peerDependencies": {
"@babel/core": "7.0.0-beta.46"
"@babel/core": "7.0.0-beta.47"
},
"devDependencies": {
"@babel/core": "7.0.0-beta.46",
"@babel/helper-plugin-test-runner": "7.0.0-beta.46"
"@babel/core": "7.0.0-beta.47",
"@babel/helper-plugin-test-runner": "7.0.0-beta.47"
}
}
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