icss-utils
Advanced tools
Comparing version 4.1.1 to 5.0.0-rc.0
{ | ||
"name": "icss-utils", | ||
"version": "4.1.1", | ||
"version": "5.0.0-rc.0", | ||
"description": "ICSS utils for postcss ast", | ||
"main": "lib/index.js", | ||
"main": "src/index.js", | ||
"engines": { | ||
"node": ">= 6" | ||
"node": ">= 10.13.0 || >= 12.13.0 || >= 14" | ||
}, | ||
"files": [ | ||
"lib" | ||
"src" | ||
], | ||
"scripts": { | ||
"lint": "eslint . --ignore-path .gitignore", | ||
"build": "babel --out-dir lib src", | ||
"pretest": "npm run lint", | ||
"test": "npm run test:only", | ||
"prettier": "prettier -l --ignore-path .gitignore . \"!test/test-cases\"", | ||
"eslint": "eslint --ignore-path .gitignore .", | ||
"lint": "yarn eslint && yarn prettier", | ||
"pretest": "yarn lint", | ||
"test": "jest --coverage", | ||
"test:only": "jest", | ||
"prepublish": "yarn test && yarn run build" | ||
"autotest": "jest --coverage --watch", | ||
"cover": "jest --coverage", | ||
"ci": "yarn pretest && yarn cover", | ||
"prepublishOnly": "yarn test" | ||
}, | ||
"babel": { | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"node": 6 | ||
} | ||
} | ||
] | ||
] | ||
}, | ||
"eslintConfig": { | ||
"parser": "babel-eslint", | ||
"parserOptions": { | ||
"sourceType": "module" | ||
}, | ||
"env": { | ||
"es6": true, | ||
"jest": true | ||
}, | ||
"extends": "eslint:recommended" | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"prettier --write", | ||
"eslint", | ||
"git add" | ||
] | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"repository": { | ||
@@ -71,17 +40,13 @@ "type": "git", | ||
"homepage": "https://github.com/css-modules/icss-utils#readme", | ||
"dependencies": { | ||
"postcss": "^7.0.14" | ||
"devDependencies": { | ||
"eslint": "^7.9.0", | ||
"husky": "^4.3.0", | ||
"jest": "^26.4.2", | ||
"lint-staged": "^10.4.0", | ||
"postcss": "^8.0.6", | ||
"prettier": "^2.1.2" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.1.0", | ||
"@babel/core": "^7.1.0", | ||
"@babel/preset-env": "^7.1.0", | ||
"babel-eslint": "^10.0.1", | ||
"babel-jest": "^24.1.0", | ||
"eslint": "^5.14.1", | ||
"husky": "^1.3.1", | ||
"jest": "^24.1.0", | ||
"lint-staged": "^8.1.4", | ||
"prettier": "^1.16.4" | ||
"peerDependencies": { | ||
"postcss": "^8.0.0" | ||
} | ||
} |
@@ -69,8 +69,11 @@ [![Build Status](https://travis-ci.org/css-modules/icss-utils.svg)](https://travis-ci.org/css-modules/icss-utils) | ||
colors: { | ||
a: "b" | ||
} | ||
a: "b", | ||
}, | ||
}, | ||
{ | ||
c: "d" | ||
} | ||
c: "d", | ||
}, | ||
// Need pass `rule` and `decl` from postcss | ||
// Please look at `Step 4` https://evilmartians.com/chronicles/postcss-8-plugin-migration | ||
postcss | ||
); | ||
@@ -77,0 +80,0 @@ ``` |
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 v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
6
9
88
8227
125
1
1
+ Addednanoid@3.3.7(transitive)
+ Addedpicocolors@1.0.0(transitive)
+ Addedpostcss@8.4.38(transitive)
+ Addedsource-map-js@1.2.0(transitive)
- Removedpostcss@^7.0.14
- Removedpicocolors@0.2.1(transitive)
- Removedpostcss@7.0.39(transitive)
- Removedsource-map@0.6.1(transitive)