Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-preset-env

Package Overview
Dependencies
Maintainers
2
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-preset-env - npm Package Compare versions

Comparing version 6.7.0 to 7.0.0

dist/index.js

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

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