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

load-script

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

load-script - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

.zuul.yml

9

index.js

@@ -16,2 +16,9 @@

// some good legacy browsers (firefox) fail the 'in' detection above
// so as a fallback we always set onload
// old IE will ignore this and new IE will set onload
if (!script.onload) {
stdOnEnd(script, cb);
}
head.appendChild(script)

@@ -37,4 +44,4 @@ }

this.onreadystatechange = null
cb() // there is no way to catch loading errors in IE8
cb(null, true) // there is no way to catch loading errors in IE8
}
}

8

package.json
{
"name": "load-script",
"description": "Dynamic script loading for browser",
"version": "0.0.3",
"keywords": ["browser", "script", "load"],
"version": "0.0.4",
"keywords": [
"browser",
"script",
"load"
],
"repository": {

@@ -7,0 +11,0 @@ "type": "git",

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