From fd9ee616879385038e8bb30c7f6b6b513ddd9409 Mon Sep 17 00:00:00 2001 From: Myles Lewando Date: Tue, 27 Aug 2024 16:25:02 +0100 Subject: [PATCH] Add compare-versions package to check between semantic versions --- package-lock.json | 6 ++++++ package.json | 1 + 2 files changed, 7 insertions(+) diff --git a/package-lock.json b/package-lock.json index 47514667..7ac681b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "@iconfu/svg-inject": "^1.2.3", "bezier-js": "^2.6.1", "canvas-toBlob": "^1.0.0", + "compare-versions": "^6.1.1", "computed-styles": "^1.1.2", "d3": "^5.15.0", "dagre-d3": "^0.6.4", @@ -2929,6 +2930,11 @@ "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", "dev": true }, + "node_modules/compare-versions": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-6.1.1.tgz", + "integrity": "sha512-4hm4VPpIecmlg59CHXnRDnqGplJFrbLG4aFEl5vl6cK1u76ws3LLvX7ikFnTDl5vo39sjWD6AaDPYodJp/NNHg==" + }, "node_modules/compressible": { "version": "2.0.18", "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", diff --git a/package.json b/package.json index bd1bdb75..e06d6dbb 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "@iconfu/svg-inject": "^1.2.3", "bezier-js": "^2.6.1", "canvas-toBlob": "^1.0.0", + "compare-versions": "^6.1.1", "computed-styles": "^1.1.2", "d3": "^5.15.0", "dagre-d3": "^0.6.4",