@csstools/postcss-position-area-property
Advanced tools
+6
-3
| # Changes to PostCSS Position Area Property | ||
| ### 1.0.0 | ||
| ### 2.0.0 | ||
| _December 3, 2025_ | ||
| _January 14, 2026_ | ||
| - Initial version | ||
| - Updated: Support for Node `20.19.0` or later (major). | ||
| - Removed: `commonjs` API. In supported Node versions `require(esm)` will work without needing to make code changes. | ||
| [Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-position-area-property/CHANGELOG.md) |
+1
-0
@@ -5,2 +5,3 @@ import type { PluginCreator } from 'postcss'; | ||
| export default creator; | ||
| export { creator as 'module.exports' } | ||
@@ -7,0 +8,0 @@ /** postcss-position-area-property plugin options */ |
+1
-1
@@ -1,1 +0,1 @@ | ||
| const o=/^position-area$/i,creator=()=>({postcssPlugin:"postcss-position-area-property",Declaration(s){o.test(s.prop)&&s.cloneBefore({prop:"inset-area",value:s.value})}});creator.postcss=!0;export{creator as default}; | ||
| const o=/^position-area$/i,creator=()=>({postcssPlugin:"postcss-position-area-property",Declaration(s){o.test(s.prop)&&s.cloneBefore({prop:"inset-area",value:s.value})}});creator.postcss=!0;export{creator as default,creator as"module.exports"}; |
+4
-11
| { | ||
| "name": "@csstools/postcss-position-area-property", | ||
| "description": "Fallback `position-area` to the alternate name `inset-area`", | ||
| "version": "1.0.0", | ||
| "version": "2.0.0", | ||
| "contributors": [ | ||
@@ -28,16 +28,9 @@ { | ||
| "engines": { | ||
| "node": ">=18" | ||
| "node": ">=20.19.0" | ||
| }, | ||
| "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" | ||
| } | ||
| "types": "./dist/index.d.ts", | ||
| "default": "./dist/index.mjs" | ||
| } | ||
@@ -44,0 +37,0 @@ }, |
+1
-1
@@ -42,3 +42,3 @@ # PostCSS Position Area Property [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][PostCSS] | ||
| [cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test | ||
| [css-url]: https://cssdb.org/#position-area | ||
| [css-url]: https://cssdb.org/#position-area-property | ||
| [discord]: https://discord.gg/bUadyRwkJS | ||
@@ -45,0 +45,0 @@ [npm-url]: https://www.npmjs.com/package/@csstools/postcss-position-area-property |
| "use strict";const s=/^position-area$/i,creator=()=>({postcssPlugin:"postcss-position-area-property",Declaration(o){s.test(o.prop)&&o.cloneBefore({prop:"inset-area",value:o.value})}});creator.postcss=!0,module.exports=creator; |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
4481
-0.02%6
-14.29%