Socket
Socket
Sign inDemoInstall

url-loader

Package Overview
Dependencies
6
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.1 to 0.5.2

8

index.js

@@ -13,7 +13,9 @@ /*

}
var minetype = null;
var mimetype = null;
if(query.minetype)
minetype = query.minetype
mimetype = query.minetype
if(query.mimetype)
mimetype = query.mimetype
if(limit < 0 || content.length < limit) {
return "module.exports = " + JSON.stringify("data:" + (minetype ? minetype + ";" : "") + "base64," + content.toString("base64"));
return "module.exports = " + JSON.stringify("data:" + (mimetype ? mimetype + ";" : "") + "base64," + content.toString("base64"));
} else {

@@ -20,0 +22,0 @@ var fileLoader = require("file-loader");

{
"name": "url-loader",
"version": "0.5.1",
"version": "0.5.2",
"author": "Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "description": "url loader module for webpack",

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