Area restrita - Questionario

This commit is contained in:
2026-06-08 23:50:59 -03:00
parent f2e2400637
commit ef968f10ae
6972 changed files with 23454 additions and 2267883 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ Add this plugin to your Babel configuration:
```json
{
"plugins": [["polyfill-corejs3", { "method": "usage-global", "version": "3.20" }]]
"plugins": [["polyfill-corejs3", { "method": "usage-global", "version": "3.48" }]]
}
```
@@ -55,7 +55,7 @@ If you are a library author, specify a reasonably modern `core-js` version in yo
```json
{
"dependencies": {
"core-js": "^3.43.0"
"core-js": "^3.48.0"
}
}
```
+16 -16
View File
@@ -6,7 +6,7 @@ import defineProvider from '@babel/helper-define-polyfill-provider';
// This file is automatically generated by scripts/build-corejs3-shipped-proposals.mjs
var corejs3ShippedProposalsList = new Set(["esnext.array.group", "esnext.array.group-to-map", "esnext.json.is-raw-json", "esnext.json.parse", "esnext.json.raw-json", "esnext.math.sum-precise", "esnext.symbol.metadata", "esnext.uint8-array.from-base64", "esnext.uint8-array.from-hex", "esnext.uint8-array.set-from-base64", "esnext.uint8-array.set-from-hex", "esnext.uint8-array.to-base64", "esnext.uint8-array.to-hex"]);
var corejs3ShippedProposalsList = new Set(["esnext.array.group", "esnext.array.group-to-map", "esnext.iterator.zip", "esnext.iterator.zip-keyed", "esnext.symbol.metadata"]);
const polyfillsOrder = {};
Object.keys(corejs3Polyfills).forEach((name, index) => {
@@ -32,9 +32,9 @@ const TypedArrayDependencies = ["es.typed-array.at", "es.typed-array.copy-within
const PromiseDependencies = ["es.promise", "es.object.to-string"];
const PromiseDependenciesWithIterators = [...PromiseDependencies, ...CommonIterators];
const SymbolDependencies = ["es.symbol", "es.symbol.description", "es.object.to-string"];
const MapDependencies = ["es.map", "esnext.map.delete-all", "esnext.map.emplace", "esnext.map.every", "esnext.map.filter", "esnext.map.find", "esnext.map.find-key", "esnext.map.get-or-insert", "esnext.map.get-or-insert-computed", "esnext.map.includes", "esnext.map.key-of", "esnext.map.map-keys", "esnext.map.map-values", "esnext.map.merge", "esnext.map.reduce", "esnext.map.some", "esnext.map.update", ...CommonIteratorsWithTag];
const MapDependencies = ["es.map", "es.map.get-or-insert", "es.map.get-or-insert-computed", "esnext.map.delete-all", "esnext.map.emplace", "esnext.map.every", "esnext.map.filter", "esnext.map.find", "esnext.map.find-key", "esnext.map.includes", "esnext.map.key-of", "esnext.map.map-keys", "esnext.map.map-values", "esnext.map.merge", "esnext.map.reduce", "esnext.map.some", "esnext.map.update", ...CommonIteratorsWithTag];
const SetDependencies = ["es.set", "es.set.difference.v2", "es.set.intersection.v2", "es.set.is-disjoint-from.v2", "es.set.is-subset-of.v2", "es.set.is-superset-of.v2", "es.set.symmetric-difference.v2", "es.set.union.v2", "esnext.set.add-all", "esnext.set.delete-all", "esnext.set.difference", "esnext.set.every", "esnext.set.filter", "esnext.set.find", "esnext.set.intersection", "esnext.set.is-disjoint-from", "esnext.set.is-subset-of", "esnext.set.is-superset-of", "esnext.set.join", "esnext.set.map", "esnext.set.reduce", "esnext.set.some", "esnext.set.symmetric-difference", "esnext.set.union", ...CommonIteratorsWithTag];
const WeakMapDependencies = ["es.weak-map", "esnext.weak-map.delete-all", "esnext.weak-map.emplace", "esnext.weak-map.get-or-insert", "esnext.weak-map.get-or-insert-computed", ...CommonIteratorsWithTag];
const WeakMapDependencies = ["es.weak-map", "es.weak-map.get-or-insert", "es.weak-map.get-or-insert-computed", "esnext.weak-map.delete-all", "esnext.weak-map.emplace", ...CommonIteratorsWithTag];
const WeakSetDependencies = ["es.weak-set", "esnext.weak-set.add-all", "esnext.weak-set.delete-all", ...CommonIteratorsWithTag];
const DOMExceptionDependencies = ["web.dom-exception.constructor", "web.dom-exception.stack", "web.dom-exception.to-string-tag", "es.error.to-string"];
const URLSearchParamsDependencies = ["web.url-search-params", "web.url-search-params.delete", "web.url-search-params.has", "web.url-search-params.size", ...CommonIteratorsWithTag];
@@ -65,7 +65,7 @@ const BuiltIns = {
Int16Array: typed("es.typed-array.int16-array"),
Int32Array: typed("es.typed-array.int32-array"),
Iterator: define("iterator/index", IteratorDependencies),
Uint8Array: typed("es.typed-array.uint8-array", "esnext.uint8-array.set-from-base64", "esnext.uint8-array.set-from-hex", "esnext.uint8-array.to-base64", "esnext.uint8-array.to-hex"),
Uint8Array: typed("es.typed-array.uint8-array", "es.uint8-array.set-from-base64", "es.uint8-array.set-from-hex", "es.uint8-array.to-base64", "es.uint8-array.to-hex"),
Uint8ClampedArray: typed("es.typed-array.uint8-clamped-array"),
Uint16Array: typed("es.typed-array.uint16-array"),
Uint32Array: typed("es.typed-array.uint32-array"),
@@ -133,17 +133,17 @@ const StaticProperties = {
isConstructor: define("function/is-constructor", ["esnext.function.is-constructor"])
},
Iterator: {
concat: define("iterator/concat", ["esnext.iterator.concat", ...IteratorDependencies, ...CommonIterators]),
concat: define("iterator/concat", ["es.iterator.concat", ...IteratorDependencies, ...CommonIterators]),
from: define("iterator/from", ["es.iterator.from", ...IteratorDependencies, ...CommonIterators]),
range: define("iterator/range", ["esnext.iterator.range", ...IteratorDependencies]),
zip: define("iterator/zip", ["esnext.iterator.zip", ...IteratorDependencies, ...CommonIterators]),
zipKeyed: define("iterator/zip-keyed", ["esnext.iterator.zip-keyed", "es.object.create", "es.reflect.own-keys", ...IteratorDependencies, ...CommonIterators])
},
JSON: {
isRawJSON: define("json/is-raw-json", ["esnext.json.is-raw-json"]),
parse: define("json/parse", ["esnext.json.parse", "es.object.keys"]),
rawJSON: define("json/raw-json", ["esnext.json.raw-json", "es.object.create", "es.object.freeze"]),
stringify: define("json/stringify", ["es.json.stringify", "es.date.to-json"], "es.symbol")
isRawJSON: define("json/is-raw-json", ["es.json.is-raw-json"]),
parse: define("json/parse", ["es.json.parse", "es.object.keys"]),
rawJSON: define("json/raw-json", ["es.json.raw-json", "es.object.create", "es.object.freeze"]),
stringify: define("json/stringify", ["es.json.stringify", "es.date.to-json"])
},
Math: {
DEG_PER_RAD: define("math/deg-per-rad", ["esnext.math.deg-per-rad"]),
@@ -174,7 +174,7 @@ const StaticProperties = {
sign: define("math/sign", ["es.math.sign"]),
signbit: define("math/signbit", ["esnext.math.signbit"]),
sinh: define("math/sinh", ["es.math.sinh"]),
sumPrecise: define("math/sum-precise", ["esnext.math.sum-precise", "es.array.iterator"]),
sumPrecise: define("math/sum-precise", ["es.math.sum-precise", "es.array.iterator"]),
tanh: define("math/tanh", ["es.math.tanh"]),
trunc: define("math/trunc", ["es.math.trunc"]),
umulh: define("math/umulh", ["esnext.math.umulh"])
@@ -311,8 +311,8 @@ const StaticProperties = {
},
Int8Array: TypedArrayStaticMethods("es.typed-array.int8-array"),
Uint8Array: {
fromBase64: define(null, ["esnext.uint8-array.from-base64", ...TypedArrayDependencies]),
fromHex: define(null, ["esnext.uint8-array.from-hex", ...TypedArrayDependencies]),
fromBase64: define(null, ["es.uint8-array.from-base64", ...TypedArrayDependencies]),
fromHex: define(null, ["es.uint8-array.from-hex", ...TypedArrayDependencies]),
...TypedArrayStaticMethods("es.typed-array.uint8-array")
},
Uint8ClampedArray: TypedArrayStaticMethods("es.typed-array.uint8-clamped-array"),
@@ -347,8 +347,7 @@ const InstanceProperties = {
blink: define(null, ["es.string.blink"]),
bold: define(null, ["es.string.bold"]),
chunks: define(null, ["esnext.iterator.chunks", ...IteratorDependencies]),
// TODO: add /instance/ entry
clamp: define(null, ["esnext.number.clamp"]),
clamp: define("instance/clamp", ["esnext.number.clamp"]),
codePointAt: define("instance/code-point-at", ["es.string.code-point-at"]),
codePoints: define("instance/code-points", ["esnext.string.code-points"]),
concat: define("instance/concat", ["es.array.concat"], undefined, ["String"]),
@@ -372,7 +371,7 @@ const InstanceProperties = {
filter: define("instance/filter", ["es.array.filter", "es.iterator.filter", ...IteratorDependencies
// "esnext.async-iterator.filter",
]),
filterReject: define("instance/filterReject", ["esnext.array.filter-reject"]),
filterReject: define("instance/filter-reject", ["esnext.array.filter-reject"]),
finally: define(null, ["es.promise.finally", ...PromiseDependencies]),
find: define("instance/find", ["es.array.find", "es.iterator.find", ...IteratorDependencies
// "esnext.async-iterator.find",
@@ -402,7 +401,7 @@ const InstanceProperties = {
indexed: define(null, ["esnext.async-iterator.indexed", ...AsyncIteratorDependencies, "esnext.iterator.indexed", ...IteratorDependencies]),
indexOf: define("instance/index-of", ["es.array.index-of"]),
isWellFormed: define("instance/is-well-formed", ["es.string.is-well-formed"]),
italic: define(null, ["es.string.italics"]),
italics: define(null, ["es.string.italics"]),
join: define(null, ["es.array.join"]),
keys: define("instance/keys", ArrayNatureIteratorsWithTag),
lastIndex: define(null, ["esnext.array.last-index"]),
@@ -431,6 +430,7 @@ const InstanceProperties = {
setUint8Clamped: define(null, ["esnext.data-view.set-uint8-clamped", ...DataViewDependencies]),
setYear: define(null, ["es.date.set-year"]),
slice: define("instance/slice", ["es.array.slice"]),
sliding: define(null, ["esnext.iterator.sliding", ...IteratorDependencies]),
small: define(null, ["es.string.small"]),
some: define("instance/some", ["es.array.some", "es.iterator.some", ...IteratorDependencies
// "esnext.async-iterator.some",
File diff suppressed because one or more lines are too long
+15 -15
View File
@@ -29,9 +29,9 @@ const TypedArrayDependencies = ["es.typed-array.at", "es.typed-array.copy-within
const PromiseDependencies = exports.PromiseDependencies = ["es.promise", "es.object.to-string"];
const PromiseDependenciesWithIterators = exports.PromiseDependenciesWithIterators = [...PromiseDependencies, ...CommonIterators];
const SymbolDependencies = ["es.symbol", "es.symbol.description", "es.object.to-string"];
const MapDependencies = ["es.map", "esnext.map.delete-all", "esnext.map.emplace", "esnext.map.every", "esnext.map.filter", "esnext.map.find", "esnext.map.find-key", "esnext.map.get-or-insert", "esnext.map.get-or-insert-computed", "esnext.map.includes", "esnext.map.key-of", "esnext.map.map-keys", "esnext.map.map-values", "esnext.map.merge", "esnext.map.reduce", "esnext.map.some", "esnext.map.update", ...CommonIteratorsWithTag];
const MapDependencies = ["es.map", "es.map.get-or-insert", "es.map.get-or-insert-computed", "esnext.map.delete-all", "esnext.map.emplace", "esnext.map.every", "esnext.map.filter", "esnext.map.find", "esnext.map.find-key", "esnext.map.includes", "esnext.map.key-of", "esnext.map.map-keys", "esnext.map.map-values", "esnext.map.merge", "esnext.map.reduce", "esnext.map.some", "esnext.map.update", ...CommonIteratorsWithTag];
const SetDependencies = ["es.set", "es.set.difference.v2", "es.set.intersection.v2", "es.set.is-disjoint-from.v2", "es.set.is-subset-of.v2", "es.set.is-superset-of.v2", "es.set.symmetric-difference.v2", "es.set.union.v2", "esnext.set.add-all", "esnext.set.delete-all", "esnext.set.difference", "esnext.set.every", "esnext.set.filter", "esnext.set.find", "esnext.set.intersection", "esnext.set.is-disjoint-from", "esnext.set.is-subset-of", "esnext.set.is-superset-of", "esnext.set.join", "esnext.set.map", "esnext.set.reduce", "esnext.set.some", "esnext.set.symmetric-difference", "esnext.set.union", ...CommonIteratorsWithTag];
const WeakMapDependencies = ["es.weak-map", "esnext.weak-map.delete-all", "esnext.weak-map.emplace", "esnext.weak-map.get-or-insert", "esnext.weak-map.get-or-insert-computed", ...CommonIteratorsWithTag];
const WeakMapDependencies = ["es.weak-map", "es.weak-map.get-or-insert", "es.weak-map.get-or-insert-computed", "esnext.weak-map.delete-all", "esnext.weak-map.emplace", ...CommonIteratorsWithTag];
const WeakSetDependencies = ["es.weak-set", "esnext.weak-set.add-all", "esnext.weak-set.delete-all", ...CommonIteratorsWithTag];
const DOMExceptionDependencies = ["web.dom-exception.constructor", "web.dom-exception.stack", "web.dom-exception.to-string-tag", "es.error.to-string"];
const URLSearchParamsDependencies = ["web.url-search-params", "web.url-search-params.delete", "web.url-search-params.has", "web.url-search-params.size", ...CommonIteratorsWithTag];
@@ -62,7 +62,7 @@ const BuiltIns = exports.BuiltIns = {
Int16Array: typed("es.typed-array.int16-array"),
Int32Array: typed("es.typed-array.int32-array"),
Iterator: define("iterator/index", IteratorDependencies),
Uint8Array: typed("es.typed-array.uint8-array", "esnext.uint8-array.set-from-base64", "esnext.uint8-array.set-from-hex", "esnext.uint8-array.to-base64", "esnext.uint8-array.to-hex"),
Uint8Array: typed("es.typed-array.uint8-array", "es.uint8-array.set-from-base64", "es.uint8-array.set-from-hex", "es.uint8-array.to-base64", "es.uint8-array.to-hex"),
Uint8ClampedArray: typed("es.typed-array.uint8-clamped-array"),
Uint16Array: typed("es.typed-array.uint16-array"),
Uint32Array: typed("es.typed-array.uint32-array"),
@@ -130,17 +130,17 @@ const StaticProperties = exports.StaticProperties = {
isConstructor: define("function/is-constructor", ["esnext.function.is-constructor"])
},
Iterator: {
concat: define("iterator/concat", ["esnext.iterator.concat", ...IteratorDependencies, ...CommonIterators]),
concat: define("iterator/concat", ["es.iterator.concat", ...IteratorDependencies, ...CommonIterators]),
from: define("iterator/from", ["es.iterator.from", ...IteratorDependencies, ...CommonIterators]),
range: define("iterator/range", ["esnext.iterator.range", ...IteratorDependencies]),
zip: define("iterator/zip", ["esnext.iterator.zip", ...IteratorDependencies, ...CommonIterators]),
zipKeyed: define("iterator/zip-keyed", ["esnext.iterator.zip-keyed", "es.object.create", "es.reflect.own-keys", ...IteratorDependencies, ...CommonIterators])
},
JSON: {
isRawJSON: define("json/is-raw-json", ["esnext.json.is-raw-json"]),
parse: define("json/parse", ["esnext.json.parse", "es.object.keys"]),
rawJSON: define("json/raw-json", ["esnext.json.raw-json", "es.object.create", "es.object.freeze"]),
stringify: define("json/stringify", ["es.json.stringify", "es.date.to-json"], "es.symbol")
isRawJSON: define("json/is-raw-json", ["es.json.is-raw-json"]),
parse: define("json/parse", ["es.json.parse", "es.object.keys"]),
rawJSON: define("json/raw-json", ["es.json.raw-json", "es.object.create", "es.object.freeze"]),
stringify: define("json/stringify", ["es.json.stringify", "es.date.to-json"])
},
Math: {
DEG_PER_RAD: define("math/deg-per-rad", ["esnext.math.deg-per-rad"]),
@@ -171,7 +171,7 @@ const StaticProperties = exports.StaticProperties = {
sign: define("math/sign", ["es.math.sign"]),
signbit: define("math/signbit", ["esnext.math.signbit"]),
sinh: define("math/sinh", ["es.math.sinh"]),
sumPrecise: define("math/sum-precise", ["esnext.math.sum-precise", "es.array.iterator"]),
sumPrecise: define("math/sum-precise", ["es.math.sum-precise", "es.array.iterator"]),
tanh: define("math/tanh", ["es.math.tanh"]),
trunc: define("math/trunc", ["es.math.trunc"]),
umulh: define("math/umulh", ["esnext.math.umulh"])
@@ -308,8 +308,8 @@ const StaticProperties = exports.StaticProperties = {
},
Int8Array: TypedArrayStaticMethods("es.typed-array.int8-array"),
Uint8Array: _extends({
fromBase64: define(null, ["esnext.uint8-array.from-base64", ...TypedArrayDependencies]),
fromHex: define(null, ["esnext.uint8-array.from-hex", ...TypedArrayDependencies])
fromBase64: define(null, ["es.uint8-array.from-base64", ...TypedArrayDependencies]),
fromHex: define(null, ["es.uint8-array.from-hex", ...TypedArrayDependencies])
}, TypedArrayStaticMethods("es.typed-array.uint8-array")),
Uint8ClampedArray: TypedArrayStaticMethods("es.typed-array.uint8-clamped-array"),
Int16Array: TypedArrayStaticMethods("es.typed-array.int16-array"),
@@ -343,8 +343,7 @@ const InstanceProperties = exports.InstanceProperties = {
blink: define(null, ["es.string.blink"]),
bold: define(null, ["es.string.bold"]),
chunks: define(null, ["esnext.iterator.chunks", ...IteratorDependencies]),
// TODO: add /instance/ entry
clamp: define(null, ["esnext.number.clamp"]),
clamp: define("instance/clamp", ["esnext.number.clamp"]),
codePointAt: define("instance/code-point-at", ["es.string.code-point-at"]),
codePoints: define("instance/code-points", ["esnext.string.code-points"]),
concat: define("instance/concat", ["es.array.concat"], undefined, ["String"]),
@@ -368,7 +367,7 @@ const InstanceProperties = exports.InstanceProperties = {
filter: define("instance/filter", ["es.array.filter", "es.iterator.filter", ...IteratorDependencies
// "esnext.async-iterator.filter",
]),
filterReject: define("instance/filterReject", ["esnext.array.filter-reject"]),
filterReject: define("instance/filter-reject", ["esnext.array.filter-reject"]),
finally: define(null, ["es.promise.finally", ...PromiseDependencies]),
find: define("instance/find", ["es.array.find", "es.iterator.find", ...IteratorDependencies
// "esnext.async-iterator.find",
@@ -398,7 +397,7 @@ const InstanceProperties = exports.InstanceProperties = {
indexed: define(null, ["esnext.async-iterator.indexed", ...AsyncIteratorDependencies, "esnext.iterator.indexed", ...IteratorDependencies]),
indexOf: define("instance/index-of", ["es.array.index-of"]),
isWellFormed: define("instance/is-well-formed", ["es.string.is-well-formed"]),
italic: define(null, ["es.string.italics"]),
italics: define(null, ["es.string.italics"]),
join: define(null, ["es.array.join"]),
keys: define("instance/keys", ArrayNatureIteratorsWithTag),
lastIndex: define(null, ["esnext.array.last-index"]),
@@ -427,6 +426,7 @@ const InstanceProperties = exports.InstanceProperties = {
setUint8Clamped: define(null, ["esnext.data-view.set-uint8-clamped", ...DataViewDependencies]),
setYear: define(null, ["es.date.set-year"]),
slice: define("instance/slice", ["es.array.slice"]),
sliding: define(null, ["esnext.iterator.sliding", ...IteratorDependencies]),
small: define(null, ["es.string.small"]),
some: define("instance/some", ["es.array.some", "es.iterator.some", ...IteratorDependencies
// "esnext.async-iterator.some",
+1 -1
View File
@@ -3,4 +3,4 @@
exports.__esModule = true;
exports.default = void 0;
// This file is automatically generated by scripts/build-corejs3-shipped-proposals.mjs
var _default = exports.default = new Set(["esnext.array.group", "esnext.array.group-to-map", "esnext.json.is-raw-json", "esnext.json.parse", "esnext.json.raw-json", "esnext.math.sum-precise", "esnext.symbol.metadata", "esnext.uint8-array.from-base64", "esnext.uint8-array.from-hex", "esnext.uint8-array.set-from-base64", "esnext.uint8-array.set-from-hex", "esnext.uint8-array.to-base64", "esnext.uint8-array.to-hex"]);
var _default = exports.default = new Set(["esnext.array.group", "esnext.array.group-to-map", "esnext.iterator.zip", "esnext.iterator.zip-keyed", "esnext.symbol.metadata"]);
+13 -13
View File
@@ -1,6 +1,6 @@
{
"name": "babel-plugin-polyfill-corejs3",
"version": "0.13.0",
"version": "0.14.2",
"description": "A Babel plugin to inject imports to core-js@3 polyfills",
"repository": {
"type": "git",
@@ -26,24 +26,24 @@
"babel-plugin"
],
"dependencies": {
"@babel/helper-define-polyfill-provider": "^0.6.5",
"core-js-compat": "^3.43.0"
"@babel/helper-define-polyfill-provider": "^0.6.8",
"core-js-compat": "^3.48.0"
},
"devDependencies": {
"@babel/core": "^7.27.7",
"@babel/core": "^7.28.6",
"@babel/helper-plugin-test-runner": "^7.27.1",
"@babel/plugin-proposal-decorators": "^7.27.1",
"@babel/plugin-transform-class-properties": "^7.27.1",
"@babel/plugin-transform-classes": "^7.27.7",
"@babel/plugin-proposal-decorators": "^7.28.6",
"@babel/plugin-transform-class-properties": "^7.28.6",
"@babel/plugin-transform-classes": "^7.28.6",
"@babel/plugin-transform-for-of": "^7.27.1",
"@babel/plugin-transform-modules-commonjs": "^7.27.1",
"@babel/plugin-transform-runtime": "^7.27.4",
"@babel/plugin-transform-spread": "^7.27.1",
"core-js": "^3.43.0",
"core-js-pure": "^3.43.0"
"@babel/plugin-transform-modules-commonjs": "^7.28.6",
"@babel/plugin-transform-runtime": "^7.28.5",
"@babel/plugin-transform-spread": "^7.28.6",
"core-js": "^3.48.0",
"core-js-pure": "^3.48.0"
},
"peerDependencies": {
"@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0"
},
"gitHead": "fddd6fc6e7c3c41b1234d82e53faf5de832bbf2b"
"gitHead": "86eff78e98adc17cdf0eb9ba4d94140eb7cb0da0"
}