Skip to content

Commit c7020a1

Browse files
chore(deps): bump swiper, sha.js, and cipher-base (#40396)
Co-authored-by: Julio Araujo <julio.araujo@rocket.chat>
1 parent e37abca commit c7020a1

6 files changed

Lines changed: 47 additions & 100 deletions

File tree

.yarn/patches/swiper-npm-11.1.14-8126fa478a.patch

Lines changed: 0 additions & 62 deletions
This file was deleted.

apps/meteor/.storybook/main.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ export default {
2929
// 'react/jsx-runtime': require.resolve('../../../node_modules/react/jsx-runtime'),
3030
'@tanstack/react-query': require.resolve('../../../node_modules/@tanstack/react-query'),
3131
'@rocket.chat/fuselage$': require.resolve('../../../node_modules/@rocket.chat/fuselage'),
32-
'swiper/swiper.css$': 'swiper/css',
33-
'swiper/modules/navigation/navigation.min.css$': 'swiper/css/navigation',
34-
'swiper/modules/keyboard/keyboard.min.css$': 'swiper/css/keyboard',
35-
'swiper/modules/zoom/zoom.min.css$': 'swiper/css/zoom',
3632
},
3733
// This is only needed because of Fontello
3834
roots: [...(config.resolve?.roots ?? []), resolve(__dirname, '../../../apps/meteor/public')],

apps/meteor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@
289289
"strict-uri-encode": "^2.0.0",
290290
"string-strip-html": "^8.5.0",
291291
"swagger-ui-express": "^5.0.1",
292-
"swiper": "patch:swiper@npm%3A11.1.14#~/.yarn/patches/swiper-npm-11.1.14-8126fa478a.patch",
292+
"swiper": "12.1.3",
293293
"textarea-caret": "^3.1.0",
294294
"tinykeys": "^1.4.0",
295295
"tsyringe": "^4.10.0",

apps/meteor/tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
/* Support absolute /imports/* with a leading '/' */
2424
"/*": ["*"],
2525
"meteor/*": ["./node_modules/@types/meteor/*", ".meteor/local/types/packages.d.ts"],
26+
"swiper/modules/index.mjs": ["./node_modules/swiper/types/modules/index.d.ts"],
27+
"swiper/swiper-react.mjs": ["./node_modules/swiper/swiper-react.d.ts"],
2628
},
2729
"preserveSymlinks": true,
2830

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,13 @@
8585
"form-data@npm:^2.5.0": "2.5.5",
8686
"form-data@npm:^4.0.0": "4.0.5",
8787
"form-data@npm:^4.0.4": "4.0.5",
88-
"form-data@npm:^4.0.5": "4.0.5"
88+
"form-data@npm:^4.0.5": "4.0.5",
89+
"browserify-aes/cipher-base": "1.0.7",
90+
"browserify-des/cipher-base": "1.0.7",
91+
"create-hash/cipher-base": "1.0.7",
92+
"create-hmac/cipher-base": "1.0.7",
93+
"create-hash/sha.js": "2.4.12",
94+
"create-hmac/sha.js": "2.4.12"
8995
},
9096
"dependencies": {
9197
"@types/stream-buffers": "^3.0.8",

yarn.lock

Lines changed: 37 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -10188,7 +10188,7 @@ __metadata:
1018810188
supertest: "npm:~7.1.4"
1018910189
supports-color: "npm:~7.2.0"
1019010190
swagger-ui-express: "npm:^5.0.1"
10191-
swiper: "patch:swiper@npm%3A11.1.14#~/.yarn/patches/swiper-npm-11.1.14-8126fa478a.patch"
10191+
swiper: "npm:12.1.3"
1019210192
template-file: "npm:^6.0.1"
1019310193
textarea-caret: "npm:^3.1.0"
1019410194
tinykeys: "npm:^1.4.0"
@@ -18725,13 +18725,14 @@ __metadata:
1872518725
languageName: node
1872618726
linkType: hard
1872718727

18728-
"cipher-base@npm:^1.0.0, cipher-base@npm:^1.0.1, cipher-base@npm:^1.0.3":
18729-
version: 1.0.4
18730-
resolution: "cipher-base@npm:1.0.4"
18728+
"cipher-base@npm:1.0.7":
18729+
version: 1.0.7
18730+
resolution: "cipher-base@npm:1.0.7"
1873118731
dependencies:
18732-
inherits: "npm:^2.0.1"
18733-
safe-buffer: "npm:^5.0.1"
18734-
checksum: 10/3d5d6652ca499c3f7c5d7fdc2932a357ec1e5aa84f2ad766d850efd42e89753c97b795c3a104a8e7ae35b4e293f5363926913de3bf8181af37067d9d541ca0db
18732+
inherits: "npm:^2.0.4"
18733+
safe-buffer: "npm:^5.2.1"
18734+
to-buffer: "npm:^1.2.2"
18735+
checksum: 10/9501d2241b7968aaae74fc3db1d6a69a804e0b14117a8fd5d811edf351fcd39a1807bfd98e090a799cfe98b183fbf2e01ebb57f1239080850db07b68dcd9ba02
1873518736
languageName: node
1873618737
linkType: hard
1873718738

@@ -18997,7 +18998,7 @@ __metadata:
1899718998
languageName: node
1899818999
linkType: hard
1899919000

19000-
"combined-stream@npm:^1.0.6, combined-stream@npm:^1.0.8":
19001+
"combined-stream@npm:^1.0.8":
1900119002
version: 1.0.8
1900219003
resolution: "combined-stream@npm:1.0.8"
1900319004
dependencies:
@@ -34605,19 +34606,7 @@ __metadata:
3460534606
languageName: node
3460634607
linkType: hard
3460734608

34608-
"sha.js@npm:^2.4.0, sha.js@npm:^2.4.8":
34609-
version: 2.4.11
34610-
resolution: "sha.js@npm:2.4.11"
34611-
dependencies:
34612-
inherits: "npm:^2.0.1"
34613-
safe-buffer: "npm:^5.0.1"
34614-
bin:
34615-
sha.js: ./bin.js
34616-
checksum: 10/d833bfa3e0a67579a6ce6e1bc95571f05246e0a441dd8c76e3057972f2a3e098465687a4369b07e83a0375a88703577f71b5b2e966809e67ebc340dbedb478c7
34617-
languageName: node
34618-
linkType: hard
34619-
34620-
"sha.js@npm:^2.4.11, sha.js@npm:^2.4.12, sha.js@npm:~2.4.4":
34609+
"sha.js@npm:2.4.12, sha.js@npm:^2.4.11, sha.js@npm:^2.4.12, sha.js@npm:~2.4.4":
3462134610
version: 2.4.12
3462234611
resolution: "sha.js@npm:2.4.12"
3462334612
dependencies:
@@ -34630,6 +34619,18 @@ __metadata:
3463034619
languageName: node
3463134620
linkType: hard
3463234621

34622+
"sha.js@npm:^2.4.8":
34623+
version: 2.4.11
34624+
resolution: "sha.js@npm:2.4.11"
34625+
dependencies:
34626+
inherits: "npm:^2.0.1"
34627+
safe-buffer: "npm:^5.0.1"
34628+
bin:
34629+
sha.js: ./bin.js
34630+
checksum: 10/d833bfa3e0a67579a6ce6e1bc95571f05246e0a441dd8c76e3057972f2a3e098465687a4369b07e83a0375a88703577f71b5b2e966809e67ebc340dbedb478c7
34631+
languageName: node
34632+
linkType: hard
34633+
3463334634
"shallow-clone@npm:^3.0.0":
3463434635
version: 3.0.1
3463534636
resolution: "shallow-clone@npm:3.0.1"
@@ -36066,17 +36067,10 @@ __metadata:
3606636067
languageName: node
3606736068
linkType: hard
3606836069

36069-
"swiper@npm:11.1.14":
36070-
version: 11.1.14
36071-
resolution: "swiper@npm:11.1.14"
36072-
checksum: 10/ccbdc7027022c500d4624103fc59dcb7de44122d17c005a04807a8998e6e8fe7032f4cb78e9ff0ac33705f32ec540df7fdf9002774079bcce5fd72cf6ba41457
36073-
languageName: node
36074-
linkType: hard
36075-
36076-
"swiper@patch:swiper@npm%3A11.1.14#~/.yarn/patches/swiper-npm-11.1.14-8126fa478a.patch":
36077-
version: 11.1.14
36078-
resolution: "swiper@patch:swiper@npm%3A11.1.14#~/.yarn/patches/swiper-npm-11.1.14-8126fa478a.patch::version=11.1.14&hash=c4398b"
36079-
checksum: 10/9177de6e116ea07e18f329464d44a2116ec2d87d1403d7072c1f39661a10325fef7e149dbb5a59a36a2e1c9915dc0caf74a5022f64e4ac296f8dfe0d70689b90
36070+
"swiper@npm:12.1.3":
36071+
version: 12.1.3
36072+
resolution: "swiper@npm:12.1.3"
36073+
checksum: 10/8b4e778870e99cfb5145ed9d5d4314a17fbb544c5d30c1845319021f91363c2bbfaa75d2c2eae8773518117d6141c7d404fc560b97046e06ffd4a5d8b0c2da47
3608036074
languageName: node
3608136075
linkType: hard
3608236076

@@ -36590,6 +36584,17 @@ __metadata:
3659036584
languageName: node
3659136585
linkType: hard
3659236586

36587+
"to-buffer@npm:^1.2.2":
36588+
version: 1.2.2
36589+
resolution: "to-buffer@npm:1.2.2"
36590+
dependencies:
36591+
isarray: "npm:^2.0.5"
36592+
safe-buffer: "npm:^5.2.1"
36593+
typed-array-buffer: "npm:^1.0.3"
36594+
checksum: 10/69d806c20524ff1e4c44d49276bc96ff282dcae484780a3974e275dabeb75651ea430b074a2a4023701e63b3e1d87811cd82c0972f35280fe5461710e4872aba
36595+
languageName: node
36596+
linkType: hard
36597+
3659336598
"to-camel-case@npm:1.0.0":
3659436599
version: 1.0.0
3659536600
resolution: "to-camel-case@npm:1.0.0"

0 commit comments

Comments
 (0)