Socket
Socket
Sign inDemoInstall

postcss-normalize-charset

Package Overview
Dependencies
4
Maintainers
7
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.1 to 5.0.2

18

package.json
{
"name": "postcss-normalize-charset",
"version": "5.0.1",
"version": "5.0.2",
"description": "Add necessary or remove extra charset with PostCSS",

@@ -13,3 +13,4 @@ "keywords": [

"files": [
"dist"
"dist",
"LICENSE"
],

@@ -23,7 +24,2 @@ "license": "MIT",

"main": "dist/index.js",
"scripts": {
"prebuild": "del-cli dist",
"build": "cross-env BABEL_ENV=publish babel src --config-file ../../babel.config.json --out-dir dist --ignore \"**/__tests__/\"",
"prepublish": "yarn build"
},
"engines": {

@@ -38,3 +34,7 @@ "node": "^10 || ^12 || >=14.0"

},
"gitHead": "28c247175032fa03f04911cde56ad82d74d211cc"
}
"scripts": {
"prebuild": "rimraf dist",
"build": "babel src --config-file ../../babel.config.json --out-dir dist --ignore \"**/__tests__/\""
},
"readme": "# postcss-normalize-charset\n\nAdd necessary or remove extra charset with PostCSS\n\n```css\na{\n content: \"©\";\n}\n```\n\n```css\n@charset \"utf-8\";\na{\n content: \"©\";\n}\n```\n\n## API\n\n### normalizeCharset([options])\n\n#### options\n\n##### add\n\nType: `boolean` \nDefault: `true`\n\nPass `false` to stop the module from adding a `@charset` declaration if it was\nmissing from the file (and the file contained non-ascii characters).\n\n## Usage\n\nSee the [PostCSS documentation](https://github.com/postcss/postcss#usage) for\nexamples for your environment.\n\n## Contributors\n\nSee [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).\n\n## License\n\nMIT © [Bogdan Chadkin](mailto:trysound@yandex.ru)\n"
}
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