From 517e579658935683fdae58da0e4ec3c323f0a20d Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Sat, 13 Jan 2024 19:55:50 -0500 Subject: [PATCH 1/2] fix: pin node to 14 --- plan.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plan.sh b/plan.sh index bb9b35d..12fc10e 100644 --- a/plan.sh +++ b/plan.sh @@ -4,7 +4,7 @@ pkg_maintainer="Chris Alfano " pkg_upstream_url="https://github.com/JarvusInnovations/habitat-compose" pkg_license=("Apache-2.0") pkg_build_deps=(jarvus/underscore) -pkg_deps=(core/node) +pkg_deps=(core/node14) pkg_bin_dirs=(bin) pkg_svc_user="root" pkg_svc_group="root" @@ -35,7 +35,7 @@ do_install() { pushd "${CACHE_PATH}" > /dev/null cp -r ./* "${pkg_prefix}/" { - echo "#!$(pkg_path_for core/node)/bin/node" + echo "#!$(pkg_path_for core/node14)/bin/node" echo cat "${PLAN_CONTEXT}/habitat-compose.js" } > "${pkg_prefix}/bin/habitat-compose" From e2694a01c28269e899876a0fdee4bc32e840af88 Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Sat, 13 Jan 2024 19:56:26 -0500 Subject: [PATCH 2/2] chore(deps): npm audit fix --- package-lock.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index f14d87b..09d65ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,11 +15,11 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "axios": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.4.tgz", - "integrity": "sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==", + "version": "1.6.5", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", + "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", "requires": { - "follow-redirects": "^1.15.0", + "follow-redirects": "^1.15.4", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } @@ -38,9 +38,9 @@ "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" }, "follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==" }, "form-data": { "version": "4.0.0", @@ -89,9 +89,9 @@ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" }, "semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", "requires": { "lru-cache": "^6.0.0" }