postcss-url
Advanced tools
Comparing version 7.3.2 to 8.0.0
@@ -0,4 +1,9 @@ | ||
# 8.0.0 - 2018-08-09 | ||
Changed: updated postcss 6.0.1 > 7.0.2, postcss-import 10.0.0 > 12.0.0, and required nodejs version ([PR#126](https://github.com/postcss/postcss-url/pull/126)) | ||
Changed: updated mime package | ||
# 7.3.2 - 2018-04-03 | ||
Fixed: ignore urls which starts with `~` ([PR##119](https://github.com/postcss/postcss-url/pull/#119)) | ||
Fixed: ignore urls which starts with `~` ([PR#119](https://github.com/postcss/postcss-url/pull/119)) | ||
@@ -5,0 +10,0 @@ # 7.3.1 - 2018-02-25 |
{ | ||
"name": "postcss-url", | ||
"version": "7.3.2", | ||
"version": "8.0.0", | ||
"description": "PostCSS plugin to rebase or inline on url().", | ||
@@ -22,15 +22,18 @@ "keywords": [ | ||
], | ||
"engines": { | ||
"node": ">=6.0.0" | ||
}, | ||
"dependencies": { | ||
"mime": "^1.4.1", | ||
"mime": "^2.3.1", | ||
"minimatch": "^3.0.4", | ||
"mkdirp": "^0.5.0", | ||
"postcss": "^6.0.1", | ||
"postcss": "^7.0.2", | ||
"xxhashjs": "^0.2.1" | ||
}, | ||
"devDependencies": { | ||
"chai": "^3.5.0", | ||
"eslint": "^3.16.1", | ||
"mocha": "^3.2.0", | ||
"npmpub": "^3.0.1", | ||
"postcss-import": "^10.0.0" | ||
"chai": "^4.1.2", | ||
"eslint": "^5.3.0", | ||
"mocha": "^5.2.0", | ||
"npmpub": "^4.1.0", | ||
"postcss-import": "^12.0.0" | ||
}, | ||
@@ -37,0 +40,0 @@ "scripts": { |
@@ -31,3 +31,3 @@ 'use strict'; | ||
contents: fs.readFileSync(filePath), | ||
mimeType: mime.lookup(filePath) | ||
mimeType: mime.getType(filePath) | ||
}; | ||
@@ -34,0 +34,0 @@ }; |
@@ -18,5 +18,5 @@ 'use strict'; | ||
return hashFunc(seed) | ||
.update(content) | ||
.digest() | ||
.toString(HEXBASE); | ||
.update(content) | ||
.digest() | ||
.toString(HEXBASE); | ||
}; | ||
@@ -37,3 +37,3 @@ | ||
return hashFunc.update(content) | ||
.digest('hex'); | ||
.digest('hex'); | ||
} catch (e) { | ||
@@ -40,0 +40,0 @@ return null; |
@@ -46,2 +46,3 @@ 'use strict'; | ||
*/ | ||
// eslint-disable-next-line complexity | ||
module.exports = function(asset, dir, options, decl, warn, result, addDependency) { | ||
@@ -48,0 +49,0 @@ const file = getFile(asset, options, dir, warn); |
37648
657
+ Addedmime@2.6.0(transitive)
+ Addedpicocolors@0.2.1(transitive)
+ Addedpostcss@7.0.39(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedchalk@2.4.2(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedmime@1.6.0(transitive)
- Removedpostcss@6.0.23(transitive)
- Removedsupports-color@5.5.0(transitive)
Updatedmime@^2.3.1
Updatedpostcss@^7.0.2