fix(deps): update typescript-projects #27012
test.yml
on: pull_request
pre-job
6s
Test & Lint Server
1m 49s
Unit Test CLI
23s
Unit Test CLI (Windows)
40s
Test & Lint Web
2m 12s
End-to-End Lint
29s
Medium Tests (Server)
1m 49s
End-to-End Tests (Server & CLI)
3m 24s
End-to-End Tests (Web)
3m 20s
Unit Test Mobile
0s
Unit Test ML
0s
Annotations
6 errors
TypeORM Checks
Process completed with exit code 1.
|
src/lib/stores/asset.store.spec.ts:
web/src/lib/stores/websocket.ts#L4
SyntaxError: Named export 'WebSocket' not found. The requested module 'ws' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'ws';
const { WebSocket } = pkg;
❯ src/lib/stores/websocket.ts:4:31
|
src/lib/utils/asset-utils.spec.ts:
web/src/lib/stores/websocket.ts#L4
SyntaxError: Named export 'WebSocket' not found. The requested module 'ws' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'ws';
const { WebSocket } = pkg;
❯ src/lib/stores/websocket.ts:4:31
|
src/lib/components/asset-viewer/asset-viewer-nav-bar.spec.ts:
web/src/lib/stores/websocket.ts#L4
SyntaxError: Named export 'WebSocket' not found. The requested module 'ws' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'ws';
const { WebSocket } = pkg;
❯ src/lib/stores/websocket.ts:4:31
|
src/lib/components/asset-viewer/photo-viewer.spec.ts:
web/src/lib/stores/websocket.ts#L4
SyntaxError: Named export 'WebSocket' not found. The requested module 'ws' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'ws';
const { WebSocket } = pkg;
❯ src/lib/stores/websocket.ts:4:31
|
Test & Lint Web
Process completed with exit code 1.
|