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

load-script

Package Overview
Dependencies
Maintainers
2
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.4 to 0.0.5

2

component.json

@@ -5,3 +5,3 @@ {

"description": "Dynamic script loading",
"version": "0.0.3",
"version": "0.0.5",
"keywords": ["script", "load"],

@@ -8,0 +8,0 @@ "license": "MIT",

@@ -6,2 +6,4 @@

cb = cb || function() {};
script.type = 'text/javascript'

@@ -12,6 +14,4 @@ script.charset = 'utf8'

if (cb) {
var onend = 'onload' in script ? stdOnEnd : ieOnEnd
onend(script, cb)
}
var onend = 'onload' in script ? stdOnEnd : ieOnEnd
onend(script, cb)

@@ -18,0 +18,0 @@ // some good legacy browsers (firefox) fail the 'in' detection above

{
"name": "load-script",
"description": "Dynamic script loading for browser",
"version": "0.0.4",
"version": "0.0.5",
"keywords": [

@@ -14,8 +14,10 @@ "browser",

},
"license": "MIT",
"component": {
"scripts": {
"load-script/index.js": "index.js"
}
}
"scripts": {
"test": "zuul -- test/index.js",
"test-local": "zuul --local 9005 -- test/index.js"
},
"devDependencies": {
"zuul": "~1.5.4"
},
"license": "MIT"
}

Sorry, the diff of this file is not supported yet

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