Socket
Socket
Sign inDemoInstall

react-async-script

Package Overview
Dependencies
9
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.9.0 to 0.9.1

7

CHANGELOG.md

@@ -0,1 +1,8 @@

v0.9.1 - Wed, 19 Apr 2017 6:05:00 PST
--------------------------------------
- Fixed issue where method was not bound properly (#19)
v0.9.0 - Sun, 16 Apr 2017 4:12:00 PST

@@ -2,0 +9,0 @@ --------------------------------------

8

lib/async-script-loader.js

@@ -95,3 +95,5 @@ "use strict";

}
entry.observers.set(key, this.asyncScriptLoaderHandleLoad);
entry.observers.set(key, function (entry) {
return _this2.asyncScriptLoaderHandleLoad(entry);
});
return;

@@ -101,3 +103,5 @@ }

var observers = new _map2.default();
observers.set(key, this.asyncScriptLoaderHandleLoad);
observers.set(key, function (entry) {
return _this2.asyncScriptLoaderHandleLoad(entry);
});
SCRIPT_MAP.set(scriptURL, {

@@ -104,0 +108,0 @@ loaded: false,

{
"name": "react-async-script",
"version": "0.9.0",
"version": "0.9.1",
"description": "A composition mixin for loading scripts asynchronously for React",

@@ -5,0 +5,0 @@ "main": "lib/async-script-loader.js",

@@ -43,3 +43,3 @@ import React from "react";

}
entry.observers.set(key, this.asyncScriptLoaderHandleLoad);
entry.observers.set(key, (entry) => this.asyncScriptLoaderHandleLoad(entry));
return;

@@ -49,3 +49,3 @@ }

let observers = new Map();
observers.set(key, this.asyncScriptLoaderHandleLoad);
observers.set(key, (entry) => this.asyncScriptLoaderHandleLoad(entry));
SCRIPT_MAP.set(scriptURL, {

@@ -52,0 +52,0 @@ loaded: false,

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc