You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating "@xmpp/resolve" from 0.13.1 to 0.13.3, some import started failing.
Logs
import http from 'node:http';
^^^^^^
SyntaxError: Cannot use import statement outside a module
8 | import _middleware from '@xmpp/middleware';
9 | import _reconnect from '@xmpp/reconnect';
> 10 | import _resolve from '@xmpp/resolve';
| ^
11 | import _resourceBinding from '@xmpp/resource-binding';
12 | import _sasl from '@xmpp/sasl';
13 | import plain from '@xmpp/sasl-plain';
at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1496:14)
at Object.<anonymous> (node_modules/@xmpp/resolve/lib/http.js:4:35)
at Object.<anonymous> (node_modules/@xmpp/resolve/resolve.js:4:14)
at Object.<anonymous> (node_modules/@xmpp/resolve/index.js:3:17)
at Object.<anonymous> (src/workers/comms/xmpp.ts:10:1)
at Object.<anonymous> (src/workers/comms/worker.ts:4:1)
at Object.<anonymous> (src/workers/comms/index.ts:10:1)
at Object.<anonymous> (src/api/oauth.ts:8:1)
at Object.<anonymous> (src/api/oauth.jest.spec.ts:3:1)
Describe the bug
After updating "@xmpp/resolve" from
0.13.1
to0.13.3
, some import started failing.Logs
Environment
Operating System - Darwin(24.2.0) - darwin/arm64
NodeJs - 20.18.1
NPM - 10.8.2
Maybe it is a similar problem as to #1031 ?
The text was updated successfully, but these errors were encountered: