@babel/helper-validator-identifier
Advanced tools
Comparing version 7.22.5 to 7.22.15
@@ -54,5 +54,5 @@ "use strict"; | ||
}); | ||
var _identifier = require("./identifier"); | ||
var _keyword = require("./keyword"); | ||
var _identifier = require("./identifier.js"); | ||
var _keyword = require("./keyword.js"); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@babel/helper-validator-identifier", | ||
"version": "7.22.5", | ||
"version": "7.22.15", | ||
"description": "Validate identifier/keywords name", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -5,3 +5,3 @@ # @babel/helper-validator-identifier | ||
See our website [@babel/helper-validator-identifier](https://babeljs.io/docs/en/babel-helper-validator-identifier) for more information. | ||
See our website [@babel/helper-validator-identifier](https://babeljs.io/docs/babel-helper-validator-identifier) for more information. | ||
@@ -8,0 +8,0 @@ ## Install |
@@ -7,5 +7,5 @@ "use strict"; | ||
const start = require("@unicode/unicode-" + | ||
version + | ||
"/Binary_Property/ID_Start/code-points.js").filter(function (ch) { | ||
const start = require( | ||
"@unicode/unicode-" + version + "/Binary_Property/ID_Start/code-points.js" | ||
).filter(function (ch) { | ||
return ch > 0x7f; | ||
@@ -15,5 +15,7 @@ }); | ||
const cont = [0x200c, 0x200d].concat( | ||
require("@unicode/unicode-" + | ||
version + | ||
"/Binary_Property/ID_Continue/code-points.js").filter(function (ch) { | ||
require( | ||
"@unicode/unicode-" + | ||
version + | ||
"/Binary_Property/ID_Continue/code-points.js" | ||
).filter(function (ch) { | ||
return ch > 0x7f && search(start, ch, last + 1) == -1; | ||
@@ -20,0 +22,0 @@ }) |
Sorry, the diff of this file is not supported yet
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
49064
259