Sha256: 79be23caeed5eae1354947967e835f5169e2ba583d88f61e8d3135e714923fb3
Contents?: true
Size: 771 Bytes
Versions: 13
Compression:
Stored size: 771 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; function _helperPluginUtils() { const data = require("@babel/helper-plugin-utils"); _helperPluginUtils = function () { return data; }; return data; } function _core() { const data = require("@babel/core"); _core = function () { return data; }; return data; } var _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); } } } }; }); exports.default = _default;
Version data entries
13 entries across 13 versions & 5 rubygems