deps: jitsi/js-utils@1.0.0

This commit is contained in:
Saúl Ibarra Corretgé 2020-07-09 09:17:23 +02:00 committed by Saúl Ibarra Corretgé
parent ce812591f9
commit b91d6b97a9
21 changed files with 39 additions and 21 deletions

View File

@ -1,7 +1,7 @@
/* global APP, JitsiMeetJS, config */ /* global APP, JitsiMeetJS, config */
import { jitsiLocalStorage } from '@jitsi/js-utils';
import Logger from 'jitsi-meet-logger'; import Logger from 'jitsi-meet-logger';
import { jitsiLocalStorage } from 'js-utils';
import AuthHandler from './modules/UI/authentication/AuthHandler'; import AuthHandler from './modules/UI/authentication/AuthHandler';
import { import {

View File

@ -1,7 +1,7 @@
/* global $, APP */ /* global $, APP */
import { jitsiLocalStorage } from '@jitsi/js-utils';
import Logger from 'jitsi-meet-logger'; import Logger from 'jitsi-meet-logger';
import { jitsiLocalStorage } from 'js-utils';
import { import {
NOTIFICATION_TIMEOUT, NOTIFICATION_TIMEOUT,

View File

@ -1,6 +1,6 @@
// FIXME: change to '../API' when we update to webpack2. If we do this now all // FIXME: change to '../API' when we update to webpack2. If we do this now all
// files from API modules will be included in external_api.js. // files from API modules will be included in external_api.js.
import { PostMessageTransportBackend, Transport } from 'js-utils/transport'; import { PostMessageTransportBackend, Transport } from '@jitsi/js-utils/transport';
import { getJitsiMeetGlobalNS } from '../../react/features/base/util'; import { getJitsiMeetGlobalNS } from '../../react/features/base/util';
import { API_ID } from '../API/constants'; import { API_ID } from '../API/constants';

17
package-lock.json generated
View File

@ -2832,6 +2832,23 @@
"@types/yargs": "^13.0.0" "@types/yargs": "^13.0.0"
} }
}, },
"@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"
},
"dependencies": {
"js-md5": {
"version": "0.7.3",
"resolved": "https://registry.npmjs.org/js-md5/-/js-md5-0.7.3.tgz",
"integrity": "sha512-ZC41vPSTLKGwIRjqDh8DfXoCrdQIyBgspJVPXHBGu4nZlAEvG3nf+jO9avM9RmLiGakg7vz974ms99nEV0tmTQ=="
}
}
},
"@jitsi/sdp-interop": { "@jitsi/sdp-interop": {
"version": "1.0.3", "version": "1.0.3",
"resolved": "https://registry.npmjs.org/@jitsi/sdp-interop/-/sdp-interop-1.0.3.tgz", "resolved": "https://registry.npmjs.org/@jitsi/sdp-interop/-/sdp-interop-1.0.3.tgz",

View File

@ -32,6 +32,7 @@
"@atlaskit/theme": "7.0.2", "@atlaskit/theme": "7.0.2",
"@atlaskit/toggle": "5.0.14", "@atlaskit/toggle": "5.0.14",
"@atlaskit/tooltip": "12.1.13", "@atlaskit/tooltip": "12.1.13",
"@jitsi/js-utils": "1.0.0",
"@microsoft/microsoft-graph-client": "1.1.0", "@microsoft/microsoft-graph-client": "1.1.0",
"@react-native-community/async-storage": "1.3.4", "@react-native-community/async-storage": "1.3.4",
"@react-native-community/google-signin": "3.0.1", "@react-native-community/google-signin": "3.0.1",
@ -54,7 +55,6 @@
"jquery-contextmenu": "2.4.5", "jquery-contextmenu": "2.4.5",
"jquery-i18next": "1.2.1", "jquery-i18next": "1.2.1",
"js-md5": "0.6.1", "js-md5": "0.6.1",
"js-utils": "github:jitsi/js-utils#cf11996bd866fdb47326c59a5d3bc24be17282d4",
"jwt-decode": "2.2.0", "jwt-decode": "2.2.0",
"lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#fb997564a64ecdc19a35f3bcc1ea4156ca9ccb5f", "lib-jitsi-meet": "github:jitsi/lib-jitsi-meet#fb997564a64ecdc19a35f3bcc1ea4156ca9ccb5f",
"libflacjs": "github:mmig/libflac.js#93d37e7f811f01cf7d8b6a603e38bd3c3810907d", "libflacjs": "github:mmig/libflac.js#93d37e7f811f01cf7d8b6a603e38bd3c3810907d",

View File

@ -1,6 +1,6 @@
// @flow // @flow
import { generateRoomWithoutSeparator } from 'js-utils/random'; import { generateRoomWithoutSeparator } from '@jitsi/js-utils/random';
import type { Component } from 'react'; import type { Component } from 'react';
import { isRoomValid } from '../base/conference'; import { isRoomValid } from '../base/conference';

View File

@ -1,6 +1,6 @@
// @flow // @flow
import { jitsiLocalStorage } from 'js-utils'; import { jitsiLocalStorage } from '@jitsi/js-utils';
import _ from 'lodash'; import _ from 'lodash';
import React, { Component, Fragment } from 'react'; import React, { Component, Fragment } from 'react';
import { I18nextProvider } from 'react-i18next'; import { I18nextProvider } from 'react-i18next';

View File

@ -1,6 +1,6 @@
// @flow // @flow
import { jitsiLocalStorage } from 'js-utils'; import { jitsiLocalStorage } from '@jitsi/js-utils';
import type { Dispatch } from 'redux'; import type { Dispatch } from 'redux';
import { addKnownDomains } from '../known-domains'; import { addKnownDomains } from '../known-domains';

View File

@ -1,6 +1,6 @@
// @flow // @flow
import { jitsiLocalStorage } from 'js-utils'; import { jitsiLocalStorage } from '@jitsi/js-utils';
import _ from 'lodash'; import _ from 'lodash';
import { parseURLParams } from '../util'; import { parseURLParams } from '../util';

View File

@ -1,6 +1,6 @@
// @flow // @flow
import { jitsiLocalStorage } from 'js-utils'; import { jitsiLocalStorage } from '@jitsi/js-utils';
import { APP_WILL_MOUNT } from '../app'; import { APP_WILL_MOUNT } from '../app';
import { getFeatureFlag } from '../flags/functions'; import { getFeatureFlag } from '../flags/functions';

View File

@ -1,5 +1,6 @@
// @flow // @flow
import { getGravatarURL } from 'js-utils/avatar';
import { getGravatarURL } from '@jitsi/js-utils/avatar';
import { JitsiParticipantConnectionStatus } from '../lib-jitsi-meet'; import { JitsiParticipantConnectionStatus } from '../lib-jitsi-meet';
import { MEDIA_TYPE, shouldRenderVideoTrack } from '../media'; import { MEDIA_TYPE, shouldRenderVideoTrack } from '../media';

View File

@ -1,7 +1,7 @@
// @flow // @flow
import { jitsiLocalStorage } from '@jitsi/js-utils';
import md5 from 'js-md5'; import md5 from 'js-md5';
import { jitsiLocalStorage } from 'js-utils';
import logger from './logger'; import logger from './logger';

View File

@ -1,7 +1,7 @@
// @flow // @flow
import { jitsiLocalStorage } from 'js-utils'; import { jitsiLocalStorage } from '@jitsi/js-utils';
import { randomHexString } from 'js-utils/random'; import { randomHexString } from '@jitsi/js-utils/random';
import _ from 'lodash'; import _ from 'lodash';
import { APP_WILL_MOUNT } from '../app/actionTypes'; import { APP_WILL_MOUNT } from '../app/actionTypes';

View File

@ -1,5 +1,5 @@
// @flow // @flow
import { generateRoomWithoutSeparator } from 'js-utils/random'; import { generateRoomWithoutSeparator } from '@jitsi/js-utils/random';
import type { Dispatch } from 'redux'; import type { Dispatch } from 'redux';
import { getDefaultURL } from '../app/functions'; import { getDefaultURL } from '../app/functions';

View File

@ -1,6 +1,6 @@
// @flow // @flow
import { generateRoomWithoutSeparator } from 'js-utils/random'; import { generateRoomWithoutSeparator } from '@jitsi/js-utils/random';
import type { Dispatch } from 'redux'; import type { Dispatch } from 'redux';
import { createCalendarConnectedEvent, sendAnalytics } from '../analytics'; import { createCalendarConnectedEvent, sendAnalytics } from '../analytics';

View File

@ -1,6 +1,6 @@
// @flow // @flow
import { jitsiLocalStorage } from 'js-utils'; import { jitsiLocalStorage } from '@jitsi/js-utils';
import React, { PureComponent } from 'react'; import React, { PureComponent } from 'react';
import { import {

View File

@ -1,6 +1,6 @@
/* @flow */ /* @flow */
import { jitsiLocalStorage } from 'js-utils'; import { jitsiLocalStorage } from '@jitsi/js-utils';
import logger from '../logger'; import logger from '../logger';

View File

@ -1,6 +1,6 @@
// @flow // @flow
import { randomInt } from 'js-utils/random'; import { randomInt } from '@jitsi/js-utils/random';
import React, { Component } from 'react'; import React, { Component } from 'react';
import type { Dispatch } from 'redux'; import type { Dispatch } from 'redux';

View File

@ -1,6 +1,6 @@
// @flow // @flow
import { jitsiLocalStorage } from 'js-utils'; import { jitsiLocalStorage } from '@jitsi/js-utils';
import { APP_WILL_MOUNT } from '../base/app'; import { APP_WILL_MOUNT } from '../base/app';
import { getURLWithoutParamsNormalized } from '../base/connection'; import { getURLWithoutParamsNormalized } from '../base/connection';

View File

@ -1,6 +1,6 @@
// @flow // @flow
import { generateRoomWithoutSeparator } from 'js-utils/random'; import { generateRoomWithoutSeparator } from '@jitsi/js-utils/random';
import { Component } from 'react'; import { Component } from 'react';
import type { Dispatch } from 'redux'; import type { Dispatch } from 'redux';

View File

@ -55,7 +55,7 @@ const config = {
// as well. // as well.
exclude: [ exclude: [
new RegExp(`${__dirname}/node_modules/(?!js-utils)`) new RegExp(`${__dirname}/node_modules/(?!@jitsi/js-utils)`)
], ],
loader: 'babel-loader', loader: 'babel-loader',
options: { options: {