New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

broccoli-clean-css

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-clean-css - npm Package Compare versions

Comparing version 3.0.0-0 to 3.0.0-1

12

index.js

@@ -47,13 +47,3 @@ 'use strict';

build() {
if (typeof this[internalOptions].rebaseTo === 'string') {
this[internalInstance] = new CleanCssPromise({
...this[internalOptions],
rebaseTo: resolve(this.inputPaths[0], this[internalOptions].rebaseTo)
});
} else {
this[internalInstance] = new CleanCssPromise({
rebaseTo: this.inputPaths[0],
...this[internalOptions]
});
}
this[internalInstance] = new CleanCssPromise(this[internalOptions]);

@@ -60,0 +50,0 @@ return super.build();

2

package.json
{
"name": "broccoli-clean-css",
"version": "3.0.0-0",
"version": "3.0.0-1",
"description": "CSS minifier for Broccoli, using clean-css",

@@ -5,0 +5,0 @@ "repository": "shinnn/broccoli-clean-css",

# broccoli-clean-css
[![npm version](https://img.shields.io/npm/v/broccoli-clean-css.svg)](https://www.npmjs.com/package/broccoli-clean-css)
[![Build Status](https://travis-ci.org/shinnn/broccoli-clean-css.svg?branch=master)](https://travis-ci.org/shinnn/broccoli-clean-css)
[![Build Status](https://travis-ci.com/shinnn/broccoli-clean-css.svg?branch=master)](https://travis-ci.com/shinnn/broccoli-clean-css)
[![Coverage Status](https://img.shields.io/coveralls/shinnn/broccoli-clean-css.svg)](https://coveralls.io/github/shinnn/broccoli-clean-css?branch=master)
[Broccoli](https://github.com/broccolijs/broccoli) plugin to minify CSS with [clean-css](https://github.com/jakubpawlowicz/clean-css)
A [Broccoli](https://github.com/broccolijs/broccoli) plugin to minify CSS with [clean-css](https://github.com/jakubpawlowicz/clean-css)
```css
a {
color: #FF0000;
color: #ff0000;
}
a {
border-radius: 4px 4px 4px 4px;
b {
/* nothing */
}

@@ -22,3 +22,3 @@ ```

```css
a{color:red;border-radius:4px}
a{color:red}
```

@@ -28,3 +28,3 @@

[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).
[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/about-npm/).

@@ -55,3 +55,2 @@ ```

* `rebaseTo` option is regarded as relative to the Broccoli target path.
* `returnPromise` option defaults to `true` and cannot be disabled.

@@ -62,4 +61,4 @@ * All problems that clean-css considers as *warnings*, for example broken CSS syntax, are regarded as errors.

Copyright (c) 2014 - 2018 [Shinnosuke Watanabe](https://github.com/shinnn)
Copyright (c) 2014 - 2019 [Watanabe Shinnosuke](https://github.com/shinnn)
Licensed under [the MIT License](./LICENSE).

Sorry, the diff of this file is not supported yet

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