postcss-env-function
Advanced tools
Comparing version 2.0.2 to 3.0.0
# Changes to PostCSS Environment Variables | ||
### 3.0.0 (June 13, 2019) | ||
- Updated: `postcss-values-parser` to 3.2.0 (major) | ||
- Updated: `postcss` to 7.0.27 (patch) | ||
- Updated: Support for Node 10+ (major) | ||
### 2.0.2 (September 20, 2018) | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "postcss-env-function", | ||
"version": "2.0.2", | ||
"version": "3.0.0", | ||
"description": "Use env() variables in CSS", | ||
"author": "Jonathan Neal <jonathantneal@hotmail.com>", | ||
"license": "CC0-1.0", | ||
"repository": "jonathantneal/postcss-env-function", | ||
"homepage": "https://github.com/jonathantneal/postcss-env-function#readme", | ||
"bugs": "https://github.com/jonathantneal/postcss-env-function/issues", | ||
"main": "index.cjs.js", | ||
"module": "index.es.mjs", | ||
"repository": "csstools/postcss-env-function", | ||
"homepage": "https://github.com/csstools/postcss-env-function#readme", | ||
"bugs": "https://github.com/csstools/postcss-env-function/issues", | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"files": [ | ||
"index.cjs.js", | ||
"index.cjs.js.map", | ||
"index.es.mjs", | ||
"index.es.mjs.map" | ||
"dist" | ||
], | ||
"scripts": { | ||
"prepublishOnly": "npm test", | ||
"pretest": "rollup -c .rollup.js --silent", | ||
"test": "echo 'Running tests...'; npm run test:js && npm run test:tape", | ||
"test:ec": "echint --ignore index.*.js test", | ||
"test:js": "eslint *.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": ">=8.0.0" | ||
}, | ||
"dependencies": { | ||
"postcss": "^7.0.2", | ||
"postcss-values-parser": "^2.0.0" | ||
"postcss": "^7.0.27", | ||
"postcss-values-parser": "^3.2.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.1.0", | ||
"@babel/plugin-syntax-dynamic-import": "^7.0.0", | ||
"@babel/preset-env": "^7.1.0", | ||
"babel-eslint": "^9.0.0", | ||
"eslint": "^5.6.0", | ||
"eslint-config-dev": "^2.0.0", | ||
"postcss-tape": "^2.2.0", | ||
"@babel/core": "^7.9.0", | ||
"@babel/preset-env": "^7.9.5", | ||
"babel-eslint": "^10.1.0", | ||
"eslint": "^6.8.0", | ||
"postcss-tape": "^5.0.2", | ||
"pre-commit": "^1.2.2", | ||
"rollup": "^0.66.1", | ||
"rollup-plugin-babel": "^4.0.3" | ||
"rollup": "^2.7.2", | ||
"rollup-plugin-babel": "^4.4.0" | ||
}, | ||
"babel": { | ||
"presets": [ | ||
[ | ||
"@babel/env", | ||
{ | ||
"targets": "maintained node versions" | ||
} | ||
] | ||
] | ||
}, | ||
"eslintConfig": { | ||
"extends": "dev", | ||
"env": { | ||
"es6": true, | ||
"node": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"parser": "babel-eslint" | ||
}, | ||
"rollup": { | ||
"input": "src/index.js", | ||
"plugins": [ | ||
"rollup-plugin-babel" | ||
], | ||
"output": [ | ||
{ | ||
"file": "dist/index.js", | ||
"format": "cjs" | ||
}, | ||
{ | ||
"file": "dist/index.mjs", | ||
"format": "esm" | ||
} | ||
] | ||
}, | ||
"keywords": [ | ||
@@ -50,0 +77,0 @@ "postcss", |
# PostCSS Environment Variables [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][postcss] | ||
[![NPM Version][npm-img]][npm-url] | ||
[![CSS Standard Status][css-img]][css-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-env-function.svg" height="20">][npm-url] | ||
[<img alt="CSS Standard Status" src="https://cssdb.org/badge/environment-variables.svg" height="20">][css-url] | ||
[<img alt="Build Status" src="https://img.shields.io/travis/csstools/postcss-env-function/master.svg" height="20">][cli-url] | ||
[<img alt="Support Chat" src="https://img.shields.io/badge/support-chat-blue.svg" height="20">][git-url] | ||
@@ -124,11 +124,7 @@ [PostCSS Environment Variables] lets you use `env()` variables in CSS, | ||
See example imports written in [JS](test/import-variables.js) and | ||
[JSON](test/import-variables.json). | ||
[JSON](test/import-variables.json). Currently only valid [custom property names] (beginning with `--`) are accepted. Not all valid [declaration value names] are accepted. | ||
[cli-img]: https://img.shields.io/travis/jonathantneal/postcss-env-function.svg | ||
[cli-url]: https://travis-ci.org/jonathantneal/postcss-env-function | ||
[css-img]: https://cssdb.org/badge/environment-variables.svg | ||
[cli-url]: https://travis-ci.org/csstools/postcss-env-function | ||
[css-url]: https://cssdb.org/#environment-variables | ||
[git-img]: https://img.shields.io/badge/support-chat-blue.svg | ||
[git-url]: https://gitter.im/postcss/postcss | ||
[npm-img]: https://img.shields.io/npm/v/postcss-env-function.svg | ||
[npm-url]: https://www.npmjs.com/package/postcss-env-function | ||
@@ -138,2 +134,5 @@ | ||
[PostCSS]: https://github.com/postcss/postcss | ||
[PostCSS Environment Variables]: https://github.com/jonathantneal/postcss-env-function | ||
[PostCSS Environment Variables]: https://github.com/csstools/postcss-env-function | ||
[custom property names]: https://drafts.csswg.org/css-variables-1/#typedef-custom-property-name | ||
[declaration value names]: https://drafts.csswg.org/css-syntax-3/#typedef-declaration-value |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the 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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
8
26358
6
334
137
1
+ Addedcolor-name@1.1.4(transitive)
+ Addedip-regex@4.3.0(transitive)
+ Addedis-url-superb@3.0.0(transitive)
+ Addedpostcss-values-parser@3.2.1(transitive)
+ Addedtlds@1.255.0(transitive)
+ Addedurl-regex@5.0.0(transitive)
- Removedflatten@1.0.3(transitive)
- Removedindexes-of@1.0.1(transitive)
- Removedpostcss-values-parser@2.0.1(transitive)
- Removeduniq@1.0.1(transitive)
Updatedpostcss@^7.0.27
Updatedpostcss-values-parser@^3.2.0