Skip to content

Commit ccb78a7

Browse files
authored
Merge pull request #244 from lightninglabs/update-deps
deps: update some npm dependencies
2 parents 7564811 + 7886688 commit ccb78a7

File tree

95 files changed

+3261
-2501
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+3261
-2501
lines changed

app/package.json

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,33 +17,32 @@
1717
"build-storybook": "build-storybook -s public"
1818
},
1919
"dependencies": {
20-
"@emotion/core": "10.0.28",
21-
"@emotion/styled": "10.0.27",
22-
"@improbable-eng/grpc-web": "0.12.0",
20+
"@emotion/react": "11.4.0",
21+
"@emotion/styled": "11.3.0",
22+
"@improbable-eng/grpc-web": "0.14.0",
2323
"big.js": "5.2.2",
2424
"bootstrap": "4.5.0",
2525
"copy-to-clipboard": "3.3.1",
2626
"d3": "6.3.1",
2727
"date-fns": "2.14.0",
2828
"debug": "4.1.1",
29-
"emotion-theming": "10.0.27",
3029
"file-saver": "2.0.2",
3130
"history": "4.10.1",
3231
"http-proxy-middleware": "1.0.4",
3332
"i18next": "19.5.1",
3433
"i18next-browser-languagedetector": "5.0.0",
3534
"lodash": "4.17.21",
3635
"lottie-web": "5.7.0",
37-
"mobx": "6.0.2",
38-
"mobx-react-lite": "3.0.1",
39-
"mobx-utils": "5.6.1",
36+
"mobx": "6.3.2",
37+
"mobx-react-lite": "3.2.0",
38+
"mobx-utils": "6.0.4",
4039
"rc-select": "11.5.0",
4140
"rc-tooltip": "4.2.1",
42-
"react": "17.0.1",
43-
"react-dom": "17.0.1",
41+
"react": "17.0.2",
42+
"react-dom": "17.0.2",
4443
"react-i18next": "11.7.0",
4544
"react-router": "5.2.0",
46-
"react-scripts": "4.0.0",
45+
"react-scripts": "4.0.2",
4746
"react-toastify": "6.0.6",
4847
"react-virtualized": "9.21.2",
4948
"reactour": "1.18.0",
@@ -68,8 +67,8 @@
6867
"@types/jest": "26.0.3",
6968
"@types/lodash": "4.14.157",
7069
"@types/node": "14.0.14",
71-
"@types/react": "16.9.56",
72-
"@types/react-dom": "16.9.9",
70+
"@types/react": "17.0.13",
71+
"@types/react-dom": "17.0.8",
7372
"@types/react-router": "5.1.8",
7473
"@types/react-virtualized": "9.21.10",
7574
"@types/reactour": "1.17.1",
@@ -85,7 +84,7 @@
8584
"node-sass": "4.14.1",
8685
"prettier": "2.1.2",
8786
"ts-protoc-gen": "0.12.0",
88-
"typescript": "4.0.5"
87+
"typescript": "4.1.6"
8988
},
9089
"eslintConfig": {
9190
"extends": "react-app",

app/src/components/NodeStatus.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import React from 'react';
22
import { observer } from 'mobx-react-lite';
3+
import styled from '@emotion/styled';
34
import { usePrefixedTranslation } from 'hooks';
45
import { useStore } from 'store';
56
import { HeaderFour, Jumbo, Small } from 'components/base';
67
import { Bitcoin, Bolt } from './base';
78
import Tip from './common/Tip';
89
import Unit from './common/Unit';
9-
import { styled } from './theme';
1010

1111
const Styled = {
1212
Wrapper: styled.div`

app/src/components/auth/AuthPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import React, { useState } from 'react';
22
import { observer } from 'mobx-react-lite';
3+
import styled from '@emotion/styled';
34
import { ReactComponent as LogoImage } from 'assets/images/logo.svg';
45
import { usePrefixedTranslation } from 'hooks';
56
import { useStore } from 'store';
67
import { Background, Button, HeaderOne, Input } from 'components/base';
7-
import { styled } from 'components/theme';
88

99
const Styled = {
1010
Wrapper: styled.div`

app/src/components/base/icons.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1+
import styled from '@emotion/styled';
12
import { ReactComponent as AlertTriangleIcon } from 'assets/icons/alert-triangle.svg';
23
import { ReactComponent as ArrowDownCircleIcon } from 'assets/icons/arrow-down-circle.svg';
34
import { ReactComponent as ArrowDownIcon } from 'assets/icons/arrow-down.svg';
45
import { ReactComponent as ArrowLeftIcon } from 'assets/icons/arrow-left.svg';
56
import { ReactComponent as ArrowRightIcon } from 'assets/icons/arrow-right.svg';
67
import { ReactComponent as ArrowUpCircleIcon } from 'assets/icons/arrow-up-circle.svg';
78
import { ReactComponent as ArrowUpIcon } from 'assets/icons/arrow-up.svg';
9+
import { ReactComponent as BarChartIcon } from 'assets/icons/bar-chart.svg';
810
import { ReactComponent as BitcoinIcon } from 'assets/icons/bitcoin.svg';
911
import { ReactComponent as BoltIcon } from 'assets/icons/bolt.svg';
1012
import { ReactComponent as CheckIcon } from 'assets/icons/check.svg';
@@ -20,16 +22,14 @@ import { ReactComponent as CopyIcon } from 'assets/icons/copy.svg';
2022
import { ReactComponent as DotIcon } from 'assets/icons/dot.svg';
2123
import { ReactComponent as DownloadIcon } from 'assets/icons/download.svg';
2224
import { ReactComponent as HelpCircleIcon } from 'assets/icons/help-circle.svg';
25+
import { ReactComponent as ListIcon } from 'assets/icons/list.svg';
2326
import { ReactComponent as MaximizeIcon } from 'assets/icons/maximize.svg';
2427
import { ReactComponent as MenuIcon } from 'assets/icons/menu.svg';
2528
import { ReactComponent as MinimizeIcon } from 'assets/icons/minimize.svg';
2629
import { ReactComponent as RefreshIcon } from 'assets/icons/refresh-cw.svg';
2730
import { ReactComponent as SettingsIcon } from 'assets/icons/settings.svg';
2831
import { ReactComponent as CancelIcon } from 'assets/icons/slash.svg';
2932
import { ReactComponent as UserPlusIcon } from 'assets/icons/user-plus.svg';
30-
import { ReactComponent as BarChartIcon } from 'assets/icons/bar-chart.svg';
31-
import { ReactComponent as ListIcon } from 'assets/icons/list.svg';
32-
import { styled } from 'components/theme';
3333

3434
interface IconProps {
3535
size?: 'x-small' | 'small' | 'medium' | 'large';

app/src/components/base/shared.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import styled from '@emotion/styled';
12
import Chevrons from 'assets/icons/chevrons.svg';
2-
import { styled } from 'components/theme';
33

44
//
55
// Misc

app/src/components/base/text.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { styled } from 'components/theme';
1+
import styled from '@emotion/styled';
22

33
interface HeaderProps {
44
marginless?: boolean;

app/src/components/common/AlertContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { toast, ToastContainer } from 'react-toastify';
33
import { values } from 'mobx';
44
import { observer } from 'mobx-react-lite';
55
import { Alert } from 'types/state';
6+
import styled from '@emotion/styled';
67
import { useStore } from 'store';
7-
import { styled } from 'components/theme';
88
import { Close } from '../base';
99

1010
const Styled = {

app/src/components/common/BadgeList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useCallback } from 'react';
2+
import styled from '@emotion/styled';
23
import { Badge } from 'components/base';
3-
import { styled } from 'components/theme';
44

55
const Styled = {
66
Wrapper: styled.div<{ flex?: boolean }>`

app/src/components/common/Checkbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useCallback } from 'react';
2-
import { styled } from 'components/theme';
2+
import styled from '@emotion/styled';
33
import { Check } from '../base';
44

55
const Styled = {

app/src/components/common/ExternalLink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { styled } from 'components/theme';
2+
import styled from '@emotion/styled';
33

44
const Styled = {
55
Wrapper: styled.a`

0 commit comments

Comments
 (0)