Skip to content

Commit 3fc9ab9

Browse files
feat: ✨ Make sure frontend code doesn't need to depend on anchor (#89)
1 parent 1bad82f commit 3fc9ab9

File tree

5 files changed

+32
-141
lines changed

5 files changed

+32
-141
lines changed

cli/src/templates/workspace.rs

+10-21
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,10 @@ pub fn package_json(jest: bool) -> String {
3030
"lint:fix": "node_modules/.bin/prettier */*.js \"*/**/*{{.js,.ts}}\" -w",
3131
"lint": "prettier */*.js \"*/**/*{{.js,.ts}}\" --check"
3232
}},
33-
"dependencies": {{
34-
"@coral-xyz/anchor": "^{ANCHOR_VERSION}"
35-
}},
3633
"devDependencies": {{
3734
"jest": "^29.0.3",
38-
"prettier": "^2.6.2"
35+
"prettier": "^2.6.2",
36+
"@magicblock-labs/bolt-sdk": "latest"
3937
}}
4038
}}
4139
"#
@@ -47,16 +45,13 @@ pub fn package_json(jest: bool) -> String {
4745
"lint:fix": "node_modules/.bin/prettier */*.js \"*/**/*{{.js,.ts}}\" -w",
4846
"lint": "prettier */*.js \"*/**/*{{.js,.ts}}\" --check"
4947
}},
50-
"dependencies": {{
51-
"@coral-xyz/anchor": "^{ANCHOR_VERSION}"
52-
}},
5348
"devDependencies": {{
5449
"chai": "^4.3.4",
5550
"mocha": "^9.0.3",
5651
"prettier": "^2.6.2",
5752
"@metaplex-foundation/beet": "^0.7.1",
5853
"@metaplex-foundation/beet-solana": "^0.4.0",
59-
"@magicblock-labs/bolt-sdk": "latest"
54+
"@magicblock-labs/bolt-sdk": "latest"
6055
}}
6156
}}
6257
"#
@@ -72,9 +67,6 @@ pub fn ts_package_json(jest: bool) -> String {
7267
"lint:fix": "node_modules/.bin/prettier */*.js \"*/**/*{{.js,.ts}}\" -w",
7368
"lint": "prettier */*.js \"*/**/*{{.js,.ts}}\" --check"
7469
}},
75-
"dependencies": {{
76-
"@coral-xyz/anchor": "^{ANCHOR_VERSION}"
77-
}},
7870
"devDependencies": {{
7971
"@types/bn.js": "^5.1.0",
8072
"@types/jest": "^29.0.3",
@@ -96,9 +88,6 @@ pub fn ts_package_json(jest: bool) -> String {
9688
"lint:fix": "node_modules/.bin/prettier */*.js \"*/**/*{{.js,.ts}}\" -w",
9789
"lint": "prettier */*.js \"*/**/*{{.js,.ts}}\" --check"
9890
}},
99-
"dependencies": {{
100-
"@coral-xyz/anchor": "^{ANCHOR_VERSION}"
101-
}},
10291
"devDependencies": {{
10392
"chai": "^4.3.4",
10493
"mocha": "^9.0.3",
@@ -120,10 +109,10 @@ pub fn ts_package_json(jest: bool) -> String {
120109

121110
pub fn mocha(name: &str) -> String {
122111
format!(
123-
r#"const anchor = require("@coral-xyz/anchor");
124-
const boltSdk = require("@magicblock-labs/bolt-sdk");
112+
r#"const boltSdk = require("@magicblock-labs/bolt-sdk");
125113
const {{
126114
InitializeNewWorld,
115+
anchor,
127116
}} = boltSdk;
128117
129118
describe("{}", () => {{
@@ -148,10 +137,10 @@ describe("{}", () => {{
148137

149138
pub fn jest(name: &str) -> String {
150139
format!(
151-
r#"const anchor = require("@coral-xyz/anchor");
152-
const boltSdk = require("@magicblock-labs/bolt-sdk");
140+
r#"const boltSdk = require("@magicblock-labs/bolt-sdk");
153141
const {{
154142
InitializeNewWorld,
143+
anchor,
155144
}} = boltSdk;
156145
157146
describe("{}", () => {{
@@ -179,16 +168,16 @@ describe("{}", () => {{
179168

180169
pub fn ts_mocha(name: &str) -> String {
181170
format!(
182-
r#"import * as anchor from "@coral-xyz/anchor";
183-
import {{ Program }} from "@coral-xyz/anchor";
184-
import {{ PublicKey }} from "@solana/web3.js";
171+
r#"import {{ PublicKey }} from "@solana/web3.js";
185172
import {{ Position }} from "../target/types/position";
186173
import {{ Movement }} from "../target/types/movement";
187174
import {{
188175
InitializeNewWorld,
189176
AddEntity,
190177
InitializeComponent,
191178
ApplySystem,
179+
anchor,
180+
Program
192181
}} from "@magicblock-labs/bolt-sdk"
193182
import {{expect}} from "chai";
194183

clients/bolt-sdk/src/index.ts

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ export * from "./delegation/undelegate";
99
export * from "./delegation/allow_undelegation";
1010
export { DELEGATION_PROGRAM_ID } from "@magicblock-labs/ephemeral-rollups-sdk";
1111

12+
// Re-export anchor
13+
import * as anchor from "@coral-xyz/anchor";
14+
export { anchor };
15+
export { Provider, Program, Wallet, web3, workspace } from "@coral-xyz/anchor";
16+
1217
export const SYSVAR_INSTRUCTIONS_PUBKEY = new PublicKey(
1318
"Sysvar1nstructions1111111111111111111111111",
1419
);

package.json

+8-10
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,18 @@
33
"lint:fix": "node_modules/.bin/prettier */*.js \"*/**/*{.js,.ts}\" -w",
44
"lint": "node_modules/.bin/prettier */*.js \"*/**/*{.js,.ts}\" --check"
55
},
6-
"dependencies": {
7-
"@coral-xyz/anchor": "0.30.1"
8-
},
6+
"dependencies": {},
97
"devDependencies": {
10-
"chai": "^4.3.4",
11-
"mocha": "^9.0.3",
12-
"ts-mocha": "^10.0.0",
8+
"@metaplex-foundation/beet": "^0.7.1",
9+
"@metaplex-foundation/beet-solana": "^0.4.0",
1310
"@types/bn.js": "^5.1.0",
1411
"@types/chai": "^4.3.0",
1512
"@types/mocha": "^9.0.0",
16-
"typescript": "^4.3.5",
17-
"@metaplex-foundation/beet": "^0.7.1",
18-
"@metaplex-foundation/beet-solana": "^0.4.0",
19-
"prettier": "^3.1.1"
13+
"chai": "^4.3.4",
14+
"mocha": "^9.0.3",
15+
"prettier": "^3.1.1",
16+
"ts-mocha": "^10.0.0",
17+
"typescript": "^4.3.5"
2018
},
2119
"license": "MIT",
2220
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"

tests/bolt.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import * as anchor from "@coral-xyz/anchor";
2-
import { type Program, web3 } from "@coral-xyz/anchor";
31
import { Keypair, type PublicKey } from "@solana/web3.js";
42
import { type Position } from "../target/types/position";
53
import { type Velocity } from "../target/types/velocity";
@@ -23,6 +21,9 @@ import {
2321
RemoveAuthority,
2422
ApproveSystem,
2523
RemoveSystem,
24+
anchor,
25+
type Program,
26+
web3,
2627
} from "../clients/bolt-sdk";
2728

2829
enum Direction {

yarn.lock

+6-108
Original file line numberDiff line numberDiff line change
@@ -9,40 +9,6 @@
99
dependencies:
1010
regenerator-runtime "^0.14.0"
1111

12-
"@coral-xyz/anchor-errors@^0.30.1":
13-
version "0.30.1"
14-
resolved "https://registry.yarnpkg.com/@coral-xyz/anchor-errors/-/anchor-errors-0.30.1.tgz#bdfd3a353131345244546876eb4afc0e125bec30"
15-
integrity sha512-9Mkradf5yS5xiLWrl9WrpjqOrAV+/W2RQHDlbnAZBivoGpOs1ECjoDCkVk4aRG8ZdiFiB8zQEVlxf+8fKkmSfQ==
16-
17-
"@coral-xyz/[email protected]":
18-
version "0.30.1"
19-
resolved "https://registry.yarnpkg.com/@coral-xyz/anchor/-/anchor-0.30.1.tgz#17f3e9134c28cd0ea83574c6bab4e410bcecec5d"
20-
integrity sha512-gDXFoF5oHgpriXAaLpxyWBHdCs8Awgf/gLHIo6crv7Aqm937CNdY+x+6hoj7QR5vaJV7MxWSQ0NGFzL3kPbWEQ==
21-
dependencies:
22-
"@coral-xyz/anchor-errors" "^0.30.1"
23-
"@coral-xyz/borsh" "^0.30.1"
24-
"@noble/hashes" "^1.3.1"
25-
"@solana/web3.js" "^1.68.0"
26-
bn.js "^5.1.2"
27-
bs58 "^4.0.1"
28-
buffer-layout "^1.2.2"
29-
camelcase "^6.3.0"
30-
cross-fetch "^3.1.5"
31-
crypto-hash "^1.3.0"
32-
eventemitter3 "^4.0.7"
33-
pako "^2.0.3"
34-
snake-case "^3.0.4"
35-
superstruct "^0.15.4"
36-
toml "^3.0.0"
37-
38-
"@coral-xyz/borsh@^0.30.1":
39-
version "0.30.1"
40-
resolved "https://registry.yarnpkg.com/@coral-xyz/borsh/-/borsh-0.30.1.tgz#869d8833abe65685c72e9199b8688477a4f6b0e3"
41-
integrity sha512-aaxswpPrCFKl8vZTbxLssA2RvwX2zmKLlRCIktJOwW+VpVwYtXRtlWiIP+c2pPRKneiTiWCN2GEMSH9j1zTlWQ==
42-
dependencies:
43-
bn.js "^5.1.2"
44-
buffer-layout "^1.2.0"
45-
4612
"@metaplex-foundation/beet-solana@^0.4.0":
4713
version "0.4.1"
4814
resolved "https://registry.yarnpkg.com/@metaplex-foundation/beet-solana/-/beet-solana-0.4.1.tgz#255747aa7feee1c20202146a752c057feca1948f"
@@ -70,7 +36,7 @@
7036
dependencies:
7137
"@noble/hashes" "1.5.0"
7238

73-
"@noble/[email protected]", "@noble/hashes@^1.3.1", "@noble/hashes@^1.4.0":
39+
"@noble/[email protected]", "@noble/hashes@^1.4.0":
7440
version "1.5.0"
7541
resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.5.0.tgz#abadc5ca20332db2b1b2aa3e496e9af1213570b0"
7642
integrity sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA==
@@ -82,7 +48,7 @@
8248
dependencies:
8349
buffer "~6.0.3"
8450

85-
"@solana/web3.js@^1.56.2", "@solana/web3.js@^1.68.0":
51+
"@solana/web3.js@^1.56.2":
8652
version "1.95.3"
8753
resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.95.3.tgz#70b5f4d76823f56b5af6403da51125fffeb65ff3"
8854
integrity sha512-O6rPUN0w2fkNqx/Z3QJMB9L225Ex10PRDH8bTaIUPZXMPV0QP8ZpPvjQnXK+upUczlRgzHzd6SjKIha1p+I6og==
@@ -294,7 +260,7 @@ bindings@^1.3.0:
294260
dependencies:
295261
file-uri-to-path "1.0.0"
296262

297-
bn.js@^5.1.2, bn.js@^5.2.0, bn.js@^5.2.1:
263+
bn.js@^5.2.0, bn.js@^5.2.1:
298264
version "5.2.1"
299265
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70"
300266
integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==
@@ -347,11 +313,6 @@ buffer-from@^1.0.0, buffer-from@^1.1.0:
347313
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5"
348314
integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==
349315

350-
buffer-layout@^1.2.0, buffer-layout@^1.2.2:
351-
version "1.2.2"
352-
resolved "https://registry.yarnpkg.com/buffer-layout/-/buffer-layout-1.2.2.tgz#b9814e7c7235783085f9ca4966a0cfff112259d5"
353-
integrity sha512-kWSuLN694+KTk8SrYvCqwP2WcgQjoRCiF5b4QDvkkz8EmgD+aWAIceGFKMIAdmF/pH+vpgNV3d3kAKorcdAmWA==
354-
355316
[email protected], buffer@^6.0.3, buffer@~6.0.3:
356317
version "6.0.3"
357318
resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6"
@@ -378,7 +339,7 @@ call-bind@^1.0.0, call-bind@^1.0.2, call-bind@^1.0.5, call-bind@^1.0.7:
378339
get-intrinsic "^1.2.4"
379340
set-function-length "^1.2.1"
380341

381-
camelcase@^6.0.0, camelcase@^6.3.0:
342+
camelcase@^6.0.0:
382343
version "6.3.0"
383344
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a"
384345
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==
@@ -457,18 +418,6 @@ [email protected]:
457418
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
458419
integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==
459420

460-
cross-fetch@^3.1.5:
461-
version "3.1.8"
462-
resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.8.tgz#0327eba65fd68a7d119f8fb2bf9334a1a7956f82"
463-
integrity sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==
464-
dependencies:
465-
node-fetch "^2.6.12"
466-
467-
crypto-hash@^1.3.0:
468-
version "1.3.0"
469-
resolved "https://registry.yarnpkg.com/crypto-hash/-/crypto-hash-1.3.0.tgz#b402cb08f4529e9f4f09346c3e275942f845e247"
470-
integrity sha512-lyAZ0EMyjDkVvz8WOeVnuCPvKVBXcMv1l5SVqO1yC7PzTwrD/pPje/BIRbWhMoPe436U+Y2nD7f5bFx0kt+Sbg==
471-
472421
473422
version "4.3.3"
474423
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664"
@@ -528,14 +477,6 @@ diff@^3.1.0:
528477
resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12"
529478
integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==
530479

531-
dot-case@^3.0.4:
532-
version "3.0.4"
533-
resolved "https://registry.yarnpkg.com/dot-case/-/dot-case-3.0.4.tgz#9b2b670d00a431667a8a75ba29cd1b98809ce751"
534-
integrity sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==
535-
dependencies:
536-
no-case "^3.0.4"
537-
tslib "^2.0.3"
538-
539480
emoji-regex@^8.0.0:
540481
version "8.0.0"
541482
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
@@ -575,11 +516,6 @@ [email protected]:
575516
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
576517
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
577518

578-
eventemitter3@^4.0.7:
579-
version "4.0.7"
580-
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f"
581-
integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==
582-
583519
eventemitter3@^5.0.1:
584520
version "5.0.1"
585521
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.1.tgz#53f5ffd0a492ac800721bb42c66b841de96423c4"
@@ -908,13 +844,6 @@ loupe@^2.3.6:
908844
dependencies:
909845
get-func-name "^2.0.1"
910846

911-
lower-case@^2.0.2:
912-
version "2.0.2"
913-
resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28"
914-
integrity sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==
915-
dependencies:
916-
tslib "^2.0.3"
917-
918847
make-error@^1.1.1:
919848
version "1.3.6"
920849
resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2"
@@ -991,15 +920,7 @@ [email protected]:
991920
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.1.tgz#6347a18cac88af88f58af0b3594b723d5e99bb35"
992921
integrity sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==
993922

994-
no-case@^3.0.4:
995-
version "3.0.4"
996-
resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d"
997-
integrity sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==
998-
dependencies:
999-
lower-case "^2.0.2"
1000-
tslib "^2.0.3"
1001-
1002-
node-fetch@^2.6.12, node-fetch@^2.7.0:
923+
node-fetch@^2.7.0:
1003924
version "2.7.0"
1004925
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d"
1005926
integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==
@@ -1060,11 +981,6 @@ p-locate@^5.0.0:
1060981
dependencies:
1061982
p-limit "^3.0.2"
1062983

1063-
pako@^2.0.3:
1064-
version "2.1.0"
1065-
resolved "https://registry.yarnpkg.com/pako/-/pako-2.1.0.tgz#266cc37f98c7d883545d11335c00fbd4062c9a86"
1066-
integrity sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==
1067-
1068984
path-exists@^4.0.0:
1069985
version "4.0.0"
1070986
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3"
@@ -1159,14 +1075,6 @@ set-function-length@^1.2.1:
11591075
gopd "^1.0.1"
11601076
has-property-descriptors "^1.0.2"
11611077

1162-
snake-case@^3.0.4:
1163-
version "3.0.4"
1164-
resolved "https://registry.yarnpkg.com/snake-case/-/snake-case-3.0.4.tgz#4f2bbd568e9935abdfd593f34c691dadb49c452c"
1165-
integrity sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==
1166-
dependencies:
1167-
dot-case "^3.0.4"
1168-
tslib "^2.0.3"
1169-
11701078
source-map-support@^0.5.6:
11711079
version "0.5.21"
11721080
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f"
@@ -1206,11 +1114,6 @@ [email protected]:
12061114
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006"
12071115
integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==
12081116

1209-
superstruct@^0.15.4:
1210-
version "0.15.5"
1211-
resolved "https://registry.yarnpkg.com/superstruct/-/superstruct-0.15.5.tgz#0f0a8d3ce31313f0d84c6096cd4fa1bfdedc9dab"
1212-
integrity sha512-4AOeU+P5UuE/4nOUkmcQdW5y7i9ndt1cQd/3iUe+LTz3RxESf/W/5lg4B74HbDMMv8PHnPnGCQFH45kBcrQYoQ==
1213-
12141117
superstruct@^2.0.2:
12151118
version "2.0.2"
12161119
resolved "https://registry.yarnpkg.com/superstruct/-/superstruct-2.0.2.tgz#3f6d32fbdc11c357deff127d591a39b996300c54"
@@ -1247,11 +1150,6 @@ to-regex-range@^5.0.1:
12471150
dependencies:
12481151
is-number "^7.0.0"
12491152

1250-
toml@^3.0.0:
1251-
version "3.0.0"
1252-
resolved "https://registry.yarnpkg.com/toml/-/toml-3.0.0.tgz#342160f1af1904ec9d204d03a5d61222d762c5ee"
1253-
integrity sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w==
1254-
12551153
tr46@~0.0.3:
12561154
version "0.0.3"
12571155
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
@@ -1290,7 +1188,7 @@ tsconfig-paths@^3.5.0:
12901188
minimist "^1.2.6"
12911189
strip-bom "^3.0.0"
12921190

1293-
tslib@^2.0.3, tslib@^2.4.0:
1191+
tslib@^2.4.0:
12941192
version "2.7.0"
12951193
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.7.0.tgz#d9b40c5c40ab59e8738f297df3087bf1a2690c01"
12961194
integrity sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==

0 commit comments

Comments
 (0)