Socket
Socket
Sign inDemoInstall

resource-loader

Package Overview
Dependencies
2
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.6.2 to 1.6.3

2

package.json
{
"name": "resource-loader",
"version": "1.6.2",
"version": "1.6.3",
"main": "./src/index.js",

@@ -5,0 +5,0 @@ "description": "A generic asset loader, made with web games in mind.",

@@ -16,6 +16,6 @@ // a simple in-memory cache for resources

});
next();
}
next();
};
};

@@ -19,2 +19,3 @@ var EventEmitter = require('eventemitter3'),

* loaded be interpreted when using XHR?
* @param [options.metadata] {object} Extra info for middleware.
*/

@@ -83,2 +84,9 @@ function Resource(name, url, options) {

/**
* Extra info for middleware
*
* @member {object}
*/
this.metadata = options.metadata || {};
/**
* The error that occurred while loading (if any).

@@ -85,0 +93,0 @@ *

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