diff options
Diffstat (limited to 'node_modules/@babel/plugin-transform-reserved-words/lib')
| -rw-r--r-- | node_modules/@babel/plugin-transform-reserved-words/lib/index.js | 23 | ||||
| -rw-r--r-- | node_modules/@babel/plugin-transform-reserved-words/lib/index.js.map | 1 |
2 files changed, 0 insertions, 24 deletions
diff --git a/node_modules/@babel/plugin-transform-reserved-words/lib/index.js b/node_modules/@babel/plugin-transform-reserved-words/lib/index.js deleted file mode 100644 index 6b3ef583..00000000 --- a/node_modules/@babel/plugin-transform-reserved-words/lib/index.js +++ /dev/null @@ -1,23 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; -var _helperPluginUtils = require("@babel/helper-plugin-utils"); -var _core = require("@babel/core"); -var _default = exports.default = (0, _helperPluginUtils.declare)(api => { - api.assertVersion(7); - return { - name: "transform-reserved-words", - visitor: { - "BindingIdentifier|ReferencedIdentifier"(path) { - if (!_core.types.isValidES3Identifier(path.node.name)) { - path.scope.rename(path.node.name); - } - } - } - }; -}); - -//# 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 deleted file mode 100644 index f6a92a92..00000000 --- a/node_modules/@babel/plugin-transform-reserved-words/lib/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"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, type NodePath } from \"@babel/core\";\n\nexport default declare(api => {\n api.assertVersion(REQUIRED_VERSION(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;AAAwD,IAAAE,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEzC,IAAAC,0BAAO,EAACC,GAAG,IAAI;EAC5BA,GAAG,CAACC,aAAa,CAAkB,CAAE,CAAC;EAEtC,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","ignoreList":[]}
\ No newline at end of file |
