Merge pull request #3148 from balena-io/update-dependencies

Update dependencies
This commit is contained in:
Alexis Svinartchouk 2020-05-12 19:28:11 +02:00 committed by GitHub
commit a31e27ee06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 817 additions and 457 deletions

View File

@ -20,7 +20,7 @@ import * as _ from 'lodash';
import outdent from 'outdent';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import * as uuidV4 from 'uuid/v4';
import { v4 as uuidV4 } from 'uuid';
import * as packageJSON from '../../../package.json';
import * as EXIT_CODES from '../../shared/exit-codes';

View File

@ -16,11 +16,11 @@
import * as _ from 'lodash';
import * as React from 'react';
import * as uuidV4 from 'uuid/v4';
import { v4 as uuidV4 } from 'uuid';
import * as flashState from '../../models/flash-state';
import * as selectionState from '../../models/selection-state';
import { store } from '../../models/store';
import { Actions, store } from '../../models/store';
import * as analytics from '../../modules/analytics';
import { open as openExternal } from '../../os/open-external/services/open-external';
import { FlashAnother } from '../flash-another/flash-another';
@ -33,7 +33,7 @@ function restart(goToMain: () => void) {
// Reset the flashing workflow uuid
store.dispatch({
type: 'SET_FLASHING_WORKFLOW_UUID',
type: Actions.SET_FLASHING_WORKFLOW_UUID,
data: uuidV4(),
});

View File

@ -169,7 +169,7 @@ const URLSelector = ({ done }: { done: (imageURL: string) => void }) => {
interface Flow {
icon?: JSX.Element;
onClick: (evt: MouseEvent) => void;
onClick: (evt: React.MouseEvent) => void;
label: string;
}

View File

@ -26,6 +26,7 @@ import { Actions, store } from './store';
export function resetState() {
store.dispatch({
type: Actions.RESET_FLASH_STATE,
data: {},
});
}
@ -46,6 +47,7 @@ export function isFlashing(): boolean {
export function setFlashingFlag() {
store.dispatch({
type: Actions.SET_FLASHING_FLAG,
data: {},
});
}

View File

@ -130,6 +130,7 @@ export function deselectDrive(driveDevice: string) {
export function deselectImage() {
store.dispatch({
type: Actions.DESELECT_IMAGE,
data: {},
});
}

View File

@ -17,7 +17,7 @@
import * as Immutable from 'immutable';
import * as _ from 'lodash';
import * as redux from 'redux';
import * as uuidV4 from 'uuid/v4';
import { v4 as uuidV4 } from 'uuid';
import * as constraints from '../../../shared/drive-constraints';
import * as errors from '../../../shared/errors';

1239
npm-shrinkwrap.json generated

File diff suppressed because it is too large Load Diff

View File

@ -53,8 +53,8 @@
"bluebird": "^3.7.2",
"bootstrap-sass": "^3.3.6",
"d3": "^4.13.0",
"debug": "^3.1.0",
"electron-updater": "4.0.6",
"debug": "^4.1.1",
"electron-updater": "^4.3.1",
"etcher-sdk": "^4.1.3",
"flexboxgrid": "^6.3.0",
"immutable": "^3.8.1",
@ -67,18 +67,18 @@
"pretty-bytes": "^5.3.0",
"react": "^16.8.5",
"react-dom": "^16.8.5",
"redux": "^3.5.2",
"rendition": "^11.24.2",
"redux": "^4.0.5",
"rendition": "^14.11.5",
"request": "^2.81.0",
"resin-corvus": "^2.0.5",
"roboto-fontface": "^0.9.0",
"semver": "^5.1.1",
"styled-components": "^4.2.0",
"styled-system": "^4.1.0",
"roboto-fontface": "^0.10.0",
"semver": "^7.3.2",
"styled-components": "^5.1.0",
"styled-system": "^5.1.5",
"sudo-prompt": "^9.0.0",
"sys-class-rgb-led": "^2.1.0",
"tmp": "^0.1.0",
"uuid": "^3.0.1"
"tmp": "^0.2.1",
"uuid": "^8.0.0"
},
"devDependencies": {
"@balena/lint": "^5.0.4",