diff --git a/__tests__/__util__/helpers/parsers.js b/__tests__/__util__/helpers/parsers.js index fc75cf337..36753e913 100644 --- a/__tests__/__util__/helpers/parsers.js +++ b/__tests__/__util__/helpers/parsers.js @@ -1,6 +1,5 @@ import path from 'path'; import semver from 'semver'; -import entries from 'object.entries'; import { version } from 'eslint/package.json'; import flatMap from 'array.prototype.flatmap'; @@ -23,7 +22,7 @@ function minEcmaVersion(features, parserOptions) { const result = Math.max( ...[].concat( (parserOptions && parserOptions.ecmaVersion) || [], - flatMap(entries(minEcmaVersionForFeatures), (entry) => { + flatMap(Object.entries(minEcmaVersionForFeatures), (entry) => { const f = entry[0]; const y = entry[1]; return features.has(f) ? y : []; diff --git a/package.json b/package.json index 8c7ed047d..c866ee8b7 100644 --- a/package.json +++ b/package.json @@ -62,8 +62,6 @@ "jscodeshift": "^17.0.0", "minimist": "^1.2.8", "npmignore": "^0.3.1", - "object.assign": "^4.1.5", - "object.entries": "^1.1.8", "rimraf": "^3.0.2", "safe-publish-latest": "^2.0.0", "semver": "^6.3.1",