-
-
Notifications
You must be signed in to change notification settings - Fork 686
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to Python 3.11.2, Node 18.14.2, Inferno 8, Typescript 4.9, Yar…
…n 3.4 (#8586) * Update to Python 3.11.2 and Node 18.14.2, bump Python dependencies, remove extra checks * Bump TGUI dependencies * Update globSync * Inferno 8 breaking changes * Add jest environment * Revert glob update * Add missing semicolons * Add iterator keys * Reduce TS error count a bit * Bump yarn to 3.4.1 to fix typescript errors, fix typescript, bump other dependencies again
- Loading branch information
Showing
42 changed files
with
4,630 additions
and
2,910 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
rules: | ||
# radar/cognitive-complexity: error | ||
radar/max-switch-cases: error | ||
radar/no-all-duplicated-branches: error | ||
radar/no-collapsible-if: error | ||
radar/no-collection-size-mischeck: error | ||
radar/no-duplicate-string: error | ||
radar/no-duplicated-branches: error | ||
radar/no-element-overwrite: error | ||
radar/no-extra-arguments: error | ||
radar/no-identical-conditions: error | ||
radar/no-identical-expressions: error | ||
radar/no-identical-functions: error | ||
radar/no-inverted-boolean-check: error | ||
radar/no-one-iteration-loop: error | ||
radar/no-redundant-boolean: error | ||
radar/no-redundant-jump: error | ||
radar/no-same-line-conditional: error | ||
radar/no-small-switch: error | ||
radar/no-unused-collection: error | ||
radar/no-use-of-empty-return-value: error | ||
radar/no-useless-catch: error | ||
radar/prefer-immediate-return: error | ||
radar/prefer-object-literal: error | ||
radar/prefer-single-boolean-return: error | ||
radar/prefer-while: error | ||
# sonarjs/cognitive-complexity: error | ||
sonarjs/max-switch-cases: error | ||
sonarjs/no-all-duplicated-branches: error | ||
sonarjs/no-collapsible-if: error | ||
sonarjs/no-collection-size-mischeck: error | ||
sonarjs/no-duplicate-string: error | ||
sonarjs/no-duplicated-branches: error | ||
sonarjs/no-element-overwrite: error | ||
sonarjs/no-extra-arguments: error | ||
sonarjs/no-identical-conditions: error | ||
sonarjs/no-identical-expressions: error | ||
sonarjs/no-identical-functions: error | ||
sonarjs/no-inverted-boolean-check: error | ||
sonarjs/no-one-iteration-loop: error | ||
sonarjs/no-redundant-boolean: error | ||
sonarjs/no-redundant-jump: error | ||
sonarjs/no-same-line-conditional: error | ||
sonarjs/no-small-switch: error | ||
sonarjs/no-unused-collection: error | ||
sonarjs/no-use-of-empty-return-value: error | ||
sonarjs/no-useless-catch: error | ||
sonarjs/prefer-immediate-return: error | ||
sonarjs/prefer-object-literal: error | ||
sonarjs/prefer-single-boolean-return: error | ||
sonarjs/prefer-while: error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
#!/usr/bin/env node | ||
|
||
const {existsSync} = require(`fs`); | ||
const {createRequire, createRequireFromPath} = require(`module`); | ||
const {createRequire} = require(`module`); | ||
const {resolve} = require(`path`); | ||
|
||
const relPnpApiPath = "../../../../.pnp.cjs"; | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath); | ||
const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath); | ||
const absRequire = createRequire(absPnpApiPath); | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require eslint/lib/api.js | ||
// Setup the environment to be able to require eslint | ||
require(absPnpApiPath).setup(); | ||
} | ||
} | ||
|
||
// Defer to the real eslint/lib/api.js your application uses | ||
module.exports = absRequire(`eslint/lib/api.js`); | ||
// Defer to the real eslint your application uses | ||
module.exports = absRequire(`eslint`); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "eslint", | ||
"version": "7.32.0-sdk", | ||
"version": "8.35.0-sdk", | ||
"main": "./lib/api.js", | ||
"type": "commonjs" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.