summaryrefslogtreecommitdiff
path: root/node_modules/@babel/plugin-transform-reserved-words
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@babel/plugin-transform-reserved-words')
-rw-r--r--node_modules/@babel/plugin-transform-reserved-words/README.md2
-rw-r--r--node_modules/@babel/plugin-transform-reserved-words/lib/index.js3
-rw-r--r--node_modules/@babel/plugin-transform-reserved-words/lib/index.js.map2
-rw-r--r--node_modules/@babel/plugin-transform-reserved-words/package.json4
4 files changed, 5 insertions, 6 deletions
diff --git a/node_modules/@babel/plugin-transform-reserved-words/README.md b/node_modules/@babel/plugin-transform-reserved-words/README.md
index 72d8fb01..ff4b776e 100644
--- a/node_modules/@babel/plugin-transform-reserved-words/README.md
+++ b/node_modules/@babel/plugin-transform-reserved-words/README.md
@@ -2,7 +2,7 @@
> Ensure that no reserved words are used.
-See our website [@babel/plugin-transform-reserved-words](https://babeljs.io/docs/en/babel-plugin-transform-reserved-words) for more information.
+See our website [@babel/plugin-transform-reserved-words](https://babeljs.io/docs/babel-plugin-transform-reserved-words) for more information.
## Install
diff --git a/node_modules/@babel/plugin-transform-reserved-words/lib/index.js b/node_modules/@babel/plugin-transform-reserved-words/lib/index.js
index 020df652..6b3ef583 100644
--- a/node_modules/@babel/plugin-transform-reserved-words/lib/index.js
+++ b/node_modules/@babel/plugin-transform-reserved-words/lib/index.js
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
var _core = require("@babel/core");
-var _default = (0, _helperPluginUtils.declare)(api => {
+var _default = exports.default = (0, _helperPluginUtils.declare)(api => {
api.assertVersion(7);
return {
name: "transform-reserved-words",
@@ -19,6 +19,5 @@ var _default = (0, _helperPluginUtils.declare)(api => {
}
};
});
-exports.default = _default;
//# sourceMappingURL=index.js.map
diff --git a/node_modules/@babel/plugin-transform-reserved-words/lib/index.js.map b/node_modules/@babel/plugin-transform-reserved-words/lib/index.js.map
index 5b525bcc..15257645 100644
--- a/node_modules/@babel/plugin-transform-reserved-words/lib/index.js.map
+++ b/node_modules/@babel/plugin-transform-reserved-words/lib/index.js.map
@@ -1 +1 @@
-{"version":3,"names":["_helperPluginUtils","require","_core","_default","declare","api","assertVersion","name","visitor","BindingIdentifier|ReferencedIdentifier","path","t","isValidES3Identifier","node","scope","rename","exports","default"],"sources":["../src/index.ts"],"sourcesContent":["import { declare } from \"@babel/helper-plugin-utils\";\nimport { types as t } from \"@babel/core\";\nimport type { NodePath } from \"@babel/traverse\";\n\nexport default declare(api => {\n api.assertVersion(7);\n\n return {\n name: \"transform-reserved-words\",\n\n visitor: {\n \"BindingIdentifier|ReferencedIdentifier\"(path: NodePath<t.Identifier>) {\n if (!t.isValidES3Identifier(path.node.name)) {\n path.scope.rename(path.node.name);\n }\n },\n },\n };\n});\n"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AAAyC,IAAAE,QAAA,GAG1B,IAAAC,0BAAO,EAACC,GAAG,IAAI;EAC5BA,GAAG,CAACC,aAAa,CAAC,CAAC,CAAC;EAEpB,OAAO;IACLC,IAAI,EAAE,0BAA0B;IAEhCC,OAAO,EAAE;MACP,wCAAwCC,CAACC,IAA4B,EAAE;QACrE,IAAI,CAACC,WAAC,CAACC,oBAAoB,CAACF,IAAI,CAACG,IAAI,CAACN,IAAI,CAAC,EAAE;UAC3CG,IAAI,CAACI,KAAK,CAACC,MAAM,CAACL,IAAI,CAACG,IAAI,CAACN,IAAI,CAAC;QACnC;MACF;IACF;EACF,CAAC;AACH,CAAC,CAAC;AAAAS,OAAA,CAAAC,OAAA,GAAAd,QAAA"} \ No newline at end of file
+{"version":3,"names":["_helperPluginUtils","require","_core","_default","exports","default","declare","api","assertVersion","name","visitor","BindingIdentifier|ReferencedIdentifier","path","t","isValidES3Identifier","node","scope","rename"],"sources":["../src/index.ts"],"sourcesContent":["import { declare } from \"@babel/helper-plugin-utils\";\nimport { types as t } from \"@babel/core\";\nimport type { NodePath } from \"@babel/traverse\";\n\nexport default declare(api => {\n api.assertVersion(\n process.env.BABEL_8_BREAKING && process.env.IS_PUBLISH\n ? PACKAGE_JSON.version\n : 7,\n );\n\n return {\n name: \"transform-reserved-words\",\n\n visitor: {\n \"BindingIdentifier|ReferencedIdentifier\"(path: NodePath<t.Identifier>) {\n if (!t.isValidES3Identifier(path.node.name)) {\n path.scope.rename(path.node.name);\n }\n },\n },\n };\n});\n"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AAAyC,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAG1B,IAAAC,0BAAO,EAACC,GAAG,IAAI;EAC5BA,GAAG,CAACC,aAAa,CAGX,CACN,CAAC;EAED,OAAO;IACLC,IAAI,EAAE,0BAA0B;IAEhCC,OAAO,EAAE;MACP,wCAAwCC,CAACC,IAA4B,EAAE;QACrE,IAAI,CAACC,WAAC,CAACC,oBAAoB,CAACF,IAAI,CAACG,IAAI,CAACN,IAAI,CAAC,EAAE;UAC3CG,IAAI,CAACI,KAAK,CAACC,MAAM,CAACL,IAAI,CAACG,IAAI,CAACN,IAAI,CAAC;QACnC;MACF;IACF;EACF,CAAC;AACH,CAAC,CAAC"} \ No newline at end of file
diff --git a/node_modules/@babel/plugin-transform-reserved-words/package.json b/node_modules/@babel/plugin-transform-reserved-words/package.json
index acfb172c..89ce0a9c 100644
--- a/node_modules/@babel/plugin-transform-reserved-words/package.json
+++ b/node_modules/@babel/plugin-transform-reserved-words/package.json
@@ -1,6 +1,6 @@
{
"name": "@babel/plugin-transform-reserved-words",
- "version": "7.22.5",
+ "version": "7.23.3",
"description": "Ensure that no reserved words are used.",
"repository": {
"type": "git",
@@ -23,7 +23,7 @@
"@babel/core": "^7.0.0-0"
},
"devDependencies": {
- "@babel/core": "^7.22.5",
+ "@babel/core": "^7.23.3",
"@babel/helper-plugin-test-runner": "^7.22.5"
},
"engines": {