@csstools/postcss-stepped-value-functions
Advanced tools
Comparing version 3.0.2 to 3.0.3
# Changes to PostCSS Stepped Value Functions | ||
### 3.0.3 | ||
_December 15, 2023_ | ||
- Fix type definitions | ||
- Updated [`@csstools/css-tokenizer`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer) to [`2.2.2`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-tokenizer/CHANGELOG.md#222) (patch) | ||
- Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`2.4.0`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#240) (minor) | ||
- Updated [`@csstools/css-calc`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc) to [`1.1.5`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc/CHANGELOG.md#115) (patch) | ||
### 3.0.2 | ||
@@ -20,48 +29,2 @@ | ||
### 3.0.0 | ||
_July 3, 2023_ | ||
- Change license to `MIT-0` ([read more about this change in the blog post](https://preset-env.cssdb.org/blog/license-change/)) | ||
- Updated [`@csstools/css-parser-algorithms`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms) to [`2.3.0`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-parser-algorithms/CHANGELOG.md#230) (minor) | ||
- Updated [`@csstools/css-calc`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc) to [`1.1.2`](https://github.com/csstools/postcss-plugins/tree/main/packages/css-calc/CHANGELOG.md#112) (patch) | ||
### 2.1.1 | ||
_April 10, 2023_ | ||
- Updated `@csstools/css-tokenizer` to `2.1.1` (patch) | ||
- Updated `@csstools/css-parser-algorithms` to `2.1.1` (patch) | ||
- Updated `@csstools/css-calc` to `1.1.1` (patch) | ||
### 2.1.0 | ||
_February 21, 2023_ | ||
- Removed: warnings on `var()` or otherwise unconvertible values (doesn't affect the output, non-breaking) | ||
- Added: `@csstools/css-calc` | ||
- Added: unit conversions (`mod(735ms, 0.1s)`) | ||
### 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.1 | ||
_July 8, 2022_ | ||
- Fix case insensitive matching. | ||
### 1.0.0 | ||
_May 2, 2022_ | ||
- Initial version | ||
[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-stepped-value-functions/CHANGELOG.md) |
import type { PluginCreator } from 'postcss'; | ||
declare const creator: PluginCreator<pluginOptions>; | ||
export default creator; | ||
/** postcss-stepped-value-functions plugin options */ | ||
export type pluginOptions = { | ||
export declare type pluginOptions = { | ||
/** Preserve the original notation. default: false */ | ||
preserve?: boolean; | ||
}; | ||
declare const creator: PluginCreator<pluginOptions>; | ||
export default creator; | ||
export { } |
{ | ||
"name": "@csstools/postcss-stepped-value-functions", | ||
"description": "Use round, rem and mod functions in CSS", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"contributors": [ | ||
@@ -30,11 +30,14 @@ { | ||
}, | ||
"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" | ||
} | ||
} | ||
@@ -49,5 +52,5 @@ }, | ||
"dependencies": { | ||
"@csstools/css-calc": "^1.1.4", | ||
"@csstools/css-parser-algorithms": "^2.3.2", | ||
"@csstools/css-tokenizer": "^2.2.1" | ||
"@csstools/css-calc": "^1.1.5", | ||
"@csstools/css-parser-algorithms": "^2.4.0", | ||
"@csstools/css-tokenizer": "^2.2.2" | ||
}, | ||
@@ -57,13 +60,2 @@ "peerDependencies": { | ||
}, | ||
"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-stepped-value-functions#readme", | ||
@@ -83,12 +75,3 @@ "repository": { | ||
"stepped" | ||
], | ||
"csstools": { | ||
"cssdbId": "stepped-value-functions", | ||
"exportName": "postcssSteppedValueFunctions", | ||
"humanReadableName": "PostCSS Stepped Value Functions", | ||
"specUrl": "https://www.w3.org/TR/css-values-4/#round-func" | ||
}, | ||
"volta": { | ||
"extends": "../../package.json" | ||
} | ||
] | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
0
Yes
9850
7
13