Area restrita - Questionario
This commit is contained in:
+1
-2
@@ -3,7 +3,6 @@
|
||||
exports.__esModule = true;
|
||||
exports.default = createMetaResolver;
|
||||
var _utils = require("./utils");
|
||||
const PossibleGlobalObjects = new Set(["global", "globalThis", "self", "window"]);
|
||||
function createMetaResolver(polyfills) {
|
||||
const {
|
||||
static: staticP,
|
||||
@@ -25,7 +24,7 @@ function createMetaResolver(polyfills) {
|
||||
key
|
||||
} = meta;
|
||||
if (object && placement === "static") {
|
||||
if (globalP && PossibleGlobalObjects.has(object) && (0, _utils.has)(globalP, key)) {
|
||||
if (globalP && _utils.PossibleGlobalObjects.has(object) && (0, _utils.has)(globalP, key)) {
|
||||
return {
|
||||
kind: "global",
|
||||
desc: globalP[key],
|
||||
|
||||
Reference in New Issue
Block a user