Skip to content

Commit cbcfef6

Browse files
committed
chore: update dependencies
1 parent 4ccdfd6 commit cbcfef6

File tree

9 files changed

+1362
-1543
lines changed

9 files changed

+1362
-1543
lines changed

eslint.config.js

-7
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import js from "@eslint/js";
44
import keybr from "@keybr/scripts/eslint-plugin-keybr.js";
55
import confusingBrowserGlobals from "confusing-browser-globals";
6-
import chaiExpect from "eslint-plugin-chai-expect";
76
import formatjs from "eslint-plugin-formatjs";
87
import node from "eslint-plugin-n";
98
import react from "eslint-plugin-react";
@@ -32,7 +31,6 @@ export default [
3231
react.configs.flat["recommended"],
3332
react.configs.flat["jsx-runtime"],
3433
node.configs["flat/recommended-module"],
35-
chaiExpect.configs["recommended-flat"],
3634
keybr.configs["recommended"],
3735
{
3836
ignores: [
@@ -106,11 +104,6 @@ export default [
106104
"n/prefer-node-protocol": "error",
107105
"n/prefer-promises/dns": "error",
108106
"n/prefer-promises/fs": "error",
109-
// configure chai-expect
110-
"chai-expect/no-inner-compare": "error",
111-
"chai-expect/no-inner-literal": "error",
112-
"chai-expect/missing-assertion": "error",
113-
"chai-expect/terminating-properties": "error",
114107
},
115108
languageOptions: {
116109
globals: {

package-lock.json

+1,320-1,463
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+11-8
Original file line numberDiff line numberDiff line change
@@ -58,34 +58,37 @@
5858
"@sosimple/fsx-file": "^0.2.1",
5959
"@sosimple/fsx-lockfile": "^0.2.1",
6060
"@sosimple/retry": "^0.2.1",
61-
"@unicode/unicode-16.0.0": "^1.6.0",
61+
"@unicode/unicode-16.0.0": "^1.6.5",
6262
"clsx": "^2.1.1",
6363
"dotenv": "^16.4.5",
6464
"knex": "^3.1.0",
6565
"objection": "^3.1.5",
6666
"react": "^18.3.1",
6767
"react-dom": "^18.3.1",
68-
"react-intl": "^6.8.4",
69-
"react-router": "^6.27.0",
70-
"react-router-dom": "^6.27.0",
71-
"tslib": "^2.8.0",
68+
"react-intl": "^7.0.1",
69+
"react-router": "^6.28.0",
70+
"react-router-dom": "^6.28.0",
71+
"tslib": "^2.8.1",
7272
"xml-js": "^1.6.11",
7373
"zod": "^3.23.8"
7474
},
7575
"devDependencies": {
76-
"@formatjs/cli-lib": "^6.6.1",
77-
"@formatjs/ts-transformer": "^3.13.20",
76+
"@formatjs/cli-lib": "^6.6.6",
77+
"@formatjs/ts-transformer": "^3.13.23",
7878
"@testing-library/dom": "^10.4.0",
7979
"@testing-library/react": "^16.0.1",
8080
"@testing-library/user-event": "^14.5.2",
8181
"@types/chai": "^5.0.1",
82-
"@types/node": "^22.8.5",
82+
"@types/node": "^22.9.1",
8383
"@types/react": "^18.3.12",
8484
"@types/react-dom": "^18.3.1",
8585
"chai": "^5.1.1",
8686
"cheerio": "^1.0.0",
8787
"confusing-browser-globals": "^1.0.11",
8888
"rich-assert": "^0.0.3",
8989
"typescript": "^5.6.3"
90+
},
91+
"overrides": {
92+
"@formatjs/fast-memoize": "2.2.2"
9093
}
9194
}

packages/keybr-code/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@keybr/textinput": "*"
1212
},
1313
"devDependencies": {
14-
"peggy": "^4.1.1"
14+
"peggy": "^4.2.0"
1515
},
1616
"scripts": {
1717
"clean": "rm -fr .types",

packages/keybr-theme-designer/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"devDependencies": {
2727
"@keybr/scripts": "*",
28-
"css-tree": "^3.0.0"
28+
"css-tree": "^3.0.1"
2929
},
3030
"scripts": {
3131
"clean": "rm -fr .types",

packages/server/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@keybr/settings": "*",
2424
"@keybr/settings-database": "*",
2525
"@keybr/themes": "*",
26-
"@types/ws": "^8.5.12",
26+
"@types/ws": "^8.5.13",
2727
"ws": "^8.18.0"
2828
},
2929
"devDependencies": {},

patches/bson+6.9.0.patch patches/bson+6.10.0.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/node_modules/bson/lib/bson.mjs b/node_modules/bson/lib/bson.mjs
2-
index f286524..5b41351 100644
2+
index 0719954..d74586e 100644
33
--- a/node_modules/bson/lib/bson.mjs
44
+++ b/node_modules/bson/lib/bson.mjs
55
@@ -233,7 +233,7 @@ function nodejsMathRandomBytes(byteLength) {

patches/debug+4.3.7.patch patches/debug+4.3.4.patch

+17-50
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
diff --git a/node_modules/debug/src/browser.js b/node_modules/debug/src/browser.js
2-
index 8d808e5..7efe922 100644
2+
index cd0fc35..a7a6a6a 100644
33
--- a/node_modules/debug/src/browser.js
44
+++ b/node_modules/debug/src/browser.js
5-
@@ -8,17 +8,8 @@ exports.formatArgs = formatArgs;
6-
exports.save = save;
7-
exports.load = load;
5+
@@ -10,14 +10,7 @@ exports.load = load;
86
exports.useColors = useColors;
9-
-exports.storage = localstorage();
10-
-exports.destroy = (() => {
7+
exports.storage = localstorage();
8+
exports.destroy = (() => {
119
- let warned = false;
1210
-
1311
- return () => {
@@ -16,25 +14,13 @@ index 8d808e5..7efe922 100644
1614
- console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
1715
- }
1816
- };
19-
-})();
20-
+exports.storage = undefined;
21-
+exports.destroy = () => {};
17+
+ return () => {};
18+
})();
2219

2320
/**
24-
* Colors.
25-
@@ -103,40 +94,8 @@ exports.colors = [
26-
'#FFCC33'
27-
];
21+
@@ -113,28 +106,7 @@ exports.colors = [
2822

29-
-/**
30-
- * Currently only WebKit-based Web Inspectors, Firefox >= v31,
31-
- * and the Firebug extension (any Firefox version) are known
32-
- * to support "%c" CSS customizations.
33-
- *
34-
- * TODO: add a `localStorage` variable to explicitly enable/disable colors
35-
- */
36-
-
37-
-// eslint-disable-next-line complexity
23+
// eslint-disable-next-line complexity
3824
function useColors() {
3925
- // NB: In an Electron preload script, document will be defined but not fully
4026
- // initialized. Since we know we're in Chrome, we'll just detect this case
@@ -48,23 +34,21 @@ index 8d808e5..7efe922 100644
4834
- return false;
4935
- }
5036
-
51-
- let m;
52-
-
5337
- // Is webkit? http://stackoverflow.com/a/16459606/376773
5438
- // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632
5539
- return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||
5640
- // Is firebug? http://stackoverflow.com/a/398120/376773
5741
- (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||
5842
- // Is firefox >= v31?
5943
- // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
60-
- (typeof navigator !== 'undefined' && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31) ||
44+
- (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||
6145
- // Double check webkit in userAgent just in case we are in a worker
6246
- (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/));
63-
+ return false;
47+
+ return true;
6448
}
6549

6650
/**
67-
@@ -196,18 +155,7 @@ exports.log = console.debug || console.log || (() => {});
51+
@@ -194,18 +166,7 @@ exports.log = console.debug || console.log || (() => {});
6852
* @param {String} namespaces
6953
* @api private
7054
*/
@@ -84,11 +68,10 @@ index 8d808e5..7efe922 100644
8468

8569
/**
8670
* Load `namespaces`.
87-
@@ -215,44 +163,7 @@ function save(namespaces) {
88-
* @return {String} returns the previously persisted debug modes
71+
@@ -214,42 +175,7 @@ function save(namespaces) {
8972
* @api private
9073
*/
91-
-function load() {
74+
function load() {
9275
- let r;
9376
- try {
9477
- r = exports.storage.getItem('debug');
@@ -125,26 +108,10 @@ index 8d808e5..7efe922 100644
125108
- // Swallow
126109
- // XXX (@Qix-) should we be logging these?
127110
- }
128-
-}
129-
+function load() {}
111+
+ return ''
112+
}
130113

131114
module.exports = require('./common')(exports);
132-
133-
diff --git a/node_modules/debug/src/common.js b/node_modules/debug/src/common.js
134-
index e3291b2..23d57ea 100644
135-
--- a/node_modules/debug/src/common.js
136-
+++ b/node_modules/debug/src/common.js
137-
@@ -262,9 +262,7 @@ function setup(env) {
138-
* XXX DO NOT USE. This is a temporary stub function.
139-
* XXX It WILL be removed in the next major release.
140-
*/
141-
- function destroy() {
142-
- console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
143-
- }
144-
+ function destroy() {}
145-
146-
createDebug.enable(createDebug.load());
147-
148115
diff --git a/node_modules/debug/src/index.js b/node_modules/debug/src/index.js
149116
index bf4c57f..52285a1 100644
150117
--- a/node_modules/debug/src/index.js
@@ -162,7 +129,7 @@ index bf4c57f..52285a1 100644
162129
-}
163130
+module.exports = require('./node.js');
164131
diff --git a/node_modules/debug/src/node.js b/node_modules/debug/src/node.js
165-
index 715560a..f341902 100644
132+
index 79bc085..8e342de 100644
166133
--- a/node_modules/debug/src/node.js
167134
+++ b/node_modules/debug/src/node.js
168135
@@ -15,10 +15,7 @@ exports.formatArgs = formatArgs;
@@ -173,7 +140,7 @@ index 715560a..f341902 100644
173140
- () => {},
174141
- 'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'
175142
-);
176-
+exports.destroy = () => {};
143+
+exports.destroy = null;
177144

178145
/**
179146
* Colors.

scripts/package.json

+10-11
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,27 @@
44
"version": "0.0.0",
55
"type": "module",
66
"devDependencies": {
7-
"@eslint/js": "^9.13.0",
7+
"@eslint/js": "^9.15.0",
88
"compression-webpack-plugin": "^11.1.0",
99
"css-loader": "^7.1.2",
1010
"css-minimizer-webpack-plugin": "^7.0.0",
11-
"eslint": "^9.13.0",
12-
"eslint-plugin-chai-expect": "^3.1.0",
13-
"eslint-plugin-formatjs": "^5.1.5",
14-
"eslint-plugin-n": "^17.12.0",
11+
"eslint": "^9.15.0",
12+
"eslint-plugin-formatjs": "^5.2.5",
13+
"eslint-plugin-n": "^17.13.2",
1514
"eslint-plugin-react": "^7.37.2",
1615
"eslint-plugin-react-hooks": "^5.0.0",
1716
"eslint-plugin-simple-import-sort": "^12.1.1",
1817
"git-commit-info": "^2.0.2",
1918
"glob": "^11.0.0",
20-
"husky": "^9.1.6",
21-
"lage": "^2.11.9",
19+
"husky": "^9.1.7",
20+
"lage": "^2.11.15",
2221
"less": "^4.2.0",
2322
"less-loader": "^12.2.0",
2423
"lint-staged": "^15.2.10",
25-
"mini-css-extract-plugin": "^2.9.1",
24+
"mini-css-extract-plugin": "^2.9.2",
2625
"null-loader": "^4.0.1",
2726
"patch-package": "^8.0.0",
28-
"postcss": "^8.4.47",
27+
"postcss": "^8.4.49",
2928
"postcss-less": "^6.0.0",
3029
"prettier": "^3.3.3",
3130
"source-map-loader": "^5.0.0",
@@ -35,8 +34,8 @@
3534
"stylelint-plugin-logical-css": "^1.2.1",
3635
"terser-webpack-plugin": "^5.3.10",
3736
"ts-loader": "^9.5.1",
38-
"typescript-eslint": "^8.12.2",
39-
"webpack": "^5.95.0",
37+
"typescript-eslint": "^8.15.0",
38+
"webpack": "^5.96.1",
4039
"webpack-bundle-analyzer": "^4.10.2",
4140
"webpack-cli": "^5.1.4"
4241
}

0 commit comments

Comments
 (0)