rename custon nntp-server module to nntp-server-zefie

- seems like if a package exists on npm you will get that version regardless of the git configured in package.json
This commit is contained in:
zefie
2022-10-15 22:15:14 -04:00
parent 5bf073d075
commit f42837b8bb
3 changed files with 10 additions and 9 deletions

View File

@@ -16,8 +16,8 @@ class WTVNewsServer {
const { WTVShared } = require("./WTVShared.js");
this.wtvshared = new WTVShared(minisrv_config);
this.featuredGroups = minisrv_config.services['wtv-news'].featuredGroups;
const nntp_server = require('nntp-server');
var nntp_statuses = require('nntp-server/lib/status');
const nntp_server = require('nntp-server-zefie');
var nntp_statuses = require('nntp-server-zefie/lib/status');
this.username = username || null;
this.password = password || null;

View File

@@ -19,7 +19,7 @@
"iconv-lite": "^0.6.3",
"mime-types": "^2.1.35",
"newsie": "^1.2.1",
"nntp-server": "github:zefie/nntp-server",
"nntp-server-zefie": "git+https://git@github.com:zefie/nntp-server",
"proxy-agent": "^5.0.0",
"sanitize-html": "^2.7.2",
"socks-proxy-agent": "^6.2.1",
@@ -890,9 +890,10 @@
"node": ">=8.9.0"
}
},
"node_modules/nntp-server": {
"node_modules/nntp-server-zefie": {
"name": "nntp-server",
"version": "3.1.0",
"resolved": "git+ssh://git@github.com/zefie/nntp-server.git#28aaaeb20287d5b07fec2fcd6c5948b15f7bf1a0",
"resolved": "git+https://git@github.com/zefie/nntp-server.git#c2721f81a98dacda0a272dc8c98f8155a955523f",
"license": "MIT",
"dependencies": {
"debug": "^4.3.3",
@@ -2099,9 +2100,9 @@
"resolved": "https://registry.npmjs.org/newsie/-/newsie-1.2.1.tgz",
"integrity": "sha512-41jhtKmlpSc27oIBkp681fm4aLURPT/AgeBvSRicxNPWDVeHLaq7tSvG/OsEXz7g41thgv9JMV1ZjYSABMiYVA=="
},
"nntp-server": {
"version": "git+ssh://git@github.com/zefie/nntp-server.git#28aaaeb20287d5b07fec2fcd6c5948b15f7bf1a0",
"from": "nntp-server@github:zefie/nntp-server",
"nntp-server-zefie": {
"version": "git+https://git@github.com/zefie/nntp-server.git#c2721f81a98dacda0a272dc8c98f8155a955523f",
"from": "nntp-server-zefie@git+https://git@github.com:zefie/nntp-server",
"requires": {
"debug": "^4.3.3",
"denque": "^2.0.1",

View File

@@ -37,7 +37,7 @@
"iconv-lite": "^0.6.3",
"mime-types": "^2.1.35",
"newsie": "^1.2.1",
"nntp-server": "github:zefie/nntp-server",
"nntp-server-zefie": "git+https://git@github.com:zefie/nntp-server",
"proxy-agent": "^5.0.0",
"sanitize-html": "^2.7.2",
"socks-proxy-agent": "^6.2.1",