Skip to content

Commit

Permalink
chore(deps): update dependency @types/semver to v7.3.5 (#9831)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] committed May 3, 2021
1 parent b6b1094 commit c006d20
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 3 additions & 1 deletion lib/versioning/npm/range.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ export function getNewValue({
const toVersionMajor = major(newVersion);
const toVersionMinor = minor(newVersion);
const toVersionPatch = patch(newVersion);
const suffix = prerelease(newVersion) ? '-' + prerelease(newVersion)[0] : '';
const suffix = prerelease(newVersion)
? '-' + String(prerelease(newVersion)[0])
: '';
// Simple range
if (rangeStrategy === 'bump') {
if (parsedRange.length === 1) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
"@types/node-emoji": "1.8.1",
"@types/parse-link-header": "1.0.0",
"@types/registry-auth-token": "4.2.0",
"@types/semver": "7.3.4",
"@types/semver": "7.3.5",
"@types/semver-stable": "3.0.0",
"@types/semver-utils": "1.1.0",
"@types/shelljs": "0.8.8",
Expand Down
7 changes: 6 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1650,7 +1650,12 @@
resolved "https://registry.yarnpkg.com/@types/semver-utils/-/semver-utils-1.1.0.tgz#d35645238680d2297a8c9b67395d8b37f0500895"
integrity sha512-p3ZoozEL036SPVLpMh1LuDebYQkes1rhBfXSFCbact9/FF6dkvR1UV/UqNO5wN5tvdlq+4jK+xTwgWwqRlFUJA==

"@types/semver@7.3.4", "@types/semver@^7.1.0":
"@types/semver@7.3.5":
version "7.3.5"
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.5.tgz#74deebbbcb1e86634dbf10a5b5e8798626f5a597"
integrity sha512-iotVxtCCsPLRAvxMFFgxL8HD2l4mAZ2Oin7/VJ2ooWO0VOK4EGOGmZWZn1uCq7RofR3I/1IOSjCHlFT71eVK0Q==

"@types/semver@^7.1.0":
version "7.3.4"
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.4.tgz#43d7168fec6fa0988bb1a513a697b29296721afb"
integrity sha512-+nVsLKlcUCeMzD2ufHEYuJ9a2ovstb6Dp52A5VsoKxDXgvE051XgHI/33I1EymwkRGQkwnA0LkhnUzituGs4EQ==
Expand Down

0 comments on commit c006d20

Please sign in to comment.