From fc87c009806dcc98867f6b58efe29b042aa01dee Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 18 May 2026 23:10:59 +0800 Subject: node: update --- .../postcss-trigonometric-functions/CHANGELOG.md | 27 ---- .../postcss-trigonometric-functions/LICENSE.md | 18 --- .../postcss-trigonometric-functions/README.md | 162 --------------------- .../postcss-trigonometric-functions/dist/index.cjs | 1 - .../dist/index.d.ts | 12 -- .../postcss-trigonometric-functions/dist/index.mjs | 1 - .../postcss-trigonometric-functions/package.json | 78 ---------- 7 files changed, 299 deletions(-) delete mode 100644 node_modules/@csstools/postcss-trigonometric-functions/CHANGELOG.md delete mode 100644 node_modules/@csstools/postcss-trigonometric-functions/LICENSE.md delete mode 100644 node_modules/@csstools/postcss-trigonometric-functions/README.md delete mode 100644 node_modules/@csstools/postcss-trigonometric-functions/dist/index.cjs delete mode 100644 node_modules/@csstools/postcss-trigonometric-functions/dist/index.d.ts delete mode 100644 node_modules/@csstools/postcss-trigonometric-functions/dist/index.mjs delete mode 100644 node_modules/@csstools/postcss-trigonometric-functions/package.json (limited to 'node_modules/@csstools/postcss-trigonometric-functions') diff --git a/node_modules/@csstools/postcss-trigonometric-functions/CHANGELOG.md b/node_modules/@csstools/postcss-trigonometric-functions/CHANGELOG.md deleted file mode 100644 index b84d88fe..00000000 --- a/node_modules/@csstools/postcss-trigonometric-functions/CHANGELOG.md +++ /dev/null @@ -1,27 +0,0 @@ -# Changes to PostCSS Trigonometric Functions - -### 3.0.10 - -_July 6, 2024_ - -- Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`2.4.1`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#241) (patch) -- Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`2.7.1`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#271) (patch) -- Updated [`@csstools/css-calc`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc) to [`1.2.4`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc/CHANGELOG.md#124) (patch) - -### 3.0.9 - -_June 29, 2024_ - -- Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`2.3.2`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#232) (patch) -- Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`2.7.0`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#270) (minor) -- Updated [`@csstools/css-calc`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc) to [`1.2.3`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc/CHANGELOG.md#123) (patch) - -### 3.0.8 - -_May 4, 2024_ - -- Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`2.3.1`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#231) (patch) -- Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`2.6.3`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#263) (patch) -- Updated [`@csstools/css-calc`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc) to [`1.2.2`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc/CHANGELOG.md#122) (patch) - -[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-trigonometric-functions/CHANGELOG.md) diff --git a/node_modules/@csstools/postcss-trigonometric-functions/LICENSE.md b/node_modules/@csstools/postcss-trigonometric-functions/LICENSE.md deleted file mode 100644 index e8ae93b9..00000000 --- a/node_modules/@csstools/postcss-trigonometric-functions/LICENSE.md +++ /dev/null @@ -1,18 +0,0 @@ -MIT No Attribution (MIT-0) - -Copyright © CSSTools Contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the “Software”), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so. - -THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/node_modules/@csstools/postcss-trigonometric-functions/README.md b/node_modules/@csstools/postcss-trigonometric-functions/README.md deleted file mode 100644 index 342c2525..00000000 --- a/node_modules/@csstools/postcss-trigonometric-functions/README.md +++ /dev/null @@ -1,162 +0,0 @@ -# PostCSS Trigonometric Functions [PostCSS Logo][PostCSS] - -[npm version][npm-url] [Build Status][cli-url] [Discord][discord]

