Sha256: 6d0a4a95651f6ee5a49a2c052f94cb644ccb6053788f2b0b357a1d9bd15ddd62
Contents?: true
Size: 490 Bytes
Versions: 31
Compression:
Stored size: 490 Bytes
Contents
/* */ "format cjs"; "use strict"; exports.__esModule = true; var metadata = { group: "builtin-pre" }; exports.metadata = metadata; var visitor = { Literal: function Literal(node) { // number octal like 0b10 or 0o70 if (typeof node.value === "number" && /^0[ob]/i.test(node.raw)) { node.raw = undefined; } // unicode escape if (typeof node.value === "string" && /\\[u]/gi.test(node.raw)) { node.raw = undefined; } } }; exports.visitor = visitor;
Version data entries
31 entries across 31 versions & 1 rubygems