node-px2rem
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -34,2 +34,4 @@ 'use strict'; | ||
} | ||
return 1; | ||
} | ||
@@ -36,0 +38,0 @@ |
{ | ||
"name": "node-px2rem", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Pixel to rem postproccessor", | ||
@@ -32,6 +32,6 @@ "main": "index.js", | ||
"devDependencies": { | ||
"ava": "^0.11.0", | ||
"ava": "^0.12.0", | ||
"coveralls": "^2.11.6", | ||
"eslint": "^1.10.3", | ||
"eslint-config-mito": "^1.0.0", | ||
"eslint": "^2.2.0", | ||
"eslint-config-mito": "^2.0.1", | ||
"nyc": "^5.3.0", | ||
@@ -38,0 +38,0 @@ "pre-commit": "^1.1.2" |
# Pixel to rem [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status][coverage-image]][coverage-url] | ||
Version: **1.1.0** | ||
Version: **1.1.1** | ||
@@ -4,0 +4,0 @@ ## Installation |
@@ -62,2 +62,11 @@ import test from 'ava'; | ||
test('processed with pt `rootValue`', t => { | ||
const validProcessedCSS = fs.readFileSync('./valid/root-value-pt.css', 'utf8'); | ||
const processedCSS = px2rem.process(css, { | ||
rootValue: '1pt' | ||
}); | ||
t.is(processedCSS, validProcessedCSS); | ||
}); | ||
test('processed with `unitPrecision`', t => { | ||
@@ -64,0 +73,0 @@ const validProcessedCSS = fs.readFileSync('./valid/unit-precision.css', 'utf8'); |
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
24498
22
473
0