postcss-preset-env
Advanced tools
Comparing version 6.7.0 to 7.0.0
157
package.json
{ | ||
"name": "postcss-preset-env", | ||
"version": "6.7.0", | ||
"version": "7.0.0", | ||
"description": "Convert modern CSS into something browsers understand", | ||
@@ -10,76 +10,109 @@ "author": "Jonathan Neal <jonathantneal@hotmail.com>", | ||
"bugs": "https://github.com/csstools/postcss-preset-env/issues", | ||
"main": "index.js", | ||
"module": "index.mjs", | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"files": [ | ||
"index.js", | ||
"index.js.map", | ||
"index.mjs", | ||
"index.mjs.map" | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "rollup -c .rollup.js --silent", | ||
"prepublishOnly": "npm test", | ||
"pretest:tape": "npm run build", | ||
"test": "npm run test:js && npm run test:tape", | ||
"test:js": "eslint src/*.js src/lib/*.js src/patch/*.js --cache --ignore-path .gitignore --quiet", | ||
"test:tape": "postcss-tape" | ||
"build": "npx rollup -c .rollup.js", | ||
"build:watch": "npx rollup -c .rollup.js --watch", | ||
"lint": "npx eslint --cache src", | ||
"lint:fix": "npx eslint --cache --fix", | ||
"pretest": "npm install && npm run build", | ||
"test": "npm run lint && npm run tape", | ||
"tape": "npx postcss-tape", | ||
"prepublishOnly": "npm test" | ||
}, | ||
"engines": { | ||
"node": ">=6.0.0" | ||
"node": ">=12" | ||
}, | ||
"peerDependencies": { | ||
"postcss": "^8.3" | ||
}, | ||
"dependencies": { | ||
"autoprefixer": "^9.6.1", | ||
"browserslist": "^4.6.4", | ||
"caniuse-lite": "^1.0.30000981", | ||
"css-blank-pseudo": "^0.1.4", | ||
"css-has-pseudo": "^0.10.0", | ||
"css-prefers-color-scheme": "^3.1.1", | ||
"cssdb": "^4.4.0", | ||
"postcss": "^7.0.17", | ||
"postcss-attribute-case-insensitive": "^4.0.1", | ||
"postcss-color-functional-notation": "^2.0.1", | ||
"postcss-color-gray": "^5.0.0", | ||
"postcss-color-hex-alpha": "^5.0.3", | ||
"postcss-color-mod-function": "^3.0.3", | ||
"postcss-color-rebeccapurple": "^4.0.1", | ||
"postcss-custom-media": "^7.0.8", | ||
"postcss-custom-properties": "^8.0.11", | ||
"postcss-custom-selectors": "^5.1.2", | ||
"postcss-dir-pseudo-class": "^5.0.0", | ||
"postcss-double-position-gradients": "^1.0.0", | ||
"postcss-env-function": "^2.0.2", | ||
"postcss-focus-visible": "^4.0.0", | ||
"postcss-focus-within": "^3.0.0", | ||
"postcss-font-variant": "^4.0.0", | ||
"postcss-gap-properties": "^2.0.0", | ||
"postcss-image-set-function": "^3.0.1", | ||
"postcss-initial": "^3.0.0", | ||
"postcss-lab-function": "^2.0.1", | ||
"postcss-logical": "^3.0.0", | ||
"postcss-media-minmax": "^4.0.0", | ||
"postcss-nesting": "^7.0.0", | ||
"postcss-overflow-shorthand": "^2.0.0", | ||
"postcss-page-break": "^2.0.0", | ||
"postcss-place": "^4.0.1", | ||
"postcss-pseudo-class-any-link": "^6.0.0", | ||
"postcss-replace-overflow-wrap": "^3.0.0", | ||
"postcss-selector-matches": "^4.0.0", | ||
"postcss-selector-not": "^4.0.0" | ||
"autoprefixer": "^10.4.0", | ||
"browserslist": "^4.17.5", | ||
"caniuse-lite": "^1.0.30001272", | ||
"css-blank-pseudo": "^2.0.0", | ||
"css-has-pseudo": "^2.0.0", | ||
"css-prefers-color-scheme": "^5.0.0", | ||
"cssdb": "^5.0.0", | ||
"postcss": "^8.3", | ||
"postcss-attribute-case-insensitive": "^5.0.0", | ||
"postcss-color-functional-notation": "^4.0.0", | ||
"postcss-color-hex-alpha": "^8.0.0", | ||
"postcss-color-rebeccapurple": "^7.0.0", | ||
"postcss-custom-media": "^8.0.0", | ||
"postcss-custom-properties": "^12.0.0", | ||
"postcss-custom-selectors": "^6.0.0", | ||
"postcss-dir-pseudo-class": "^6.0.0", | ||
"postcss-double-position-gradients": "^3.0.0", | ||
"postcss-env-function": "^4.0.1", | ||
"postcss-focus-visible": "^6.0.1", | ||
"postcss-focus-within": "^5.0.1", | ||
"postcss-font-variant": "^5.0.0", | ||
"postcss-gap-properties": "^3.0.0", | ||
"postcss-image-set-function": "^4.0.0", | ||
"postcss-initial": "^3.0.4", | ||
"postcss-lab-function": "^4.0.0", | ||
"postcss-logical": "^5.0.0", | ||
"postcss-media-minmax": "^5.0.0", | ||
"postcss-nesting": "^10.0.0", | ||
"postcss-overflow-shorthand": "^3.0.0", | ||
"postcss-page-break": "^3.0.4", | ||
"postcss-place": "^7.0.0", | ||
"postcss-pseudo-class-any-link": "^7.0.0", | ||
"postcss-replace-overflow-wrap": "^4.0.0", | ||
"postcss-selector-not": "^5.0.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.5.0", | ||
"@babel/preset-env": "^7.5.2", | ||
"babel-eslint": "^10.0.2", | ||
"eslint": "^5.16.0", | ||
"eslint-config-dev": "^2.0.0", | ||
"postcss-simple-vars": "^5.0.2", | ||
"postcss-tape": "^4.0.0", | ||
"@babel/core": "^7.15.8", | ||
"@babel/preset-env": "^7.15.8", | ||
"eslint": "^8.1.0", | ||
"postcss-simple-vars": "^6.0.3", | ||
"postcss-tape": "^6.0.1", | ||
"pre-commit": "^1.2.2", | ||
"rollup": "^1.16.6", | ||
"rollup-plugin-babel": "^4.3.3" | ||
"rollup": "^2.58.3", | ||
"rollup-plugin-babel": "^4.4.0" | ||
}, | ||
"babel": { | ||
"presets": [ | ||
[ | ||
"@babel/env", | ||
{ | ||
"targets": "maintained node versions" | ||
} | ||
] | ||
] | ||
}, | ||
"eslintConfig": { | ||
"extends": "dev", | ||
"parser": "babel-eslint" | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"parserOptions": { | ||
"ecmaVersion": 2020, | ||
"sourceType": "module" | ||
}, | ||
"root": true | ||
}, | ||
"rollup": { | ||
"input": "src/postcss.js", | ||
"plugins": [ | ||
"rollup-plugin-babel" | ||
], | ||
"output": [ | ||
{ | ||
"exports": "default", | ||
"file": "dist/index.js", | ||
"format": "cjs" | ||
}, | ||
{ | ||
"file": "dist/index.mjs", | ||
"format": "esm" | ||
} | ||
] | ||
}, | ||
"keywords": [ | ||
@@ -86,0 +119,0 @@ "postcss", |
# PostCSS Preset Env [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS" width="90" height="90" align="right">][postcss] | ||
[![NPM Version][npm-img]][npm-url] | ||
[![Build Status][cli-img]][cli-url] | ||
[![Support Chat][git-img]][git-url] | ||
[<img alt="npm version" src="https://img.shields.io/npm/v/postcss-preset-env.svg" height="20">][npm-url] | ||
[<img alt="build status" src="https://github.com/csstools/postcss-preset-env/workflows/test/badge.svg" height="20">][cli-url] | ||
[<img alt="support chat" src="https://img.shields.io/badge/support-chat-blue.svg" height="20">][git-url] | ||
@@ -119,4 +119,4 @@ [PostCSS Preset Env] lets you convert modern CSS into something most browsers | ||
| [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) | [Webpack](INSTALL.md#webpack) | [Create React App](INSTALL.md#create-react-app) | [Gulp](INSTALL.md#gulp) | [Grunt](INSTALL.md#grunt) | [Rollup](INSTALL.md#rollup) | | ||
| --- | --- | --- | --- | --- | --- | --- | | ||
@@ -145,3 +145,3 @@ ## Options | ||
`true` to a specific feature ID will enable its polyfill, while passing `false` | ||
will disable it. | ||
will disable it. [List of IDs](https://github.com/csstools/postcss-preset-env/blob/master/src/lib/plugins-by-id.js#L36) | ||
@@ -367,4 +367,4 @@ ```js | ||
[cli-img]: https://img.shields.io/travis/csstools/postcss-preset-env/master.svg | ||
[cli-url]: https://travis-ci.org/csstools/postcss-preset-env | ||
[cli-img]: https://github.com/postcss/postcss-preset-env/workflows/test/badge.svg | ||
[cli-url]: https://github.com/postcss/postcss-preset-env/actions/workflows/test.yml?query=workflow/test | ||
[git-img]: https://img.shields.io/badge/support-chat-blue.svg | ||
@@ -371,0 +371,0 @@ [git-url]: https://gitter.im/postcss/postcss |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
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
35
8
61947
5
806
2
+ Added@csstools/postcss-progressive-custom-properties@1.3.0(transitive)
+ Added@csstools/selector-specificity@2.2.0(transitive)
+ Addedautoprefixer@10.4.20(transitive)
+ Addedcss-blank-pseudo@2.0.0(transitive)
+ Addedcss-has-pseudo@2.0.0(transitive)
+ Addedcss-prefers-color-scheme@5.0.0(transitive)
+ Addedcssdb@5.1.0(transitive)
+ Addedfraction.js@4.3.7(transitive)
+ Addednanoid@3.3.7(transitive)
+ Addedpostcss@8.4.47(transitive)
+ Addedpostcss-attribute-case-insensitive@5.0.2(transitive)
+ Addedpostcss-color-functional-notation@4.2.4(transitive)
+ Addedpostcss-color-hex-alpha@8.0.4(transitive)
+ Addedpostcss-color-rebeccapurple@7.1.1(transitive)
+ Addedpostcss-custom-media@8.0.2(transitive)
+ Addedpostcss-custom-properties@12.1.11(transitive)
+ Addedpostcss-custom-selectors@6.0.3(transitive)
+ Addedpostcss-dir-pseudo-class@6.0.5(transitive)
+ Addedpostcss-double-position-gradients@3.1.2(transitive)
+ Addedpostcss-env-function@4.0.6(transitive)
+ Addedpostcss-focus-visible@6.0.4(transitive)
+ Addedpostcss-focus-within@5.0.4(transitive)
+ Addedpostcss-font-variant@5.0.0(transitive)
+ Addedpostcss-gap-properties@3.0.5(transitive)
+ Addedpostcss-image-set-function@4.0.7(transitive)
+ Addedpostcss-lab-function@4.2.1(transitive)
+ Addedpostcss-logical@5.0.4(transitive)
+ Addedpostcss-media-minmax@5.0.0(transitive)
+ Addedpostcss-nesting@10.2.0(transitive)
+ Addedpostcss-overflow-shorthand@3.0.4(transitive)
+ Addedpostcss-page-break@3.0.4(transitive)
+ Addedpostcss-place@7.0.5(transitive)
+ Addedpostcss-pseudo-class-any-link@7.1.6(transitive)
+ Addedpostcss-replace-overflow-wrap@4.0.0(transitive)
+ Addedpostcss-selector-not@5.0.0(transitive)
+ Addedsource-map-js@1.2.1(transitive)
- Removedpostcss-color-gray@^5.0.0
- Removedpostcss-color-mod-function@^3.0.3
- Removedpostcss-selector-matches@^4.0.0
- Removed@csstools/convert-colors@1.4.0(transitive)
- Removedautoprefixer@9.8.8(transitive)
- Removedcss-blank-pseudo@0.1.4(transitive)
- Removedcss-has-pseudo@0.10.0(transitive)
- Removedcss-prefers-color-scheme@3.1.1(transitive)
- Removedcssdb@4.4.0(transitive)
- Removedcssesc@2.0.0(transitive)
- Removedflatten@1.0.3(transitive)
- Removedindexes-of@1.0.1(transitive)
- Removednum2fraction@1.2.2(transitive)
- Removedpostcss-attribute-case-insensitive@4.0.2(transitive)
- Removedpostcss-color-functional-notation@2.0.1(transitive)
- Removedpostcss-color-gray@5.0.0(transitive)
- Removedpostcss-color-hex-alpha@5.0.3(transitive)
- Removedpostcss-color-mod-function@3.0.3(transitive)
- Removedpostcss-color-rebeccapurple@4.0.1(transitive)
- Removedpostcss-custom-media@7.0.8(transitive)
- Removedpostcss-custom-properties@8.0.11(transitive)
- Removedpostcss-custom-selectors@5.1.2(transitive)
- Removedpostcss-dir-pseudo-class@5.0.0(transitive)
- Removedpostcss-double-position-gradients@1.0.0(transitive)
- Removedpostcss-env-function@2.0.2(transitive)
- Removedpostcss-focus-visible@4.0.0(transitive)
- Removedpostcss-focus-within@3.0.0(transitive)
- Removedpostcss-font-variant@4.0.1(transitive)
- Removedpostcss-gap-properties@2.0.0(transitive)
- Removedpostcss-image-set-function@3.0.1(transitive)
- Removedpostcss-lab-function@2.0.1(transitive)
- Removedpostcss-logical@3.0.0(transitive)
- Removedpostcss-media-minmax@4.0.0(transitive)
- Removedpostcss-nesting@7.0.1(transitive)
- Removedpostcss-overflow-shorthand@2.0.0(transitive)
- Removedpostcss-page-break@2.0.0(transitive)
- Removedpostcss-place@4.0.1(transitive)
- Removedpostcss-pseudo-class-any-link@6.0.0(transitive)
- Removedpostcss-replace-overflow-wrap@3.0.0(transitive)
- Removedpostcss-selector-matches@4.0.0(transitive)
- Removedpostcss-selector-not@4.0.1(transitive)
- Removedpostcss-selector-parser@5.0.0(transitive)
- Removedpostcss-values-parser@2.0.1(transitive)
- Removeduniq@1.0.1(transitive)
Updatedautoprefixer@^10.4.0
Updatedbrowserslist@^4.17.5
Updatedcaniuse-lite@^1.0.30001272
Updatedcss-blank-pseudo@^2.0.0
Updatedcss-has-pseudo@^2.0.0
Updatedcssdb@^5.0.0
Updatedpostcss@^8.3
Updatedpostcss-custom-media@^8.0.0
Updatedpostcss-env-function@^4.0.1
Updatedpostcss-focus-visible@^6.0.1
Updatedpostcss-focus-within@^5.0.1
Updatedpostcss-font-variant@^5.0.0
Updatedpostcss-initial@^3.0.4
Updatedpostcss-lab-function@^4.0.0
Updatedpostcss-logical@^5.0.0
Updatedpostcss-media-minmax@^5.0.0
Updatedpostcss-nesting@^10.0.0
Updatedpostcss-page-break@^3.0.4
Updatedpostcss-place@^7.0.0
Updatedpostcss-selector-not@^5.0.0