css-declaration-sorter
Advanced tools
Comparing version 6.0.1 to 6.0.2
@@ -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 |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
50518
1780
0
134
3