diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-12-21 22:46:53 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-12-21 22:46:53 +0800 |
| commit | f06956efd2dc4bf77244a9fcce2b883a00b925af (patch) | |
| tree | 0123cb73ce67f1f4b17e1d6cbabff076ee44e31b /node_modules/@csstools/postcss-nested-calc | |
| parent | 8d980c13970c15b6d2312b6fc4ac51698dd0d220 (diff) | |
updated node modules
Diffstat (limited to 'node_modules/@csstools/postcss-nested-calc')
6 files changed, 28 insertions, 50 deletions
diff --git a/node_modules/@csstools/postcss-nested-calc/CHANGELOG.md b/node_modules/@csstools/postcss-nested-calc/CHANGELOG.md index fc9be8f1..bd4cf68e 100644 --- a/node_modules/@csstools/postcss-nested-calc/CHANGELOG.md +++ b/node_modules/@csstools/postcss-nested-calc/CHANGELOG.md @@ -1,5 +1,11 @@ # Changes to PostCSS Nested Calc +### 3.0.1 + +_December 15, 2023_ + +- Fix type definitions + ### 3.0.0 _July 3, 2023_ @@ -12,20 +18,4 @@ _February 9, 2023_ - Reduce the amount of duplicate fallback CSS. -### 2.0.1 - -_January 28, 2023_ - -- Improve `types` declaration in `package.json` - -### 2.0.0 - -_January 24, 2023_ - -- Updated: Support for Node v14+ (major). - -### 1.0.0 - -_August 15, 2022_ - -- Initial version +[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-nested-calc/CHANGELOG.md) diff --git a/node_modules/@csstools/postcss-nested-calc/README.md b/node_modules/@csstools/postcss-nested-calc/README.md index fb7beee0..5b822e35 100644 --- a/node_modules/@csstools/postcss-nested-calc/README.md +++ b/node_modules/@csstools/postcss-nested-calc/README.md @@ -2,6 +2,10 @@ [<img alt="npm version" src="https://img.shields.io/npm/v/@csstools/postcss-nested-calc.svg" height="20">][npm-url] [<img alt="CSS Standard Status" src="https://cssdb.org/images/badges/nested-calc.svg" height="20">][css-url] [<img alt="Build Status" src="https://github.com/csstools/postcss-plugins/workflows/test/badge.svg" height="20">][cli-url] [<img alt="Discord" src="https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white">][discord] +```bash +npm install @csstools/postcss-nested-calc --save-dev +``` + [PostCSS Nested Calc] lets you use nested `calc()` expressions following the [CSS Values and Units 4 specification]. ```pcss diff --git a/node_modules/@csstools/postcss-nested-calc/dist/has-fallback-decl.d.ts b/node_modules/@csstools/postcss-nested-calc/dist/has-fallback-decl.d.ts deleted file mode 100644 index d7ae8d89..00000000 --- a/node_modules/@csstools/postcss-nested-calc/dist/has-fallback-decl.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import type { Declaration } from 'postcss'; -export declare function hasFallback(node: Declaration): boolean; diff --git a/node_modules/@csstools/postcss-nested-calc/dist/index.d.ts b/node_modules/@csstools/postcss-nested-calc/dist/index.d.ts index 139448be..d6f1df1e 100644 --- a/node_modules/@csstools/postcss-nested-calc/dist/index.d.ts +++ b/node_modules/@csstools/postcss-nested-calc/dist/index.d.ts @@ -1,8 +1,12 @@ import type { PluginCreator } from 'postcss'; + +declare const creator: PluginCreator<pluginOptions>; +export default creator; + /** postcss-nested-calc plugin options */ -export type pluginOptions = { +export declare type pluginOptions = { /** Preserve the original notation. default: true */ preserve?: boolean; }; -declare const creator: PluginCreator<pluginOptions>; -export default creator; + +export { } diff --git a/node_modules/@csstools/postcss-nested-calc/dist/occurrences.d.ts b/node_modules/@csstools/postcss-nested-calc/dist/occurrences.d.ts deleted file mode 100644 index 61f8b784..00000000 --- a/node_modules/@csstools/postcss-nested-calc/dist/occurrences.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function numberOfCalcOccurrences(value: string): number; diff --git a/node_modules/@csstools/postcss-nested-calc/package.json b/node_modules/@csstools/postcss-nested-calc/package.json index 3f36e0b1..d4bb4e20 100644 --- a/node_modules/@csstools/postcss-nested-calc/package.json +++ b/node_modules/@csstools/postcss-nested-calc/package.json @@ -1,7 +1,7 @@ { "name": "@csstools/postcss-nested-calc", "description": "Use nested calc() expressions in CSS", - "version": "3.0.0", + "version": "3.0.1", "contributors": [ { "name": "Antonio Laguna", @@ -27,15 +27,18 @@ "engines": { "node": "^14 || ^16 || >=18" }, + "type": "module", "main": "dist/index.cjs", "module": "dist/index.mjs", - "types": "dist/index.d.ts", "exports": { ".": { - "types": "./dist/index.d.ts", - "import": "./dist/index.mjs", - "require": "./dist/index.cjs", - "default": "./dist/index.mjs" + "import": { + "types": "./dist/index.d.ts", + "default": "./dist/index.mjs" + }, + "require": { + "default": "./dist/index.cjs" + } } }, "files": [ @@ -50,17 +53,6 @@ "peerDependencies": { "postcss": "^8.4" }, - "devDependencies": { - "@csstools/postcss-tape": "*" - }, - "scripts": { - "build": "rollup -c ../../rollup/default.mjs", - "docs": "node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs", - "lint": "node ../../.github/bin/format-package-json.mjs", - "prepublishOnly": "npm run build && npm run test", - "test": "node .tape.mjs && node ./test/_import.mjs && node ./test/_require.cjs", - "test:rewrite-expects": "REWRITE_EXPECTS=true node .tape.mjs" - }, "homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-nested-calc#readme", "repository": { "type": "git", @@ -74,14 +66,5 @@ "math", "nested", "postcss-plugin" - ], - "csstools": { - "cssdbId": "nested-calc", - "exportName": "postcssNestedCalc", - "humanReadableName": "PostCSS Nested Calc", - "specUrl": "https://www.w3.org/TR/css-values/#calc-func" - }, - "volta": { - "extends": "../../package.json" - } + ] } |
