Skip to content

Commit eb63ecf

Browse files
author
LamNguyen176
committed
downgrade typescript
1 parent 4e85fde commit eb63ecf

File tree

3 files changed

+30
-6
lines changed

3 files changed

+30
-6
lines changed

package.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"react-native-builder-bob": "^0.30.2",
9090
"release-it": "^15.0.0",
9191
"turbo": "^1.10.7",
92-
"typescript": "^5.2.2"
92+
"typescript": "5.1.6"
9393
},
9494
"resolutions": {
9595
"@types/react": "^18.2.44"
@@ -110,7 +110,11 @@
110110
],
111111
"collectCoverage": true,
112112
"coverageDirectory": "coverage",
113-
"coverageReporters": ["json", "lcov", "text"],
113+
"coverageReporters": [
114+
"json",
115+
"lcov",
116+
"text"
117+
],
114118
"collectCoverageFrom": [
115119
"src/**/*.{js,jsx,ts,tsx}",
116120
"!src/**/*.test.{js,jsx,ts,tsx}",

src/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default class Crypto {
3131
return CryptoAlgorithm.genSecretKey('Hmac');
3232
};
3333

34-
static encryptHmacAes = (value: string, privateKey: string)=> {
34+
static encryptHmacAes = (value: string, privateKey: string) => {
3535
return CryptoAlgorithm.encryptHmacAes(value, privateKey);
3636
};
3737

yarn.lock

+23-3
Original file line numberDiff line numberDiff line change
@@ -10951,7 +10951,7 @@ __metadata:
1095110951
react-native-crypto-algorithm: 1.0.2
1095210952
release-it: ^15.0.0
1095310953
turbo: ^1.10.7
10954-
typescript: ^5.2.2
10954+
typescript: 5.1.6
1095510955
peerDependencies:
1095610956
react: "*"
1095710957
react-native: "*"
@@ -12857,7 +12857,17 @@ __metadata:
1285712857
languageName: node
1285812858
linkType: hard
1285912859

12860-
"typescript@npm:^4.6.4 || ^5.2.2, typescript@npm:^5.2.2":
12860+
"typescript@npm:5.1.6":
12861+
version: 5.1.6
12862+
resolution: "typescript@npm:5.1.6"
12863+
bin:
12864+
tsc: bin/tsc
12865+
tsserver: bin/tsserver
12866+
checksum: b2f2c35096035fe1f5facd1e38922ccb8558996331405eb00a5111cc948b2e733163cc22fab5db46992aba7dd520fff637f2c1df4996ff0e134e77d3249a7350
12867+
languageName: node
12868+
linkType: hard
12869+
12870+
"typescript@npm:^4.6.4 || ^5.2.2":
1286112871
version: 5.6.3
1286212872
resolution: "typescript@npm:5.6.3"
1286312873
bin:
@@ -12867,7 +12877,17 @@ __metadata:
1286712877
languageName: node
1286812878
linkType: hard
1286912879

12870-
"typescript@patch:typescript@^4.6.4 || ^5.2.2#~builtin<compat/typescript>, typescript@patch:typescript@^5.2.2#~builtin<compat/typescript>":
12880+
"typescript@patch:[email protected]#~builtin<compat/typescript>":
12881+
version: 5.1.6
12882+
resolution: "typescript@patch:typescript@npm%3A5.1.6#~builtin<compat/typescript>::version=5.1.6&hash=5da071"
12883+
bin:
12884+
tsc: bin/tsc
12885+
tsserver: bin/tsserver
12886+
checksum: f53bfe97f7c8b2b6d23cf572750d4e7d1e0c5fff1c36d859d0ec84556a827b8785077bc27676bf7e71fae538e517c3ecc0f37e7f593be913d884805d931bc8be
12887+
languageName: node
12888+
linkType: hard
12889+
12890+
"typescript@patch:typescript@^4.6.4 || ^5.2.2#~builtin<compat/typescript>":
1287112891
version: 5.6.3
1287212892
resolution: "typescript@patch:typescript@npm%3A5.6.3#~builtin<compat/typescript>::version=5.6.3&hash=14eedb"
1287312893
bin:

0 commit comments

Comments
 (0)