Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

es-check

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es-check - npm Package Compare versions

Comparing version 6.1.1 to 6.2.0

2

index.js

@@ -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 @@ ---

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc