Socket
Socket
Sign inDemoInstall

rework

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rework - npm Package Compare versions

Comparing version 0.4.1 to 0.5.0

5

History.md
0.5.0 / 2012-09-17
==================
* add `.toString({ compress: true })` support
0.4.1 / 2012-09-17

@@ -3,0 +8,0 @@ ==================

5

lib/rework.js

@@ -68,2 +68,3 @@

*
* @param {Object} options
* @return {String}

@@ -73,4 +74,4 @@ * @api public

Rework.prototype.toString = function(){
return css.stringify(this.obj);
Rework.prototype.toString = function(options){
return css.stringify(this.obj, options);
};

@@ -77,0 +78,0 @@

2

package.json
{
"name": "rework",
"version": "0.4.1",
"version": "0.5.0",
"description": "CSS manipulations built on CSSOM",

@@ -5,0 +5,0 @@ "keywords": ["css", "manipulation", "preprocess", "transform"],

@@ -29,3 +29,2 @@ # rework

```

@@ -57,5 +56,6 @@

### Rework#toString()
### Rework#toString(options)
Return the string representation of the manipulated css.
Return the string representation of the manipulated css. Optionally
you may compress the output with `.toString({ compress: true })`

@@ -62,0 +62,0 @@ ## Plugins

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