From 2c1aed239504305be7d4b516154045cebda4ceae Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Wed, 1 Sep 2021 14:00:59 -0700 Subject: [PATCH] fix: update tar version with resolution --- docs/guide.md | 4 +++- lib/vscode/package.json | 3 ++- lib/vscode/yarn.lock | 8 ++++---- package.json | 2 +- test/package.json | 2 +- test/yarn.lock | 8 ++++---- yarn.lock | 8 ++++---- 7 files changed, 19 insertions(+), 16 deletions(-) diff --git a/docs/guide.md b/docs/guide.md index c6b823795..c60d985a2 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -454,10 +454,12 @@ Web Interface http://127.0.0.1:4040 Forwarding tcp://0.tcp.ngrok.io:19028 -> localhost:22 ``` -Copy the forwarded link `0.tcp.ngrok.io` and remember the port number `19028`. Type this on your local Visual Studio Code: +In this case, copy the forwarded link `0.tcp.ngrok.io` and remember the port number `19028`. Type this on your local Visual Studio Code: ```bash ssh user@0.tcp.ngrok.io -p 19028 ``` The port redirects you to the default SSH port 22, and you can then successfully connect to code-server by entering the password you set for the user. + +Note: the port and the url provided by ngrok will change each time you run it so modify as needed. diff --git a/lib/vscode/package.json b/lib/vscode/package.json index 1403dad8d..6a7eff830 100644 --- a/lib/vscode/package.json +++ b/lib/vscode/package.json @@ -218,6 +218,7 @@ "elliptic": "^6.5.3", "nwmatcher": "^1.4.4", "chrome-remote-interface": "^0.30.0", - "glob-parent": "^5.1.2" + "glob-parent": "^5.1.2", + "tar": "^6.1.9" } } diff --git a/lib/vscode/yarn.lock b/lib/vscode/yarn.lock index e5170b965..4c8dadb1f 100644 --- a/lib/vscode/yarn.lock +++ b/lib/vscode/yarn.lock @@ -8020,10 +8020,10 @@ tapable@^1.0.0, tapable@^1.1.3: resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== -tar@^6.0.2: - version "6.0.5" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.0.5.tgz#bde815086e10b39f1dcd298e89d596e1535e200f" - integrity sha512-0b4HOimQHj9nXNEAA7zWwMM91Zhhba3pspja6sQbgTpynOJf+bkjBnfybNYzbpLbnwXnbyB4LOREvlyXLkCHSg== +tar@^6.0.2, tar@^6.1.9: + version "6.1.11" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621" + integrity sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA== dependencies: chownr "^2.0.0" fs-minipass "^2.0.0" diff --git a/package.json b/package.json index 03d7b8b86..6c70ada95 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "browserslist": "^4.16.5", "safe-buffer": "^5.1.1", "vfile-message": "^2.0.2", - "argon2/@mapbox/node-pre-gyp/tar": "^6.1.3", + "argon2/@mapbox/node-pre-gyp/tar": "^6.1.9", "path-parse": "^1.0.7" }, "dependencies": { diff --git a/test/package.json b/test/package.json index 4f87bc676..1996a5b08 100644 --- a/test/package.json +++ b/test/package.json @@ -19,6 +19,6 @@ "wtfnode": "^0.9.0" }, "resolutions": { - "argon2/@mapbox/node-pre-gyp/tar": "^6.1.3" + "argon2/@mapbox/node-pre-gyp/tar": "^6.1.9" } } diff --git a/test/yarn.lock b/test/yarn.lock index 2fa48122c..9b729d37e 100644 --- a/test/yarn.lock +++ b/test/yarn.lock @@ -4412,10 +4412,10 @@ symbol-tree@^3.2.4: resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== -tar@^6.1.0, tar@^6.1.3: - version "6.1.6" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.6.tgz#c23d797b0a1efe5d479b1490805c5443f3560c5d" - integrity sha512-oaWyu5dQbHaYcyZCTfyPpC+VmI62/OM2RTUYavTk1MDr1cwW5Boi3baeYQKiZbY2uSQJGr+iMOzb/JFxLrft+g== +tar@^6.1.0, tar@^6.1.9: + version "6.1.11" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621" + integrity sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA== dependencies: chownr "^2.0.0" fs-minipass "^2.0.0" diff --git a/yarn.lock b/yarn.lock index f62997ef6..ec7be87a6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4882,10 +4882,10 @@ tar-stream@^2.1.4: inherits "^2.0.3" readable-stream "^3.1.1" -tar@^6.1.0, tar@^6.1.3: - version "6.1.6" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.6.tgz#c23d797b0a1efe5d479b1490805c5443f3560c5d" - integrity sha512-oaWyu5dQbHaYcyZCTfyPpC+VmI62/OM2RTUYavTk1MDr1cwW5Boi3baeYQKiZbY2uSQJGr+iMOzb/JFxLrft+g== +tar@^6.1.0, tar@^6.1.9: + version "6.1.11" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621" + integrity sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA== dependencies: chownr "^2.0.0" fs-minipass "^2.0.0"