From 8765cffe0f6bafa2e10222c600f0e3237477b774 Mon Sep 17 00:00:00 2001 From: Amndeep Singh Mann Date: Mon, 30 Sep 2024 21:54:24 -0400 Subject: [PATCH 1/2] move to 5.0.x Signed-off-by: Amndeep Singh Mann --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 52604c58cf..51b7ffb594 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "lerna": "^8.1.2", "prettier": "^3.2.4", "prettier-plugin-organize-imports": "^4.0.0", - "typescript": "^4.9.3" + "typescript": "~5.0.0" }, "devDependencies": { "dotenv-cli": "^7.0.0" diff --git a/yarn.lock b/yarn.lock index 7c1ec5c2ad..9ca6d8d8ab 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19733,11 +19733,6 @@ typescript@5.3.3: resolved "https://registry.npmjs.org/typescript/-/typescript-5.4.3.tgz#5c6fedd4c87bee01cd7a528a30145521f8e0feff" integrity sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg== -typescript@^4.9.3: - version "4.9.5" - resolved "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" - integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== - typescript@~3.2.1: version "3.2.4" resolved "https://registry.npmjs.org/typescript/-/typescript-3.2.4.tgz#c585cb952912263d915b462726ce244ba510ef3d" @@ -19748,6 +19743,11 @@ typescript@~4.5.5: resolved "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz#d8c953832d28924a9e3d37c73d729c846c5896f3" integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA== +typescript@~5.0.0: + version "5.0.4" + resolved "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz#b217fd20119bd61a94d4011274e0ab369058da3b" + integrity sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw== + typical@^2.6.0, typical@^2.6.1: version "2.6.1" resolved "https://registry.npmjs.org/typical/-/typical-2.6.1.tgz#5c080e5d661cbbe38259d2e70a3c7253e873881d" From 09343f90dc27c6e78ced4943428217bcacf976b9 Mon Sep 17 00:00:00 2001 From: Amndeep Singh Mann Date: Mon, 30 Sep 2024 22:28:06 -0400 Subject: [PATCH 2/2] inspecting code showed no need to recurse further into the refs object Signed-off-by: Amndeep Singh Mann --- libs/hdf-converters/types/splunk-control-types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/hdf-converters/types/splunk-control-types.ts b/libs/hdf-converters/types/splunk-control-types.ts index 3511a42970..0d0a4d822c 100644 --- a/libs/hdf-converters/types/splunk-control-types.ts +++ b/libs/hdf-converters/types/splunk-control-types.ts @@ -9,7 +9,7 @@ export type SplunkControl = { descriptions: Record[] | ILookupPathFH; id: string; impact: number; - refs: any[] | ILookupPathFH; + refs: any[]; results?: HDFControlSegment[] | ILookupPathFH; source_location?: any; tags: Tags;