From a96a4ea336378684bf539c758ba297e55e960476 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Wed, 10 Nov 2021 14:50:36 +0100 Subject: [PATCH] chore(deps) update rtcstats, change package name --- package-lock.json | 131 ++++++++++++++-------------- package.json | 2 +- react/features/rtcstats/RTCStats.js | 4 +- 3 files changed, 68 insertions(+), 69 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0397f5525..5c3096ea0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,6 +31,7 @@ "@hapi/bourne": "2.0.0", "@jitsi/js-utils": "2.0.0", "@jitsi/logger": "2.0.0", + "@jitsi/rtcstats": "9.0.0", "@material-ui/core": "4.11.3", "@matrix-org/olm": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.3.tgz", "@microsoft/microsoft-graph-client": "1.1.0", @@ -110,7 +111,6 @@ "redux-thunk": "2.2.0", "resemblejs": "4.0.0", "rnnoise-wasm": "github:jitsi/rnnoise-wasm#566a16885897704d6e6d67a1d5ac5d39781db2af", - "rtcstats": "github:jitsi/rtcstats#v8.1.0", "styled-components": "3.4.9", "util": "0.12.1", "uuid": "8.3.2", @@ -3371,6 +3371,39 @@ "resolved": "https://registry.npmjs.org/@jitsi/logger/-/logger-2.0.0.tgz", "integrity": "sha512-QZE0NpI/GKRdZK0vhuyFYWr4XkCz4slihkSfy6RTszjj/YEHZKIV7yGJo6Hbs3kYI2h5v7apoy+h2WCOMumPJw==" }, + "node_modules/@jitsi/rtcstats": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@jitsi/rtcstats/-/rtcstats-9.0.0.tgz", + "integrity": "sha512-+eF5CeSLHZdsG7OXP4KznLn1Ma94BUi7x0/N3RLdwJ9vjCi/VeR4ntdDLS8EWbH4rDBllugiLuJqxuLCEW2fTA==", + "dependencies": { + "@jitsi/js-utils": "1.0.0", + "uuid": "3.1.0" + } + }, + "node_modules/@jitsi/rtcstats/node_modules/@jitsi/js-utils": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@jitsi/js-utils/-/js-utils-1.0.0.tgz", + "integrity": "sha512-at9GPMP7IL0v6QS1Gs9c5MbbiN2AT0uKzsgKM8qS2wqXxqvpfT3p4U3+LH2IUyXiHlkmvlBMcNM02MltBdyRmQ==", + "dependencies": { + "bowser": "2.7.0", + "js-md5": "0.7.3", + "postis": "2.2.0" + } + }, + "node_modules/@jitsi/rtcstats/node_modules/js-md5": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/js-md5/-/js-md5-0.7.3.tgz", + "integrity": "sha512-ZC41vPSTLKGwIRjqDh8DfXoCrdQIyBgspJVPXHBGu4nZlAEvG3nf+jO9avM9RmLiGakg7vz974ms99nEV0tmTQ==" + }, + "node_modules/@jitsi/rtcstats/node_modules/uuid": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz", + "integrity": "sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g==", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "bin": { + "uuid": "bin/uuid" + } + }, "node_modules/@jitsi/sdp-interop": { "version": "1.0.5", "resolved": "git+ssh://git@github.com/jitsi/sdp-interop.git#4669790bb9020cc8f10c1d1f3823c26b08497547", @@ -16653,40 +16686,6 @@ "node": "6.* || >= 7.*" } }, - "node_modules/rtcstats": { - "version": "8.1.0", - "resolved": "git+ssh://git@github.com/jitsi/rtcstats.git#7b3a16b51c84fc860ce0af26f0d035ed5c94d4b2", - "integrity": "sha512-ndTxKslevhS5MMWks/+dESHB3GgeD6nM0Q6wJszZRHC7gsrU7Hut24B/R/+Zs9AwHYHmr20XnH5y5EBHmQ0UpA==", - "license": "MIT", - "dependencies": { - "@jitsi/js-utils": "1.0.0", - "uuid": "3.1.0" - } - }, - "node_modules/rtcstats/node_modules/@jitsi/js-utils": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@jitsi/js-utils/-/js-utils-1.0.0.tgz", - "integrity": "sha512-at9GPMP7IL0v6QS1Gs9c5MbbiN2AT0uKzsgKM8qS2wqXxqvpfT3p4U3+LH2IUyXiHlkmvlBMcNM02MltBdyRmQ==", - "dependencies": { - "bowser": "2.7.0", - "js-md5": "0.7.3", - "postis": "2.2.0" - } - }, - "node_modules/rtcstats/node_modules/js-md5": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/js-md5/-/js-md5-0.7.3.tgz", - "integrity": "sha512-ZC41vPSTLKGwIRjqDh8DfXoCrdQIyBgspJVPXHBGu4nZlAEvG3nf+jO9avM9RmLiGakg7vz974ms99nEV0tmTQ==" - }, - "node_modules/rtcstats/node_modules/uuid": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz", - "integrity": "sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g==", - "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", - "bin": { - "uuid": "bin/uuid" - } - }, "node_modules/run-async": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", @@ -22721,6 +22720,37 @@ "resolved": "https://registry.npmjs.org/@jitsi/logger/-/logger-2.0.0.tgz", "integrity": "sha512-QZE0NpI/GKRdZK0vhuyFYWr4XkCz4slihkSfy6RTszjj/YEHZKIV7yGJo6Hbs3kYI2h5v7apoy+h2WCOMumPJw==" }, + "@jitsi/rtcstats": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@jitsi/rtcstats/-/rtcstats-9.0.0.tgz", + "integrity": "sha512-+eF5CeSLHZdsG7OXP4KznLn1Ma94BUi7x0/N3RLdwJ9vjCi/VeR4ntdDLS8EWbH4rDBllugiLuJqxuLCEW2fTA==", + "requires": { + "@jitsi/js-utils": "1.0.0", + "uuid": "3.1.0" + }, + "dependencies": { + "@jitsi/js-utils": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@jitsi/js-utils/-/js-utils-1.0.0.tgz", + "integrity": "sha512-at9GPMP7IL0v6QS1Gs9c5MbbiN2AT0uKzsgKM8qS2wqXxqvpfT3p4U3+LH2IUyXiHlkmvlBMcNM02MltBdyRmQ==", + "requires": { + "bowser": "2.7.0", + "js-md5": "0.7.3", + "postis": "2.2.0" + } + }, + "js-md5": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/js-md5/-/js-md5-0.7.3.tgz", + "integrity": "sha512-ZC41vPSTLKGwIRjqDh8DfXoCrdQIyBgspJVPXHBGu4nZlAEvG3nf+jO9avM9RmLiGakg7vz974ms99nEV0tmTQ==" + }, + "uuid": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz", + "integrity": "sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g==" + } + } + }, "@jitsi/sdp-interop": { "version": "git+ssh://git@github.com/jitsi/sdp-interop.git#4669790bb9020cc8f10c1d1f3823c26b08497547", "integrity": "sha512-4nqEqJWyRFjHM/riI0DQRNx+mgx277iK0r5LhwVAHDZDBYbLN54vYcfZ6JepcmygQiixa8jet/gLJnikdH9wzQ==", @@ -33152,37 +33182,6 @@ "resolved": "https://registry.npmjs.org/rsvp/-/rsvp-4.8.5.tgz", "integrity": "sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==" }, - "rtcstats": { - "version": "git+ssh://git@github.com/jitsi/rtcstats.git#7b3a16b51c84fc860ce0af26f0d035ed5c94d4b2", - "integrity": "sha512-ndTxKslevhS5MMWks/+dESHB3GgeD6nM0Q6wJszZRHC7gsrU7Hut24B/R/+Zs9AwHYHmr20XnH5y5EBHmQ0UpA==", - "from": "rtcstats@github:jitsi/rtcstats#v8.1.0", - "requires": { - "@jitsi/js-utils": "1.0.0", - "uuid": "3.1.0" - }, - "dependencies": { - "@jitsi/js-utils": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@jitsi/js-utils/-/js-utils-1.0.0.tgz", - "integrity": "sha512-at9GPMP7IL0v6QS1Gs9c5MbbiN2AT0uKzsgKM8qS2wqXxqvpfT3p4U3+LH2IUyXiHlkmvlBMcNM02MltBdyRmQ==", - "requires": { - "bowser": "2.7.0", - "js-md5": "0.7.3", - "postis": "2.2.0" - } - }, - "js-md5": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/js-md5/-/js-md5-0.7.3.tgz", - "integrity": "sha512-ZC41vPSTLKGwIRjqDh8DfXoCrdQIyBgspJVPXHBGu4nZlAEvG3nf+jO9avM9RmLiGakg7vz974ms99nEV0tmTQ==" - }, - "uuid": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.1.0.tgz", - "integrity": "sha512-DIWtzUkw04M4k3bf1IcpS2tngXEL26YUD2M0tMDUpnUrz2hgzUBlD55a4FjdLGPvfHxS6uluGWvaVEqgBcVa+g==" - } - } - }, "run-async": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", diff --git a/package.json b/package.json index 0ff9c2f06..ea60ae592 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "@hapi/bourne": "2.0.0", "@jitsi/js-utils": "2.0.0", "@jitsi/logger": "2.0.0", + "@jitsi/rtcstats": "9.0.0", "@material-ui/core": "4.11.3", "@matrix-org/olm": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.3.tgz", "@microsoft/microsoft-graph-client": "1.1.0", @@ -115,7 +116,6 @@ "redux-thunk": "2.2.0", "resemblejs": "4.0.0", "rnnoise-wasm": "github:jitsi/rnnoise-wasm#566a16885897704d6e6d67a1d5ac5d39781db2af", - "rtcstats": "github:jitsi/rtcstats#v8.1.0", "styled-components": "3.4.9", "util": "0.12.1", "uuid": "8.3.2", diff --git a/react/features/rtcstats/RTCStats.js b/react/features/rtcstats/RTCStats.js index b25996eb6..524c1f5a1 100644 --- a/react/features/rtcstats/RTCStats.js +++ b/react/features/rtcstats/RTCStats.js @@ -1,5 +1,5 @@ -import rtcstatsInit from 'rtcstats/rtcstats'; -import traceInit from 'rtcstats/trace-ws'; +import rtcstatsInit from '@jitsi/rtcstats/rtcstats'; +import traceInit from '@jitsi/rtcstats/trace-ws'; import { createRTCStatsTraceCloseEvent,