🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

rework

Package Overview
Dependencies
Maintainers
11
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

to
1.0.1

2

index.js

@@ -7,2 +7,3 @@

var css = require('css');
var convertSourceMap = require('convert-source-map');
var parse = css.parse;

@@ -80,5 +81,4 @@ var stringify = css.stringify;

function sourcemapToComment(map) {
var convertSourceMap = require('convert-source-map');
var content = convertSourceMap.fromObject(map).toBase64();
return '/*# sourceMappingURL=data:application/json;base64,' + content + ' */';
}
{
"name": "rework",
"version": "1.0.0",
"version": "1.0.1",
"description": "Plugin framework for CSS preprocessing",

@@ -11,9 +11,7 @@ "main": "index",

"css": "^2.0.0",
"mime": "^1.2.11",
"debug": "*",
"convert-source-map": "^0.3.3"
},
"devDependencies": {
"mocha": "*",
"should": "*"
"mocha": "^1.20.1",
"should": "^4.0.4"
},

@@ -20,0 +18,0 @@ "scripts": {

@@ -57,9 +57,10 @@ # rework [![Build Status](https://travis-ci.org/reworkcss/rework.png)](https://travis-ci.org/reworkcss/rework)

- [calc](https://github.com/reworkcss/rework-calc) – resolve simple `calc()` expressions
- [colors](https://github.com/reworkcss/rework-plugin-colors/) – add colour helpers like `rgba(#fc0, .5)`
- [colors](https://github.com/reworkcss/rework-plugin-colors/) – color helpers like `rgba(#fc0, .5)`
- [ease](https://github.com/reworkcss/rework-plugin-ease/) – several additional easing functions
- [extend](https://github.com/reworkcss/rework-inherit/) – `extend: selector` support
- [function](https://github.com/reworkcss/rework-plugin-function/) – user-defined CSS functions
- [import](https://github.com/reworkcss/rework-import) – read and inline css via `@import`
- [inline](https://github.com/reworkcss/rework-plugin-inline) – inline assets as dataURI with base64 encoding
- [import](https://github.com/reworkcss/rework-import) – read and inline CSS via `@import`
- [inline](https://github.com/reworkcss/rework-plugin-inline) – inline assets as data URIs
- [mixin](https://github.com/reworkcss/rework-plugin-mixin/) – custom property logic with mixins
- [npm](https://github.com/reworkcss/rework-npm) - inline CSS via `@import` using node's module resolver
- [references](https://github.com/reworkcss/rework-plugin-references/) – property references like `height: @width`

@@ -81,3 +82,4 @@ - [url](https://github.com/reworkcss/rework-plugin-url/) – rewrite `url()`s with a given function

Copyright (c) 2012 - 2013 TJ Holowaychuk <tj@vision-media.ca>
Copyright (c) 2012–2013 TJ Holowaychuk <tj@vision-media.ca>
Copyright (c) 2014 Contributors

@@ -84,0 +86,0 @@