[Baseline Status][css-url] [CSS Standard Status][css-url] - -```bash -npm install @csstools/postcss-trigonometric-functions --save-dev -``` - -[PostCSS Trigonometric Functions] lets you use `sin`, `cos`, `tan`, `asin`, `acos`, `atan` and `atan2` to be able to compute trigonometric relationships following the [CSS Values 4] specification. - -```pcss -.trigonometry { - line-height: sin(pi / 4); - line-height: cos(.125turn); - line-height: tan(50grad); - transform: rotate(asin(-1)); - transform: rotate(asin(sin(30deg + 1.0471967rad))); - transform: rotate(acos(-1)); - transform: rotate(acos(cos(0 / 2 + 1 - 1))); - transform: rotate(atan(infinity)); - transform: rotate(atan(e - 2.7182818284590452354)); - transform: rotate(atan2(-infinity,-infinity)); - transform: rotate(atan2(-infinity,infinity)); - transform: rotate(atan2(-infinity,infinity)); - transform: rotate(atan2(90, 15)); -} - -/* becomes */ - -.trigonometry { - line-height: 0.70711; - line-height: 0.70711; - line-height: 1; - transform: rotate(-90deg); - transform: rotate(89.99995deg); - transform: rotate(180deg); - transform: rotate(0deg); - transform: rotate(90deg); - transform: rotate(0deg); - transform: rotate(-135deg); - transform: rotate(-45deg); - transform: rotate(-45deg); - transform: rotate(80.53768deg); -} -``` - -## Usage - -Add [PostCSS Trigonometric Functions] to your project: - -```bash -npm install postcss @csstools/postcss-trigonometric-functions --save-dev -``` - -Use it as a [PostCSS] plugin: - -```js -const postcss = require('postcss'); -const postcssTrigonometricFunctions = require('@csstools/postcss-trigonometric-functions'); - -postcss([ - postcssTrigonometricFunctions(/* pluginOptions */) -]).process(YOUR_CSS /*, processOptions */); -``` - -[PostCSS Trigonometric Functions] runs in all Node environments, with special -instructions for: - -- [Node](INSTALL.md#node) -- [PostCSS CLI](INSTALL.md#postcss-cli) -- [PostCSS Load Config](INSTALL.md#postcss-load-config) -- [Webpack](INSTALL.md#webpack) -- [Next.js](INSTALL.md#nextjs) -- [Gulp](INSTALL.md#gulp) -- [Grunt](INSTALL.md#grunt) - -## ⚠️ About custom properties - -Given the dynamic nature of custom properties it's impossible to know what the variable value is, which means the plugin can't compute a final value for the stylesheet. - -Because of that, any usage that contains a `var` is skipped. - -## Units - -[PostCSS Trigonometric Functions] lets you use different special units that are within the spec and computed at run time to be able to calculate the result of the trigonometric function. - -The following units are supported: - -* `pi`: Computes to `Math.PI` which is `3.141592653589793` -* `e`: Computes to `Math.E` which is `2.718281828459045` -* `infinity`, `-infinity`: Compute to `Infinity` and `-Infinity` respectively. Note that the usage is case insensitive so `InFiNiTy` is a valid value. - -Some calculations (such as `sin(-infinity)`) might return `NaN` as per the spec. Given that `NaN` can't be replaced with a value that's useful to CSS it is left as is, as the result will be effectively ignored by the browser. - -## Options - -### preserve - -The `preserve` option determines whether the original notation -is preserved. By default, it is not preserved. - -```js -postcssTrigonometricFunctions({ preserve: true }) -``` - -```pcss -.trigonometry { - line-height: sin(pi / 4); - line-height: cos(.125turn); - line-height: tan(50grad); - transform: rotate(asin(-1)); - transform: rotate(asin(sin(30deg + 1.0471967rad))); - transform: rotate(acos(-1)); - transform: rotate(acos(cos(0 / 2 + 1 - 1))); - transform: rotate(atan(infinity)); - transform: rotate(atan(e - 2.7182818284590452354)); - transform: rotate(atan2(-infinity,-infinity)); - transform: rotate(atan2(-infinity,infinity)); - transform: rotate(atan2(-infinity,infinity)); - transform: rotate(atan2(90, 15)); -} - -/* becomes */ - -.trigonometry { - line-height: 0.70711; - line-height: sin(pi / 4); - line-height: 0.70711; - line-height: cos(.125turn); - line-height: 1; - line-height: tan(50grad); - transform: rotate(-90deg); - transform: rotate(asin(-1)); - transform: rotate(89.99995deg); - transform: rotate(asin(sin(30deg + 1.0471967rad))); - transform: rotate(180deg); - transform: rotate(acos(-1)); - transform: rotate(0deg); - transform: rotate(acos(cos(0 / 2 + 1 - 1))); - transform: rotate(90deg); - transform: rotate(atan(infinity)); - transform: rotate(0deg); - transform: rotate(atan(e - 2.7182818284590452354)); - transform: rotate(-135deg); - transform: rotate(atan2(-infinity,-infinity)); - transform: rotate(-45deg); - transform: rotate(atan2(-infinity,infinity)); - transform: rotate(-45deg); - transform: rotate(atan2(-infinity,infinity)); - transform: rotate(80.53768deg); - transform: rotate(atan2(90, 15)); -} -``` - -[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test -[css-url]: https://cssdb.org/#trigonometric-functions -[discord]: https://discord.gg/bUadyRwkJS -[npm-url]: https://www.npmjs.com/package/@csstools/postcss-trigonometric-functions - -[PostCSS]: https://github.com/postcss/postcss -[PostCSS Trigonometric Functions]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-trigonometric-functions -[CSS Values 4]: https://www.w3.org/TR/css-values-4/#trig-funcs diff --git a/node_modules/@csstools/postcss-trigonometric-functions/dist/index.cjs b/node_modules/@csstools/postcss-trigonometric-functions/dist/index.cjs deleted file mode 100644 index 1ba42783..00000000 --- a/node_modules/@csstools/postcss-trigonometric-functions/dist/index.cjs +++ /dev/null @@ -1 +0,0 @@ -"use strict";var s=require("@csstools/css-calc");const e=/(?{const c=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-trigonometric-functions",Declaration(t){if(!e.test(t.value))return;const o=s.calc(t.value,{precision:5,toCanonicalUnits:!0});o!==t.value&&(t.cloneBefore({value:o}),c.preserve||t.remove())}}};creator.postcss=!0,module.exports=creator; diff --git a/node_modules/@csstools/postcss-trigonometric-functions/dist/index.d.ts b/node_modules/@csstools/postcss-trigonometric-functions/dist/index.d.ts deleted file mode 100644 index 21e16153..00000000 --- a/node_modules/@csstools/postcss-trigonometric-functions/dist/index.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import type { PluginCreator } from 'postcss'; - -declare const creator: PluginCreator; -export default creator; - -/** postcss-trigonometric-functions plugin options */ -export declare type pluginOptions = { - /** Preserve the original notation. default: false */ - preserve?: boolean; -}; - -export { } diff --git a/node_modules/@csstools/postcss-trigonometric-functions/dist/index.mjs b/node_modules/@csstools/postcss-trigonometric-functions/dist/index.mjs deleted file mode 100644 index 686ebd56..00000000 --- a/node_modules/@csstools/postcss-trigonometric-functions/dist/index.mjs +++ /dev/null @@ -1 +0,0 @@ -import{calc as s}from"@csstools/css-calc";const e=/(?{const o=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-trigonometric-functions",Declaration(t){if(!e.test(t.value))return;const n=s(t.value,{precision:5,toCanonicalUnits:!0});n!==t.value&&(t.cloneBefore({value:n}),o.preserve||t.remove())}}};creator.postcss=!0;export{creator as default}; diff --git a/node_modules/@csstools/postcss-trigonometric-functions/package.json b/node_modules/@csstools/postcss-trigonometric-functions/package.json deleted file mode 100644 index dd15521c..00000000 --- a/node_modules/@csstools/postcss-trigonometric-functions/package.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "name": "@csstools/postcss-trigonometric-functions", - "description": "Use sin(), cos(), tan(), acos(), atan(), and atan2() to compute trigonometric relationships", - "version": "3.0.10", - "contributors": [ - { - "name": "Antonio Laguna", - "email": "antonio@laguna.es", - "url": "https://antonio.laguna.es" - }, - { - "name": "Romain Menke", - "email": "romainmenke@gmail.com" - } - ], - "license": "MIT-0", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/csstools" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/csstools" - } - ], - "engines": { - "node": "^14 || ^16 || >=18" - }, - "type": "module", - "main": "dist/index.cjs", - "module": "dist/index.mjs", - "exports": { - ".": { - "import": { - "types": "./dist/index.d.ts", - "default": "./dist/index.mjs" - }, - "require": { - "default": "./dist/index.cjs" - } - } - }, - "files": [ - "CHANGELOG.md", - "LICENSE.md", - "README.md", - "dist" - ], - "dependencies": { - "@csstools/css-calc": "^1.2.4", - "@csstools/css-parser-algorithms": "^2.7.1", - "@csstools/css-tokenizer": "^2.4.1" - }, - "peerDependencies": { - "postcss": "^8.4" - }, - "scripts": {}, - "homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-trigonometric-functions#readme", - "repository": { - "type": "git", - "url": "git+https://github.com/csstools/postcss-plugins.git", - "directory": "plugins/postcss-trigonometric-functions" - }, - "bugs": "https://github.com/csstools/postcss-plugins/issues", - "keywords": [ - "acos", - "acos2", - "asin", - "atan", - "cos", - "css", - "postcss-plugin", - "sin", - "tan", - "trigonometric" - ] -} -- cgit v1.2.3