Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

import-html-entry

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

import-html-entry - npm Package Compare versions

Comparing version 1.15.0 to 1.15.1

8

esm/index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc