Upgrade all packages to latest versions
This commit is contained in:
parent
80eb39b5b8
commit
f26b72a996
@ -51,6 +51,7 @@ rules:
|
|||||||
'@typescript-eslint/triple-slash-reference':
|
'@typescript-eslint/triple-slash-reference':
|
||||||
- warn
|
- warn
|
||||||
- path: always
|
- path: always
|
||||||
|
'@typescript-eslint/no-empty-function': off
|
||||||
overrides:
|
overrides:
|
||||||
- files:
|
- files:
|
||||||
- '*.test.ts'
|
- '*.test.ts'
|
||||||
|
|||||||
9652
package-lock.json
generated
9652
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
78
package.json
78
package.json
@ -50,72 +50,72 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"debug": "^4.1.1",
|
"debug": "^4.1.1",
|
||||||
"ejs": "^2.7.4",
|
"ejs": "^3.0.1",
|
||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
|
"ioredis": "^4.16.0",
|
||||||
"js-yaml": "^3.13.1",
|
"js-yaml": "^3.13.1",
|
||||||
"lodash": "^4.17.15",
|
"lodash": "^4.17.15",
|
||||||
"socket.io": "^2.3.0",
|
"socket.io": "^2.3.0",
|
||||||
"socket.io-redis": "5.2.0",
|
"socket.io-redis": "^5.2.0",
|
||||||
"uuid": "^3.3.3"
|
"uuid": "^7.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.7.2",
|
"@babel/core": "^7.8.7",
|
||||||
"@babel/polyfill": "^7.7.0",
|
"@babel/polyfill": "^7.8.7",
|
||||||
"@babel/preset-env": "^7.7.1",
|
"@babel/preset-env": "^7.8.7",
|
||||||
"@types/body-parser": "^1.19.0",
|
"@types/body-parser": "^1.19.0",
|
||||||
"@types/classnames": "^2.2.9",
|
"@types/classnames": "^2.2.10",
|
||||||
"@types/debug": "^4.1.5",
|
"@types/debug": "^4.1.5",
|
||||||
"@types/ejs": "^2.6.3",
|
"@types/ejs": "^3.0.1",
|
||||||
"@types/express": "^4.17.2",
|
"@types/express": "^4.17.3",
|
||||||
"@types/ioredis": "4.14.9",
|
"@types/ioredis": "^4.14.9",
|
||||||
"@types/jest": "^25.1.0",
|
"@types/jest": "^25.1.4",
|
||||||
"@types/js-yaml": "^3.12.1",
|
"@types/js-yaml": "^3.12.2",
|
||||||
"@types/lodash": "^4.14.148",
|
"@types/lodash": "^4.14.149",
|
||||||
"@types/node": "^12.12.8",
|
"@types/node": "^13.9.1",
|
||||||
"@types/react": "^16.9.11",
|
"@types/react": "^16.9.23",
|
||||||
"@types/react-dom": "^16.9.4",
|
"@types/react-dom": "^16.9.5",
|
||||||
"@types/react-redux": "^7.1.5",
|
"@types/react-redux": "^7.1.7",
|
||||||
"@types/react-transition-group": "^4.2.3",
|
"@types/react-transition-group": "^4.2.4",
|
||||||
"@types/redux-logger": "^3.0.7",
|
"@types/redux-logger": "^3.0.7",
|
||||||
"@types/simple-peer": "^9.6.0",
|
"@types/simple-peer": "^9.6.0",
|
||||||
"@types/socket.io": "^2.1.4",
|
"@types/socket.io": "^2.1.4",
|
||||||
"@types/socket.io-client": "^1.4.32",
|
"@types/socket.io-client": "^1.4.32",
|
||||||
"@types/socket.io-redis": "1.0.25",
|
"@types/socket.io-redis": "^1.0.25",
|
||||||
"@types/supertest": "^2.0.8",
|
"@types/supertest": "^2.0.8",
|
||||||
"@types/uuid": "^3.4.6",
|
"@types/uuid": "^7.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^2.7.0",
|
"@typescript-eslint/eslint-plugin": "^2.23.0",
|
||||||
"@typescript-eslint/parser": "^2.7.0",
|
"@typescript-eslint/parser": "^2.23.0",
|
||||||
"babel-core": "^7.0.0-bridge.0",
|
"babel-core": "^7.0.0-bridge.0",
|
||||||
"babel-minify": "^0.5.1",
|
"babel-minify": "^0.5.1",
|
||||||
"babelify": "^10.0.0",
|
"babelify": "^10.0.0",
|
||||||
"body-parser": "^1.19.0",
|
"body-parser": "^1.19.0",
|
||||||
"chastifol": "^4.1.0",
|
"chastifol": "^4.1.0",
|
||||||
"classnames": "^2.2.6",
|
"classnames": "^2.2.6",
|
||||||
"core-js": "^3.4.1",
|
"core-js": "^3.6.4",
|
||||||
"eslint": "^6.6.0",
|
"eslint": "^6.8.0",
|
||||||
"eslint-plugin-import": "^2.18.2",
|
"eslint-plugin-import": "^2.20.1",
|
||||||
"eslint-plugin-react": "^7.16.0",
|
"eslint-plugin-react": "^7.19.0",
|
||||||
"ioredis": "4.16.0",
|
|
||||||
"jest": "^25.1.0",
|
"jest": "^25.1.0",
|
||||||
"loose-envify": "^1.4.0",
|
"loose-envify": "^1.4.0",
|
||||||
"node-sass": "4.13.1",
|
"node-sass": "^4.13.1",
|
||||||
"nodemon": "^1.19.4",
|
"nodemon": "^2.0.2",
|
||||||
"react": "^16.12.0",
|
"react": "^16.13.0",
|
||||||
"react-dom": "^16.12.0",
|
"react-dom": "^16.13.0",
|
||||||
"react-redux": "^7.1.3",
|
"react-redux": "^7.2.0",
|
||||||
"react-transition-group": "^4.3.0",
|
"react-transition-group": "^4.3.0",
|
||||||
"redux": "^4.0.4",
|
"redux": "^4.0.5",
|
||||||
"redux-logger": "^3.0.6",
|
"redux-logger": "^3.0.6",
|
||||||
"redux-thunk": "^2.2.0",
|
"redux-thunk": "^2.3.0",
|
||||||
"rimraf": "^3.0.0",
|
"rimraf": "^3.0.2",
|
||||||
"screenfull": "^5.0.0",
|
"screenfull": "^5.0.2",
|
||||||
"simple-peer": "^9.6.2",
|
"simple-peer": "^9.6.2",
|
||||||
"socket.io-client": "^2.3.0",
|
"socket.io-client": "^2.3.0",
|
||||||
"supertest": "^4.0.2",
|
"supertest": "^4.0.2",
|
||||||
"ts-jest": "^25.1.0",
|
"ts-jest": "^25.2.1",
|
||||||
"ts-node": "^8.5.2",
|
"ts-node": "^8.6.2",
|
||||||
"tsify": "^4.0.1",
|
"tsify": "^4.0.1",
|
||||||
"typescript": "^3.7.2",
|
"typescript": "^3.8.3",
|
||||||
"watchify": "^3.11.1",
|
"watchify": "^3.11.1",
|
||||||
"webrtc-adapter": "^7.5.0"
|
"webrtc-adapter": "^7.5.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
import EventEmitter from 'events'
|
import { EventEmitter } from 'events'
|
||||||
|
|
||||||
const Peer = jest.fn().mockImplementation(() => {
|
const Peer = jest.fn().mockImplementation(() => {
|
||||||
const peer = new EventEmitter();
|
const peer = new EventEmitter();
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
import EventEmitter from 'events'
|
import { EventEmitter } from 'events'
|
||||||
export default new EventEmitter()
|
export default new EventEmitter()
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
import { NICKNAME_SET } from '../constants'
|
import { NICKNAME_SET } from '../constants'
|
||||||
|
|
||||||
interface NicknameSetPayload {
|
export interface NicknameSetPayload {
|
||||||
nickname: string
|
nickname: string
|
||||||
userId: string
|
userId: string
|
||||||
}
|
}
|
||||||
|
|
||||||
interface NicknameSetAction {
|
export interface NicknameSetAction {
|
||||||
type: 'NICKNAME_SET'
|
type: 'NICKNAME_SET'
|
||||||
payload: NicknameSetPayload
|
payload: NicknameSetPayload
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user