Skip to content

Commit 206c806

Browse files
authored
Update deps (#1101)
1 parent 5e14858 commit 206c806

File tree

10 files changed

+1536
-1904
lines changed

10 files changed

+1536
-1904
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ e2e:
4040
cd server && prosodyctl --config prosody.cfg.lua install mod_sasl2_sm > /dev/null
4141
cd server && prosodyctl --config prosody.cfg.lua install mod_sasl2_fast > /dev/null
4242
npm run e2e
43+
node --test browser.test.js
4344

4445
clean:
4546
make stop

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,17 @@ Each feature is implemented as a module that can be added or removed easily. Inc
3535

3636
### small
3737

38-
We avoid third party dependencies.
38+
There are no third party dependencies.
3939

40-
For the web, we make the sure the default [client](/packages/client) doesn't exceed 15 kb (gzipped), for reference, that's less than half the size of [React](https://reactjs.org/blog/2017/09/26/react-v16.0.html#reduced-file-size).
40+
For the web, we make the sure the default [client](/packages/client) doesn't exceed 13 kb (gzipped), for reference, that's less than half the size of [React](https://reactjs.org/blog/2017/09/26/react-v16.0.html#reduced-file-size).
4141

4242
## Getting help
4343

4444
Do you need help with working with xmpp.js? Please reach out to our community by posting in the [Discussions section](https://github.com/xmppjs/xmpp.js/discussions) of this project.
4545

4646
## Built with xmpp.js
4747

48+
- [Snikket](https://snikket.org/)
4849
- [xmpp-web](https://github.com/nioc/xmpp-web/)
4950
- [WorkAdventure](https://workadventu.re/)
5051
- [Mustang](https://www.mustang.im/)
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
import { test, beforeEach, afterEach } from "node:test";
12
import { readFileSync } from "node:fs";
23

34
import { JSDOM } from "jsdom";
45

5-
import { jid } from "../packages/client/index.js";
6-
import debug from "../packages/debug/index.js";
7-
import server from "../server/index.js";
8-
6+
import { jid } from "./packages/client/index.js";
7+
import debug from "./packages/debug/index.js";
8+
import server from "./server/index.js";
99

1010
const username = "client";
1111
const password = "foobar";
@@ -34,13 +34,13 @@ afterEach(async () => {
3434
await xmpp?.stop();
3535
});
3636

37-
test("client ws://", async () => {
37+
test("client ws://", async (t) => {
3838
xmpp = window.XMPP.client({
3939
credentials,
4040
service,
4141
});
4242
debug(xmpp);
4343

4444
const address = await xmpp.start();
45-
expect(address.bare().toString()).toBe(JID);
45+
t.assert.strictEqual(address.bare().toString(), JID);
4646
});

jest.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const { defaults } = require("jest-config");
55

66
/** @type {import('jest').Config} */
77
module.exports = {
8-
testMatch: [...defaults.testMatch, "**/test/*.js"],
8+
testMatch: ["**/test/*.js"],
99
testPathIgnorePatterns: [
1010
...defaults.testPathIgnorePatterns,
1111
"<rootDir>/test/",

0 commit comments

Comments
 (0)