Socket
Socket
Sign inDemoInstall

postcss-nested-props

Package Overview
Dependencies
11
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.7 to 2.0.0

3

CHANGELOG.md

@@ -0,1 +1,4 @@

## 2.0.0
**Breaking:** Upgrade to PostCSS 6 (no longer works with PostCSS 5).
## 1.1.7

@@ -2,0 +5,0 @@ - Fix module resolution ([#26](https://github.com/jedmao/postcss-nested-props/pull/26)).

2

dist/plugin.js

@@ -49,3 +49,3 @@ "use strict";

rule.walkDecls(decl2 => {
decl2.moveBefore(rule);
rule.before(decl2.remove());
});

@@ -52,0 +52,0 @@ rule.remove();

{
"name": "postcss-nested-props",
"version": "1.1.7",
"version": "2.0.0",
"description": "PostCSS plugin to unwrap nested properties.",

@@ -10,9 +10,10 @@ "main": "dist/plugin.js",

"codecov": "codecov -f coverage/lcov.info",
"compile": "tsc",
"compile:watch": "tsc --watch",
"build": "tsc",
"build:watch": "tsc --watch",
"prepublish": "npm test",
"pretest": "npm run tslint && npm run clean && npm run compile",
"pretest": "npm run tslint && npm run clean && npm run build",
"test": "nyc ava",
"test:watch": "ava --watch",
"tslint": "tslint --project tsconfig.json"
"tslint": "tslint --project tsconfig.json",
"watch": "npm run test:watch"
},

@@ -66,14 +67,14 @@ "ava": {

"dependencies": {
"postcss": "^5.2.15",
"postcss": "^6.0.14",
"pseudo-classes": "^1.0.0",
"pseudo-elements": "^1.0.0"
"pseudo-elements": "^1.1.0"
},
"devDependencies": {
"@types/node": "^7.0.5",
"ava": "^0.18.2",
"nyc": "^10.1.2",
"rimraf": "^2.6.0",
"tslint": "^4.4.2",
"typescript": "^2.2.1"
"@types/node": "^8.0.47",
"ava": "^0.23.0",
"nyc": "^11.3.0",
"rimraf": "^2.6.2",
"tslint": "^5.8.0",
"typescript": "^2.6.1"
}
}

@@ -11,3 +11,3 @@ # postcss-nested-props

[![codecov](https://codecov.io/gh/jedmao/postcss-nested-props/branch/master/graph/badge.svg)](https://codecov.io/gh/jedmao/postcss-nested-props)
[![CircleCI](https://circleci.com/gh/jedmao/postcss-nested-props.svg?style=svg)](https://circleci.com/gh/jedmao/postcss-nested-props)
[![Dependency Status](https://gemnasium.com/badges/github.com/jedmao/postcss-nested-props.svg)](https://gemnasium.com/github.com/jedmao/postcss-nested-props)

@@ -88,1 +88,27 @@ [![npm](https://nodei.co/npm/postcss-nested-props.svg?downloads=true)](https://nodei.co/npm/postcss-nested-props/)

None at this time.
## Testing
Run the following command:
```
$ npm test
```
This will build scripts, run tests and generate a code coverage report. Anything less than 100% coverage will throw an error.
### Watching
For much faster development cycles, run the following commands in 2 separate processes:
```
$ npm run build:watch
```
Compiles TypeScript source into the `./dist` folder and watches for changes.
```
$ npm run watch
```
Runs the tests in the `./dist` folder and watches for changes.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc