595 Commits

Author SHA1 Message Date
90ecefea80 Update Flow to 0.261.2
https://github.com/facebook/flow/releases/tag/v0.261.0
https://github.com/facebook/flow/releases/tag/v0.261.1
https://github.com/facebook/flow/releases/tag/v0.261.2

No errors.
2025-02-28 13:24:37 -06:00
52836f7afe Update Flow to 0.260.0
https://github.com/facebook/flow/releases/tag/v0.260.0

No errors (and in fact it solves an earlier error, since number typed keys
are now allowed).
2025-02-28 13:24:37 -06:00
cfba7af739 Update Flow to 0.259.1
https://github.com/facebook/flow/releases/tag/v0.259.0
https://github.com/facebook/flow/releases/tag/v0.259.1

No errors.
2025-02-28 13:24:37 -06:00
ffc0b729a7 Update Flow to 0.258.1
https://github.com/facebook/flow/releases/tag/v0.258.0
https://github.com/facebook/flow/releases/tag/v0.258.1

No errors.
2025-02-28 13:24:37 -06:00
ea4d08f57e Update Flow to 0.257.1
https://github.com/facebook/flow/releases/tag/v0.257.0
https://github.com/facebook/flow/releases/tag/v0.257.1

Most changes are because of the new ways of evaluating primitives.
2025-02-28 13:24:34 -06:00
51d98a06cf Update Flow to 0.256.0
https://github.com/facebook/flow/releases/tag/v0.256.0

No errors.
2025-02-27 12:45:10 -06:00
0bcd2e2504 Update Flow to 0.255.0
https://github.com/facebook/flow/releases/tag/v0.255.0

No errors.
2025-02-27 12:45:10 -06:00
1e04a3ec97 Update Flow to 0.254.2
https://github.com/facebook/flow/releases/tag/v0.254.0
https://github.com/facebook/flow/releases/tag/v0.254.1
https://github.com/facebook/flow/releases/tag/v0.254.2

No errors.
2025-02-27 12:45:10 -06:00
b7b8a8db2b Update Flow to 0.253.0
https://github.com/facebook/flow/releases/tag/v0.253.0

No errors.
2025-02-27 12:45:10 -06:00
a8db7da0d3 Update Flow to 0.252.0
https://github.com/facebook/flow/releases/tag/v0.252.0

No errors.
2025-02-27 12:45:10 -06:00
1efc6bc26d Update Flow to 0.251.1
https://github.com/facebook/flow/releases/tag/v0.251.0
https://github.com/facebook/flow/releases/tag/v0.251.1

Most changes are due to the deprecation of
`React.AbstractComponent<Props, Instance>`, which is now replaced with
`component(ref: React.RefSetter<Instance>, ...Props)`.

