97 Commits

Author SHA1 Message Date
semantic-release-bot
eb6b280646
chore(release): 1.0.0 [skip ci]
# [1.0.0](https://github.com/peers/peerjs-server/compare/v0.6.1...v1.0.0) (2023-03-07)

### Bug Fixes

* **deps:** update dependency ws to v8 ([1ecc94b](1ecc94b887))
* import from ESM only environments ([476299e](476299ed08))
* more accurate types ([68f973a](68f973afb4)), closes [#182](https://github.com/peers/peerjs-server/issues/182)
* **npm audit:** Updates all dependencies that cause `npm audit` to issue a warning ([1aaafbc](1aaafbc450)), closes [#287](https://github.com/peers/peerjs-server/issues/287)
* the server could crash if a client sends invalid frames ([29394de](29394dea5e))

### Features

* drop Node {10,11,12,13} support ([b70ed79](b70ed79d9a))
* ESM support ([2b73b5c](2b73b5c97d))
* remove deprecated XHR fallback ([d900145](d900145901))
* set the PEERSERVER_PATH with an environment variable ([084fb8a](084fb8a4bd)), closes [#213](https://github.com/peers/peerjs-server/issues/213)
* set the PORT with an environment variable ([68a3398](68a3398f54)), closes [#213](https://github.com/peers/peerjs-server/issues/213)
* specify cors options via cli or js ([05f12cd](05f12cdc56)), closes [#196](https://github.com/peers/peerjs-server/issues/196) [#221](https://github.com/peers/peerjs-server/issues/221)

### Performance Improvements

* use the builtin UUID generator for Peer ids instead of the `uuid` module ([5d882dd](5d882dd0c6))

### BREAKING CHANGES

* Requires PeerJS >= 1.0
* Node >= 14 required

14 is the oldest currently supported version. See https://github.com/nodejs/release#release-schedule
2023-03-07 19:25:47 +00:00
Jonas Gloning
d38066a391
style: run prettier 2023-02-14 20:49:59 +01:00
Jonas Gloning
fad2041a5e
style: configure prettier 2023-02-14 20:49:09 +01:00
Jonas Gloning
05f12cdc56
feat: specify cors options via cli or js
Closes #196, #221
2023-02-14 20:45:31 +01:00
Jonas Gloning
33a312d21c
test: switch from mocha to jest 2023-02-14 13:43:21 +01:00
Jonas Gloning
476299ed08
fix: import from ESM only environments
refactor: strictest typescript preset
2023-02-14 13:36:30 +01:00
Jonas Gloning
c7ba13d962
build: fix release workflow 2023-01-23 22:51:16 +01:00
renovate[bot]
e4d0d6cd24
chore(deps): update dependency semantic-release to v20 2023-01-23 20:47:13 +00:00
Jonas Gloning
97f477d318
build: ensure all types are exported and available for dependent packages 2023-01-17 17:40:17 +01:00
Jonas Gloning
1ecc94b887
fix(deps): update dependency ws to v8 2023-01-10 21:16:48 +01:00
Jonas Gloning
e0d5df87f3
build: fix automatic rebuilding with npm run dev 2023-01-10 21:11:47 +01:00
Jonas Gloning
927a396692
Merge branch 'renovate/ts-node-10.x' 2023-01-10 20:49:34 +01:00
renovate[bot]
0441e632f9
chore(deps): update dependency ts-node to v10 2023-01-10 16:48:38 +00:00
renovate[bot]
ff10da727d
chore(deps): update dependency @types/mocha to v10 2023-01-10 16:48:02 +00:00
Jonas Gloning
eae0a562dd
Merge branch 'renovate/eslint-8.x' 2023-01-10 17:46:12 +01:00
renovate[bot]
e468ff4ef1
chore(deps): update typescript-eslint monorepo to v5 2023-01-10 16:14:21 +00:00
renovate[bot]
d5cc1e1557
chore(deps): update dependency eslint to v8 2023-01-10 16:13:02 +00:00
Jonas Gloning
c82321f772
build: start action uses node of current shell 2023-01-09 21:26:13 +01:00
Jonas Gloning
daa74115c8
test: spec paths defined in mocharc 2023-01-09 21:18:35 +01:00
Jonas Gloning
8999c0fddb
chore(deps): remove unused dev-dependencies 2023-01-09 21:08:46 +01:00
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
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
afrokick
0b6b766226 Bump version to 0.6.1 2020-11-28 10:34:18 +03:00
afrokick
faead27b98 Bump version to 0.6.0 2020-11-24 10:59:53 +03:00
afrokick
28f1b44640 update changelog
update ts to 4.1.2
2020-11-24 10:44:11 +03:00
afrokick
a74596f2bf 0.5.3 2020-05-11 21:21:44 +03:00
Darren Hobin
cb0a72bf8a Replace optimist with yargs
Optimist is no longer maintained. It has not been updated since 2014,
even for basic security updates. Thus this change replaces it with its
spiritual successor, yargs, which is still actively maintained.

This is also a first step to removing peerjs' dependence on an outdated
version of minimist that has known security vulnerabilities.
2020-05-11 11:22:25 -04:00
afrokick
6618830802 Bump version to 0.5.2 2020-03-30 08:08:04 +03:00
afrokick
31ebb0dbc1 add meta info to package.json 2020-03-30 08:07:45 +03:00
afrokick
f853f438ba Bump version to 0.5.1 2020-03-23 19:58:31 +03:00
afrokick
873a4a6fc2 Bump version to 0.5.0 2020-03-23 15:09:44 +03:00
afrokick
3a1604d155 add declaration file 2020-03-20 04:19:33 +03:00
afrokick
5f6462cc32 update deps 2020-03-20 03:24:10 +03:00
afrokick
1887a5a955 Bump version to 0.4.0 2020-03-20 02:18:19 +03:00
afrokick
8e5ba48f6c include only 'bin' and 'dist' folders into package 2020-03-20 02:13:56 +03:00
afrokick
f8720f3ee3 fix main field in package.json
bump version to 0.3.2
2020-03-14 10:10:00 +03:00
afrokick
a956168f55 fix issue with expire messages
bump version to 0.3.1
2020-03-11 11:02:32 +03:00
afrokick
c4f04b2ff8 add tests for WebSocketServer 2019-12-16 01:15:05 +03:00
afrokick
ed6379c160 update ts to 3.7.3 2019-12-15 13:48:45 +03:00
afrokick
17e0177670 fix uuid 2019-12-15 13:27:56 +03:00