postcss-calc
Advanced tools
Comparing version 8.2.2 to 8.2.3
@@ -18,5 +18,9 @@ "use strict"; | ||
* selectors?: boolean}} PostCssCalcOptions | ||
* | ||
* @param {PostCssCalcOptions} opts | ||
*/ | ||
/** | ||
* @type {import('postcss').PluginCreator<PostCssCalcOptions>} | ||
* @param {PostCssCalcOptions} opts | ||
* @return {import('postcss').Plugin} | ||
*/ | ||
function pluginCreator(opts) { | ||
@@ -33,6 +37,2 @@ const options = Object.assign({ | ||
/** | ||
* @param {import('postcss').Root} css | ||
* @param {{result: import('postcss').Result}} helpers | ||
*/ | ||
OnceExit(css, { | ||
@@ -39,0 +39,0 @@ result |
{ | ||
"name": "postcss-calc", | ||
"version": "8.2.2", | ||
"version": "8.2.3", | ||
"description": "PostCSS plugin to reduce calc()", | ||
@@ -32,13 +32,13 @@ "keywords": [ | ||
"devDependencies": { | ||
"@babel/cli": "^7.16.0", | ||
"@babel/core": "^7.16.5", | ||
"@babel/plugin-transform-modules-commonjs": "^7.16.5", | ||
"@babel/register": "^7.16.7", | ||
"@babel/cli": "^7.16.8", | ||
"@babel/core": "^7.16.12", | ||
"@babel/plugin-transform-modules-commonjs": "^7.16.8", | ||
"@babel/register": "^7.16.9", | ||
"babel-plugin-add-module-exports": "^1.0.0", | ||
"eslint": "^8.5.0", | ||
"eslint-plugin-import": "^2.25.3", | ||
"eslint": "^8.7.0", | ||
"eslint-plugin-import": "^2.25.4", | ||
"jison-gho": "^0.6.1-216", | ||
"postcss": "^8.2.2", | ||
"rimraf": "^3.0.2", | ||
"typescript": "^4.5.4", | ||
"typescript": "^4.5.5", | ||
"uvu": "^0.5.3" | ||
@@ -45,0 +45,0 @@ }, |
@@ -15,17 +15,11 @@ export default pluginCreator; | ||
* selectors?: boolean}} PostCssCalcOptions | ||
* | ||
* @param {PostCssCalcOptions} opts | ||
*/ | ||
declare function pluginCreator(opts: PostCssCalcOptions): { | ||
postcssPlugin: string; | ||
/** | ||
* @param {import('postcss').Root} css | ||
* @param {{result: import('postcss').Result}} helpers | ||
*/ | ||
OnceExit(css: import('postcss').Root, { result }: { | ||
result: import('postcss').Result; | ||
}): void; | ||
}; | ||
/** | ||
* @type {import('postcss').PluginCreator<PostCssCalcOptions>} | ||
* @param {PostCssCalcOptions} opts | ||
* @return {import('postcss').Plugin} | ||
*/ | ||
declare function pluginCreator(opts: PostCssCalcOptions): import('postcss').Plugin; | ||
declare namespace pluginCreator { | ||
const postcss: boolean; | ||
const postcss: true; | ||
} |
154350
3952