Skip to content

Commit e2722f6

Browse files
sergiolclemSérgio Luis
and
Sérgio Luis
authored
Eliminating utility-types dependency entirely (#912)
Eliminated the 'utility-types' package since its functionalities are likely replaced by native TypeScript features. This change includes cleaning up imports and references in the codebase and updating the package.json and yarn.lock accordingly, resulting in a leaner dependency graph and potentially reducing installation times and package size. Co-authored-by: Sérgio Luis <[email protected]>
1 parent 77d7de6 commit e2722f6

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@
139139
"terser-webpack-plugin": "^5.3.10",
140140
"ts-node": "^10.9.2",
141141
"typescript": "^5.3.3",
142-
"utility-types": "^3.7.0",
143142
"webpack": "^5.88.2",
144143
"webpack-cli": "^5.0.1"
145144
},

src/horizon/server_api.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Asset } from "@stellar/stellar-base";
2-
import { Omit } from "utility-types";
32
import { HorizonApi } from "./horizon_api";
43

54
// more types

yarn.lock

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7000,6 +7000,7 @@ typedarray@^0.0.6:
70007000
integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==
70017001

70027002
"typescript-5.3@npm:typescript@~5.3.0-0", typescript@^5.3.3:
7003+
name typescript-5.3
70037004
version "5.3.3"
70047005
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37"
70057006
integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==
@@ -7116,11 +7117,6 @@ util@^0.12.5:
71167117
is-typed-array "^1.1.3"
71177118
which-typed-array "^1.1.2"
71187119

7119-
utility-types@^3.7.0:
7120-
version "3.10.0"
7121-
resolved "https://registry.yarnpkg.com/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b"
7122-
integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg==
7123-
71247120
71257121
version "1.0.1"
71267122
resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"

0 commit comments

Comments
 (0)