aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2024-02-10 09:05:35 +0530
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2024-02-10 03:41:30 +0000
commit502528751b3b0594e63fed20aa83d04e37ac7024 (patch)
treea808a154af00d5e2de3e50080e1703118c650b21
parentFix formatting (diff)
downloadferdium-recipes-502528751b3b0594e63fed20aa83d04e37ac7024.tar.gz
ferdium-recipes-502528751b3b0594e63fed20aa83d04e37ac7024.tar.zst
ferdium-recipes-502528751b3b0594e63fed20aa83d04e37ac7024.zip
upgrade pnpm and other deps
-rw-r--r--package.json18
-rw-r--r--pnpm-lock.yaml93
-rw-r--r--recipes/zalo/package.json2
-rw-r--r--recipes/zalo/webview.js3
4 files changed, 61 insertions, 55 deletions
diff --git a/package.json b/package.json
index 1e87e38..d410206 100644
--- a/package.json
+++ b/package.json
@@ -6,14 +6,14 @@
6 }, 6 },
7 "engines": { 7 "engines": {
8 "node": "20.11.0", 8 "node": "20.11.0",
9 "pnpm": "8.14.1" 9 "pnpm": "8.15.1"
10 }, 10 },
11 "volta": { 11 "volta": {
12 "node": "20.11.0", 12 "node": "20.11.0",
13 "pnpm": "8.14.1" 13 "pnpm": "8.15.1"
14 }, 14 },
15 "engine-strict": true, 15 "engine-strict": true,
16 "packageManager": "pnpm@8.14.1", 16 "packageManager": "pnpm@8.15.1",
17 "scripts": { 17 "scripts": {
18 "preinstall": "npx only-allow pnpm", 18 "preinstall": "npx only-allow pnpm",
19 "prepare": "is-ci || husky install", 19 "prepare": "is-ci || husky install",
@@ -40,17 +40,17 @@
40 }, 40 },
41 "homepage": "https://github.com/ferdium/ferdium-recipes", 41 "homepage": "https://github.com/ferdium/ferdium-recipes",
42 "devDependencies": { 42 "devDependencies": {
43 "@types/targz": "1.0.1", 43 "@types/targz": "1.0.4",
44 "all-contributors-cli": "6.26.1", 44 "all-contributors-cli": "6.26.1",
45 "eslint": "8.48.0", 45 "eslint": "8.56.0",
46 "eslint-plugin-unicorn": "48.0.1", 46 "eslint-plugin-unicorn": "48.0.1",
47 "fs-extra": "11.1.1", 47 "fs-extra": "11.2.0",
48 "husky": "8.0.3", 48 "husky": "9.0.10",
49 "image-size": "1.0.2", 49 "image-size": "1.0.2",
50 "is-ci": "3.0.1", 50 "is-ci": "3.0.1",
51 "open": "9.1.0", 51 "open": "9.1.0",
52 "prettier": "3.0.3", 52 "prettier": "3.2.5",
53 "simple-git": "3.19.1", 53 "simple-git": "3.22.0",
54 "targz": "1.0.1" 54 "targz": "1.0.1"
55 } 55 }
56} 56}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index d66acad..c30f572 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -6,23 +6,23 @@ settings:
6 6
7devDependencies: 7devDependencies:
8 '@types/targz': 8 '@types/targz':
9 specifier: 1.0.1 9 specifier: 1.0.4
10 version: 1.0.1 10 version: 1.0.4
11 all-contributors-cli: 11 all-contributors-cli:
12 specifier: 6.26.1 12 specifier: 6.26.1
13 version: 6.26.1 13 version: 6.26.1
14 eslint: 14 eslint:
15 specifier: 8.48.0 15 specifier: 8.56.0
16 version: 8.48.0 16 version: 8.56.0
17 eslint-plugin-unicorn: 17 eslint-plugin-unicorn:
18 specifier: 48.0.1 18 specifier: 48.0.1
19 version: 48.0.1(eslint@8.48.0) 19 version: 48.0.1(eslint@8.56.0)
20 fs-extra: 20 fs-extra:
21 specifier: 11.1.1 21 specifier: 11.2.0
22 version: 11.1.1 22 version: 11.2.0
23 husky: 23 husky:
24 specifier: 8.0.3 24 specifier: 9.0.10
25 version: 8.0.3 25 version: 9.0.10
26 image-size: 26 image-size:
27 specifier: 1.0.2 27 specifier: 1.0.2
28 version: 1.0.2 28 version: 1.0.2
@@ -33,11 +33,11 @@ devDependencies:
33 specifier: 9.1.0 33 specifier: 9.1.0
34 version: 9.1.0 34 version: 9.1.0
35 prettier: 35 prettier:
36 specifier: 3.0.3 36 specifier: 3.2.5
37 version: 3.0.3 37 version: 3.2.5
38 simple-git: 38 simple-git:
39 specifier: 3.19.1 39 specifier: 3.22.0
40 version: 3.19.1 40 version: 3.22.0
41 targz: 41 targz:
42 specifier: 1.0.1 42 specifier: 1.0.1
43 version: 1.0.1 43 version: 1.0.1
@@ -77,13 +77,13 @@ packages:
77 regenerator-runtime: 0.13.11 77 regenerator-runtime: 0.13.11
78 dev: true 78 dev: true
79 79
80 /@eslint-community/eslint-utils@4.4.0(eslint@8.48.0): 80 /@eslint-community/eslint-utils@4.4.0(eslint@8.56.0):
81 resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} 81 resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==}
82 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 82 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
83 peerDependencies: 83 peerDependencies:
84 eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 84 eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
85 dependencies: 85 dependencies:
86 eslint: 8.48.0 86 eslint: 8.56.0
87 eslint-visitor-keys: 3.4.3 87 eslint-visitor-keys: 3.4.3
88 dev: true 88 dev: true
89 89
@@ -92,8 +92,8 @@ packages:
92 engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} 92 engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
93 dev: true 93 dev: true
94 94
95 /@eslint/eslintrc@2.1.2: 95 /@eslint/eslintrc@2.1.4:
96 resolution: {integrity: sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==} 96 resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==}
97 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 97 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
98 dependencies: 98 dependencies:
99 ajv: 6.12.6 99 ajv: 6.12.6
@@ -109,16 +109,16 @@ packages:
109 - supports-color 109 - supports-color
110 dev: true 110 dev: true
111 111
112 /@eslint/js@8.48.0: 112 /@eslint/js@8.56.0:
113 resolution: {integrity: sha512-ZSjtmelB7IJfWD2Fvb7+Z+ChTIKWq6kjda95fLcQKNS5aheVHn4IkfgRQE3sIIzTcSLwLcLZUD9UBt+V7+h+Pw==} 113 resolution: {integrity: sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==}
114 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 114 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
115 dev: true 115 dev: true
116 116
117 /@humanwhocodes/config-array@0.11.10: 117 /@humanwhocodes/config-array@0.11.14:
118 resolution: {integrity: sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==} 118 resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==}
119 engines: {node: '>=10.10.0'} 119 engines: {node: '>=10.10.0'}
120 dependencies: 120 dependencies:
121 '@humanwhocodes/object-schema': 1.2.1 121 '@humanwhocodes/object-schema': 2.0.2
122 debug: 4.3.4 122 debug: 4.3.4
123 minimatch: 3.1.2 123 minimatch: 3.1.2
124 transitivePeerDependencies: 124 transitivePeerDependencies:
@@ -130,8 +130,8 @@ packages:
130 engines: {node: '>=12.22'} 130 engines: {node: '>=12.22'}
131 dev: true 131 dev: true
132 132
133 /@humanwhocodes/object-schema@1.2.1: 133 /@humanwhocodes/object-schema@2.0.2:
134 resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==} 134 resolution: {integrity: sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==}
135 dev: true 135 dev: true
136 136
137 /@kwsites/file-exists@1.1.1: 137 /@kwsites/file-exists@1.1.1:
@@ -188,12 +188,16 @@ packages:
188 '@types/node': 18.0.0 188 '@types/node': 18.0.0
189 dev: true 189 dev: true
190 190
191 /@types/targz@1.0.1: 191 /@types/targz@1.0.4:
192 resolution: {integrity: sha512-Uf5QxuLICkVOmSyDhPicBpIXk2oLIqaldObfr/WsTKTAPk666OpbeL0wZuNXwc5yg9OH1cBVj1rpMHGBJe4ilg==} 192 resolution: {integrity: sha512-4i2weIjweWsnrvutLH7dM/+FPVSFSqxb+XKWo61tAiHxyYYHveImqys5JijMboKJz+jhFu24SlFrdVAB0xAMIw==}
193 dependencies: 193 dependencies:
194 '@types/tar-fs': 2.0.1 194 '@types/tar-fs': 2.0.1
195 dev: true 195 dev: true
196 196
197 /@ungap/structured-clone@1.2.0:
198 resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
199 dev: true
200
197 /acorn-jsx@5.3.2(acorn@8.10.0): 201 /acorn-jsx@5.3.2(acorn@8.10.0):
198 resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} 202 resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
199 peerDependencies: 203 peerDependencies:
@@ -515,17 +519,17 @@ packages:
515 engines: {node: '>=10'} 519 engines: {node: '>=10'}
516 dev: true 520 dev: true
517 521
518 /eslint-plugin-unicorn@48.0.1(eslint@8.48.0): 522 /eslint-plugin-unicorn@48.0.1(eslint@8.56.0):
519 resolution: {integrity: sha512-FW+4r20myG/DqFcCSzoumaddKBicIPeFnTrifon2mWIzlfyvzwyqZjqVP7m4Cqr/ZYisS2aiLghkUWaPg6vtCw==} 523 resolution: {integrity: sha512-FW+4r20myG/DqFcCSzoumaddKBicIPeFnTrifon2mWIzlfyvzwyqZjqVP7m4Cqr/ZYisS2aiLghkUWaPg6vtCw==}
520 engines: {node: '>=16'} 524 engines: {node: '>=16'}
521 peerDependencies: 525 peerDependencies:
522 eslint: '>=8.44.0' 526 eslint: '>=8.44.0'
523 dependencies: 527 dependencies:
524 '@babel/helper-validator-identifier': 7.22.5 528 '@babel/helper-validator-identifier': 7.22.5
525 '@eslint-community/eslint-utils': 4.4.0(eslint@8.48.0) 529 '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0)
526 ci-info: 3.8.0 530 ci-info: 3.8.0
527 clean-regexp: 1.0.0 531 clean-regexp: 1.0.0
528 eslint: 8.48.0 532 eslint: 8.56.0
529 esquery: 1.5.0 533 esquery: 1.5.0
530 indent-string: 4.0.0 534 indent-string: 4.0.0
531 is-builtin-module: 3.2.1 535 is-builtin-module: 3.2.1
@@ -552,18 +556,19 @@ packages:
552 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 556 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
553 dev: true 557 dev: true
554 558
555 /eslint@8.48.0: 559 /eslint@8.56.0:
556 resolution: {integrity: sha512-sb6DLeIuRXxeM1YljSe1KEx9/YYeZFQWcV8Rq9HfigmdDEugjLEVEa1ozDjL6YDjBpQHPJxJzze+alxi4T3OLg==} 560 resolution: {integrity: sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==}
557 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} 561 engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
558 hasBin: true 562 hasBin: true
559 dependencies: 563 dependencies:
560 '@eslint-community/eslint-utils': 4.4.0(eslint@8.48.0) 564 '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0)
561 '@eslint-community/regexpp': 4.6.1 565 '@eslint-community/regexpp': 4.6.1
562 '@eslint/eslintrc': 2.1.2 566 '@eslint/eslintrc': 2.1.4
563 '@eslint/js': 8.48.0 567 '@eslint/js': 8.56.0
564 '@humanwhocodes/config-array': 0.11.10 568 '@humanwhocodes/config-array': 0.11.14
565 '@humanwhocodes/module-importer': 1.0.1 569 '@humanwhocodes/module-importer': 1.0.1
566 '@nodelib/fs.walk': 1.2.8 570 '@nodelib/fs.walk': 1.2.8
571 '@ungap/structured-clone': 1.2.0
567 ajv: 6.12.6 572 ajv: 6.12.6
568 chalk: 4.1.2 573 chalk: 4.1.2
569 cross-spawn: 7.0.3 574 cross-spawn: 7.0.3
@@ -734,8 +739,8 @@ packages:
734 resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==} 739 resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==}
735 dev: true 740 dev: true
736 741
737 /fs-extra@11.1.1: 742 /fs-extra@11.2.0:
738 resolution: {integrity: sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==} 743 resolution: {integrity: sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==}
739 engines: {node: '>=14.14'} 744 engines: {node: '>=14.14'}
740 dependencies: 745 dependencies:
741 graceful-fs: 4.2.11 746 graceful-fs: 4.2.11
@@ -825,9 +830,9 @@ packages:
825 engines: {node: '>=14.18.0'} 830 engines: {node: '>=14.18.0'}
826 dev: true 831 dev: true
827 832
828 /husky@8.0.3: 833 /husky@9.0.10:
829 resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==} 834 resolution: {integrity: sha512-TQGNknoiy6bURzIO77pPRu+XHi6zI7T93rX+QnJsoYFf3xdjKOur+IlfqzJGMHIK/wXrLg+GsvMs8Op7vI2jVA==}
830 engines: {node: '>=14'} 835 engines: {node: '>=18'}
831 hasBin: true 836 hasBin: true
832 dev: true 837 dev: true
833 838
@@ -1315,8 +1320,8 @@ packages:
1315 dev: true 1320 dev: true
1316 optional: true 1321 optional: true
1317 1322
1318 /prettier@3.0.3: 1323 /prettier@3.2.5:
1319 resolution: {integrity: sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==} 1324 resolution: {integrity: sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==}
1320 engines: {node: '>=14'} 1325 engines: {node: '>=14'}
1321 hasBin: true 1326 hasBin: true
1322 dev: true 1327 dev: true
@@ -1507,8 +1512,8 @@ packages:
1507 resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} 1512 resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}
1508 dev: true 1513 dev: true
1509 1514
1510 /simple-git@3.19.1: 1515 /simple-git@3.22.0:
1511 resolution: {integrity: sha512-Ck+rcjVaE1HotraRAS8u/+xgTvToTuoMkT9/l9lvuP5jftwnYUp6DwuJzsKErHgfyRk8IB8pqGHWEbM3tLgV1w==} 1516 resolution: {integrity: sha512-6JujwSs0ac82jkGjMHiCnTifvf1crOiY/+tfs/Pqih6iow7VrpNKRRNdWm6RtaXpvvv/JGNYhlUtLhGFqHF+Yw==}
1512 dependencies: 1517 dependencies:
1513 '@kwsites/file-exists': 1.1.1 1518 '@kwsites/file-exists': 1.1.1
1514 '@kwsites/promise-deferred': 1.1.1 1519 '@kwsites/promise-deferred': 1.1.1
diff --git a/recipes/zalo/package.json b/recipes/zalo/package.json
index 76cef76..e2fafbc 100644
--- a/recipes/zalo/package.json
+++ b/recipes/zalo/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "zalo", 2 "id": "zalo",
3 "name": "Zalo", 3 "name": "Zalo",
4 "version": "1.5.0", 4 "version": "1.5.1",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://chat.zalo.me/", 7 "serviceURL": "https://chat.zalo.me/",
diff --git a/recipes/zalo/webview.js b/recipes/zalo/webview.js
index 3c432a6..3d0bfb8 100644
--- a/recipes/zalo/webview.js
+++ b/recipes/zalo/webview.js
@@ -36,7 +36,8 @@ module.exports = Ferdium => {
36 const convUnread = document.querySelectorAll( 36 const convUnread = document.querySelectorAll(
37 '.conv-unread:not(.func-unread__muted)', 37 '.conv-unread:not(.func-unread__muted)',
38 ); 38 );
39 if (convUnread.length === 0) count = 6; // 5+ 39 if (convUnread.length === 0)
40 count = 6; // 5+
40 else 41 else
41 for (const convUnreadItem of convUnread) { 42 for (const convUnreadItem of convUnread) {
42 switch (convUnreadItem.classList[1]) { 43 switch (convUnreadItem.classList[1]) {