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

gulp-csso

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-csso - npm Package Compare versions

Comparing version 1.1.0 to 2.0.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 2.0.0
* Update CSSO to 2.0.0 (thanks to @lahmatiy).
# 1.1.0

@@ -2,0 +6,0 @@

9

index.js

@@ -80,11 +80,2 @@ 'use strict';

// NOTE: it's temporary, since csso will always return an object in future,
// but currenly returns a string when no source map generation set up
if (typeof result === 'string') {
result = {
css: result,
map: null
};
}
if (result.map) {

@@ -91,0 +82,0 @@ applySourceMap(file, result.map.toJSON());

{
"name": "gulp-csso",
"version": "1.1.0",
"version": "2.0.0",
"description": "Minify CSS with CSSO.",

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

"dependencies": {
"csso": "^1.6.3",
"csso": "^2.0.0",
"gulp-util": "^3.0.6",

@@ -29,0 +29,0 @@ "vinyl-sourcemaps-apply": "^0.2.1"

@@ -92,2 +92,9 @@ # [gulp](https://github.com/gulpjs/gulp)-csso [![Build Status](https://travis-ci.org/ben-eb/gulp-csso.svg?branch=master)](https://travis-ci.org/ben-eb/gulp-csso) [![NPM version](https://badge.fury.io/js/gulp-csso.svg)](http://badge.fury.io/js/gulp-csso) [![Dependency Status](https://gemnasium.com/ben-eb/gulp-csso.svg)](https://gemnasium.com/ben-eb/gulp-csso)

##### usage
Type: `object`
Default: `null`
Usage data for advanced optimisations (read more in the [CSSO documentation](https://github.com/css/csso#usage-data)).
## Contributing

@@ -94,0 +101,0 @@

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