Socket
Socket
Sign inDemoInstall

@csstools/postcss-trigonometric-functions

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@csstools/postcss-trigonometric-functions - npm Package Compare versions

Comparing version 1.0.2 to 2.0.0

4

CHANGELOG.md
# Changes to PostCSS Trigonometric Functions
### 2.0.0 (January 24, 2023)
- Updated: Support for Node v14+ (major).
### 1.0.2 (July 8, 2022)

@@ -4,0 +8,0 @@

4

dist/index.d.ts
import type { PluginCreator } from 'postcss';
declare type pluginOptions = {
/** postcss-trigonometric-functions plugin options */
export type pluginOptions = {
/** Preserve the original notation. default: false */
preserve?: boolean;

@@ -4,0 +6,0 @@ };

@@ -59,4 +59,4 @@ import type { FunctionNode, WordNode, Node } from 'postcss-value-parser';

};
declare type validateNodeReturn = [WordNode, number] | undefined;
type validateNodeReturn = [WordNode, number] | undefined;
export declare function validateNode(node: FunctionNode, parseUnit?: boolean): validateNodeReturn;
export { toRad, toDeg };
{
"name": "@csstools/postcss-trigonometric-functions",
"description": "Use sin(), cos(), tan(), acos(), atan(), and atan2() to compute trigonometric relationships",
"version": "1.0.2",
"version": "2.0.0",
"contributors": [

@@ -22,3 +22,3 @@ {

"engines": {
"node": "^14 || >=16"
"node": "^14 || ^16 || >=18"
},

@@ -45,7 +45,8 @@ "main": "dist/index.cjs",

"peerDependencies": {
"postcss": "^8.2"
"postcss": "^8.4"
},
"scripts": {
"build": "rollup -c ../../rollup/default.js",
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
"prebuild": "npm run clean",
"build": "rollup -c ../../rollup/default.mjs",
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true }); fs.mkdirSync('./dist');\"",
"docs": "node ../../.github/bin/generate-docs/install.mjs && node ../../.github/bin/generate-docs/readme.mjs",

@@ -52,0 +53,0 @@ "lint": "npm run lint:eslint && npm run lint:package-json",

@@ -1,2 +0,2 @@

# PostCSS Trigonometric Functions [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][postcss]
# PostCSS Trigonometric Functions [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][PostCSS]

@@ -65,4 +65,9 @@ [<img alt="npm version" src="https://img.shields.io/npm/v/@csstools/postcss-trigonometric-functions.svg" height="20">][npm-url] [<img alt="CSS Standard Status" src="https://cssdb.org/images/badges/trigonometric-functions.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]

| [Node](INSTALL.md#node) | [PostCSS CLI](INSTALL.md#postcss-cli) | [Webpack](INSTALL.md#webpack) | [Create React App](INSTALL.md#create-react-app) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) |
| --- | --- | --- | --- | --- | --- |
- [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)

@@ -154,7 +159,4 @@ ## ⚠️ About custom properties

[Gulp PostCSS]: https://github.com/postcss/gulp-postcss
[Grunt PostCSS]: https://github.com/nDmitry/grunt-postcss
[PostCSS]: https://github.com/postcss/postcss
[PostCSS Loader]: https://github.com/postcss/postcss-loader
[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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc