node-ejs-renderer/node_modules/babel-plugin-polyfill-corejs3/esm/index.mjs.map

1 line
99 KiB
Plaintext
Raw Permalink Normal View History

2024-06-09 13:55:01 -04:00
{"version":3,"file":"index.mjs","sources":["../src/shipped-proposals.ts","../src/built-in-definitions.ts","../src/babel-runtime-corejs3-paths.ts","../src/usage-filters.ts","../src/utils.ts","../src/index.ts"],"sourcesContent":["// This file is automatically generated by scripts/build-corejs3-shipped-proposals.mjs\n\nexport default new Set<string>([\n \"esnext.suppressed-error.constructor\",\n \"esnext.array.from-async\",\n \"esnext.array.group\",\n \"esnext.array.group-to-map\",\n \"esnext.iterator.constructor\",\n \"esnext.iterator.drop\",\n \"esnext.iterator.every\",\n \"esnext.iterator.filter\",\n \"esnext.iterator.find\",\n \"esnext.iterator.flat-map\",\n \"esnext.iterator.for-each\",\n \"esnext.iterator.from\",\n \"esnext.iterator.map\",\n \"esnext.iterator.reduce\",\n \"esnext.iterator.some\",\n \"esnext.iterator.take\",\n \"esnext.iterator.to-array\",\n \"esnext.json.is-raw-json\",\n \"esnext.json.parse\",\n \"esnext.json.raw-json\",\n \"esnext.set.difference.v2\",\n \"esnext.set.intersection.v2\",\n \"esnext.set.is-disjoint-from.v2\",\n \"esnext.set.is-subset-of.v2\",\n \"esnext.set.is-superset-of.v2\",\n \"esnext.set.symmetric-difference.v2\",\n \"esnext.set.union.v2\",\n \"esnext.symbol.async-dispose\",\n \"esnext.symbol.dispose\",\n \"esnext.symbol.metadata\",\n]);\n","import corejs3Polyfills from \"../core-js-compat/data.js\";\n\ntype ObjectMap<V> = { [name: string]: V };\ntype ObjectMap2<V> = ObjectMap<ObjectMap<V>>;\n\nexport type CoreJSPolyfillDescriptor = {\n name: string;\n pure: string | null;\n global: string[];\n exclude: string[] | null;\n};\n\nconst polyfillsOrder = {};\nObject.keys(corejs3Polyfills).forEach((name, index) => {\n polyfillsOrder[name] = index;\n});\n\nconst define = (\n pure,\n global,\n name = global[0],\n exclude?,\n): CoreJSPolyfillDescriptor => {\n return {\n name,\n pure,\n global: global.sort((a, b) => polyfillsOrder[a] - polyfillsOrder[b]),\n exclude,\n };\n};\n\nconst typed = (...modules) =>\n define(null, [...modules, ...TypedArrayDependencies]);\n\nconst ArrayNatureIterators = [\n \"es.array.iterator\",\n \"web.dom-collections.iterator\",\n];\n\nexport const CommonIterators = [\"es.string.iterator\", ...ArrayNatureIterators];\n\nconst ArrayNatureIteratorsWithTag = [\n \"es.object.to-string\",\n ...ArrayNatureIterators,\n];\n\nconst CommonIteratorsWithTag = [\"es.object.to-string\", ...CommonIterators];\n\nconst ErrorDependencies = [\"es.error.cause\", \"es.error.to-string\"];\n\nconst SuppressedErrorDependencies = [\n \"esnext.suppressed-error.constructor\",\n ...ErrorDependencies,\n];\n\nconst TypedArrayDependencies = [\n \"es.typed-array.at\",\n \"es.typed-array.copy-within\",\n \"es.typed-array.every\",\n \"es.typed-array.fill\",\n \"es.typed-array.filter\",\n \"es.typed-array.find\",\n \"es.typed-array.find-index\",\n \"es.typed-array.find-last\",\n \"es.typed-array.find-last-index\",\n \"es.typed-array.for-each\",\n \"es.typed-array.includes\",\n \"es.typed-array.index-of\",\n \"es.typed-array.iterator\",\n \"es.typed-array.join\",\n \"es.typed-array.last-index-of\",\n \"es.typed-array.map\",\n \"es.typed-array.reduce\",\n \"es.typed-array.reduce-right\",\n \"es.typed-array.reverse\",\n \"es.typed-array.set\",\n \"es.typed-array.slice\",\n \"es.typed-array.some\",\n \"es.typed-array.sort\",\n \"es.typed-array.subarray\",\n \"es.typed-array.to-locale-string\",\n \"es.typed-array.to-reversed\",\n \"es.typed-array.to-sorted\",\n \"es.typed-array.to-string\",\n \"es.typed-array.with\",\n \"es.object.to-string\",\n \"es.array.iterator\",\n \"es.array-buffer.slice\",\n \"es.data-view\",\n \"es.array-buffer.detached\",\n \"es.array-buffer.transfer\",\n \"es.array-buffer.transfer-to-fixed-length\",\n \"esnext.typed-array.filter-reject\",\n \"esnext.typed-array.group-by\",\n \"esnext.typed-array.to-spliced\",\n \"esnext.typed-array.unique-by\",\n];\n\nexport const PromiseDependencies = [\"es.promise\", \"es.object.to-string\"];\n\nexport const PromiseDependenciesWithIterators = [