From e9de24127e239a6e5f0f62ce5ef434826e8aa0c9 Mon Sep 17 00:00:00 2001 From: Chris Manson Date: Wed, 14 Feb 2024 17:10:11 +0000 Subject: [PATCH] fix import of semver --- src/plan.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plan.ts b/src/plan.ts index fb04db2..c36f79e 100644 --- a/src/plan.ts +++ b/src/plan.ts @@ -1,12 +1,14 @@ import type { Impact, ParsedChangelog } from './change-parser.js'; import { publishedInterPackageDeps } from './interdep.js'; import { assertNever } from 'assert-never'; -import { inc, satisfies } from 'semver'; +import semver from 'semver'; import { highlightMarkdown } from './highlight.js'; import chalk from 'chalk'; import { resolve } from 'path'; import fsExtra from 'fs-extra'; +const { inc, satisfies } = semver; + const { existsSync, readJSONSync, writeJSONSync } = fsExtra; export type Solution = Map<