File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
__tests__/__util__/helpers Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 2626 node-version : ${{ fromJson(needs.matrix.outputs.latest) }}
2727 eslint :
2828 - 9
29+ - 9.13.0
2930 - 8
31+ - 8.57.0
3032
3133 steps :
3234 - uses : actions/checkout@v4
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' ;
54
65let tsParserVersion ;
@@ -22,7 +21,7 @@ function minEcmaVersion(features, parserOptions) {
2221 const result = Math . max (
2322 ...[ ] . concat (
2423 ( parserOptions && parserOptions . ecmaVersion ) || [ ] ,
25- entries ( minEcmaVersionForFeatures ) . flatMap ( ( entry ) => {
24+ Object . entries ( minEcmaVersionForFeatures ) . flatMap ( ( entry ) => {
2625 const f = entry [ 0 ] ;
2726 const y = entry [ 1 ] ;
2827 return features . has ( f ) ? y : [ ] ;
Original file line number Diff line number Diff line change 4949 "auto-changelog" : " ^2.5.0" ,
5050 "babel-plugin-add-module-exports" : " ^1.0.4" ,
5151 "babel-preset-airbnb" : " ^5.0.0" ,
52- "eslint" : " ^8.8 || ^9.13" ,
52+ "eslint" : " ^8.57.0 || ^9.13.0 " ,
5353 "eslint-config-airbnb-base" : " ^15.0.0" ,
5454 "eslint-doc-generator" : " ^1.7.1" ,
5555 "eslint-plugin-eslint-plugin" : " ^4.3.0" ,
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" ,
8684 "safe-regex-test" : " ^1.0.3"
8785 },
8886 "peerDependencies" : {
89- "eslint" : " ^8.8 || ^9.13"
87+ "eslint" : " ^8.57.0 || ^9.13.0 "
9088 },
9189 "auto-changelog" : {
9290 "output" : " CHANGELOG.md" ,
You can’t perform that action at this time.
0 commit comments