From 4165b161bb4e3c20c2d81dd420b77e83849580c7 Mon Sep 17 00:00:00 2001 From: "Robert St. John" Date: Fri, 25 Aug 2023 09:52:08 -0600 Subject: [PATCH] [plugins/image] fix mage service dependency version constraint so ci build works --- plugins/image/service/package-lock.json | 100 ++---------------------- plugins/image/service/package.json | 2 +- 2 files changed, 7 insertions(+), 95 deletions(-) diff --git a/plugins/image/service/package-lock.json b/plugins/image/service/package-lock.json index c390cea0e..970d73d3f 100644 --- a/plugins/image/service/package-lock.json +++ b/plugins/image/service/package-lock.json @@ -30,18 +30,18 @@ "typescript": "^4.5.5" }, "peerDependencies": { - "@ngageoint/mage.service": "^6.2.0-beta", + "@ngageoint/mage.service": "^6.2.0, ~6.2.10-beta", "express": "^4.17.0", "mongoose": "^4.0.0" } }, "../../../service": { "name": "@ngageoint/mage.service", - "version": "6.2.0-beta.8", + "version": "6.2.10-beta.1", "peer": true, "dependencies": { "@mapbox/togeojson": "0.16.0", - "@ngageoint/geopackage": "^4.1.0", + "@ngageoint/geopackage": "^4.2.4", "@turf/centroid": "~6.0.0", "@turf/kinks": "~6.0.0", "@types/geojson": "^7946.0.7", @@ -51,6 +51,7 @@ "archiver": "5.3.0", "async": "0.2.x", "base-64": "1.0.0", + "better-sqlite3": "^7.6.2", "body-parser": "1.18.3", "busboy": "^1.6.0", "cfenv": "1.0.3", @@ -1545,7 +1546,6 @@ }, "../../../service/node_modules/ansi-regex": { "version": "2.1.1", - "devOptional": true, "license": "MIT", "peer": true, "engines": { @@ -1600,7 +1600,6 @@ "../../../service/node_modules/aproba": { "version": "1.2.0", "license": "ISC", - "optional": true, "peer": true }, "../../../service/node_modules/archiver": { @@ -1675,7 +1674,6 @@ "../../../service/node_modules/are-we-there-yet": { "version": "1.1.7", "license": "ISC", - "optional": true, "peer": true, "dependencies": { "delegates": "^1.0.0", @@ -2101,7 +2099,6 @@ "version": "7.4.1", "hasInstallScript": true, "license": "MIT", - "optional": true, "peer": true, "dependencies": { "bindings": "^1.5.0", @@ -2121,7 +2118,6 @@ "../../../service/node_modules/bindings": { "version": "1.5.0", "license": "MIT", - "optional": true, "peer": true, "dependencies": { "file-uri-to-path": "1.0.0" @@ -2672,7 +2668,6 @@ "../../../service/node_modules/chownr": { "version": "1.1.4", "license": "ISC", - "optional": true, "peer": true }, "../../../service/node_modules/cipher-base": { @@ -2779,7 +2774,6 @@ }, "../../../service/node_modules/code-point-at": { "version": "1.1.0", - "devOptional": true, "license": "MIT", "peer": true, "engines": { @@ -2911,7 +2905,6 @@ "../../../service/node_modules/console-control-strings": { "version": "1.1.0", "license": "ISC", - "optional": true, "peer": true }, "../../../service/node_modules/constantinople": { @@ -3264,7 +3257,6 @@ "../../../service/node_modules/decompress-response": { "version": "4.2.1", "license": "MIT", - "optional": true, "peer": true, "dependencies": { "mimic-response": "^2.0.0" @@ -3308,7 +3300,6 @@ "../../../service/node_modules/deep-extend": { "version": "0.6.0", "license": "MIT", - "optional": true, "peer": true, "engines": { "node": ">=4.0.0" @@ -3415,7 +3406,6 @@ "../../../service/node_modules/delegates": { "version": "1.0.0", "license": "MIT", - "optional": true, "peer": true }, "../../../service/node_modules/denque": { @@ -3443,7 +3433,6 @@ "../../../service/node_modules/detect-libc": { "version": "1.0.3", "license": "Apache-2.0", - "optional": true, "peer": true, "bin": { "detect-libc": "bin/detect-libc.js" @@ -4409,7 +4398,6 @@ "../../../service/node_modules/expand-template": { "version": "2.0.3", "license": "(MIT OR WTFPL)", - "optional": true, "peer": true, "engines": { "node": ">=6" @@ -4836,7 +4824,6 @@ "../../../service/node_modules/file-uri-to-path": { "version": "1.0.0", "license": "MIT", - "optional": true, "peer": true }, "../../../service/node_modules/fill-keys": { @@ -5180,7 +5167,6 @@ "../../../service/node_modules/fs-minipass": { "version": "2.1.0", "license": "ISC", - "optional": true, "peer": true, "dependencies": { "minipass": "^3.0.0" @@ -5221,7 +5207,6 @@ "../../../service/node_modules/gauge": { "version": "2.7.4", "license": "ISC", - "optional": true, "peer": true, "dependencies": { "aproba": "^1.0.3", @@ -5373,7 +5358,6 @@ "../../../service/node_modules/github-from-package": { "version": "0.0.0", "license": "MIT", - "optional": true, "peer": true }, "../../../service/node_modules/glob": { @@ -5668,7 +5652,6 @@ "../../../service/node_modules/has-unicode": { "version": "2.0.1", "license": "ISC", - "optional": true, "peer": true }, "../../../service/node_modules/has-value": { @@ -6010,7 +5993,6 @@ "../../../service/node_modules/ini": { "version": "1.3.8", "license": "ISC", - "optional": true, "peer": true }, "../../../service/node_modules/inquirer": { @@ -6313,7 +6295,6 @@ }, "../../../service/node_modules/is-fullwidth-code-point": { "version": "1.0.0", - "devOptional": true, "license": "MIT", "peer": true, "dependencies": { @@ -7737,7 +7718,6 @@ "../../../service/node_modules/mimic-response": { "version": "2.1.0", "license": "MIT", - "optional": true, "peer": true, "engines": { "node": ">=8" @@ -7788,7 +7768,6 @@ "../../../service/node_modules/minipass": { "version": "3.1.6", "license": "ISC", - "optional": true, "peer": true, "dependencies": { "yallist": "^4.0.0" @@ -7800,7 +7779,6 @@ "../../../service/node_modules/minizlib": { "version": "2.1.2", "license": "MIT", - "optional": true, "peer": true, "dependencies": { "minipass": "^3.0.0", @@ -7838,7 +7816,6 @@ "../../../service/node_modules/mkdirp": { "version": "1.0.4", "license": "MIT", - "optional": true, "peer": true, "bin": { "mkdirp": "bin/cmd.js" @@ -7850,7 +7827,6 @@ "../../../service/node_modules/mkdirp-classic": { "version": "0.5.3", "license": "MIT", - "optional": true, "peer": true }, "../../../service/node_modules/mocha": { @@ -8801,7 +8777,6 @@ "../../../service/node_modules/napi-build-utils": { "version": "1.0.2", "license": "MIT", - "optional": true, "peer": true }, "../../../service/node_modules/natural-compare": { @@ -8978,7 +8953,6 @@ "../../../service/node_modules/node-abi": { "version": "2.30.1", "license": "MIT", - "optional": true, "peer": true, "dependencies": { "semver": "^5.4.1" @@ -9226,7 +9200,6 @@ "../../../service/node_modules/npmlog": { "version": "4.1.2", "license": "ISC", - "optional": true, "peer": true, "dependencies": { "are-we-there-yet": "~1.1.2", @@ -9237,7 +9210,6 @@ }, "../../../service/node_modules/number-is-nan": { "version": "1.0.1", - "devOptional": true, "license": "MIT", "peer": true, "engines": { @@ -10416,7 +10388,6 @@ "../../../service/node_modules/prebuild-install": { "version": "6.1.4", "license": "MIT", - "optional": true, "peer": true, "dependencies": { "detect-libc": "^1.0.3", @@ -10443,7 +10414,6 @@ "../../../service/node_modules/prebuild-install/node_modules/minimist": { "version": "1.2.6", "license": "MIT", - "optional": true, "peer": true }, "../../../service/node_modules/precond": { @@ -10692,7 +10662,6 @@ "../../../service/node_modules/pump": { "version": "3.0.0", "license": "MIT", - "optional": true, "peer": true, "dependencies": { "end-of-stream": "^1.1.0", @@ -10816,7 +10785,6 @@ "../../../service/node_modules/rc": { "version": "1.2.8", "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", - "optional": true, "peer": true, "dependencies": { "deep-extend": "^0.6.0", @@ -11404,7 +11372,6 @@ }, "../../../service/node_modules/set-blocking": { "version": "2.0.0", - "devOptional": true, "license": "ISC", "peer": true }, @@ -11503,7 +11470,6 @@ }, "../../../service/node_modules/signal-exit": { "version": "3.0.7", - "devOptional": true, "license": "ISC", "peer": true }, @@ -11524,13 +11490,11 @@ } ], "license": "MIT", - "optional": true, "peer": true }, "../../../service/node_modules/simple-get": { "version": "3.1.1", "license": "MIT", - "optional": true, "peer": true, "dependencies": { "decompress-response": "^4.2.0", @@ -12077,7 +12041,6 @@ }, "../../../service/node_modules/string-width": { "version": "1.0.2", - "devOptional": true, "license": "MIT", "peer": true, "dependencies": { @@ -12134,7 +12097,6 @@ }, "../../../service/node_modules/strip-ansi": { "version": "3.0.1", - "devOptional": true, "license": "MIT", "peer": true, "dependencies": { @@ -12164,7 +12126,6 @@ }, "../../../service/node_modules/strip-json-comments": { "version": "2.0.1", - "devOptional": true, "license": "MIT", "peer": true, "engines": { @@ -12573,7 +12534,6 @@ "../../../service/node_modules/tar": { "version": "6.1.11", "license": "ISC", - "optional": true, "peer": true, "dependencies": { "chownr": "^2.0.0", @@ -12590,7 +12550,6 @@ "../../../service/node_modules/tar-fs": { "version": "2.1.1", "license": "MIT", - "optional": true, "peer": true, "dependencies": { "chownr": "^1.1.1", @@ -12638,7 +12597,6 @@ "../../../service/node_modules/tar/node_modules/chownr": { "version": "2.0.0", "license": "ISC", - "optional": true, "peer": true, "engines": { "node": ">=10" @@ -12923,7 +12881,6 @@ }, "../../../service/node_modules/tunnel-agent": { "version": "0.6.0", - "devOptional": true, "license": "Apache-2.0", "peer": true, "dependencies": { @@ -13401,7 +13358,6 @@ "../../../service/node_modules/wide-align": { "version": "1.1.5", "license": "ISC", - "optional": true, "peer": true, "dependencies": { "string-width": "^1.0.2 || 2 || 3 || 4" @@ -17354,7 +17310,7 @@ "requires": { "@fluffy-spoon/substitute": "^1.196.0", "@mapbox/togeojson": "0.16.0", - "@ngageoint/geopackage": "^4.1.0", + "@ngageoint/geopackage": "^4.2.4", "@turf/centroid": "~6.0.0", "@turf/kinks": "~6.0.0", "@types/async": "^3.0.5", @@ -17390,6 +17346,7 @@ "assert": "2.0.0", "async": "0.2.x", "base-64": "1.0.0", + "better-sqlite3": "^7.6.2", "body-parser": "1.18.3", "busboy": "^1.6.0", "cfenv": "1.0.3", @@ -18463,7 +18420,6 @@ }, "ansi-regex": { "version": "2.1.1", - "devOptional": true, "peer": true }, "ansi-styles": { @@ -18497,7 +18453,6 @@ }, "aproba": { "version": "1.2.0", - "optional": true, "peer": true }, "archiver": { @@ -18558,7 +18513,6 @@ }, "are-we-there-yet": { "version": "1.1.7", - "optional": true, "peer": true, "requires": { "delegates": "^1.0.0", @@ -18850,7 +18804,6 @@ }, "better-sqlite3": { "version": "7.4.1", - "optional": true, "peer": true, "requires": { "bindings": "^1.5.0", @@ -18865,7 +18818,6 @@ }, "bindings": { "version": "1.5.0", - "optional": true, "peer": true, "requires": { "file-uri-to-path": "1.0.0" @@ -19268,7 +19220,6 @@ }, "chownr": { "version": "1.1.4", - "optional": true, "peer": true }, "cipher-base": { @@ -19348,7 +19299,6 @@ }, "code-point-at": { "version": "1.1.0", - "devOptional": true, "peer": true }, "collection-visit": { @@ -19440,7 +19390,6 @@ }, "console-control-strings": { "version": "1.1.0", - "optional": true, "peer": true }, "constantinople": { @@ -19692,7 +19641,6 @@ }, "decompress-response": { "version": "4.2.1", - "optional": true, "peer": true, "requires": { "mimic-response": "^2.0.0" @@ -19729,7 +19677,6 @@ }, "deep-extend": { "version": "0.6.0", - "optional": true, "peer": true }, "deep-is": { @@ -19801,7 +19748,6 @@ }, "delegates": { "version": "1.0.0", - "optional": true, "peer": true }, "denque": { @@ -19819,7 +19765,6 @@ }, "detect-libc": { "version": "1.0.3", - "optional": true, "peer": true }, "dezalgo": { @@ -20496,7 +20441,6 @@ }, "expand-template": { "version": "2.0.3", - "optional": true, "peer": true }, "express": { @@ -20805,7 +20749,6 @@ }, "file-uri-to-path": { "version": "1.0.0", - "optional": true, "peer": true }, "fill-keys": { @@ -21031,7 +20974,6 @@ }, "fs-minipass": { "version": "2.1.0", - "optional": true, "peer": true, "requires": { "minipass": "^3.0.0" @@ -21058,7 +21000,6 @@ }, "gauge": { "version": "2.7.4", - "optional": true, "peer": true, "requires": { "aproba": "^1.0.3", @@ -21159,7 +21100,6 @@ }, "github-from-package": { "version": "0.0.0", - "optional": true, "peer": true }, "glob": { @@ -21362,7 +21302,6 @@ }, "has-unicode": { "version": "2.0.1", - "optional": true, "peer": true }, "has-value": { @@ -21595,7 +21534,6 @@ }, "ini": { "version": "1.3.8", - "optional": true, "peer": true }, "inquirer": { @@ -21797,7 +21735,6 @@ }, "is-fullwidth-code-point": { "version": "1.0.0", - "devOptional": true, "peer": true, "requires": { "number-is-nan": "^1.0.0" @@ -22799,7 +22736,6 @@ }, "mimic-response": { "version": "2.1.0", - "optional": true, "peer": true }, "minimalistic-assert": { @@ -22832,7 +22768,6 @@ }, "minipass": { "version": "3.1.6", - "optional": true, "peer": true, "requires": { "yallist": "^4.0.0" @@ -22840,7 +22775,6 @@ }, "minizlib": { "version": "2.1.2", - "optional": true, "peer": true, "requires": { "minipass": "^3.0.0", @@ -22868,12 +22802,10 @@ }, "mkdirp": { "version": "1.0.4", - "optional": true, "peer": true }, "mkdirp-classic": { "version": "0.5.3", - "optional": true, "peer": true }, "mocha": { @@ -23584,7 +23516,6 @@ }, "napi-build-utils": { "version": "1.0.2", - "optional": true, "peer": true }, "natural-compare": { @@ -23717,7 +23648,6 @@ }, "node-abi": { "version": "2.30.1", - "optional": true, "peer": true, "requires": { "semver": "^5.4.1" @@ -23896,7 +23826,6 @@ }, "npmlog": { "version": "4.1.2", - "optional": true, "peer": true, "requires": { "are-we-there-yet": "~1.1.2", @@ -23907,7 +23836,6 @@ }, "number-is-nan": { "version": "1.0.1", - "devOptional": true, "peer": true }, "nyc": { @@ -24701,7 +24629,6 @@ }, "prebuild-install": { "version": "6.1.4", - "optional": true, "peer": true, "requires": { "detect-libc": "^1.0.3", @@ -24721,7 +24648,6 @@ "dependencies": { "minimist": { "version": "1.2.6", - "optional": true, "peer": true } } @@ -24916,7 +24842,6 @@ }, "pump": { "version": "3.0.0", - "optional": true, "peer": true, "requires": { "end-of-stream": "^1.1.0", @@ -25002,7 +24927,6 @@ }, "rc": { "version": "1.2.8", - "optional": true, "peer": true, "requires": { "deep-extend": "^0.6.0", @@ -25421,7 +25345,6 @@ }, "set-blocking": { "version": "2.0.0", - "devOptional": true, "peer": true }, "set-immediate-shim": { @@ -25491,17 +25414,14 @@ }, "signal-exit": { "version": "3.0.7", - "devOptional": true, "peer": true }, "simple-concat": { "version": "1.0.1", - "optional": true, "peer": true }, "simple-get": { "version": "3.1.1", - "optional": true, "peer": true, "requires": { "decompress-response": "^4.2.0", @@ -25901,7 +25821,6 @@ }, "string-width": { "version": "1.0.2", - "devOptional": true, "peer": true, "requires": { "code-point-at": "^1.0.0", @@ -25939,7 +25858,6 @@ }, "strip-ansi": { "version": "3.0.1", - "devOptional": true, "peer": true, "requires": { "ansi-regex": "^2.0.0" @@ -25957,7 +25875,6 @@ }, "strip-json-comments": { "version": "2.0.1", - "devOptional": true, "peer": true }, "strtok3": { @@ -26219,7 +26136,6 @@ }, "tar": { "version": "6.1.11", - "optional": true, "peer": true, "requires": { "chownr": "^2.0.0", @@ -26232,14 +26148,12 @@ "dependencies": { "chownr": { "version": "2.0.0", - "optional": true, "peer": true } } }, "tar-fs": { "version": "2.1.1", - "optional": true, "peer": true, "requires": { "chownr": "^1.1.1", @@ -26468,7 +26382,6 @@ }, "tunnel-agent": { "version": "0.6.0", - "devOptional": true, "peer": true, "requires": { "safe-buffer": "^5.0.1" @@ -26799,7 +26712,6 @@ }, "wide-align": { "version": "1.1.5", - "optional": true, "peer": true, "requires": { "string-width": "^1.0.2 || 2 || 3 || 4" diff --git a/plugins/image/service/package.json b/plugins/image/service/package.json index 35f8710d4..6e43bcc7c 100644 --- a/plugins/image/service/package.json +++ b/plugins/image/service/package.json @@ -34,7 +34,7 @@ "sharp": "^0.30.7" }, "peerDependencies": { - "@ngageoint/mage.service": "^6.2.0-beta", + "@ngageoint/mage.service": "^6.2.0, ~6.2.10-beta", "express": "^4.17.0", "mongoose": "^4.0.0" },