add net module

This commit is contained in:
fullgream 2025-05-16 03:16:12 +03:00
parent ea46dfe0a5
commit 83efeca7ce
3 changed files with 8 additions and 0 deletions

6
package-lock.json generated
View File

@ -6,6 +6,7 @@
"": {
"dependencies": {
"fs": "^0.0.1-security",
"net": "^1.0.2",
"node-pop3": "^0.9.1"
}
},
@ -14,6 +15,11 @@
"resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz",
"integrity": "sha512-3XY9e1pP0CVEUCdj5BmfIZxRBTSDycnbqhIOGec9QYtmVH2fbLpj86CFWkrNOkt/Fvty4KZG5lTglL9j/gJ87w=="
},
"node_modules/net": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/net/-/net-1.0.2.tgz",
"integrity": "sha512-kbhcj2SVVR4caaVnGLJKmlk2+f+oLkjqdKeQlmUtz6nGzOpbcobwVIeSURNgraV/v3tlmGIX82OcPCl0K6RbHQ=="
},
"node_modules/node-pop3": {
"version": "0.9.1",
"resolved": "https://registry.npmjs.org/node-pop3/-/node-pop3-0.9.1.tgz",

View File

@ -1,6 +1,7 @@
{
"dependencies": {
"fs": "^0.0.1-security",
"net": "^1.0.2",
"node-pop3": "^0.9.1"
}
}

View File

@ -1,5 +1,6 @@
const Pop3Command = require("node-pop3");
const fs = require("fs");
const net = require('net');
const { EventEmitter } = require("events");
const initalConfig = `{