Skip to content

Commit 7ed413e

Browse files
author
Iurii Golovinskii
committed
"chore: update version to 3.0.6-feature-rename-label-semi-breaking-changes-two.0"
1 parent a1e5ed1 commit 7ed413e

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@netcracker/qubership-apihub-api-processor",
3-
"version": "3.0.6",
3+
"version": "3.0.6-feature-rename-label-semi-breaking-changes-two.0",
44
"description": "",
55
"license": "Apache-2.0",
66
"module": "dist/esm/src/index.js",

src/apitypes/rest/rest.changes.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export const compareRestOperationsData = async (current: VersionRestOperation |
5050
afterSource: current?.data,
5151
}
5252
)
53+
console.log('Тутэн')
5354
const olnyBreaking = diffResult.diffs.filter((diff) => diff.type === breaking)
5455
if (olnyBreaking.length > 0 && previous?.operationId) {
5556
await reclassifyBreakingChanges(previous.operationId, diffResult.merged, olnyBreaking, ctx)
@@ -63,6 +64,7 @@ async function reclassifyBreakingChanges(
6364
diffs: Diff[],
6465
ctx: CompareOperationsPairContext
6566
): Promise<void> {
67+
console.log('Тутэн')
6668
if (!ctx.previousVersion || !ctx.previousPackageId) {
6769
return
6870
}
@@ -82,6 +84,7 @@ async function reclassifyBreakingChanges(
8284

8385
const deprecatedInVersionsCount = previousOperation?.deprecatedInPreviousVersions?.length ?? 0
8486
if (isOperationRemove(diff) && deprecatedInVersionsCount > 1) {
87+
console.log('Тутэн')
8588
diff.type = semiBreaking
8689
continue
8790
}

0 commit comments

Comments
 (0)