reh-node16.patch 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. diff --git a/build/gulpfile.reh.js b/build/gulpfile.reh.js
  2. index 595d0ce..2e94d99 100644
  3. --- a/build/gulpfile.reh.js
  4. +++ b/build/gulpfile.reh.js
  5. @@ -375,10 +375,2 @@ function packageTask(type, platform, arch, sourceFolderName, destinationFolderNa
  6. - if (platform === 'linux' || platform === 'alpine') {
  7. - result = es.merge(result,
  8. - gulp.src(`resources/server/bin/helpers/check-requirements-linux.sh`, { base: '.' })
  9. - .pipe(rename(`bin/helpers/check-requirements.sh`))
  10. - .pipe(util.setExecutableBit())
  11. - );
  12. - }
  13. -
  14. return result.pipe(vfs.dest(destination));
  15. diff --git a/remote/.yarnrc b/remote/.yarnrc
  16. index cac528f..0d11e36 100644
  17. --- a/remote/.yarnrc
  18. +++ b/remote/.yarnrc
  19. @@ -1,3 +1,3 @@
  20. disturl "https://nodejs.org/dist"
  21. -target "18.17.1"
  22. +target "16.20.2"
  23. ms_build_id "255375"
  24. diff --git a/remote/package.json b/remote/package.json
  25. index 1d341b0..751c326 100644
  26. --- a/remote/package.json
  27. +++ b/remote/package.json
  28. @@ -31,3 +31,3 @@
  29. "native-watchdog": "^1.4.1",
  30. - "node-pty": "1.1.0-beta6",
  31. + "node-pty": "1.1.0-beta4",
  32. "tas-client-umd": "0.1.8",
  33. diff --git a/remote/yarn.lock b/remote/yarn.lock
  34. index 5fdbd09..74dc7c6 100644
  35. --- a/remote/yarn.lock
  36. +++ b/remote/yarn.lock
  37. @@ -391,2 +391,7 @@ ms@2.1.2:
  38. +nan@^2.17.0:
  39. + version "2.18.0"
  40. + resolved "https://registry.npmjs.org/nan/-/nan-2.18.0.tgz#26a6faae7ffbeb293a39660e88a76b82e30b7554"
  41. + integrity sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w==
  42. +
  43. napi-build-utils@^1.0.1:
  44. @@ -408,3 +413,3 @@ node-abi@^3.3.0:
  45. -node-addon-api@7.1.0, node-addon-api@^7.1.0:
  46. +node-addon-api@7.1.0:
  47. version "7.1.0"
  48. @@ -433,8 +438,8 @@ node-gyp-build@^4.3.0:
  49. -node-pty@1.1.0-beta6:
  50. - version "1.1.0-beta6"
  51. - resolved "https://registry.yarnpkg.com/node-pty/-/node-pty-1.1.0-beta6.tgz#8b27ce40268e313868925e1b46f2af98cc677881"
  52. - integrity sha512-ZcuPz5wIbfF4rebVv8sl+nf2Cn5dVMqlEl9PtabCt4uIffGDnovOpmwh16Oh/MThrwSmeJL6gBwu6lIbBtW7DQ==
  53. +node-pty@1.1.0-beta4:
  54. + version "1.1.0-beta4"
  55. + resolved "https://registry.npmjs.org/node-pty/-/node-pty-1.1.0-beta4.tgz#ee74d909c9f422ffc7f675e1092529673f8906ec"
  56. + integrity sha512-CgffN9AxVtH4g7vDxtanm2qaR7jw3oet9r+ArzziGiFvmds9SdR3gXkZF0fqZWSxhTHZusJWvsuKvRv+5O2K8A==
  57. dependencies:
  58. - node-addon-api "^7.1.0"
  59. + nan "^2.17.0"
  60. diff --git a/resources/server/bin/code-server-linux.sh b/resources/server/bin/code-server-linux.sh
  61. index e3d96bd..3df32df 100644
  62. --- a/resources/server/bin/code-server-linux.sh
  63. +++ b/resources/server/bin/code-server-linux.sh
  64. @@ -11,22 +11,2 @@ ROOT="$(dirname "$(dirname "$(readlink -f "$0")")")"
  65. -# Do not remove this check.
  66. -# Provides a way to skip the server requirements check from
  67. -# outside the install flow. A system process can create this
  68. -# file before the server is downloaded and installed.
  69. -skip_check=0
  70. -if [ -f "/tmp/vscode-skip-server-requirements-check" ]; then
  71. - echo "!!! WARNING: Skipping server pre-requisite check !!!"
  72. - echo "!!! Server stability is not guaranteed. Proceed at your own risk. !!!"
  73. - skip_check=1
  74. -fi
  75. -
  76. -# Check platform requirements
  77. -if [ "$(echo "$@" | grep -c -- "--skip-requirements-check")" -eq 0 ] && [ $skip_check -eq 0 ]; then
  78. - $ROOT/bin/helpers/check-requirements.sh
  79. - exit_code=$?
  80. - if [ $exit_code -ne 0 ]; then
  81. - exit $exit_code
  82. - fi
  83. -fi
  84. -
  85. "$ROOT/node" ${INSPECT:-} "$ROOT/out/server-main.js" "$@"