From ec18eb81ffc039068815535a95744e8acd1e0571 Mon Sep 17 00:00:00 2001 From: Iurii Golovinskii Date: Mon, 17 Feb 2025 10:24:03 +0300 Subject: [PATCH] [FE] Rename Semi-breaking chang --- package-lock.json | 4 ++-- package.json | 2 +- src/core/constants.ts | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5059d65..192c1fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@netcracker/qubership-apihub-api-diff", - "version": "1.0.5-dev.1", + "version": "1.0.5-feature-rename-semi-breaking-changes.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@netcracker/qubership-apihub-api-diff", - "version": "1.0.5-dev.1", + "version": "1.0.5-feature-rename-semi-breaking-changes.0", "dependencies": { "@netcracker/qubership-apihub-api-unifier": "1.0.4", "@netcracker/qubership-apihub-json-crawl": "1.0.4", diff --git a/package.json b/package.json index aca20de..96bc50b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@netcracker/qubership-apihub-api-diff", - "version": "1.0.5-dev.1", + "version": "1.0.5-feature-rename-semi-breaking-changes.0", "module": "./dist/index.es.js", "main": "./dist/index.cjs.js", "types": "./dist/index.d.ts", diff --git a/src/core/constants.ts b/src/core/constants.ts index 7ce3d36..e5e9113 100644 --- a/src/core/constants.ts +++ b/src/core/constants.ts @@ -20,9 +20,10 @@ export const ClassifierType = { annotation: 'annotation', unclassified: 'unclassified', deprecated: 'deprecated', + risky: 'risky' } as const -export const { breaking, nonBreaking, semiBreaking, unclassified, annotation, deprecated } = ClassifierType +export const { breaking, nonBreaking, semiBreaking, unclassified, annotation, deprecated, risky } = ClassifierType // predefined classifiers export const allNonBreaking: ClassifyRule = [nonBreaking, nonBreaking, nonBreaking]