This repository has been archived by the owner on Feb 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added: Synchronous transforms when async is unnecessary #181 * Fixed: Unexpected mutations to imported Custom Properties (thank @EECOLOR) #182 * Fixed: Transforms throwing over unknown Custom Properties
- Loading branch information
1 parent
ffad7a9
commit 837da49
Showing
9 changed files
with
61 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "postcss-custom-properties", | ||
"version": "8.0.10", | ||
"version": "8.0.11", | ||
"description": "Use Custom Properties Queries in CSS", | ||
"author": "Jonathan Neal <[email protected]>", | ||
"contributors": [ | ||
|
@@ -10,43 +10,53 @@ | |
"repository": "postcss/postcss-custom-properties", | ||
"homepage": "https://github.com/postcss/postcss-custom-properties#readme", | ||
"bugs": "https://github.com/postcss/postcss-custom-properties/issues", | ||
"main": "index.js", | ||
"module": "index.mjs", | ||
"main": "index.cjs.js", | ||
"module": "index.esm.mjs", | ||
"files": [ | ||
"index.js", | ||
"index.js.map", | ||
"index.mjs", | ||
"index.mjs.map" | ||
"index.cjs.js", | ||
"index.cjs.js.map", | ||
"index.esm.mjs", | ||
"index.esm.mjs.map" | ||
], | ||
"scripts": { | ||
"prepublishOnly": "npm test", | ||
"pretest:tape": "rollup -c .rollup.js --silent", | ||
"test": "npm run test:js && npm run test:tape", | ||
"test:js": "eslint src/**/*.js --cache --ignore-path .gitignore --quiet", | ||
"test:js": "eslint src/{*,**/*}.js --cache --ignore-path .gitignore --quiet", | ||
"test:tape": "postcss-tape" | ||
}, | ||
"engines": { | ||
"node": ">=6.0.0" | ||
}, | ||
"dependencies": { | ||
"postcss": "^7.0.14", | ||
"postcss-values-parser": "^3.0.3" | ||
"postcss": "^7.0.17", | ||
"postcss-values-parser": "^2.0.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.4.0", | ||
"@babel/core": "^7.4.5", | ||
"@babel/plugin-syntax-dynamic-import": "^7.2.0", | ||
"@babel/preset-env": "^7.4.2", | ||
"babel-eslint": "^10.0.1", | ||
"@babel/preset-env": "^7.4.5", | ||
"babel-eslint": "^10.0.2", | ||
"eslint": "^5.16.0", | ||
"eslint-config-dev": "^2.0.0", | ||
"postcss-tape": "^4.0.0", | ||
"pre-commit": "^1.2.2", | ||
"rollup": "^1.7.4", | ||
"rollup": "^1.15.6", | ||
"rollup-plugin-babel": "^4.3.2" | ||
}, | ||
"eslintConfig": { | ||
"extends": "dev", | ||
"parser": "babel-eslint" | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"parser": "babel-eslint", | ||
"parserOptions": { | ||
"ecmaVersion": 2018, | ||
"impliedStrict": true, | ||
"sourceType": "module" | ||
}, | ||
"root": true | ||
}, | ||
"keywords": [ | ||
"postcss", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import valueParser from 'postcss-values-parser'; | ||
|
||
export function parse (string) { | ||
return valueParser(string).parse(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters