Skip to content

Commit

Permalink
Decrease bundle size by downgrading semver (#174)
Browse files Browse the repository at this point in the history
* downgrade semver to the point where it was small in size

* use semver 7.1.0
  • Loading branch information
mmv08 authored May 19, 2021
1 parent 650d6cc commit 3410714
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/safe-apps-sdk/dist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
"author": "Gnosis (https://gnosis.io)",
"license": "MIT",
"dependencies": {
"semver": "^7.3.2"
"semver": "7.1.0"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"@types/node": "^15.0.1",
"@types/semver": "^7.3.5",
"@types/semver": "7.1.0",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"prettier": "^2.2.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/safe-apps-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
"author": "Gnosis (https://gnosis.io)",
"license": "MIT",
"dependencies": {
"semver": "^7.3.2"
"semver": "7.1.0"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"@types/node": "^15.0.1",
"@types/semver": "^7.3.5",
"@types/semver": "7.1.0",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"prettier": "^2.2.1",
Expand Down
12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2209,6 +2209,13 @@
dependencies:
"@types/node" "*"

"@types/[email protected]":
version "7.1.0"
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.1.0.tgz#c8c630d4c18cd326beff77404887596f96408408"
integrity sha512-pOKLaubrAEMUItGNpgwl0HMFPrSAFic8oSVIvfu1UwcgGNmNyK9gyhBHKmBnUTwwVvpZfkzUC0GaMgnL6P86uA==
dependencies:
"@types/node" "*"

"@types/semver@^7.3.5":
version "7.3.5"
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.5.tgz#74deebbbcb1e86634dbf10a5b5e8798626f5a597"
Expand Down Expand Up @@ -9736,6 +9743,11 @@ [email protected]:
resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e"
integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==

[email protected]:
version "7.1.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.1.0.tgz#e5870a302d6929a86a967c346e699e19154e38e0"
integrity sha512-4P8Vc43MxQL6UKqSiEnf0jZNYx545R9W1HwXP6p65paPp86AUJiafZ8XG81hAbcldKMCUIbeykUTVYG19LB7Cw==

[email protected], semver@^7.1.1, semver@^7.1.3, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5:
version "7.3.5"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7"
Expand Down

0 comments on commit 3410714

Please sign in to comment.