Skip to content

Commit 5cc1451

Browse files
authored
Remove uuid dependency from UI (#367)
1 parent b155972 commit 5cc1451

File tree

3 files changed

+3
-42
lines changed

3 files changed

+3
-42
lines changed

packages/ui/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"@rollup/plugin-typescript": "^11.0.0",
1818
"@types/file-saver": "^2.0.1",
1919
"@types/resize-observer-browser": "^0.1.5",
20-
"@types/uuid": "^9.0.0",
2120
"@types/node": "^18.0.0",
2221
"@types/semver": "^7.5.7",
2322
"autoprefixer": "^10.4.2",
@@ -44,7 +43,6 @@
4443
"sirv-cli": "^2.0.0",
4544
"tippy.js": "^6.3.1",
4645
"util": "^0.12.4",
47-
"uuid": "^9.0.0",
4846
"semver": "^7.6.0"
4947
}
5048
}

packages/ui/src/post-config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
import type { GenericOptions } from '@openzeppelin/wizard';
22
import type { GenericOptions as CairoOptions } from '@openzeppelin/wizard-cairo';
3-
import { v4 as uuid } from 'uuid';
43

54
declare global {
65
interface Window {
76
gtag?: (...args: unknown[]) => void;
87
}
98
}
10-
const instance = uuid();
119

1210
export type Action = 'copy' | 'remix' | 'download-npm' | 'download-hardhat' | 'download-foundry';
1311
export type Language = 'solidity' | 'cairo';

yarn.lock

Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -905,11 +905,6 @@
905905
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.8.tgz#8268a8c57a3e4abd25c165ecd36237db7948a55e"
906906
integrity sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==
907907

908-
"@types/uuid@^9.0.0":
909-
version "9.0.8"
910-
resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-9.0.8.tgz#7545ba4fc3c003d6c756f651f3bf163d8f0f29ba"
911-
integrity sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA==
912-
913908
"@types/yargs-parser@*":
914909
version "21.0.3"
915910
resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.3.tgz#815e30b786d2e8f0dcd85fd5bcf5e1a04d008f15"
@@ -5192,16 +5187,7 @@ strict-uri-encode@^2.0.0:
51925187
resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546"
51935188
integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==
51945189

5195-
"string-width-cjs@npm:string-width@^4.2.0":
5196-
version "4.2.3"
5197-
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
5198-
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
5199-
dependencies:
5200-
emoji-regex "^8.0.0"
5201-
is-fullwidth-code-point "^3.0.0"
5202-
strip-ansi "^6.0.1"
5203-
5204-
"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3:
5190+
"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3:
52055191
version "4.2.3"
52065192
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
52075193
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -5279,7 +5265,7 @@ string_decoder@~1.1.1:
52795265
dependencies:
52805266
safe-buffer "~5.1.0"
52815267

5282-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
5268+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
52835269
version "6.0.1"
52845270
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
52855271
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -5293,13 +5279,6 @@ strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0:
52935279
dependencies:
52945280
ansi-regex "^4.1.0"
52955281

5296-
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
5297-
version "6.0.1"
5298-
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
5299-
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
5300-
dependencies:
5301-
ansi-regex "^5.0.1"
5302-
53035282
strip-ansi@^7.0.1, strip-ansi@^7.1.0:
53045283
version "7.1.0"
53055284
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45"
@@ -5771,11 +5750,6 @@ uuid@^8.3.2:
57715750
resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"
57725751
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==
57735752

5774-
uuid@^9.0.0:
5775-
version "9.0.1"
5776-
resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30"
5777-
integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==
5778-
57795753
v8-compile-cache-lib@^3.0.1:
57805754
version "3.0.1"
57815755
resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf"
@@ -5859,7 +5833,7 @@ [email protected]:
58595833
resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.2.1.tgz#46fc150c17d826b86a008e5a4508656777e9c343"
58605834
integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==
58615835

5862-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
5836+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
58635837
version "7.0.0"
58645838
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
58655839
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -5877,15 +5851,6 @@ wrap-ansi@^5.1.0:
58775851
string-width "^3.0.0"
58785852
strip-ansi "^5.0.0"
58795853

5880-
wrap-ansi@^7.0.0:
5881-
version "7.0.0"
5882-
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
5883-
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
5884-
dependencies:
5885-
ansi-styles "^4.0.0"
5886-
string-width "^4.1.0"
5887-
strip-ansi "^6.0.0"
5888-
58895854
wrap-ansi@^8.1.0:
58905855
version "8.1.0"
58915856
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"

0 commit comments

Comments
 (0)