Skip to content
This repository was archived by the owner on Aug 16, 2024. It is now read-only.

Commit fe4db1f

Browse files
committed
chore: change config
1 parent f498050 commit fe4db1f

File tree

4 files changed

+35
-4
lines changed

4 files changed

+35
-4
lines changed

package.json

+4
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"@material-ui/core": "^4.11.2",
3636
"@tailwindcss/forms": "^0.2.1",
3737
"@types/chrome": "0.0.128",
38+
"@types/crypto-js": "^4.0.1",
3839
"@types/fs-extra": "^9.0.6",
3940
"@types/lodash-es": "^4.17.4",
4041
"@types/node": "^14",
@@ -43,6 +44,7 @@
4344
"@types/react": "^17.0.0",
4445
"@types/react-collapse": "^5.0.0",
4546
"@types/react-dom": "^17.0.0",
47+
"@types/react-resizable": "^1.7.2",
4648
"@types/uuid": "^8.3.0",
4749
"@typescript-eslint/eslint-plugin": "^4.5.0",
4850
"@typescript-eslint/parser": "^4.5.0",
@@ -59,6 +61,7 @@
5961
"copy-webpack-plugin": "^6.4.0",
6062
"core-js": "3",
6163
"cross-env": "^7.0.3",
64+
"crypto-js": "^4.0.0",
6265
"css-loader": "^5.0.1",
6366
"dotenv": "^8.2.0",
6467
"eslint": "^7.16.0",
@@ -91,6 +94,7 @@
9194
"react-dom": "^17.0.1",
9295
"react-draggable": "^4.4.3",
9396
"react-hot-loader": "^4.13.0",
97+
"react-resizable": "^1.11.0",
9498
"react-scroll-to-bottom": "^4.1.0",
9599
"sass-loader": "^10.1.0",
96100
"scrollparent": "^2.0.1",

src/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "A Translator",
3-
"permissions": ["http://*/*", "https://*/*", "storage"],
3+
"permissions": ["http://*/*", "https://*/*", "storage", "activeTab"],
44
"options_ui": {
55
"page": "options.html",
66
"chrome_style": false,

webpack.config.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ const options = {
9696
extensions: fileExtensions
9797
.map((extension) => '.' + extension)
9898
.concat(['.js', '.jsx', '.ts', '.tsx', '.css']),
99-
fallback: {},
99+
fallback: {
100+
crypto: false,
101+
},
100102
},
101103
plugins: [
102104
new webpack.ProgressPlugin(),

yarn.lock

+27-2
Original file line numberDiff line numberDiff line change
@@ -1402,6 +1402,11 @@
14021402
resolved "https://registry.yarnpkg.com/@types/clipboard/-/clipboard-2.0.1.tgz#75a74086c293d75b12bc93ff13bc7797fef05a40"
14031403
integrity sha512-gJJX9Jjdt3bIAePQRRjYWG20dIhAgEqonguyHxXuqALxsoDsDLimihqrSg8fXgVTJ4KZCzkfglKtwsh/8dLfbA==
14041404

1405+
"@types/crypto-js@^4.0.1":
1406+
version "4.0.1"
1407+
resolved "https://registry.yarnpkg.com/@types/crypto-js/-/crypto-js-4.0.1.tgz#3a4bd24518b0e6c5940da4e2659eeb2ef0806963"
1408+
integrity sha512-6+OPzqhKX/cx5xh+yO8Cqg3u3alrkhoxhE5ZOdSEv0DOzJ13lwJ6laqGU0Kv6+XDMFmlnGId04LtY22PsFLQUw==
1409+
14051410
"@types/eslint-scope@^3.7.0":
14061411
version "3.7.0"
14071412
resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.0.tgz#4792816e31119ebd506902a482caec4951fabd86"
@@ -1559,6 +1564,13 @@
15591564
dependencies:
15601565
"@types/react" "*"
15611566

1567+
"@types/react-resizable@^1.7.2":
1568+
version "1.7.2"
1569+
resolved "https://registry.yarnpkg.com/@types/react-resizable/-/react-resizable-1.7.2.tgz#ff7f6d67394abb6f64207fcc574ffccb932d8a97"
1570+
integrity sha512-6c6L94+VOksr9838LDrlYeucic2+0qkGnwolGE77YJztYHCWSucQV0e9+Qyl+uHpJTBRS95A5JESBg5NgCAC3A==
1571+
dependencies:
1572+
"@types/react" "*"
1573+
15621574
"@types/react-transition-group@^4.2.0":
15631575
version "4.4.0"
15641576
resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.0.tgz#882839db465df1320e4753e6e9f70ca7e9b4d46d"
@@ -3263,6 +3275,11 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
32633275
shebang-command "^2.0.0"
32643276
which "^2.0.1"
32653277

3278+
crypto-js@^4.0.0:
3279+
version "4.0.0"
3280+
resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.0.0.tgz#2904ab2677a9d042856a2ea2ef80de92e4a36dcc"
3281+
integrity sha512-bzHZN8Pn+gS7DQA6n+iUmBfl0hO5DJq++QP3U6uTucDtk/0iGpXd/Gg7CGR0p8tJhofJyaKoWBuJI4eAO00BBg==
3282+
32663283
crypto-random-string@^2.0.0:
32673284
version "2.0.0"
32683285
resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5"
@@ -7685,7 +7702,7 @@ promise-inflight@^1.0.1:
76857702
resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3"
76867703
integrity sha1-mEcocL8igTL8vdhoEputEsPAKeM=
76877704

7688-
[email protected], prop-types@^15.5.0, prop-types@^15.6.0, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2:
7705+
[email protected], prop-types@15.x, prop-types@^15.5.0, prop-types@^15.6.0, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2:
76897706
version "15.7.2"
76907707
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5"
76917708
integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==
@@ -7851,7 +7868,7 @@ react-dom@^17.0.1:
78517868
object-assign "^4.1.1"
78527869
scheduler "^0.20.1"
78537870

7854-
react-draggable@^4.4.3:
7871+
react-draggable@^4.0.3, react-draggable@^4.4.3:
78557872
version "4.4.3"
78567873
resolved "https://registry.yarnpkg.com/react-draggable/-/react-draggable-4.4.3.tgz#0727f2cae5813e36b0e4962bf11b2f9ef2b406f3"
78577874
integrity sha512-jV4TE59MBuWm7gb6Ns3Q1mxX8Azffb7oTtDtBgFkxRvhDp38YAARmRplrj0+XGkhOJB5XziArX+4HUUABtyZ0w==
@@ -7888,6 +7905,14 @@ react-lifecycles-compat@^3.0.4:
78887905
resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362"
78897906
integrity sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==
78907907

7908+
react-resizable@^1.11.0:
7909+
version "1.11.0"
7910+
resolved "https://registry.yarnpkg.com/react-resizable/-/react-resizable-1.11.0.tgz#0b237c4aff16937b7663de1045861749683227ad"
7911+
integrity sha512-VoGz2ddxUFvildS8r8/29UZJeyiM3QJnlmRZSuXm+FpTqq/eIrMPc796Y9XQLg291n2hFZJtIoP1xC3hSTw/jg==
7912+
dependencies:
7913+
prop-types "15.x"
7914+
react-draggable "^4.0.3"
7915+
78917916
react-scroll-to-bottom@^4.1.0:
78927917
version "4.1.0"
78937918
resolved "https://registry.yarnpkg.com/react-scroll-to-bottom/-/react-scroll-to-bottom-4.1.0.tgz#e39955aeaea27e36adb601de552b91a58f7be662"

0 commit comments

Comments
 (0)