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

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

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/plugin-proposal-unicode-property-regex - npm Package Compare versions

Comparing version 7.0.0-beta.40 to 7.0.0-beta.41

11

lib/index.js
"use strict";
exports.__esModule = true;
exports.default = _default;
exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
var _regexpuCore = _interopRequireDefault(require("regexpu-core"));

@@ -14,3 +16,4 @@

function _default(api, options) {
var _default = (0, _helperPluginUtils.declare)(function (api, options) {
api.assertVersion(7);
var _options$useUnicodeFl = options.useUnicodeFlag,

@@ -43,2 +46,4 @@ useUnicodeFlag = _options$useUnicodeFl === void 0 ? true : _options$useUnicodeFl;

};
}
});
exports.default = _default;
{
"name": "@babel/plugin-proposal-unicode-property-regex",
"version": "7.0.0-beta.40",
"version": "7.0.0-beta.41",
"description": "Compile Unicode property escapes in Unicode regular expressions to ES5.",

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

"dependencies": {
"@babel/helper-regex": "7.0.0-beta.40",
"@babel/helper-plugin-utils": "7.0.0-beta.41",
"@babel/helper-regex": "7.0.0-beta.41",
"regexpu-core": "^4.1.3"
},
"peerDependencies": {
"@babel/core": "7.0.0-beta.40"
"@babel/core": "7.0.0-beta.41"
},
"devDependencies": {
"@babel/core": "7.0.0-beta.40",
"@babel/helper-plugin-test-runner": "7.0.0-beta.40"
"@babel/core": "7.0.0-beta.41",
"@babel/helper-plugin-test-runner": "7.0.0-beta.41"
}
}

@@ -0,5 +1,8 @@

import { declare } from "@babel/helper-plugin-utils";
import rewritePattern from "regexpu-core";
import * as regex from "@babel/helper-regex";
export default function(api, options) {
export default declare((api, options) => {
api.assertVersion(7);
const { useUnicodeFlag = true } = options;

@@ -27,2 +30,2 @@ if (typeof useUnicodeFlag !== "boolean") {

};
}
});
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