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

resource-loader

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resource-loader - npm Package Compare versions

Comparing version 1.5.2 to 1.5.3

2

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

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

@@ -480,3 +480,4 @@ var EventEmitter = require('eventemitter3'),

if (status === 200 || status === 204) {
// status can be 0 when using the file:// protocol, also check if a response was found
if (status === 200 || status === 204 || (status === 0 && xhr.responseText.length > 0)) {
// if text, just return it

@@ -483,0 +484,0 @@ if (this.xhrType === Resource.XHR_RESPONSE_TYPE.TEXT) {

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