Co-Authored-By: Michael Wiencek <mwtuea@gmail.com>
2025-02-27 12:45:05 -06:00
4cb0e0e9f5 Install xgettext-js from org-scoped package rather than git (#3470)
Installing it from git is very likely to be the cause of issues such as
https://github.com/metabrainz/musicbrainz-docker/issues/295 which are outside
of our control, as we cannot guarantee that yarn will generate an identical
tarball on all platforms.

I've published our fork of xgettext-js to the metabrainz org on npm, and have
updated our code to reference that instead.

The only change I made to the fork in the meantime was bumping the version of
hermes-parser used.
2025-02-13 11:31:52 -06:00
d4521a9d35 Update stylistic to 2.12.0
https://github.com/eslint-stylistic/eslint-stylistic/releases/tag/v2.12.0
2024-12-17 20:25:03 +02:00
1075095c84 Update eslint to 9.16.0
https://github.com/eslint/eslint/releases/tag/v9.16.0
2024-12-17 20:25:03 +02:00
b9b285715c Update stylistic to 2.11.0
https://github.com/eslint-stylistic/eslint-stylistic/releases/tag/v2.11.0
2024-12-17 20:25:03 +02:00
e3333d7a0a Update stylistic to 2.10.1
https://github.com/eslint-stylistic/eslint-stylistic/releases/tag/v2.10.0
https://github.com/eslint-stylistic/eslint-stylistic/releases/tag/v2.10.1
2024-12-17 20:25:03 +02:00
12b327b3c2 Update eslint to 9.15.0
https://github.com/eslint/eslint/releases/tag/v9.15.0
2024-12-17 20:25:03 +02:00
3cfe1b14bb Update to eslint 9.14.0
https://github.com/eslint/eslint/releases/tag/v9.14.0
2024-12-17 20:25:03 +02:00
437cb031a4 Update eslint-plugin-react to 7.37.2
https://github.com/jsx-eslint/eslint-plugin-react/releases/tag/v7.37.2
No new errors, no new rules.
2024-12-17 20:25:03 +02:00
29532a9e73 Update to eslint 9.13.0
No changes needed.
https://github.com/eslint/eslint/releases/tag/v9.13.0
2024-12-17 20:25:03 +02:00
bee028d900 Update eslint-plugin-react-hooks to 5.0.0
This has breaking changes in /rules-of-hooks but we don't use that
(because Flow takes care of it and it clashes with component syntax).
2024-12-17 20:25:03 +02:00
35a88943d4 Update @stylistic/eslint to 2.9.0
They now recommend just using their default plugin rather
than the separate js and jsx ones, so this changes our usage to follow that.
2024-12-17 20:25:03 +02:00
313c01f08f Update to eslint 9.12.0
This introduces a crash in no-unused-vars in some flow type pages
(https://github.com/eslint/eslint/issues/18876)
which might or might not get fixed on eslint or hermes.
That said, for now we are fine just disabling the no-unused-vars rule
on the three affected files.

A few new issues were detected for no-unused-vars for errors.
I explicitly indicated now that we're ignoring the error by using the variable
name ignoredError and ignoring that name for the rule.

As a new feature, this version of eslint now lets us know where the rules that
we are disabling are no longer warning or erroring (probably due to now fixed
eslint bugs). As such, we can remove those disable lines.
2024-12-17 20:25:03 +02:00
d29286463c Update eslint-plugin-react to 7.37.1 2024-12-17 20:25:03 +02:00
614aa1d7a3 Update eslint-plugin-import to 2.31.0
This is supposed to work with eslint9 - we'll see.

It allows a new checkTypeImports option for import/extensions
which we might as well include.

Some new warnings were being shown for /unambiguous and /no-cycle.
/unambiguous turns out to be way too whiny and we decided to
turn it off. /no-cycle required a fairly large rewriting of the
guess case code, which was a mess and is certainly somewhat better
(if not quite yet *good*) because of it.
2024-12-17 20:25:02 +02:00
0a665c103b Update hermes-parser to 0.24.0 2024-12-17 20:25:02 +02:00
bf2790a1f2 Update eslint to v8.57.1 2024-12-17 20:25:02 +02:00
9b2c49529c Update eslint-plugin-react to 7.36.1
Ignore the new rule forward-ref-uses-ref since forwardRef gets
deprecated in React 19 anyway.
2024-12-17 20:25:02 +02:00
7230e57213 Update eslint-plugin-react to 7.35.2 2024-12-17 20:25:02 +02:00
1d66fcf3ef Update hermes packages
yarn up '*hermes*' --exact
2024-12-17 20:25:02 +02:00
45ff1388dd Update @babel packages
yarn up '@babel/*' --exact
2024-12-17 20:25:02 +02:00
81e8b99106 Update eslint-plugin-import to 2.30.0 2024-12-17 20:25:02 +02:00
85b1b4489d Merge pull request #3385 from yvanzo/sec-upds
Security updates
2024-10-18 18:06:45 +02:00
739825794a Update Flow to 0.250.0
https://github.com/facebook/flow/releases/tag/v0.250.0

No errors.
2024-10-18 09:54:05 +02:00
4d15925384 Update Flow to 0.249.0
https://github.com/facebook/flow/releases/tag/v0.249.0

No errors.
2024-10-18 09:36:33 +02:00
00e95255fd Update Flow to 0.248.1
https://github.com/facebook/flow/releases/tag/v0.248.0
https://github.com/facebook/flow/releases/tag/v0.248.1

Only error is a change in the kind of FlowIgnore needed for globalThis.
2024-10-16 16:04:03 +02:00
52bd35af42 Update Flow to 0.247.1
https://github.com/facebook/flow/releases/tag/v0.247.0
https://github.com/facebook/flow/releases/tag/v0.247.1

No errors.
2024-10-16 16:04:03 +02:00
907928c440 Update Flow to 0.246.0
https://github.com/facebook/flow/releases/tag/v0.246.0

"React.RefSetter now includes null and void" which was causing new
errors in the forwardRef type in withLoadedTypeInfo. I chose
to just mirror the React type exactly, which seems fine here.
2024-10-16 16:04:03 +02:00
12bf31093d Update webpack to address CVE-2024-43788
yarn up webpack --exact
2024-10-15 11:55:13 +02:00
39da08d547 Upgrade @sentry to address GHSA-593m-55hh-j8gv
This vulnerability is addressed starting from the version 7.119.1.

The version 7.119.2 is the latest version that preceeds the version 8.x
(which drops support for browsers not providing ES2018+ compatibility).

    yarn up '@sentry/*@7.119.2'
2024-10-15 11:43:08 +02:00
33081f0a52 Update cookie JS dep to address CVE-2024-47764
This vulnerability is addressed starting from the version 0.7.0.

The version 0.7.2 is the latest version that preceeds the version 1.0.0
(which has been released with breaking changes that must be checked).

    yarn up cookie@0.7.2
2024-10-15 11:42:50 +02:00
a027e3d208 Update Flow to 0.245.2 (#3374)
`globalThis` is now supported, so our custom definition is removed (as it now
causes errors within internal Flow libs).
2024-09-05 18:07:12 +03:00
04afb412c1 Update nyc to 17.0.0 2024-09-03 16:56:57 +02:00
e09c7260d4 Update globals to 15.9.0 2024-09-03 16:56:57 +02:00
5372045d3a Update eslint-plugin-react-hooks to 4.6.2 2024-09-03 16:56:57 +02:00
4bf737fe3c Update @stylistic eslint plugins to 2.6.4 2024-09-03 16:56:57 +02:00
0f7dd9ee2f Update babel-plugin-istanbul to 7.0.0 2024-09-03 16:56:57 +02:00
bed6079c3e Update webpack to 5.93.0 2024-09-03 16:56:57 +02:00
9f788a6560 Update tablesorter to 2.32.0 2024-09-03 16:56:57 +02:00
a2d0874dce Update pg-cursor to 2.11.0 2024-09-03 16:56:57 +02:00