postcss-normalize-charset
Advanced tools
Comparing version 5.0.3 to 5.1.0
{ | ||
"name": "postcss-normalize-charset", | ||
"version": "5.0.3", | ||
"version": "5.1.0", | ||
"description": "Add necessary or remove extra charset with PostCSS", | ||
@@ -14,3 +14,4 @@ "keywords": [ | ||
"src", | ||
"LICENSE" | ||
"LICENSE", | ||
"types" | ||
], | ||
@@ -24,2 +25,3 @@ "license": "MIT", | ||
"main": "src/index.js", | ||
"types": "types/index.d.ts", | ||
"engines": { | ||
@@ -26,0 +28,0 @@ "node": "^10 || ^12 || >=14.0" |
@@ -6,2 +6,10 @@ 'use strict'; | ||
/** | ||
* @typedef {{add?: boolean}} Options | ||
*/ | ||
/** | ||
* @type {import('postcss').PluginCreator<Options>} | ||
* @param {Options} opts | ||
* @return {import('postcss').Plugin} | ||
*/ | ||
function pluginCreator(opts = {}) { | ||
@@ -12,3 +20,5 @@ return { | ||
OnceExit(css, { AtRule }) { | ||
/** @type {import('postcss').AtRule | undefined} */ | ||
let charsetRule; | ||
/** @type {import('postcss').Node | undefined} */ | ||
let nonAsciiNode; | ||
@@ -15,0 +25,0 @@ |
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
5058
5
68