From f459f42ed275d4683f7ddbb6ac0eb2554b72c155 Mon Sep 17 00:00:00 2001 From: Marina Egner Date: Tue, 30 Jul 2024 14:36:31 +0200 Subject: [PATCH] Update npm scope of version compare module --- lib/commands/compatibility.js | 2 +- lib/commands/list.js | 2 +- lib/commands/upload.js | 2 +- lib/plugin.js | 2 +- package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/commands/compatibility.js b/lib/commands/compatibility.js index 4916328..a602a76 100755 --- a/lib/commands/compatibility.js +++ b/lib/commands/compatibility.js @@ -2,7 +2,7 @@ const Chalk = require('chalk'); const Program = require('commander'); -const { compareVersions, compareVersionsWithComparator } = require('composer-version-constraint-evaluator'); +const { compareVersions, compareVersionsWithComparator } = require('@pickware/composer-version-constraint-evaluator'); const { promisify } = require('util'); const ShopwareStoreCommander = require('../shopwareStoreCommander'); diff --git a/lib/commands/list.js b/lib/commands/list.js index 840948f..ab8bd83 100755 --- a/lib/commands/list.js +++ b/lib/commands/list.js @@ -2,7 +2,7 @@ const Chalk = require('chalk'); const Program = require('commander'); -const { compareVersions } = require('composer-version-constraint-evaluator'); +const { compareVersions } = require('@pickware/composer-version-constraint-evaluator'); const Table = require('cli-table'); const ShopwareStoreCommander = require('../shopwareStoreCommander'); const programVersion = require('../version'); diff --git a/lib/commands/upload.js b/lib/commands/upload.js index c400aeb..bd91683 100755 --- a/lib/commands/upload.js +++ b/lib/commands/upload.js @@ -3,7 +3,7 @@ const Chalk = require('chalk'); const path = require('path'); const Program = require('commander'); -const { compareVersionsReverse } = require('composer-version-constraint-evaluator'); +const { compareVersionsReverse } = require('@pickware/composer-version-constraint-evaluator'); const ShopwareStoreCommander = require('../shopwareStoreCommander'); const publishPluginReleaseEvent = require('../publishPluginReleaseEvent'); const util = require('../util'); diff --git a/lib/plugin.js b/lib/plugin.js index a37738e..6be6d18 100644 --- a/lib/plugin.js +++ b/lib/plugin.js @@ -1,7 +1,7 @@ const fs = require('mz/fs'); const JSZip = require('jszip'); const path = require('path'); -const { versionSatisfiesConstraint } = require('composer-version-constraint-evaluator'); +const { versionSatisfiesConstraint } = require('@pickware/composer-version-constraint-evaluator'); const { parseChangelogMarkdown } = require('./changelogMarkdownParser'); function readInfoFromComposerJson(composerJsonString) { diff --git a/package.json b/package.json index 44260c3..ac4e608 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "marked": "^2.0.3", "mz": "^2.4.0", "node-notifier": "^9.0.1", - "composer-version-constraint-evaluator": "^1.0.0" + "@pickware/composer-version-constraint-evaluator": "^1.0.0" }, "devDependencies": { "cspell": "^5.4.0",