Force node 10 usage
This commit is contained in:
parent
e669ff5873
commit
005b51b977
3 changed files with 1 additions and 9 deletions
|
@ -5,7 +5,7 @@
|
|||
"private": true,
|
||||
"licence": "AGPL-3.0",
|
||||
"engines": {
|
||||
"node": ">=8.x"
|
||||
"node": ">=10.x"
|
||||
},
|
||||
"bin": {
|
||||
"peertube": "dist/server/tools/peertube.js"
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue