351 Commits

Author SHA1 Message Date
Jonas Gloning
2b73b5c97d
feat: ESM support
feat: automatic .d.ts generation

chore(deps): yargs@17
2023-01-09 20:24:50 +01:00
Jonas Gloning
59d4f6671b
chore: update package.json metadata 2023-01-09 20:22:51 +01:00
renovate[bot]
45f0c31949
chore(deps): update dependency mock-socket to v8.1.1 2023-01-09 20:18:08 +01:00
Jonas Gloning
e45a9afc86
test: enable lcov reporter on ci
configure typescript coverage
2023-01-07 20:08:39 +01:00
Jonas Gloning
e1fd4dc476
test: collect and publish code coverage 2023-01-07 19:35:49 +01:00
Jonas Gloning
5e3dedcd72
Merge pull request #292 from redexp/master 2023-01-06 10:24:23 +01:00
Sergii Kliuchnyk
904d3d4105
Delete index.js 2023-01-06 11:15:51 +02:00
Sergii KLiuchnyk
0d0cf63133 change import to import type 2023-01-06 11:09:48 +02:00
Jonas Gloning
b75ea5daff
test(tsc): fix inaccurate test types 2022-12-30 23:21:08 +01:00
renovate[bot]
0c7d724258
chore(deps): lock file maintenance 2022-12-30 12:33:00 +00:00
Jonas Gloning
83bac028c9
build: configure renovate 2022-12-30 13:26:46 +01:00
Jonas Gloning
ae4f6fd8c6
Merge pull request #293 from peers/290-rangeerror-invalid-websocket-frame-rsv2-and-rsv3-must-be-clear
fix: the server could crash if a client sends invalid frames
2022-12-08 14:57:09 +01:00
Jonas Gloning
29394dea5e
fix: the server could crash if a client sends invalid frames 2022-11-17 21:04:19 +01:00
Jonas Gloning
3165d77f60
refactor(types): MyWebSocket resulted in wrong type hints
.
2022-11-17 21:04:02 +01:00
Sergii KLiuchnyk
6bbfba97d5 revert package version 2022-11-07 11:25:04 +02:00
Sergii KLiuchnyk
cb567c11bf revert as it was 2022-11-07 11:22:18 +02:00
Sergii KLiuchnyk
e5c4a1b8f6 type for ws server options 2022-11-07 11:14:27 +02:00
Sergii KLiuchnyk
abaf9ab3b4 createWebSocketServer option 2022-11-01 13:25:06 +02:00
Sergii KLiuchnyk
077260a3a4 createWebSocketServer option 2022-11-01 13:06:11 +02:00
Jonas Gloning
d4b292db3e
build: remove Travis CI 2022-10-30 13:07:43 +01:00
Jonas Gloning
b5912176e7
build: run tests on Github Actions 2022-10-30 12:58:58 +01:00
Jonas Gloning
5e679a8372
build: rename changelog
Semantic release writes to CHANGELOG.md
2022-10-30 12:52:50 +01:00
Jonas Gloning
d900145901
feat: remove deprecated XHR fallback
BREAKING CHANGE: Requires PeerJS >= 1.0
2022-10-30 12:48:26 +01:00
Jonas Gloning
5d882dd0c6
perf: use the builtin UUID generator for Peer ids instead of the uuid module 2022-10-29 21:56:44 +02:00
Jonas Gloning
1aaafbc450
fix(npm audit): Updates all dependencies that cause npm audit to issue a warning
Closes #287
2022-10-29 21:45:10 +02:00
Jonas Gloning
b70ed79d9a
feat: drop Node {10,11,12,13} support
BREAKING CHANGE: Node >= 14 required

14 is the oldest currently supported version. See https://github.com/nodejs/release#release-schedule
2022-10-29 21:38:20 +02:00
Jonas Gloning
0f53038d29
chore: types are only devDependencies
iea
2022-10-29 21:37:52 +02:00
Jonas Gloning
6c1b5e6a61
build: "release" key in package.json disabled semantic release
changelog and git plugins were missing from the dependency list
2022-10-29 21:19:44 +02:00
Jonas Gloning
ff49ad2b0a
build: setup semantic release 2022-10-29 20:59:40 +02:00
Jonas Gloning
c117b8ec65
chore: new npm lockfile version 2022-10-29 20:29:30 +02:00
Jonas Gloning
04ab2a078c
chore(cleanup): "dist" should never have been committed to git 2022-10-29 20:23:34 +02:00
Sergii Bliznichenko
e2854ca9b1 add peerWs emit 2022-10-03 14:02:07 +03:00
Sergii KLiuchnyk
355dc574f8 build 2022-09-30 12:26:08 +03:00
Sergii KLiuchnyk
a77de706c7 added peerWs to app, added ws config 2022-09-30 12:25:23 +03:00
Sergii Kliuchnyk
b12a4a3a15
Update package.json 2022-09-30 11:58:00 +03:00
Sergii Kliuchnyk
80237305b7
Update instance.ts 2022-09-30 11:57:29 +03:00
Sergii Kliuchnyk
7deac0d07e
test 2022-09-30 11:55:49 +03:00
Sergii Kliuchnyk
8695256271
add peerWs to app 2022-09-30 11:41:38 +03:00
Alex Sosnovskiy
aa9963d003
Merge pull request #261 from peers/dependabot/npm_and_yarn/url-parse-1.5.3
Bump url-parse from 1.5.1 to 1.5.3
2021-12-19 13:35:20 +03:00
Alex Sosnovskiy
bf9a0b4470
Merge pull request #255 from peers/dependabot/npm_and_yarn/path-parse-1.0.7
Bump path-parse from 1.0.6 to 1.0.7
2021-12-19 13:34:44 +03:00
dependabot[bot]
540a828bf9
Bump url-parse from 1.5.1 to 1.5.3
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 08:52:35 +00:00
dependabot[bot]
d2e27ea578
Bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-11 09:27:24 +00:00
Alex Sosnovskiy
fdf5d3f07b
Merge pull request #248 from peers/dependabot/npm_and_yarn/ws-7.4.6
Bump ws from 7.2.3 to 7.4.6
2021-05-31 10:40:14 +03:00
dependabot[bot]
21c909c8be
Bump ws from 7.2.3 to 7.4.6
Bumps [ws](https://github.com/websockets/ws) from 7.2.3 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.2.3...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-29 13:44:46 +00:00
Alex Sosnovskiy
2b712b3d33
Merge pull request #241 from jazwiecki/add-docker-compose
Add minimal docker-compose.yml
2021-05-11 11:45:31 +03:00
Alex Sosnovskiy
951354201a
Merge pull request #242 from peers/dependabot/npm_and_yarn/y18n-4.0.1
Bump y18n from 4.0.0 to 4.0.1
2021-05-11 11:44:56 +03:00
Alex Sosnovskiy
ac7715dc42
Merge pull request #246 from peers/dependabot/npm_and_yarn/hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.4 to 2.8.9
2021-05-10 21:01:38 +03:00
dependabot[bot]
9237641fa6
Bump hosted-git-info from 2.8.4 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.4 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.4...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 11:19:25 +00:00
Alex Sosnovskiy
ff197defe0
Merge pull request #245 from peers/dependabot/npm_and_yarn/lodash-4.17.21
Bump lodash from 4.17.19 to 4.17.21
2021-05-10 12:28:24 +03:00
dependabot[bot]
74f2b662ce
Bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 08:57:52 +00:00