Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-single-charset

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-single-charset - npm Package Compare versions

Comparing version 0.3.0 to 1.0.0

4

index.js

@@ -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
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