@logux/server
Advanced tools
Comparing version 0.12.7 to 0.12.8
@@ -1,2 +0,2 @@ | ||
import ip from 'ip' | ||
import { Netmask } from 'netmask' | ||
@@ -31,3 +31,3 @@ const MAX_VERSION = 4 | ||
let masks = app.options.controlMask.split(/,\s*/).map(i => ip.cidrSubnet(i)) | ||
let masks = app.options.controlMask.split(/,\s*/).map(i => new Netmask(i)) | ||
app.httpServer.on('request', async (req, res) => { | ||
@@ -34,0 +34,0 @@ let urlString = req.url |
{ | ||
"name": "@logux/server", | ||
"version": "0.12.7", | ||
"version": "0.12.8", | ||
"description": "Build own Logux server or make proxy between WebSocket and HTTP backend on any language", | ||
@@ -33,19 +33,19 @@ "keywords": [ | ||
"JSONStream": "^1.3.5", | ||
"cookie": "^0.5.0", | ||
"dotenv": "^16.3.1", | ||
"fast-glob": "^3.3.1", | ||
"ip": "^2.0.0", | ||
"cookie": "^0.6.0", | ||
"dotenv": "^16.4.4", | ||
"fast-glob": "^3.3.2", | ||
"nanodelay": "^2.0.2", | ||
"nanoevents": "^8.0.0", | ||
"nanoid": "^4.0.2", | ||
"nanoevents": "^9.0.0", | ||
"nanoid": "^5.0.5", | ||
"netmask": "^2.0.2", | ||
"node-fetch": "^3.3.2", | ||
"picocolors": "^1.0.0", | ||
"pino": "8.15.0", | ||
"pino-abstract-transport": "^1.0.0", | ||
"semver": "^7.5.4", | ||
"pino": "8.18.0", | ||
"pino-abstract-transport": "^1.1.0", | ||
"semver": "^7.6.0", | ||
"strip-ansi": "^7.1.0", | ||
"url-pattern": "^1.0.3", | ||
"ws": "^8.13.0", | ||
"ws": "^8.16.0", | ||
"yyyy-mm-dd": "^1.0.2" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
166084
24
+ Addednetmask@^2.0.2
+ Addedcookie@0.6.0(transitive)
+ Addednanoevents@9.1.0(transitive)
+ Addednanoid@5.0.8(transitive)
+ Addednetmask@2.0.2(transitive)
+ Addedpino@8.18.0(transitive)
+ Addedprocess-warning@3.0.0(transitive)
- Removedip@^2.0.0
- Removedcookie@0.5.0(transitive)
- Removedip@2.0.1(transitive)
- Removednanoevents@8.0.0(transitive)
- Removednanoid@4.0.2(transitive)
- Removedpino@8.15.0(transitive)
- Removedprocess-warning@2.3.2(transitive)
Updatedcookie@^0.6.0
Updateddotenv@^16.4.4
Updatedfast-glob@^3.3.2
Updatednanoevents@^9.0.0
Updatednanoid@^5.0.5
Updatedpino@8.18.0
Updatedsemver@^7.6.0
Updatedws@^8.16.0