Comparing version 1.0.0 to 1.0.1
@@ -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 @@ |
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
6332
2
0
102
0
- Removeddebug@*
- Removedmime@^1.2.11
- Removeddebug@4.3.7(transitive)
- Removedmime@1.6.0(transitive)
- Removedms@2.1.3(transitive)