From f0f2683a9ba8883790f78581f6b1413f955a0502 Mon Sep 17 00:00:00 2001 From: Evan Hahn Date: Fri, 22 Mar 2024 07:06:10 -0600 Subject: [PATCH 1/2] chore: enable strictFunctionTypes TypeScript option (#491) --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index 53063bfa2..c8cfc3d5b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,6 +6,7 @@ "noImplicitThis": true, "strictNullChecks": true, "strictBindCallApply": true, + "strictFunctionTypes": true, "strictPropertyInitialization": true, "useUnknownInCatchVariables": true, "allowSyntheticDefaultImports": true, From 97c16990093ea678f9194e4919ed45ce84f7d503 Mon Sep 17 00:00:00 2001 From: Evan Hahn Date: Fri, 22 Mar 2024 07:06:27 -0600 Subject: [PATCH 2/2] chore: update Brittle to latest version (#527) --- package-lock.json | 7 ++++--- package.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7ebff9fea..f02e949a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -75,7 +75,7 @@ "@types/varint": "^6.0.1", "@types/yauzl-promise": "^4.0.0", "bitfield": "^4.1.0", - "brittle": "^3.2.1", + "brittle": "^3.5.0", "cpy": "^10.1.0", "cpy-cli": "^5.0.0", "drizzle-kit": "^0.19.12", @@ -1738,9 +1738,10 @@ } }, "node_modules/brittle": { - "version": "3.2.1", + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/brittle/-/brittle-3.5.0.tgz", + "integrity": "sha512-6YC2tFLA/tp0GZXqjDGP70xs4/rQJO1A2L9ZqbFtQAJMsObZ7KelYXEArQzoqFt0upo/uoj/DEgNLRevoecrgA==", "dev": true, - "license": "MIT", "dependencies": { "b4a": "^1.6.0", "c8": "^7.11.3", diff --git a/package.json b/package.json index 3d636c4fd..f5ad781bc 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ "@types/varint": "^6.0.1", "@types/yauzl-promise": "^4.0.0", "bitfield": "^4.1.0", - "brittle": "^3.2.1", + "brittle": "^3.5.0", "cpy": "^10.1.0", "cpy-cli": "^5.0.0", "drizzle-kit": "^0.19.12",