postcss-single-charset
Advanced tools
Comparing version 0.3.0 to 1.0.0
@@ -8,3 +8,3 @@ "use strict"; | ||
var metCharset = false; | ||
css.eachAtRule("charset", function (atRule) { | ||
css.walkAtRules("charset", function (atRule) { | ||
if (!metCharset) { | ||
@@ -15,5 +15,5 @@ metCharset = true; | ||
atRule.removeSelf(); | ||
atRule.remove(); | ||
}); | ||
}; | ||
}); |
{ | ||
"name": "postcss-single-charset", | ||
"description": "Pop first @charset rule in CSS file.", | ||
"version": "0.3.0", | ||
"version": "1.0.0", | ||
"author": "Kyo Nagashima <hail2u@gmail.com> (https://kyonagashima.com/)", | ||
@@ -11,14 +11,11 @@ "bugs": { | ||
"fs-extra": "^0.14.0", | ||
"postcss": "^4.1.0" | ||
"postcss": "^5.0.0" | ||
}, | ||
"homepage": "https://github.com/hail2u/postcss-single-charset", | ||
"keywords": [ | ||
"css", | ||
"charset", | ||
"css", | ||
"postcss-plugin" | ||
], | ||
"license": { | ||
"type": "MIT", | ||
"url": "http://hail2u.mit-license.org/2015" | ||
}, | ||
"license": "MIT", | ||
"main": "index.js", | ||
@@ -25,0 +22,0 @@ "repository": { |
@@ -99,3 +99,5 @@ postcss-single-charset | ||
This was not tested. I suggest using [`grunt-postcss`][2]. | ||
LICENSE | ||
@@ -108,1 +110,2 @@ ------- | ||
[1]: https://github.com/postcss/postcss#source-map | ||
[2]: https://github.com/nDmitry/grunt-postcss |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4734
0
110
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.1(transitive)
+ Addedchalk@1.1.3(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedhas-flag@1.0.0(transitive)
+ Addedjs-base64@2.6.4(transitive)
+ Addedpostcss@5.2.18(transitive)
+ Addedsource-map@0.5.7(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedsupports-color@2.0.03.2.3(transitive)
- Removedamdefine@1.0.1(transitive)
- Removedes6-promise@2.3.0(transitive)
- Removedjs-base64@2.1.9(transitive)
- Removedpostcss@4.1.16(transitive)
- Removedsource-map@0.4.4(transitive)
Updatedpostcss@^5.0.0