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

gulp-clean-css

Package Overview
Dependencies
Maintainers
2
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-clean-css - npm Package Compare versions

Comparing version 2.2.2 to 2.3.0

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# 2.3.0 (12/12/2016)
- bug fix #21 => https://github.com/scniro/gulp-clean-css/issues/21
- adding back vinyl-sourcemaps-apply
# 2.2.2 (12/12/2016)

@@ -2,0 +7,0 @@

@@ -0,1 +1,2 @@

const applySourceMap = require('vinyl-sourcemaps-apply');
const CleanCSS = require('clean-css');

@@ -56,2 +57,13 @@ const objectAssign = require('object-assign');

if (css.sourceMap) {
var map = JSON.parse(css.sourceMap);
map.file = path.relative(file.base, file.path);
map.sources = map.sources.map(function (src) {
return path.relative(file.base, file.path)
});
applySourceMap(file, map);
}
cb(null, file);

@@ -58,0 +70,0 @@ });

5

package.json

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

"homepage": "https://github.com/scniro/gulp-clean-css#readme",
"version": "2.2.2",
"version": "2.3.0",
"author": "scniro",

@@ -36,3 +36,4 @@ "license": "MIT",

"object-assign": "^4.1.0",
"through2": "^2.0.3"
"through2": "^2.0.3",
"vinyl-sourcemaps-apply": "^0.2.1"
},

@@ -39,0 +40,0 @@ "devDependencies": {

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