Socket
Socket
Sign inDemoInstall

url-loader

Package Overview
Dependencies
292
Maintainers
6
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

9

CHANGELOG.md

@@ -5,2 +5,11 @@ # Changelog

### [2.0.1](https://github.com/webpack-contrib/url-loader/compare/v2.0.0...v2.0.1) (2019-06-25)
### Bug Fixes
* allow using limit as string when you use loader with query string ([#185](https://github.com/webpack-contrib/url-loader/issues/185)) ([4842f93](https://github.com/webpack-contrib/url-loader/commit/4842f93))
## [2.0.0](https://github.com/webpack-contrib/url-loader/compare/v1.1.2...v2.0.0) (2019-06-05)

@@ -7,0 +16,0 @@

2

dist/index.js

@@ -32,3 +32,3 @@ "use strict";

if (typeof limit === 'number') {
if (typeof limit === 'number' || typeof limit === 'string') {
return size <= parseInt(limit, 10);

@@ -35,0 +35,0 @@ }

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

"limit": {
"type": ["boolean", "number"]
"type": ["boolean", "number", "string"]
},

@@ -8,0 +8,0 @@ "mimetype": {

{
"name": "url-loader",
"version": "2.0.0",
"version": "2.0.1",
"description": "A loader for webpack which transforms files into base64 URIs",

@@ -41,3 +41,3 @@ "license": "MIT",

"loader-utils": "^1.1.0",
"mime": "^2.0.3",
"mime": "^2.4.4",
"schema-utils": "^1.0.0"

@@ -51,3 +51,3 @@ },

"@commitlint/config-conventional": "^8.0.0",
"@webpack-contrib/defaults": "^5.0.0",
"@webpack-contrib/defaults": "^5.0.1",
"@webpack-contrib/eslint-config-webpack": "^3.0.0",

@@ -59,15 +59,15 @@ "babel-jest": "^24.8.0",

"del-cli": "^2.0.0",
"eslint": "^5.16.0",
"eslint-config-prettier": "^4.3.0",
"eslint-plugin-import": "^2.17.3",
"eslint": "^6.0.1",
"eslint-config-prettier": "^5.1.0",
"eslint-plugin-import": "^2.18.0",
"file-loader": "^4.0.0",
"husky": "^2.3.0",
"husky": "^2.5.0",
"jest": "^24.8.0",
"jest-junit": "^6.4.0",
"lint-staged": "^8.1.7",
"lint-staged": "^8.2.1",
"memory-fs": "^0.4.1",
"npm-run-all": "^4.1.5",
"prettier": "^1.17.1",
"prettier": "^1.18.2",
"standard-version": "^6.0.1",
"webpack": "^4.33.0"
"webpack": "^4.35.0"
},

@@ -74,0 +74,0 @@ "keywords": [

@@ -121,3 +121,3 @@ <div align="center">

Type: `Number|Boolean`
Type: `Number|Boolean|String`
Default: `undefined`

@@ -124,0 +124,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