Socket
Socket
Sign inDemoInstall

css-declaration-sorter

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

css-declaration-sorter - npm Package Compare versions

Comparing version 6.0.1 to 6.0.2

6

changelog.md

@@ -5,2 +5,6 @@ # Changelog

## [6.0.2] - 2020-11-04
### Fixed
- Loading built-in order using a relative path.
## [6.0.1] - 2020-10-26

@@ -79,2 +83,4 @@ ### Added

[6.0.2]: https://github.com/Siilwyn/css-declaration-sorter/compare/v6.0.1...v6.0.2
[6.0.1]: https://github.com/Siilwyn/css-declaration-sorter/compare/v5.1.2...v6.0.1
[5.1.2]: https://github.com/Siilwyn/css-declaration-sorter/compare/v5.1.1...v5.1.2

@@ -81,0 +87,0 @@ [5.1.1]: https://github.com/Siilwyn/css-declaration-sorter/compare/v5.1.0...v5.1.1

8

package.json
{
"name": "css-declaration-sorter",
"version": "6.0.1",
"version": "6.0.2",
"description": "Sorts CSS declarations fast and automatically in a certain order.",

@@ -30,5 +30,5 @@ "type": "module",

"ava": "^3.13.0",
"eslint": "^7.11.0",
"postcss": "^8.1.1",
"rollup": "^2.27.0"
"eslint": "^7.12.1",
"postcss": "^8.1.4",
"rollup": "^2.32.1"
},

@@ -35,0 +35,0 @@ "peerDependencies": {

@@ -104,16 +104,7 @@ <img alt='CSS declaration sorter logo' src='https://raw.githubusercontent.com/Siilwyn/css-declaration-sorter/master/logo.svg?sanitize=true' height='260' align='right'>

```
___
### Gulp
```js
import gulp from 'gulp';
import gulpPostcss from 'gulp-postcss';
import cssDeclarationSorter from 'css-declaration-sorter';
**[View usage examples](/examples) for more in combination with other tools.**
gulp.task('css', function () {
return gulp.src('some.css')
.pipe(gulpPostcss([cssDeclarationSorter({ order: 'smacss'} )]))
.pipe(gulp.dest('./'));
});
```
See [PostCSS] documentation for more examples and other environments.
___

@@ -120,0 +111,0 @@ ## API

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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