Socket
Socket
Sign inDemoInstall

eslint-plugin-es-x

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-es-x - npm Package Compare versions

Comparing version 7.5.0 to 7.6.0

lib/configs/flat/no-new-in-es2015-intl-api.js

1

lib/configs/no-new-in-esnext.js

@@ -10,2 +10,3 @@ /**

rules: {
"es-x/no-arraybuffer-prototype-transfer": "error",
"es-x/no-atomics-waitasync": "error",

@@ -12,0 +13,0 @@ "es-x/no-object-map-groupby": "error",

@@ -8,5 +8,47 @@ /**

const { printWarningOfDeprecatedConfig } = require("./utils")
const { version, name } = require("../package.json")
module.exports = {
meta: { version, name },
configs: {
"flat/no-new-in-es5": require("./configs/flat/no-new-in-es5"),
"flat/no-new-in-es2015": require("./configs/flat/no-new-in-es2015"),
"flat/no-new-in-es2015-intl-api": require("./configs/flat/no-new-in-es2015-intl-api"),
"flat/no-new-in-es2016": require("./configs/flat/no-new-in-es2016"),
"flat/no-new-in-es2016-intl-api": require("./configs/flat/no-new-in-es2016-intl-api"),
"flat/no-new-in-es2017": require("./configs/flat/no-new-in-es2017"),
"flat/no-new-in-es2017-intl-api": require("./configs/flat/no-new-in-es2017-intl-api"),
"flat/no-new-in-es2018": require("./configs/flat/no-new-in-es2018"),
"flat/no-new-in-es2018-intl-api": require("./configs/flat/no-new-in-es2018-intl-api"),
"flat/no-new-in-es2019": require("./configs/flat/no-new-in-es2019"),
"flat/no-new-in-es2019-intl-api": require("./configs/flat/no-new-in-es2019-intl-api"),
"flat/no-new-in-es2020": require("./configs/flat/no-new-in-es2020"),
"flat/no-new-in-es2020-intl-api": require("./configs/flat/no-new-in-es2020-intl-api"),
"flat/no-new-in-es2021": require("./configs/flat/no-new-in-es2021"),
"flat/no-new-in-es2021-intl-api": require("./configs/flat/no-new-in-es2021-intl-api"),
"flat/no-new-in-es2022": require("./configs/flat/no-new-in-es2022"),
"flat/no-new-in-es2022-intl-api": require("./configs/flat/no-new-in-es2022-intl-api"),
"flat/no-new-in-es2023": require("./configs/flat/no-new-in-es2023"),
"flat/no-new-in-es2023-intl-api": require("./configs/flat/no-new-in-es2023-intl-api"),
"flat/no-new-in-esnext": require("./configs/flat/no-new-in-esnext"),
"flat/no-new-in-esnext-intl-api": require("./configs/flat/no-new-in-esnext-intl-api"),
"flat/restrict-to-es-intl-api-1st-edition": require("./configs/flat/restrict-to-es-intl-api-1st-edition"),
"flat/restrict-to-es3": require("./configs/flat/restrict-to-es3"),
"flat/restrict-to-es5": require("./configs/flat/restrict-to-es5"),
"flat/restrict-to-es2015": require("./configs/flat/restrict-to-es2015"),
"flat/restrict-to-es2015-intl-api": require("./configs/flat/restrict-to-es2015-intl-api"),
"flat/restrict-to-es2016": require("./configs/flat/restrict-to-es2016"),
"flat/restrict-to-es2016-intl-api": require("./configs/flat/restrict-to-es2016-intl-api"),
"flat/restrict-to-es2017": require("./configs/flat/restrict-to-es2017"),
"flat/restrict-to-es2017-intl-api": require("./configs/flat/restrict-to-es2017-intl-api"),
"flat/restrict-to-es2018": require("./configs/flat/restrict-to-es2018"),
"flat/restrict-to-es2018-intl-api": require("./configs/flat/restrict-to-es2018-intl-api"),
"flat/restrict-to-es2019": require("./configs/flat/restrict-to-es2019"),
"flat/restrict-to-es2019-intl-api": require("./configs/flat/restrict-to-es2019-intl-api"),
"flat/restrict-to-es2020": require("./configs/flat/restrict-to-es2020"),
"flat/restrict-to-es2020-intl-api": require("./configs/flat/restrict-to-es2020-intl-api"),
"flat/restrict-to-es2021": require("./configs/flat/restrict-to-es2021"),
"flat/restrict-to-es2021-intl-api": require("./configs/flat/restrict-to-es2021-intl-api"),
"flat/restrict-to-es2022": require("./configs/flat/restrict-to-es2022"),
"flat/restrict-to-es2022-intl-api": require("./configs/flat/restrict-to-es2022-intl-api"),
"no-new-in-es5": require("./configs/no-new-in-es5"),

@@ -107,2 +149,3 @@ "no-new-in-es2015": require("./configs/no-new-in-es2015"),

"no-array-string-prototype-at": require("./rules/no-array-string-prototype-at"),
"no-arraybuffer-prototype-transfer": require("./rules/no-arraybuffer-prototype-transfer"),
"no-arrow-functions": require("./rules/no-arrow-functions"),

@@ -109,0 +152,0 @@ "no-async-functions": require("./rules/no-async-functions"),

@@ -94,2 +94,4 @@ "use strict"

BigUint64Array: { type: "Function", returnType: "BigUint64Array" },
ArrayBuffer: { type: "Function", returnType: "ArrayBuffer" },
SharedArrayBuffer: { type: "Function", returnType: "SharedArrayBuffer" },
Intl: {

@@ -96,0 +98,0 @@ type: "Object",

24

package.json
{
"name": "eslint-plugin-es-x",
"version": "7.5.0",
"version": "7.6.0",
"description": "ESLint plugin about ECMAScript syntactic features.",

@@ -18,6 +18,6 @@ "engines": {

"@eslint-community/regexpp": "^4.6.0",
"eslint-compat-utils": "^0.1.2"
"eslint-compat-utils": "^0.5.0"
},
"devDependencies": {
"@typescript-eslint/parser": "^6.1.0",
"@typescript-eslint/parser": "^7.0.2",
"acorn": "^8.7.0",

@@ -31,7 +31,7 @@ "env-cmd": "^10.1.0",

"eslint-plugin-vue": "^9.0.0",
"espree": "^9.3.1",
"globals": "^13.0.0",
"jsdom": "^22.0.0",
"espree": "^10.0.1",
"globals": "^14.0.0",
"jsdom": "^24.0.0",
"mocha": "^10.0.0",
"monaco-editor": "^0.44.0",
"monaco-editor": "^0.47.0",
"npm-run-all": "^4.1.5",

@@ -58,10 +58,12 @@ "nyc": "^15.0.0",

"test": "npm run -s test:mocha",
"test:mocha": "nyc mocha tests/**/*.js --reporter dot --timeout 60000",
"test:debug": "mocha tests/**/*.js --reporter dot --timeout 60000",
"test:mocha": "nyc mocha tests/**/*.{js,mjs} --reporter dot --timeout 60000",
"test:debug": "mocha tests/**/*.{js,mjs} --reporter dot --timeout 60000",
"update": "run-s update:*",
"update:url": "npm run -s lint -- --fix",
"update:configs": "node scripts/update-lib-configs",
"update:flat-configs": "node scripts/update-lib-flat-configs",
"update:index": "node scripts/update-lib-index",
"update:doc": "node scripts/update-docs-readme",
"update:ruledocs": "node scripts/update-docs-rules",
"update:rule-docs": "node scripts/update-docs-rules",
"update:config-docs": "node scripts/update-docs-configs",
"resource-update:unicode-properties": "node scripts/update-unicode-properties",

@@ -71,3 +73,3 @@ "preversion": "npm test",

"postversion": "git push && git push --tags",
"watch": "mocha tests/**/*.js --reporter progress --watch --growl"
"watch": "mocha tests/**/*.{js,mjs} --reporter progress --watch --growl"
},

@@ -74,0 +76,0 @@ "repository": {

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