Socket
Socket
Sign inDemoInstall

postcss-url

Package Overview
Dependencies
5
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.3.2 to 8.0.0

7

CHANGELOG.md

@@ -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

19

package.json
{
"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);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc