File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
__tests__/__util__/helpers Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 11import path from 'path' ;
22import semver from 'semver' ;
3- import entries from 'object.entries' ;
43import { version } from 'eslint/package.json' ;
54import flatMap from 'array.prototype.flatmap' ;
65
@@ -23,7 +22,7 @@ function minEcmaVersion(features, parserOptions) {
2322 const result = Math . max (
2423 ...[ ] . concat (
2524 ( parserOptions && parserOptions . ecmaVersion ) || [ ] ,
26- flatMap ( entries ( minEcmaVersionForFeatures ) , ( entry ) => {
25+ flatMap ( Object . entries ( minEcmaVersionForFeatures ) , ( entry ) => {
2726 const f = entry [ 0 ] ;
2827 const y = entry [ 1 ] ;
2928 return features . has ( f ) ? y : [ ] ;
Original file line number Diff line number Diff line change 6262 "jscodeshift" : " ^17.0.0" ,
6363 "minimist" : " ^1.2.8" ,
6464 "npmignore" : " ^0.3.1" ,
65- "object.assign" : " ^4.1.5" ,
66- "object.entries" : " ^1.1.8" ,
6765 "rimraf" : " ^3.0.2" ,
6866 "safe-publish-latest" : " ^2.0.0" ,
6967 "semver" : " ^6.3.1" ,
You can’t perform that action at this time.
0 commit comments