postcss-lab-function
Advanced tools
Comparing version 4.0.1 to 4.0.2
{ | ||
"name": "postcss-lab-function", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "Use lab() and lch() color functions in CSS", | ||
"author": "Jonathan Neal <jonathantneal@hotmail.com>", | ||
"license": "CC0-1.0", | ||
"repository": "csstools/postcss-lab-function", | ||
"homepage": "https://github.com/csstools/postcss-lab-function#readme", | ||
"bugs": "https://github.com/csstools/postcss-lab-function/issues", | ||
"main": "dist/index.cjs.js", | ||
"module": "dist/index.esm.mjs", | ||
"homepage": "https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-lab-function#readme", | ||
"bugs": "https://github.com/csstools/postcss-plugins/issues", | ||
"main": "dist/index.cjs", | ||
"module": "dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"files": [ | ||
"CHANGELOG.md", | ||
"INSTALL.md", | ||
"LICENSE.md", | ||
"README.md", | ||
"dist" | ||
], | ||
"bin": { | ||
"postcss-lab-function": "dist/cli.mjs" | ||
}, | ||
"scripts": { | ||
"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" | ||
"build": "rollup -c ../../rollup/default.js", | ||
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"", | ||
"lint": "eslint ./src --ext .js --ext .ts --ext .mjs --no-error-on-unmatched-pattern", | ||
"prepublishOnly": "npm run clean && npm run build && npm run test", | ||
"stryker": "stryker run --logLevel error", | ||
"test": "node ./test/color/test.mjs && postcss-tape --ci" | ||
}, | ||
"engines": { | ||
"node": ">=12" | ||
"node": "^12 || ^14 || >=16" | ||
}, | ||
"dependencies": { | ||
"@csstools/convert-colors": "2.0.0", | ||
"postcss-values-parser": "6.0.1" | ||
"postcss-value-parser": "^4.2.0" | ||
}, | ||
"devDependencies": { | ||
"postcss": "^8.3.6", | ||
"postcss-tape": "^6.0.1" | ||
}, | ||
"peerDependencies": { | ||
"postcss": "^8.3" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.16.0", | ||
"@babel/preset-env": "^7.16.4", | ||
"@rollup/plugin-babel": "^5.3.0", | ||
"eslint": "^8.2.0", | ||
"postcss": "^8.3.11", | ||
"postcss-tape": "^6.0.1", | ||
"rollup": "^2.60.0" | ||
}, | ||
"babel": { | ||
"presets": [ | ||
[ | ||
"@babel/env", | ||
{ | ||
"targets": "maintained node versions" | ||
} | ||
] | ||
] | ||
}, | ||
"eslintConfig": { | ||
"env": { | ||
"es6": true, | ||
"node": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"parserOptions": { | ||
"sourceType": "module" | ||
} | ||
}, | ||
"keywords": [ | ||
@@ -81,3 +60,8 @@ "postcss", | ||
"comma" | ||
] | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/csstools/postcss-plugins.git", | ||
"directory": "plugins/postcss-lab-function" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # PostCSS Lab Function [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][postcss] | ||
[<img alt="CSS Standard Status" src="https://cssdb.org/badge/lab-function.svg" height="20">][css-url] | ||
[<img alt="Build Status" src="https://github.com/csstools/postcss-lab-function/workflows/test/badge.svg" height="20">][cli-url] | ||
[<img alt="Build Status" src="https://github.com/csstools/postcss-plugins/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] | ||
@@ -79,3 +79,3 @@ | ||
[cli-url]: https://github.com/csstools/postcss-lab-function/actions/workflows/test.yml?query=workflow/test | ||
[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test | ||
[css-url]: https://cssdb.org/#lab-function | ||
@@ -90,2 +90,2 @@ [git-url]: https://gitter.im/postcss/postcss | ||
[PostCSS Loader]: https://github.com/postcss/postcss-loader | ||
[PostCSS Lab Function]: https://github.com/csstools/postcss-lab-function | ||
[PostCSS Lab Function]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-lab-function |
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
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
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
167630
2
2
15
403
1
12
2
+ Addedpostcss-value-parser@^4.2.0
+ Addedpostcss-value-parser@4.2.0(transitive)
- Removed@csstools/convert-colors@2.0.0
- Removedpostcss-values-parser@6.0.1
- Removed@csstools/convert-colors@2.0.0(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedis-url-superb@4.0.0(transitive)
- Removedpostcss-values-parser@6.0.1(transitive)
- Removedquote-unquote@1.0.0(transitive)