Comparing version 6.1.1 to 6.2.0
@@ -7,3 +7,3 @@ #!/usr/bin/env node | ||
const acorn = require('acorn') | ||
const glob = require('glob') | ||
const glob = require('fast-glob') | ||
const fs = require('fs') | ||
@@ -10,0 +10,0 @@ const path = require('path') |
{ | ||
"name": "es-check", | ||
"version": "6.1.1", | ||
"version": "6.2.0", | ||
"description": "Checks the ECMAScript version of .js glob against a specified version of ECMAScript with a shell command", | ||
@@ -21,7 +21,8 @@ "main": "index.js", | ||
"chore:pr": "git add . && git commit -m '[chore] updates changelog' --no-verify && git push origin chore-changelog -f", | ||
"chore": "npm run chore:delete-branch && npm run chore:branch && npm run chore:changelog && npm run chore:pr", | ||
"chore": "pnpm run chore:delete-branch && pnpm run chore:branch && pnpm run chore:changelog && pnpm run chore:pr", | ||
"lint": "eslint index.js --fix", | ||
"lint:ci": "eslint index.js", | ||
"prepush": "npm run lint && npm test", | ||
"postpublish": "git tag $npm_package_version && git push origin --tags && npm run chore", | ||
"prepush": "pnpm run lint && pnpm test", | ||
"postpublish": "git tag $npm_package_version && git push origin --tags && pnpm run chore", | ||
"preinstall": "npx only-allow pnpm", | ||
"report:coverage": "nyc report --reporter=lcov > coverage.lcov && codecov", | ||
@@ -40,27 +41,20 @@ "test": "nyc mocha test.js --timeout 10s --coverage" | ||
"devDependencies": { | ||
"@commitlint/cli": "^14.1.0", | ||
"@commitlint/config-conventional": "^14.1.0", | ||
"@commitlint/prompt": "^13.1.0", | ||
"@commitlint/cli": "^16.1.0", | ||
"@commitlint/config-conventional": "^16.0.0", | ||
"@commitlint/prompt": "^16.1.0", | ||
"assert": "^2.0.0", | ||
"codecov": "^3.0.0", | ||
"commitizen": "^4.2.2", | ||
"conventional-changelog-cli": "^2.0.11", | ||
"eslint": "^7.29.0", | ||
"codecov": "^3.8.3", | ||
"commitizen": "^4.2.4", | ||
"conventional-changelog-cli": "^2.2.2", | ||
"eslint": "^8.7.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-config-prettier-standard": "^4.0.1", | ||
"eslint-config-standard": "^16.0.3", | ||
"eslint-plugin-import": "^2.23.4", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"eslint-plugin-promise": "^5.1.0", | ||
"husky": "^7.0.1", | ||
"mocha": "^9.0.1", | ||
"husky": "^7.0.4", | ||
"mocha": "^9.2.0", | ||
"nyc": "^15.1.0", | ||
"prettier": "^2.3.2", | ||
"prettier-config-standard": "^4.0.0" | ||
"prettier": "^2.5.1" | ||
}, | ||
"dependencies": { | ||
"acorn": "^8.4.1", | ||
"@caporal/core": "^2.0.2", | ||
"glob": "^7.1.7" | ||
"acorn": "^8.7.0", | ||
"fast-glob": "^3.2.11" | ||
}, | ||
@@ -103,8 +97,8 @@ "engines": { | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS", | ||
"post-checkout": "if [[ $HUSKY_GIT_PARAMS =~ 1$ ]]; then yarn; fi", | ||
"post-merge": "yarn", | ||
"post-rewrite": "yarn", | ||
"pre-commit": "yarn test && yarn lint" | ||
"post-checkout": "if [[ $HUSKY_GIT_PARAMS =~ 1$ ]]; then pnpm i -r; fi", | ||
"post-merge": "pnpm i -r", | ||
"post-rewrite": "pnpm i -r", | ||
"pre-commit": "pnpm test && pnpm lint" | ||
} | ||
} | ||
} |
@@ -23,3 +23,3 @@ <p align="center"> | ||
**Version 6:** released with [dropped support for es4](https://github.com/yowainwright/es-check/pull/98/files#r680564074) and a **major version bump of the [acorn](https://github.com/acornjs/acorn) parser**. Thanks so much for your insightful PR, [Noah](https://github.com/noahnu)! For any issues with the newer acorn version or for es4 support, use [version 5.2.4](https://www.npmjs.com/package/es-check/v/5.2.4) (`npm i es-check@5.2.4`). 🎉 | ||
**Known issue:** cli argument vs. option order. There is a small issue with cli's option ordering. If an argument is passed **after** a boolean option, the boolean option will default to `falsy` as if the argument was not added. This will create weirdness in checks. A fix for this issue is in the works! 👌 | ||
@@ -26,0 +26,0 @@ --- |
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
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
13
17171
1
+ Addedfast-glob@^3.2.11
+ Added@nodelib/fs.scandir@2.1.5(transitive)
+ Added@nodelib/fs.stat@2.0.5(transitive)
+ Added@nodelib/fs.walk@1.2.8(transitive)
+ Addedbraces@3.0.3(transitive)
+ Addedfast-glob@3.3.2(transitive)
+ Addedfastq@1.17.1(transitive)
+ Addedfill-range@7.1.1(transitive)
+ Addedglob-parent@5.1.2(transitive)
+ Addedis-extglob@2.1.1(transitive)
+ Addedis-glob@4.0.3(transitive)
+ Addedis-number@7.0.0(transitive)
+ Addedmerge2@1.4.1(transitive)
+ Addedmicromatch@4.0.8(transitive)
+ Addedpicomatch@2.3.1(transitive)
+ Addedqueue-microtask@1.2.3(transitive)
+ Addedreusify@1.0.4(transitive)
+ Addedrun-parallel@1.2.0(transitive)
+ Addedto-regex-range@5.0.1(transitive)
- Removedglob@^7.1.7
Updatedacorn@^8.7.0