-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'v2-develop' into v2-release/react-2.7.0.rc.0
- Loading branch information
Showing
4 changed files
with
42 additions
and
115 deletions.
There are no files selected for viewing
113 changes: 0 additions & 113 deletions
113
.yarn/patches/@changesets-assemble-release-plan-npm-5.2.3-296454a28f.patch
This file was deleted.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
.yarn/patches/@changesets-assemble-release-plan-npm-6.0.0-f7b3005037.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/dist/changesets-assemble-release-plan.cjs.js b/dist/changesets-assemble-release-plan.cjs.js | ||
index ee5c0f67fabadeb112e9f238d8b144a4d125830f..e33f11f706cec2a88828e377158304b84147deca 100644 | ||
--- a/dist/changesets-assemble-release-plan.cjs.js | ||
+++ b/dist/changesets-assemble-release-plan.cjs.js | ||
@@ -388,7 +388,7 @@ function applyLinks(releases, packagesByName, linked) { | ||
|
||
function getPreVersion(version) { | ||
let parsed = semverParse__default["default"](version); | ||
- let preVersion = parsed.prerelease[1] === undefined ? -1 : parsed.prerelease[1]; | ||
+ let preVersion = parsed?.prerelease[1] === undefined ? -1 : parsed.prerelease[1]; | ||
|
||
if (typeof preVersion !== "number") { | ||
throw new errors.InternalError("preVersion is not a number"); | ||
diff --git a/dist/changesets-assemble-release-plan.esm.js b/dist/changesets-assemble-release-plan.esm.js | ||
index bf5202626a164a7780650d333983c3479b078689..298d88ad37b02c00ea068ea5f450782be21404e2 100644 | ||
--- a/dist/changesets-assemble-release-plan.esm.js | ||
+++ b/dist/changesets-assemble-release-plan.esm.js | ||
@@ -377,7 +377,7 @@ function applyLinks(releases, packagesByName, linked) { | ||
|
||
function getPreVersion(version) { | ||
let parsed = semverParse(version); | ||
- let preVersion = parsed.prerelease[1] === undefined ? -1 : parsed.prerelease[1]; | ||
+ let preVersion = parsed?.prerelease[1] === undefined ? -1 : parsed.prerelease[1]; | ||
|
||
if (typeof preVersion !== "number") { | ||
throw new InternalError("preVersion is not a number"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters