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.2 to 0.0.3

2

component.json

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

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

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

@@ -34,3 +34,3 @@

script.onreadystatechange = function () {
if (this.readyState != 'complete') return
if (this.readyState != 'complete' && this.readyState != 'loaded') return
this.onreadystatechange = null

@@ -37,0 +37,0 @@ cb() // there is no way to catch loading errors in IE8

{
"name": "load-script",
"description": "Dynamic script loading",
"version": "0.0.2",
"keywords": ["script", "load"],
"description": "Dynamic script loading for browser",
"version": "0.0.3",
"keywords": ["browser", "script", "load"],
"repository": {
"type": "git",
"url": "git://github.com/eldargab/load-script"
},
"license": "MIT",

@@ -7,0 +11,0 @@ "component": {

@@ -7,2 +7,4 @@ # load-script

via component
```

@@ -12,2 +14,8 @@ $ component install eldargab/load-script

via npm
```
$ npm install load-script
```
## API

@@ -14,0 +22,0 @@

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