postcss-place
Advanced tools
Comparing version 9.0.0 to 9.0.1
106
CHANGELOG.md
# Changes to PostCSS Place Properties | ||
### 9.0.1 | ||
_December 15, 2023_ | ||
- Fix type definitions | ||
### 9.0.0 | ||
@@ -15,100 +21,2 @@ | ||
### 8.0.0 | ||
_January 24, 2023_ | ||
- Updated: Support for Node v14+ (major). | ||
- Added: TypeScript support. | ||
### 7.0.5 | ||
_July 8, 2022_ | ||
- Fix case insensitive matching. | ||
### 7.0.4 | ||
_February 5, 2022_ | ||
- Improved `es module` and `commonjs` compatibility | ||
### 7.0.3 | ||
_January 2, 2022_ | ||
- Removed Sourcemaps from package tarball. | ||
- Moved CLI to CLI Package. See [announcement](https://github.com/csstools/postcss-plugins/discussions/121). | ||
### 7.0.2 | ||
_December 13, 2021_ | ||
- Changed: now uses `postcss-value-parser` for parsing. | ||
- Updated: documentation | ||
## 7.0.1 (November 18, 2021) | ||
- Added: Safeguards against postcss-values-parser potentially throwing an error. | ||
- Updated: postcss-value-parser to 6.0.1 (patch) | ||
## 7.0.0 (September 17, 2021) | ||
- Updated: Support for PostCS 8+ (major). | ||
- Updated: Support for Node 12+ (major). | ||
## 6.0.0 (January 12, 2021) | ||
- Updated: Support for PostCSS v8+ | ||
- Updated: PostCSS Values Parser to 4.x | ||
## 5.0.0 (April 26, 2020) | ||
- Updated: PostCSS to 7.0.27 (patch) | ||
- Updated: PostCSS Values Parser to 3.2.1 (major) | ||
- Updated: Support for Node v10+ | ||
### 4.0.1 | ||
_September 18, 2018_ | ||
- Updated: PostCSS Values Parser 2 (patch for this project) | ||
### 4.0.0 | ||
_September 17, 2018_ | ||
- Updated: Support for PostCSS v7+ | ||
- Updated: Support for Node v6+ | ||
### 3.0.1 | ||
_May 8, 2018_ | ||
- Updated: `postcss-values-parser` to v1.5.0 (major) | ||
- Updated: `postcss` to v6.0.22 (patch) | ||
### 2.0.0 | ||
_June 30, 2017_ | ||
- Added: Node 4+ compatibility | ||
- Added: PostCSS 6+ compatibility | ||
### 1.0.2 | ||
_December 8, 2016_ | ||
- Updated: Use destructing assignment on plugin options | ||
- Updated: Use template literals | ||
### 1.0.1 | ||
_December 6, 2016_ | ||
- Updated: boilerplate conventions (`postcss-tape`) | ||
### 1.0.0 | ||
_November 25, 2016_ | ||
- Initial version | ||
[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-place/CHANGELOG.md) |
import type { PluginCreator } from 'postcss'; | ||
declare const creator: PluginCreator<pluginOptions>; | ||
export default creator; | ||
/** postcss-place 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 { } |
{ | ||
"name": "postcss-place", | ||
"description": "Use a place-* shorthand for align-* and justify-* in CSS", | ||
"version": "9.0.0", | ||
"version": "9.0.1", | ||
"contributors": [ | ||
@@ -34,11 +34,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" | ||
} | ||
} | ||
@@ -58,13 +61,2 @@ }, | ||
}, | ||
"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-place#readme", | ||
@@ -88,12 +80,3 @@ "repository": { | ||
"shorthands" | ||
], | ||
"csstools": { | ||
"cssdbId": "place-properties", | ||
"exportName": "postcssPlace", | ||
"humanReadableName": "PostCSS Place Properties", | ||
"specUrl": "https://www.w3.org/TR/css-align-3/#place-content" | ||
}, | ||
"volta": { | ||
"extends": "../../package.json" | ||
} | ||
] | ||
} |
@@ -5,2 +5,6 @@ # PostCSS Place Properties [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][PostCSS] | ||
```bash | ||
npm install postcss-place --save-dev | ||
``` | ||
[PostCSS Place Properties] lets you use `place-*` properties as shorthands for `align-*` | ||
@@ -7,0 +11,0 @@ and `justify-*`, following the [CSS Box Alignment] specification. |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
95
Yes
7362
7
15
1