From f5ce251ea110ae73ba34aabe3b6c6032df9901a2 Mon Sep 17 00:00:00 2001 From: Yanyu Zheng Date: Wed, 13 Oct 2021 10:41:18 -0400 Subject: [PATCH] fix: downgrade node-ssh version to fix integ tests (#744) --- main/integration-tests/package.json | 2 +- pnpm-lock.yaml | 51 +++++++++++++---------------- 2 files changed, 24 insertions(+), 29 deletions(-) diff --git a/main/integration-tests/package.json b/main/integration-tests/package.json index de5a1e0a43..c07ebf8008 100644 --- a/main/integration-tests/package.json +++ b/main/integration-tests/package.json @@ -29,7 +29,7 @@ "js-yaml": "^4.1.0", "jwt-decode": "^2.2.0", "lodash": "^4.17.21", - "node-ssh": "^12.0.0", + "node-ssh": "^11.1.1", "services": "workspace:*", "yargs-parser": "^20.2.9" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 72e8cbaf7d..29a50ee715 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1921,7 +1921,7 @@ importers: js-yaml: ^4.1.0 jwt-decode: ^2.2.0 lodash: ^4.17.21 - node-ssh: ^12.0.0 + node-ssh: ^11.1.1 prettier: ^1.19.1 pretty-quick: ^1.11.1 request: ^2.88.2 @@ -1937,7 +1937,7 @@ importers: js-yaml: 4.1.0 jwt-decode: 2.2.0 lodash: 4.17.21 - node-ssh: 12.0.0 + node-ssh: 11.1.1 services: link:../packages/services yargs-parser: 20.2.9 devDependencies: @@ -9378,15 +9378,6 @@ packages: path-type: 4.0.0 yaml: 1.10.0 - /cpu-features/0.0.2: - resolution: {integrity: sha512-/2yieBqvMcRj8McNzkycjW2v3OIUOibBfd2dLEJ0nWts8NobAxwiyw9phVNS6oDL8x8tz9F7uNVFEVpJncQpeA==} - engines: {node: '>=8.0.0'} - requiresBuild: true - dependencies: - nan: 2.15.0 - dev: false - optional: true - /crc/3.8.0: resolution: {integrity: sha512-iX3mfgcTMIq3ZKLIsVFAbv7+Mc10kxabAGQb8HvjA1o3T1PIYprbakQ65d3I+2HGHt6nSKkM9PYjgoJO2KcFBQ==} dependencies: @@ -14086,6 +14077,7 @@ packages: /is-stream/2.0.0: resolution: {integrity: sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==} engines: {node: '>=8'} + dev: true /is-string/1.0.5: resolution: {integrity: sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==} @@ -16680,11 +16672,6 @@ packages: dev: true optional: true - /nan/2.15.0: - resolution: {integrity: sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==} - dev: false - optional: true - /nanoid/2.1.11: resolution: {integrity: sha512-s/snB+WGm6uwi0WjsZdaVcuf3KJXlfGl2LcxgwkEwJF0D/BWzVWAZW/XY4bFaiR7s0Jk3FPvlnepg1H1b1UwlA==} dev: true @@ -16916,16 +16903,15 @@ packages: '@babel/parser': 7.9.4 dev: true - /node-ssh/12.0.0: - resolution: {integrity: sha512-kIE4pePn1ZIkce9l4Jdz+nUGkQW08Kp/6cMDr61tnsEipWmTZJxGxpXYFl5uFYRBjswWVkRA+yu8tqvKFqIA/Q==} - engines: {node: '>= 10'} + /node-ssh/11.1.1: + resolution: {integrity: sha512-B3Tb3t54nCj2PyA8vnUMeH19Z2hybJzg5n4t9mRCOTfVGwGlJrv0frDjhPjisTAg3JplJiSxzfImOTMvFPkraQ==} + engines: {node: '>= 8'} dependencies: - is-stream: 2.0.0 make-dir: 3.1.0 sb-promise-queue: 2.1.0 sb-scandir: 3.1.0 shell-escape: 0.2.0 - ssh2: 1.5.0 + ssh2: 0.8.9 dev: false /nofilter/1.0.3: @@ -21123,16 +21109,20 @@ packages: es5-ext: 0.10.53 dev: true - /ssh2/1.5.0: - resolution: {integrity: sha512-iUmRkhH9KGeszQwDW7YyyqjsMTf4z+0o48Cp4xOwlY5LjtbIAvyd3fwnsoUZW/hXmTCRA3yt7S/Jb9uVjErVlA==} - engines: {node: '>=10.16.0'} - requiresBuild: true + /ssh2-streams/0.4.10: + resolution: {integrity: sha512-8pnlMjvnIZJvmTzUIIA5nT4jr2ZWNNVHwyXfMGdRJbug9TpI3kd99ffglgfSWqujVv/0gxwMsDn9j9RVst8yhQ==} + engines: {node: '>=5.2.0'} dependencies: asn1: 0.2.4 bcrypt-pbkdf: 1.0.2 - optionalDependencies: - cpu-features: 0.0.2 - nan: 2.15.0 + streamsearch: 0.1.2 + dev: false + + /ssh2/0.8.9: + resolution: {integrity: sha512-GmoNPxWDMkVpMFa9LVVzQZHF6EW3WKmBwL+4/GeILf2hFmix5Isxm7Amamo8o7bHiU0tC+wXsGcUXOxp8ChPaw==} + engines: {node: '>=5.2.0'} + dependencies: + ssh2-streams: 0.4.10 dev: false /sshpk/1.16.1: @@ -21261,6 +21251,11 @@ packages: stream.finished: 1.2.0 dev: true + /streamsearch/0.1.2: + resolution: {integrity: sha1-gIudDlb8Jz2Am6VzOOkpkZoanxo=} + engines: {node: '>=0.8.0'} + dev: false + /streamsink/1.2.0: resolution: {integrity: sha1-76/unx4i01ke1949yqlcP1559zw=} dev: true