prostgles-server 4.2.642 → 4.2.644
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/debug/caught-request-fix-build.log +4 -0
- package/debug/caught-request-fix-test-build.log +0 -0
- package/debug/caught-request-subscription-failure.log +603 -0
- package/debug/caught-validation-build.log +4 -0
- package/debug/caught-validation-fix-build.log +4 -0
- package/debug/caught-validation-fix-test-build.log +0 -0
- package/debug/caught-validation-test-build.log +0 -0
- package/debug/client-db-tx-build.log +4 -0
- package/debug/client-db-tx-test-server.log +3248 -0
- package/debug/client-db-tx-tests-build.log +0 -0
- package/debug/client-handler-shape-build.log +4 -0
- package/debug/client-handler-shape-test-server.log +544 -0
- package/debug/client-handler-shape-tests-build.log +0 -0
- package/debug/column-definitions-test-server.log +152 -164
- package/debug/fixes-review-build.log +4 -0
- package/debug/fixes-review-client-schema.backup +745 -0
- package/debug/fixes-review-generated-schema.backup +489 -0
- package/debug/fixes-review-probes-build.log +0 -0
- package/debug/fixes-review-probes.patch +43 -0
- package/debug/fixes-review-restore-build.log +0 -0
- package/debug/fixes-review-tests-build.log +0 -0
- package/debug/fixes-review-typecheck.log +8 -0
- package/debug/function-client-db-tx-build.log +4 -0
- package/debug/function-client-db-tx-tests-build.log +0 -0
- package/debug/review-current-fixes-build.log +4 -0
- package/debug/review-current-fixes-client.backup +745 -0
- package/debug/review-current-fixes-probes-build.log +0 -0
- package/debug/review-current-fixes-probes.patch +55 -0
- package/debug/review-current-fixes-restore-build.log +0 -0
- package/debug/review-current-fixes-rls.backup +478 -0
- package/debug/review-current-fixes-schema.backup +489 -0
- package/debug/review-current-fixes-test-build.log +0 -0
- package/debug/review-current-fixes-typecheck.log +8 -0
- package/debug/review-user-identity-build.log +4 -0
- package/debug/review-user-identity-probes-build.log +0 -0
- package/debug/review-user-identity-probes.log +558 -0
- package/debug/review-user-identity-probes.patch +45 -0
- package/debug/review-user-identity-restore-build.log +0 -0
- package/debug/review-user-identity-rls.backup +463 -0
- package/debug/review-user-identity-schema.backup +720 -0
- package/debug/review-user-identity-server.log +3248 -0
- package/debug/review-user-identity-test-build.log +0 -0
- package/debug/review-user-identity-typecheck.log +8 -0
- package/debug/schema-types-focused-strict-check.log +0 -0
- package/debug/schema-types-strict-check.log +38 -0
- package/debug/schema-types-tests-build.log +0 -0
- package/debug/security-review-baseline-tests.log +3250 -0
- package/debug/security-review-build.log +4 -0
- package/debug/security-review-checkfilter-repro.log +545 -0
- package/debug/security-review-clientSchemaTypes.spec.ts.backup +553 -0
- package/debug/security-review-repro-build.log +0 -0
- package/debug/security-review-repro.spec.ts +591 -0
- package/debug/security-review-restore-build.log +0 -0
- package/debug/security-review-server-tests.log +3254 -0
- package/debug/security-review-test-build.log +0 -0
- package/debug/server-user-lint.log +4 -0
- package/debug/server-user-test-server.log +538 -0
- package/debug/server-user-typecheck.log +8 -0
- package/debug/test-check-eslint.log +6 -0
- package/debug/test-check-lint-baseline.json +1 -0
- package/debug/test-check-npm-test.log +789 -0
- package/debug/test-check-types.log +8 -0
- package/debug/test-config-npm-test.log +223 -0
- package/debug/test-config-strict-null-check.log +50 -0
- package/debug/test-config-typecheck.log +8 -0
- package/debug/tryRunP-test-quick.log +78 -0
- package/debug/tryRunP-typecheck.log +42 -0
- package/debug/user-identity-direct-call-build.log +0 -0
- package/debug/user-identity-direct-call-schema.backup +489 -0
- package/debug/user-identity-regressions-build.log +4 -0
- package/debug/user-identity-regressions-generated-schema.backup +489 -0
- package/debug/user-identity-regressions-test-build.log +0 -0
- package/dist/Auth/AuthHandler.js +1 -1
- package/dist/Auth/AuthHandler.js.map +1 -1
- package/dist/Auth/AuthTypes.d.ts +11 -9
- package/dist/Auth/AuthTypes.d.ts.map +1 -1
- package/dist/Auth/AuthTypes.js.map +1 -1
- package/dist/Auth/utils/getClientRequestIPsInfo.d.ts +2 -1
- package/dist/Auth/utils/getClientRequestIPsInfo.d.ts.map +1 -1
- package/dist/Auth/utils/getClientRequestIPsInfo.js +8 -1
- package/dist/Auth/utils/getClientRequestIPsInfo.js.map +1 -1
- package/dist/Auth/utils/getSessionUser.d.ts +4 -3
- package/dist/Auth/utils/getSessionUser.d.ts.map +1 -1
- package/dist/Auth/utils/getSessionUser.js +4 -2
- package/dist/Auth/utils/getSessionUser.js.map +1 -1
- package/dist/Auth/utils/getSessionUser.spec.js +2 -4
- package/dist/Auth/utils/getSessionUser.spec.js.map +1 -1
- package/dist/Auth/utils/handleGetUser.d.ts.map +1 -1
- package/dist/Auth/utils/handleGetUser.js +16 -0
- package/dist/Auth/utils/handleGetUser.js.map +1 -1
- package/dist/Auth/utils/serverSideRequest.d.ts +17 -0
- package/dist/Auth/utils/serverSideRequest.d.ts.map +1 -0
- package/dist/Auth/utils/serverSideRequest.js +20 -0
- package/dist/Auth/utils/serverSideRequest.js.map +1 -0
- package/dist/DboBuilder/DboBuilder.d.ts.map +1 -1
- package/dist/DboBuilder/DboBuilder.js +4 -2
- package/dist/DboBuilder/DboBuilder.js.map +1 -1
- package/dist/DboBuilder/TableHandler/TableHandler.d.ts +1 -1
- package/dist/DboBuilder/ViewHandler/ViewHandler.d.ts +0 -4
- package/dist/DboBuilder/ViewHandler/ViewHandler.d.ts.map +1 -1
- package/dist/DboBuilder/ViewHandler/ViewHandler.js +5 -8
- package/dist/DboBuilder/ViewHandler/ViewHandler.js.map +1 -1
- package/dist/DboBuilder/ViewHandler/count.d.ts.map +1 -1
- package/dist/DboBuilder/ViewHandler/count.js +2 -1
- package/dist/DboBuilder/ViewHandler/count.js.map +1 -1
- package/dist/DboBuilder/ViewHandler/find.d.ts.map +1 -1
- package/dist/DboBuilder/ViewHandler/find.js +2 -1
- package/dist/DboBuilder/ViewHandler/find.js.map +1 -1
- package/dist/DboBuilder/ViewHandler/getDbHandlerWithAbort.d.ts +9 -2
- package/dist/DboBuilder/ViewHandler/getDbHandlerWithAbort.d.ts.map +1 -1
- package/dist/DboBuilder/ViewHandler/getDbHandlerWithAbort.js +57 -23
- package/dist/DboBuilder/ViewHandler/getDbHandlerWithAbort.js.map +1 -1
- package/dist/DboBuilder/ViewHandler/size.d.ts.map +1 -1
- package/dist/DboBuilder/ViewHandler/size.js +2 -1
- package/dist/DboBuilder/ViewHandler/size.js.map +1 -1
- package/dist/DboBuilder/dboBuilderUtils.d.ts +1 -0
- package/dist/DboBuilder/dboBuilderUtils.d.ts.map +1 -1
- package/dist/DboBuilder/dboBuilderUtils.js +2 -1
- package/dist/DboBuilder/dboBuilderUtils.js.map +1 -1
- package/dist/PublishParser/PublishParser.d.ts.map +1 -1
- package/dist/PublishParser/PublishParser.js +2 -1
- package/dist/PublishParser/PublishParser.js.map +1 -1
- package/dist/PublishParser/defineServerFunction.d.ts +2 -0
- package/dist/PublishParser/defineServerFunction.d.ts.map +1 -1
- package/dist/PublishParser/defineServerFunction.js.map +1 -1
- package/dist/PublishParser/getPublishedTableNames.d.ts.map +1 -1
- package/dist/PublishParser/getPublishedTableNames.js +2 -1
- package/dist/PublishParser/getPublishedTableNames.js.map +1 -1
- package/dist/PublishParser/publishTypesAndUtils.d.ts +1 -1
- package/dist/PublishParser/publishTypesAndUtils.d.ts.map +1 -1
- package/dist/StorageClient/StorageClientTypes.d.ts +5 -4
- package/dist/StorageClient/StorageClientTypes.d.ts.map +1 -1
- package/dist/WebsocketAPI/getClientHandlers.d.ts +5 -0
- package/dist/WebsocketAPI/getClientHandlers.d.ts.map +1 -1
- package/dist/WebsocketAPI/getClientHandlers.js +33 -14
- package/dist/WebsocketAPI/getClientHandlers.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/initProstgles.d.ts +12 -2
- package/dist/initProstgles.d.ts.map +1 -1
- package/dist/initProstgles.js +10 -1
- package/dist/initProstgles.js.map +1 -1
- package/dist/runClientRequest.d.ts +2 -1
- package/dist/runClientRequest.d.ts.map +1 -1
- package/dist/runClientRequest.js +7 -4
- package/dist/runClientRequest.js.map +1 -1
- package/eslint.config.mjs +21 -1
- package/lib/Auth/AuthHandler.ts +1 -1
- package/lib/Auth/AuthTypes.ts +12 -8
- package/lib/Auth/utils/getClientRequestIPsInfo.ts +11 -2
- package/lib/Auth/utils/getSessionUser.spec.ts +4 -6
- package/lib/Auth/utils/getSessionUser.ts +8 -5
- package/lib/Auth/utils/handleGetUser.ts +13 -0
- package/lib/Auth/utils/serverSideRequest.ts +27 -0
- package/lib/DboBuilder/DboBuilder.ts +7 -2
- package/lib/DboBuilder/ViewHandler/ViewHandler.ts +11 -11
- package/lib/DboBuilder/ViewHandler/count.ts +2 -1
- package/lib/DboBuilder/ViewHandler/find.ts +2 -1
- package/lib/DboBuilder/ViewHandler/getDbHandlerWithAbort.ts +72 -29
- package/lib/DboBuilder/ViewHandler/size.ts +2 -1
- package/lib/DboBuilder/dboBuilderUtils.ts +2 -0
- package/lib/PublishParser/PublishParser.ts +2 -1
- package/lib/PublishParser/defineServerFunction.ts +3 -5
- package/lib/PublishParser/getPublishedTableNames.ts +2 -1
- package/lib/PublishParser/publishTypesAndUtils.ts +1 -1
- package/lib/StorageClient/StorageClientTypes.ts +5 -4
- package/lib/WebsocketAPI/getClientHandlers.ts +63 -29
- package/lib/index.ts +3 -3
- package/lib/initProstgles.ts +31 -5
- package/lib/runClientRequest.ts +10 -3
- package/package.json +5 -3
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
|
|
2
|
+
> prostgles-server@4.2.642 test
|
|
3
|
+
> npm run test:lib && npm run test-only
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
> prostgles-server@4.2.642 test:lib
|
|
7
|
+
> rm -rf ./node_modules/* && rm -rf ./dist/* && npm i && npm run lint -- --ignore-pattern tests && tsc && node --trace-uncaught --test dist/**/*.spec.js
|
|
8
|
+
|
|
9
|
+
npm warn deprecated eslint@9.39.5: This version is no longer supported. Please see https://eslint.org/version-support for other options.
|
|
10
|
+
|
|
11
|
+
> prostgles-server@4.2.642 prepare
|
|
12
|
+
> npm run build
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
> prostgles-server@4.2.642 build
|
|
16
|
+
> tsc
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
added 226 packages in 5s
|
|
20
|
+
|
|
21
|
+
51 packages are looking for funding
|
|
22
|
+
run `npm fund` for details
|
|
23
|
+
|
|
24
|
+
> prostgles-server@4.2.642 lint
|
|
25
|
+
> eslint . --ext .ts --quiet --ignore-pattern tests
|
|
26
|
+
|
|
27
|
+
✔ dist/DBSchemaBuilder/DBSchemaBuilder.spec.js (338.810428ms)
|
|
28
|
+
✔ dist/DBSchemaBuilder/getServerFunctionReturnTypes.spec.js (1375.191893ms)
|
|
29
|
+
✔ dist/DboBuilder/DboBuilder.spec.js (311.812642ms)
|
|
30
|
+
✔ dist/DboBuilder/dboBuilderUtils.spec.js (70.335934ms)
|
|
31
|
+
✔ dist/PublishParser/defineServerFunction.spec.js (361.767949ms)
|
|
32
|
+
✔ dist/PublishParser/getFileVersionTableRules.spec.js (42.957703ms)
|
|
33
|
+
✔ dist/StorageClient/getFileTableConfig.spec.js (297.326964ms)
|
|
34
|
+
✔ dist/typeTests/DBOFullyTyped.spec.js (46.535321ms)
|
|
35
|
+
ℹ tests 8
|
|
36
|
+
ℹ suites 0
|
|
37
|
+
ℹ pass 8
|
|
38
|
+
ℹ fail 0
|
|
39
|
+
ℹ cancelled 0
|
|
40
|
+
ℹ skipped 0
|
|
41
|
+
ℹ todo 0
|
|
42
|
+
ℹ duration_ms 1385.609774
|
|
43
|
+
|
|
44
|
+
> prostgles-server@4.2.642 test-only
|
|
45
|
+
> cd tests/ && ./test.sh
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
> prostgles-server@4.2.642 build
|
|
49
|
+
> tsc
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
> client@1.0.0 build
|
|
53
|
+
> rm -rf ./node_modules/* && rm -rf ./dist/* && npm i && tsc
|
|
54
|
+
|
|
55
|
+
npm warn deprecated whatwg-encoding@3.1.1: Use @exodus/bytes instead for a more spec-conformant and faster implementation
|
|
56
|
+
|
|
57
|
+
added 55 packages in 487ms
|
|
58
|
+
|
|
59
|
+
7 packages are looking for funding
|
|
60
|
+
run `npm fund` for details
|
|
61
|
+
|
|
62
|
+
> client@1.0.0 testBasicHooks
|
|
63
|
+
> node --test dist/client/basicHooks.spec.js
|
|
64
|
+
|
|
65
|
+
✔ dist/client/basicHooks.spec.js (3417.983074ms)
|
|
66
|
+
ℹ tests 1
|
|
67
|
+
ℹ suites 0
|
|
68
|
+
ℹ pass 1
|
|
69
|
+
ℹ fail 0
|
|
70
|
+
ℹ cancelled 0
|
|
71
|
+
ℹ skipped 0
|
|
72
|
+
ℹ todo 0
|
|
73
|
+
ℹ duration_ms 3424.566441
|
|
74
|
+
|
|
75
|
+
up to date in 4s
|
|
76
|
+
|
|
77
|
+
28 packages are looking for funding
|
|
78
|
+
run `npm fund` for details
|
|
79
|
+
|
|
80
|
+
> server_tests@1.0.0 build
|
|
81
|
+
> rm -rf ./node_modules/* && rm -rf ./media/* && rm -rf ./dist/* && npm i && tsc
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
added 113 packages in 4s
|
|
85
|
+
|
|
86
|
+
28 packages are looking for funding
|
|
87
|
+
run `npm fund` for details
|
|
88
|
+
|
|
89
|
+
> prostgles-server@4.2.642 lint
|
|
90
|
+
> eslint . --ext .ts --quiet
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
/home/s/prostgles-server-js/tests/client/basicHooks.spec.ts
|
|
94
|
+
6:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
95
|
+
|
|
96
|
+
/home/s/prostgles-server-js/tests/client/index.ts
|
|
97
|
+
5:1 error All imports in the declaration are only used as types. Use `import type` @typescript-eslint/consistent-type-imports
|
|
98
|
+
7:1 error All imports in the declaration are only used as types. Use `import type` @typescript-eslint/consistent-type-imports
|
|
99
|
+
118:5 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
100
|
+
|
|
101
|
+
/home/s/prostgles-server-js/tests/client/renderReactHook.ts
|
|
102
|
+
51:17 error The `Function` type accepts any function-like value.
|
|
103
|
+
Prefer explicitly defining any function parameters and return type @typescript-eslint/no-unsafe-function-type
|
|
104
|
+
112:7 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
105
|
+
|
|
106
|
+
/home/s/prostgles-server-js/tests/client/useProstgles.spec.ts
|
|
107
|
+
38:9 error Async method 'onRender' has no 'await' expression @typescript-eslint/require-await
|
|
108
|
+
40:11 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
109
|
+
63:9 error Async method 'onEnd' has no 'await' expression @typescript-eslint/require-await
|
|
110
|
+
|
|
111
|
+
/home/s/prostgles-server-js/tests/clientOnlyQueries.spec.ts
|
|
112
|
+
3:1 error Imports "AnyObject", "DBSchemaTable" and "SocketSQLStreamPacket" are only used as type @typescript-eslint/consistent-type-imports
|
|
113
|
+
82:64 error Async arrow function 'listener' has no 'await' expression @typescript-eslint/require-await
|
|
114
|
+
110:64 error Async arrow function 'listener' has no 'await' expression @typescript-eslint/require-await
|
|
115
|
+
120:17 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator. A rejection handler that is not a function will be ignored @typescript-eslint/no-floating-promises
|
|
116
|
+
142:64 error Async arrow function 'listener' has no 'await' expression @typescript-eslint/require-await
|
|
117
|
+
152:15 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator. A rejection handler that is not a function will be ignored @typescript-eslint/no-floating-promises
|
|
118
|
+
188:11 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator. A rejection handler that is not a function will be ignored @typescript-eslint/no-floating-promises
|
|
119
|
+
200:64 error Async arrow function 'listener' has no 'await' expression @typescript-eslint/require-await
|
|
120
|
+
246:13 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator. A rejection handler that is not a function will be ignored @typescript-eslint/no-floating-promises
|
|
121
|
+
262:68 error Async arrow function 'listener' has no 'await' expression @typescript-eslint/require-await
|
|
122
|
+
280:49 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
123
|
+
284:68 error Async arrow function 'listener' has no 'await' expression @typescript-eslint/require-await
|
|
124
|
+
299:11 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator. A rejection handler that is not a function will be ignored @typescript-eslint/no-floating-promises
|
|
125
|
+
414:18 error Redundant double negation no-extra-boolean-cast
|
|
126
|
+
508:15 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
127
|
+
529:15 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
128
|
+
547:15 error 'inserts' is never reassigned. Use 'const' instead prefer-const
|
|
129
|
+
570:79 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
130
|
+
612:17 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
131
|
+
806:96 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
132
|
+
853:46 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
133
|
+
|
|
134
|
+
/home/s/prostgles-server-js/tests/clientRestApi.spec.ts
|
|
135
|
+
3:1 error Imports "DBSchemaTable" are only used as type @typescript-eslint/consistent-type-imports
|
|
136
|
+
|
|
137
|
+
/home/s/prostgles-server-js/tests/isomorphicQueries.spec.ts
|
|
138
|
+
472:11 error 'str' is never reassigned. Use 'const' instead prefer-const
|
|
139
|
+
473:9 error 'data' is never reassigned. Use 'const' instead prefer-const
|
|
140
|
+
474:9 error 'mediaFile' is never reassigned. Use 'const' instead prefer-const
|
|
141
|
+
961:95 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
142
|
+
988:19 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
143
|
+
1063:13 error 'callbacksFired' is never reassigned. Use 'const' instead prefer-const
|
|
144
|
+
1066:88 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
145
|
+
1132:9 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
146
|
+
1165:87 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
147
|
+
1222:17 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
148
|
+
1265:88 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
149
|
+
1280:88 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
150
|
+
1300:18 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
151
|
+
1320:18 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
152
|
+
1537:11 error 'i' is never reassigned. Use 'const' instead prefer-const
|
|
153
|
+
1553:11 error 'u' is never reassigned. Use 'const' instead prefer-const
|
|
154
|
+
1568:11 error 'd' is never reassigned. Use 'const' instead prefer-const
|
|
155
|
+
2068:25 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
156
|
+
2440:24 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
157
|
+
2543:67 error The `Function` type accepts any function-like value.
|
|
158
|
+
Prefer explicitly defining any function parameters and return type @typescript-eslint/no-unsafe-function-type
|
|
159
|
+
2557:18 error The `Function` type accepts any function-like value.
|
|
160
|
+
Prefer explicitly defining any function parameters and return type @typescript-eslint/no-unsafe-function-type
|
|
161
|
+
2581:46 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
162
|
+
|
|
163
|
+
/home/s/prostgles-server-js/tests/server/clientSchemaTypes.spec.ts
|
|
164
|
+
82:13 error Async method 'getUser' has no 'await' expression @typescript-eslint/require-await
|
|
165
|
+
89:13 error Async method 'findUser' has no 'await' expression @typescript-eslint/require-await
|
|
166
|
+
508:39 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
167
|
+
588:25 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
168
|
+
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
169
|
+
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
170
|
+
|
|
171
|
+
/home/s/prostgles-server-js/tests/server/fileStorage.spec.ts
|
|
172
|
+
66:9 error Async method 'validate' has no 'await' expression @typescript-eslint/require-await
|
|
173
|
+
435:11 error Async method 'upload' has no 'await' expression @typescript-eslint/require-await
|
|
174
|
+
445:11 error Async method 'delete' has no 'await' expression @typescript-eslint/require-await
|
|
175
|
+
448:11 error Async method 'downloadAsStream' has no 'await' expression @typescript-eslint/require-await
|
|
176
|
+
449:11 error Async method 'getSignedUrlForDownload' has no 'await' expression @typescript-eslint/require-await
|
|
177
|
+
|
|
178
|
+
/home/s/prostgles-server-js/tests/server/index.ts
|
|
179
|
+
27:1 error All imports in the declaration are only used as types. Use `import type` @typescript-eslint/consistent-type-imports
|
|
180
|
+
92:3 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
|
181
|
+
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
|
182
|
+
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
|
183
|
+
95:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
184
|
+
108:3 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises
|
|
185
|
+
116:5 error Async method 'onLog' has no 'await' expression @typescript-eslint/require-await
|
|
186
|
+
162:43 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
187
|
+
171:48 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
188
|
+
186:7 error Async method 'getUser' has no 'await' expression @typescript-eslint/require-await
|
|
189
|
+
207:7 error Async method 'findUser' has no 'await' expression @typescript-eslint/require-await
|
|
190
|
+
209:9 error Async method 'getSession' has no 'await' expression @typescript-eslint/require-await
|
|
191
|
+
216:9 error Async method 'login' has no 'await' expression @typescript-eslint/require-await
|
|
192
|
+
244:11 error Async method 'onProviderLoginStart' has no 'await' expression @typescript-eslint/require-await
|
|
193
|
+
274:13 error Async method 'run' has no 'await' expression @typescript-eslint/require-await
|
|
194
|
+
322:5 error Async method 'publishRawSQL' has no 'await' expression @typescript-eslint/require-await
|
|
195
|
+
|
|
196
|
+
/home/s/prostgles-server-js/tests/server/publishTypeCheck.ts
|
|
197
|
+
1:1 error All imports in the declaration are only used as types. Use `import type` @typescript-eslint/consistent-type-imports
|
|
198
|
+
2:1 error All imports in the declaration are only used as types. Use `import type` @typescript-eslint/consistent-type-imports
|
|
199
|
+
5:1 error All imports in the declaration are only used as types. Use `import type` @typescript-eslint/consistent-type-imports
|
|
200
|
+
111:11 error Async method 'validate' has no 'await' expression @typescript-eslint/require-await
|
|
201
|
+
|
|
202
|
+
/home/s/prostgles-server-js/tests/server/socketLifecycle.spec.ts
|
|
203
|
+
36:11 error Async method 'findUser' has no 'await' expression @typescript-eslint/require-await
|
|
204
|
+
79:22 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
205
|
+
92:22 error Async arrow function has no 'await' expression @typescript-eslint/require-await
|
|
206
|
+
|
|
207
|
+
/home/s/prostgles-server-js/tests/server/testPublish.ts
|
|
208
|
+
1:1 error All imports in the declaration are only used as types. Use `import type` @typescript-eslint/consistent-type-imports
|
|
209
|
+
2:1 error All imports in the declaration are only used as types. Use `import type` @typescript-eslint/consistent-type-imports
|
|
210
|
+
5:78 error Async arrow function 'testPublish' has no 'await' expression @typescript-eslint/require-await
|
|
211
|
+
124:9 error Async method 'validate' has no 'await' expression @typescript-eslint/require-await
|
|
212
|
+
|
|
213
|
+
/home/s/prostgles-server-js/tests/server/testTableConfig.ts
|
|
214
|
+
17:11 error Invalid operand for a '+' operation. Operands must each be a number or string, allowing a string + any of: `any`, `boolean`, `null`, `RegExp`, `undefined`. Got `InsertDataWithNested<{ id?: number; parent_id?: number; recf?: number; }, DBGeneratedSchema, "rec">` @typescript-eslint/restrict-plus-operands
|
|
215
|
+
30:9 error Async method 'validate' has no 'await' expression @typescript-eslint/require-await
|
|
216
|
+
|
|
217
|
+
/home/s/prostgles-server-js/tests/server/withUserRLS.spec.ts
|
|
218
|
+
420:13 error Async method 'findUser' has no 'await' expression @typescript-eslint/require-await
|
|
219
|
+
421:13 error Async method 'getUser' has no 'await' expression @typescript-eslint/require-await
|
|
220
|
+
|
|
221
|
+
✖ 91 problems (91 errors, 0 warnings)
|
|
222
|
+
17 errors and 0 warnings potentially fixable with the `--fix` option.
|
|
223
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
|
|
2
|
+
> prostgles-server@4.2.642 typecheck:tests
|
|
3
|
+
> tsc --noEmit -p tests/server && tsc --noEmit -p tests/client --strictNullChecks
|
|
4
|
+
|
|
5
|
+
tests/client/hooks.spec.ts(229,11): error TS18048: 'serverUpdateResult.data' is possibly 'undefined'.
|
|
6
|
+
tests/client/hooks.spec.ts(230,11): error TS18048: 'initialResult.data' is possibly 'undefined'.
|
|
7
|
+
tests/client/hooks.spec.ts(232,22): error TS18048: 'initialResult.data' is possibly 'undefined'.
|
|
8
|
+
tests/client/hooks.spec.ts(235,15): error TS18048: 'serverUpdateResult.data' is possibly 'undefined'.
|
|
9
|
+
tests/client/hooks.spec.ts(243,11): error TS18048: 'handleUpdateResult.data' is possibly 'undefined'.
|
|
10
|
+
tests/client/hooks.spec.ts(244,11): error TS18048: 'serverUpdateResult.data' is possibly 'undefined'.
|
|
11
|
+
tests/client/hooks.spec.ts(246,22): error TS18048: 'serverUpdateResult.data' is possibly 'undefined'.
|
|
12
|
+
tests/client/index.ts(58,11): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
13
|
+
tests/client/index.ts(64,71): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
14
|
+
Type 'undefined' is not assignable to type 'string'.
|
|
15
|
+
tests/client/index.ts(68,32): error TS2345: Argument of type 'SQLHandler | undefined' is not assignable to parameter of type 'SQLHandler'.
|
|
16
|
+
Type 'undefined' is not assignable to type 'SQLHandler'.
|
|
17
|
+
tests/client/index.ts(71,31): error TS2345: Argument of type 'SQLHandler | undefined' is not assignable to parameter of type 'SQLHandler'.
|
|
18
|
+
Type 'undefined' is not assignable to type 'SQLHandler'.
|
|
19
|
+
tests/client/index.ts(74,42): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
20
|
+
Type 'undefined' is not assignable to type 'string'.
|
|
21
|
+
tests/client/index.ts(78,28): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
22
|
+
tests/client/renderReactHook.ts(110,20): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
|
|
23
|
+
tests/client/renderReactHook.ts(113,20): error TS2769: No overload matches this call.
|
|
24
|
+
Overload 1 of 2, '(timeout: string | number | Timeout | undefined): void', gave the following error.
|
|
25
|
+
Argument of type 'Timeout | null' is not assignable to parameter of type 'string | number | Timeout | undefined'.
|
|
26
|
+
Type 'null' is not assignable to type 'string | number | Timeout | undefined'.
|
|
27
|
+
Overload 2 of 2, '(id: number | undefined): void', gave the following error.
|
|
28
|
+
Argument of type 'Timeout | null' is not assignable to parameter of type 'number | undefined'.
|
|
29
|
+
Type 'null' is not assignable to type 'number | undefined'.
|
|
30
|
+
tests/client/renderReactHook.ts(171,20): error TS2769: No overload matches this call.
|
|
31
|
+
Overload 1 of 2, '(timeout: string | number | Timeout | undefined): void', gave the following error.
|
|
32
|
+
Argument of type 'Timeout | null' is not assignable to parameter of type 'string | number | Timeout | undefined'.
|
|
33
|
+
Type 'null' is not assignable to type 'string | number | Timeout | undefined'.
|
|
34
|
+
Overload 2 of 2, '(id: number | undefined): void', gave the following error.
|
|
35
|
+
Argument of type 'Timeout | null' is not assignable to parameter of type 'number | undefined'.
|
|
36
|
+
Type 'null' is not assignable to type 'number | undefined'.
|
|
37
|
+
tests/client/useProstgles.spec.ts(50,31): error TS2532: Object is possibly 'undefined'.
|
|
38
|
+
tests/client/useProstgles.spec.ts(53,31): error TS2532: Object is possibly 'undefined'.
|
|
39
|
+
tests/client/useProstgles.spec.ts(53,31): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
40
|
+
tests/client/useProstgles.spec.ts(80,31): error TS18048: 'res3.db.items4' is possibly 'undefined'.
|
|
41
|
+
tests/client/useProstgles.spec.ts(80,31): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
42
|
+
tests/client/useProstgles.spec.ts(97,31): error TS18048: 'res5.db.items4' is possibly 'undefined'.
|
|
43
|
+
tests/client/useProstgles.spec.ts(97,31): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
44
|
+
tests/client/useProstgles.spec.ts(97,31): error TS18048: 'res5.db.items4.count' is possibly 'undefined'.
|
|
45
|
+
tests/client/useProstgles.spec.ts(100,31): error TS2532: Object is possibly 'undefined'.
|
|
46
|
+
tests/client/useProstgles.spec.ts(101,32): error TS2532: Object is possibly 'undefined'.
|
|
47
|
+
tests/client/useProstgles.spec.ts(101,32): error TS2532: Object is possibly 'undefined'.
|
|
48
|
+
tests/client/useProstgles.spec.ts(101,32): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
49
|
+
tests/clientRestApi.spec.ts(84,82): error TS2345: Argument of type 'TableInfo<Record<string, unknown>> | undefined' is not assignable to parameter of type 'AnyObject'.
|
|
50
|
+
Type 'undefined' is not assignable to type 'AnyObject'.
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
|
|
2
|
+
> prostgles-server@4.2.642 test-quick
|
|
3
|
+
> cd tests/ && ./test.sh -quick
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
> prostgles-server@4.2.642 build
|
|
7
|
+
> tsc
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
> client@1.0.0 build
|
|
11
|
+
> rm -rf ./node_modules/* && rm -rf ./dist/* && npm i && tsc
|
|
12
|
+
|
|
13
|
+
npm warn deprecated whatwg-encoding@3.1.1: Use @exodus/bytes instead for a more spec-conformant and faster implementation
|
|
14
|
+
|
|
15
|
+
added 55 packages in 481ms
|
|
16
|
+
|
|
17
|
+
7 packages are looking for funding
|
|
18
|
+
run `npm fund` for details
|
|
19
|
+
|
|
20
|
+
> client@1.0.0 testBasicHooks
|
|
21
|
+
> node --test dist/client/basicHooks.spec.js
|
|
22
|
+
|
|
23
|
+
✔ dist/client/basicHooks.spec.js (3411.980554ms)
|
|
24
|
+
ℹ tests 1
|
|
25
|
+
ℹ suites 0
|
|
26
|
+
ℹ pass 1
|
|
27
|
+
ℹ fail 0
|
|
28
|
+
ℹ cancelled 0
|
|
29
|
+
ℹ skipped 0
|
|
30
|
+
ℹ todo 0
|
|
31
|
+
ℹ duration_ms 3417.822363
|
|
32
|
+
|
|
33
|
+
> server_tests@1.0.0 build
|
|
34
|
+
> rm -rf ./node_modules/* && rm -rf ./media/* && rm -rf ./dist/* && npm i && tsc
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
added 113 packages in 4s
|
|
38
|
+
|
|
39
|
+
28 packages are looking for funding
|
|
40
|
+
run `npm fund` for details
|
|
41
|
+
../client/hooks.spec.ts(229,11): error TS18048: 'serverUpdateResult.data' is possibly 'undefined'.
|
|
42
|
+
../client/hooks.spec.ts(230,11): error TS18048: 'initialResult.data' is possibly 'undefined'.
|
|
43
|
+
../client/hooks.spec.ts(232,22): error TS18048: 'initialResult.data' is possibly 'undefined'.
|
|
44
|
+
../client/hooks.spec.ts(235,15): error TS18048: 'serverUpdateResult.data' is possibly 'undefined'.
|
|
45
|
+
../client/hooks.spec.ts(243,11): error TS18048: 'handleUpdateResult.data' is possibly 'undefined'.
|
|
46
|
+
../client/hooks.spec.ts(244,11): error TS18048: 'serverUpdateResult.data' is possibly 'undefined'.
|
|
47
|
+
../client/hooks.spec.ts(246,22): error TS18048: 'serverUpdateResult.data' is possibly 'undefined'.
|
|
48
|
+
../client/index.ts(58,11): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
49
|
+
../client/index.ts(64,71): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
50
|
+
Type 'undefined' is not assignable to type 'string'.
|
|
51
|
+
../client/index.ts(68,32): error TS2345: Argument of type 'SQLHandler | undefined' is not assignable to parameter of type 'SQLHandler'.
|
|
52
|
+
Type 'undefined' is not assignable to type 'SQLHandler'.
|
|
53
|
+
../client/index.ts(71,31): error TS2345: Argument of type 'SQLHandler | undefined' is not assignable to parameter of type 'SQLHandler'.
|
|
54
|
+
Type 'undefined' is not assignable to type 'SQLHandler'.
|
|
55
|
+
../client/index.ts(74,42): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
56
|
+
Type 'undefined' is not assignable to type 'string'.
|
|
57
|
+
../client/index.ts(78,28): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
58
|
+
../client/renderReactHook.ts(110,20): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
|
|
59
|
+
../client/renderReactHook.ts(113,20): error TS2345: Argument of type 'Timeout | null' is not assignable to parameter of type 'string | number | Timeout | undefined'.
|
|
60
|
+
Type 'null' is not assignable to type 'string | number | Timeout | undefined'.
|
|
61
|
+
../client/renderReactHook.ts(171,20): error TS2345: Argument of type 'Timeout | null' is not assignable to parameter of type 'string | number | Timeout | undefined'.
|
|
62
|
+
Type 'null' is not assignable to type 'string | number | Timeout | undefined'.
|
|
63
|
+
../client/useProstgles.spec.ts(50,31): error TS2532: Object is possibly 'undefined'.
|
|
64
|
+
../client/useProstgles.spec.ts(53,31): error TS2532: Object is possibly 'undefined'.
|
|
65
|
+
../client/useProstgles.spec.ts(53,31): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
66
|
+
../client/useProstgles.spec.ts(80,31): error TS18048: 'res3.db.items4' is possibly 'undefined'.
|
|
67
|
+
../client/useProstgles.spec.ts(80,31): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
68
|
+
../client/useProstgles.spec.ts(97,31): error TS18048: 'res5.db.items4' is possibly 'undefined'.
|
|
69
|
+
../client/useProstgles.spec.ts(97,31): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
70
|
+
../client/useProstgles.spec.ts(97,31): error TS18048: 'res5.db.items4.count' is possibly 'undefined'.
|
|
71
|
+
../client/useProstgles.spec.ts(100,31): error TS2532: Object is possibly 'undefined'.
|
|
72
|
+
../client/useProstgles.spec.ts(101,32): error TS2532: Object is possibly 'undefined'.
|
|
73
|
+
../client/useProstgles.spec.ts(101,32): error TS2532: Object is possibly 'undefined'.
|
|
74
|
+
../client/useProstgles.spec.ts(101,32): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
75
|
+
../clientRestApi.spec.ts(84,82): error TS2345: Argument of type 'TableInfo<Record<string, unknown>> | undefined' is not assignable to parameter of type 'AnyObject'.
|
|
76
|
+
Type 'undefined' is not assignable to type 'AnyObject'.
|
|
77
|
+
audit.spec.ts(280,22): error TS2531: Object is possibly 'null'.
|
|
78
|
+
audit.spec.ts(281,22): error TS2531: Object is possibly 'null'.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
> prostgles-server@4.2.642 typecheck:tests
|
|
3
|
+
> tsc --noEmit -p tests/server && tsc --noEmit -p tests/client
|
|
4
|
+
|
|
5
|
+
tests/client/hooks.spec.ts(229,11): error TS18048: 'serverUpdateResult.data' is possibly 'undefined'.
|
|
6
|
+
tests/client/hooks.spec.ts(230,11): error TS18048: 'initialResult.data' is possibly 'undefined'.
|
|
7
|
+
tests/client/hooks.spec.ts(232,22): error TS18048: 'initialResult.data' is possibly 'undefined'.
|
|
8
|
+
tests/client/hooks.spec.ts(235,15): error TS18048: 'serverUpdateResult.data' is possibly 'undefined'.
|
|
9
|
+
tests/client/hooks.spec.ts(243,11): error TS18048: 'handleUpdateResult.data' is possibly 'undefined'.
|
|
10
|
+
tests/client/hooks.spec.ts(244,11): error TS18048: 'serverUpdateResult.data' is possibly 'undefined'.
|
|
11
|
+
tests/client/hooks.spec.ts(246,22): error TS18048: 'serverUpdateResult.data' is possibly 'undefined'.
|
|
12
|
+
tests/client/index.ts(58,11): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
13
|
+
tests/client/index.ts(64,71): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
14
|
+
Type 'undefined' is not assignable to type 'string'.
|
|
15
|
+
tests/client/index.ts(68,32): error TS2345: Argument of type 'SQLHandler | undefined' is not assignable to parameter of type 'SQLHandler'.
|
|
16
|
+
Type 'undefined' is not assignable to type 'SQLHandler'.
|
|
17
|
+
tests/client/index.ts(71,31): error TS2345: Argument of type 'SQLHandler | undefined' is not assignable to parameter of type 'SQLHandler'.
|
|
18
|
+
Type 'undefined' is not assignable to type 'SQLHandler'.
|
|
19
|
+
tests/client/index.ts(74,42): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
|
|
20
|
+
Type 'undefined' is not assignable to type 'string'.
|
|
21
|
+
tests/client/index.ts(78,28): error TS2538: Type 'undefined' cannot be used as an index type.
|
|
22
|
+
tests/client/renderReactHook.ts(110,20): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
|
|
23
|
+
tests/client/renderReactHook.ts(113,20): error TS2345: Argument of type 'Timeout | null' is not assignable to parameter of type 'string | number | Timeout | undefined'.
|
|
24
|
+
Type 'null' is not assignable to type 'string | number | Timeout | undefined'.
|
|
25
|
+
tests/client/renderReactHook.ts(171,20): error TS2345: Argument of type 'Timeout | null' is not assignable to parameter of type 'string | number | Timeout | undefined'.
|
|
26
|
+
Type 'null' is not assignable to type 'string | number | Timeout | undefined'.
|
|
27
|
+
tests/client/useProstgles.spec.ts(50,31): error TS2532: Object is possibly 'undefined'.
|
|
28
|
+
tests/client/useProstgles.spec.ts(53,31): error TS2532: Object is possibly 'undefined'.
|
|
29
|
+
tests/client/useProstgles.spec.ts(53,31): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
30
|
+
tests/client/useProstgles.spec.ts(80,31): error TS18048: 'res3.db.items4' is possibly 'undefined'.
|
|
31
|
+
tests/client/useProstgles.spec.ts(80,31): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
32
|
+
tests/client/useProstgles.spec.ts(97,31): error TS18048: 'res5.db.items4' is possibly 'undefined'.
|
|
33
|
+
tests/client/useProstgles.spec.ts(97,31): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
34
|
+
tests/client/useProstgles.spec.ts(97,31): error TS18048: 'res5.db.items4.count' is possibly 'undefined'.
|
|
35
|
+
tests/client/useProstgles.spec.ts(100,31): error TS2532: Object is possibly 'undefined'.
|
|
36
|
+
tests/client/useProstgles.spec.ts(101,32): error TS2532: Object is possibly 'undefined'.
|
|
37
|
+
tests/client/useProstgles.spec.ts(101,32): error TS2532: Object is possibly 'undefined'.
|
|
38
|
+
tests/client/useProstgles.spec.ts(101,32): error TS2722: Cannot invoke an object which is possibly 'undefined'.
|
|
39
|
+
tests/clientRestApi.spec.ts(84,82): error TS2345: Argument of type 'TableInfo<Record<string, unknown>> | undefined' is not assignable to parameter of type 'AnyObject'.
|
|
40
|
+
Type 'undefined' is not assignable to type 'AnyObject'.
|
|
41
|
+
tests/server/audit.spec.ts(280,22): error TS2531: Object is possibly 'null'.
|
|
42
|
+
tests/server/audit.spec.ts(281,22): error TS2531: Object is possibly 'null'.
|
|
File without changes
|