Skip to content

Commit

Permalink
Removes Node v13.1.0 version check
Browse files Browse the repository at this point in the history
  • Loading branch information
n-thumann committed Apr 22, 2021
1 parent b0ae6c2 commit f1d6b1d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 24 deletions.
24 changes: 8 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"express": "^4.17.1",
"html-escaper": "^3.0.3",
"morgan": "^1.10.0",
"semver": "^7.3.5",
"xml2js": "^0.4.23"
},
"devDependencies": {
Expand All @@ -25,7 +24,6 @@
"@types/http-errors": "^1.8.0",
"@types/morgan": "^1.9.2",
"@types/node": "^14.14.37",
"@types/semver": "^7.3.4",
"@types/xml2js": "^0.4.8",
"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",
Expand Down
6 changes: 0 additions & 6 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import express from 'express';
import * as path from 'path';
import morgan from 'morgan';
import http from 'http';
import semver from 'semver';
import debug from 'debug';
import indexRouter from './routes/index';
import statusRouter from './routes/status';
Expand All @@ -11,11 +10,6 @@ import stationRouter from './routes/station';
import configProvider from './providers/config';
import { SignalConstants } from 'node:os';

if (semver.lt(process.versions.node, '13.1.0')) {
console.error('NodeJS v13.0.2 (or higher) is required!');
process.exit(1);
}

const app = express();
const logger = debug('iptv-restream:server');
app.set('views', path.join(__dirname, '../views'));
Expand Down

0 comments on commit f1d6b1d

Please sign in to comment.