From 3410714418fe3b8f10fbb6fec85e5be6b6dc140b Mon Sep 17 00:00:00 2001 From: Mikhail Mikheev Date: Wed, 19 May 2021 17:40:34 +0400 Subject: [PATCH] Decrease bundle size by downgrading semver (#174) * downgrade semver to the point where it was small in size * use semver 7.1.0 --- packages/safe-apps-sdk/dist/package.json | 4 ++-- packages/safe-apps-sdk/package.json | 4 ++-- yarn.lock | 12 ++++++++++++ 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/packages/safe-apps-sdk/dist/package.json b/packages/safe-apps-sdk/dist/package.json index db26f385..ad902567 100644 --- a/packages/safe-apps-sdk/dist/package.json +++ b/packages/safe-apps-sdk/dist/package.json @@ -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", diff --git a/packages/safe-apps-sdk/package.json b/packages/safe-apps-sdk/package.json index 98c86088..56679e3d 100644 --- a/packages/safe-apps-sdk/package.json +++ b/packages/safe-apps-sdk/package.json @@ -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", diff --git a/yarn.lock b/yarn.lock index 6907fec0..8e2c5eb9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2209,6 +2209,13 @@ dependencies: "@types/node" "*" +"@types/semver@7.1.0": + 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" @@ -9736,6 +9743,11 @@ semver@7.0.0: resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== +semver@7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.1.0.tgz#e5870a302d6929a86a967c346e699e19154e38e0" + integrity sha512-4P8Vc43MxQL6UKqSiEnf0jZNYx545R9W1HwXP6p65paPp86AUJiafZ8XG81hAbcldKMCUIbeykUTVYG19LB7Cw== + semver@7.x, 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"