From 920f7c633582a221c9196051332f58717c4906bf Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Mon, 8 Jun 2020 01:28:35 -0500 Subject: [PATCH 1/3] dynamic require semverSatisfies --- lib/julia-client.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/julia-client.coffee b/lib/julia-client.coffee index f8149645..fd1a7a73 100644 --- a/lib/julia-client.coffee +++ b/lib/julia-client.coffee @@ -6,7 +6,6 @@ menu = require './package/menu' settings = require './package/settings' release = require './package/release-note' toolbar = require './package/toolbar' -semver = require 'semver' # TODO: Update me when tagging a new relase (and release note) INK_VERSION_COMPAT = "^0.12.4" @@ -80,7 +79,8 @@ module.exports = JuliaClient = dismissable: true inkVersion = atom.packages.loadedPackages["ink"].metadata.version - if not atom.devMode and not semver.satisfies(inkVersion, INK_VERSION_COMPAT) + semverSatisfies = require('semver/functions/satisfies'); + if not atom.devMode and not semverSatisfies(inkVersion, INK_VERSION_COMPAT) atom.notifications.addWarning "Potentially incompatible `ink` version detected.", description: """ From a4ff37001de8b03b6035090b885e0a0fa47d69ce Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Mon, 8 Jun 2020 01:33:47 -0500 Subject: [PATCH 2/3] semver 7.3.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fea6d52d..ba849794 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "node-pty-prebuilt-multiarch": "0.9.0", "object-hash": "^2.0.3", "physical-cpu-count": "*", - "semver": "^6.3.0", + "semver": "^7.3.2", "ssh2": "^0.8.4", "underscore-plus": "*" }, From eff0f1b6d119d9cd840507b75c52c9992d1dad76 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Mon, 8 Jun 2020 01:34:13 -0500 Subject: [PATCH 3/3] Update package-lock.json --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 863d9376..f0c73b21 100644 --- a/package-lock.json +++ b/package-lock.json @@ -475,9 +475,9 @@ "integrity": "sha1-QnelR1RIiqlnXYhuNU24lMm9yYE=" }, "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", + "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==" }, "set-blocking": { "version": "2.0.0",