import-html-entry
Advanced tools
Comparing version 1.15.0 to 1.15.1
@@ -184,3 +184,2 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
try { | ||
// bind window.proxy to change `this` reference in script | ||
geval(scriptSrc, inlineScript); | ||
@@ -197,4 +196,7 @@ var exports = proxy[getGlobalProp(strictGlobal ? proxy : window)] || {}; | ||
try { | ||
// bind window.proxy to change `this` reference in script | ||
geval(scriptSrc, inlineScript); | ||
if (scriptSrc !== null && scriptSrc !== void 0 && scriptSrc.src) { | ||
geval(scriptSrc.src, inlineScript); | ||
} else { | ||
geval(scriptSrc, inlineScript); | ||
} | ||
} catch (e) { | ||
@@ -201,0 +203,0 @@ // consistent with browser behavior, any independent script evaluation error should not block the others |
@@ -190,3 +190,2 @@ "use strict"; | ||
try { | ||
// bind window.proxy to change `this` reference in script | ||
geval(scriptSrc, inlineScript); | ||
@@ -203,4 +202,7 @@ var exports = proxy[(0, _utils.getGlobalProp)(strictGlobal ? proxy : window)] || {}; | ||
try { | ||
// bind window.proxy to change `this` reference in script | ||
geval(scriptSrc, inlineScript); | ||
if (scriptSrc !== null && scriptSrc !== void 0 && scriptSrc.src) { | ||
geval(scriptSrc.src, inlineScript); | ||
} else { | ||
geval(scriptSrc, inlineScript); | ||
} | ||
} catch (e) { | ||
@@ -207,0 +209,0 @@ // consistent with browser behavior, any independent script evaluation error should not block the others |
{ | ||
"name": "import-html-entry", | ||
"version": "1.15.0", | ||
"version": "1.15.1", | ||
"description": "import html and get the exports of entry", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
74909
1478
4