1
0
Fork 0

Force node 10 usage

This commit is contained in:
Chocobozzz 2020-01-28 14:02:47 +01:00
parent e669ff5873
commit 005b51b977
No known key found for this signature in database
GPG key ID: 583A612D890159BE
3 changed files with 1 additions and 9 deletions

View file

@ -5,7 +5,7 @@
"private": true,
"licence": "AGPL-3.0",
"engines": {
"node": ">=8.x"
"node": ">=10.x"
},
"bin": {
"peertube": "dist/server/tools/peertube.js"

View file

@ -1,10 +1,6 @@
import { registerTSPaths } from './server/helpers/register-ts-paths'
registerTSPaths()
// FIXME: https://github.com/nodejs/node/pull/16853
require('tls').DEFAULT_ECDH_CURVE = 'auto'
import { isTestInstance } from './server/helpers/core-utils'
if (isTestInstance()) {
require('source-map-support').install()

View file

@ -1,10 +1,6 @@
import { registerTSPaths } from '../helpers/register-ts-paths'
registerTSPaths()
// FIXME: https://github.com/nodejs/node/pull/16853
require('tls').DEFAULT_ECDH_CURVE = 'auto'
import * as program from 'commander'
import { join } from 'path'
import { doRequestAndSaveToFile } from '../helpers/requests'