@vladmandic/piproxy
Advanced tools
Comparing version 1.1.16 to 1.1.17
# PiGallery Change Log | ||
### **HEAD -> master, origin/master, origin/HEAD** 2021/03/13 mandic00@live.com | ||
### **HEAD -> master, origin/master, origin/HEAD** 2021/03/31 mandic00@live.com | ||
### **1.1.16** 2021/03/18 mandic00@live.com | ||
### **1.1.15** 2021/03/13 mandic00@live.com | ||
@@ -6,0 +8,0 @@ |
{ | ||
"name": "@vladmandic/piproxy", | ||
"version": "1.1.16", | ||
"description": "PiProxy: NodeJS Web Proxy", | ||
"version": "1.1.17", | ||
"description": "PiProxy: Reverse Proxy in NodeJS for HTTP/HTTPS/HTTP2 with Automatic SSL Management, Compression, Security Enforcement and Rate Limiting", | ||
"main": "server/piproxy.js", | ||
@@ -37,4 +37,4 @@ "sideEffects": false, | ||
"dependencies": { | ||
"@vladmandic/piacme": "^0.1.26", | ||
"@vladmandic/pilogger": "^0.2.14", | ||
"@vladmandic/piacme": "^0.1.27", | ||
"@vladmandic/pilogger": "^0.2.15", | ||
"connect": "^3.7.0", | ||
@@ -48,3 +48,3 @@ "helmet": "^4.4.1", | ||
"devDependencies": { | ||
"eslint": "^7.22.0", | ||
"eslint": "^7.23.0", | ||
"eslint-config-airbnb-base": "^14.2.1", | ||
@@ -55,5 +55,4 @@ "eslint-plugin-html": "^6.1.2", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^4.3.1", | ||
"npm-check-updates": "^11.3.0" | ||
"eslint-plugin-promise": "^4.3.1" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# PiProxy: NodeJS Web Reverse Proxy | ||
# PiProxy: Reverse Proxy in NodeJS for HTTP/HTTPS/HTTP2 with Automatic SSL Management, Compression, Security Enforcement and Rate Limiting | ||
@@ -3,0 +3,0 @@ ## Features |
12
setup.js
@@ -23,3 +23,3 @@ #!/usr/bin/env node | ||
const t1 = process.hrtime.bigint(); | ||
const ms = Math.trunc(parseFloat(t1 - t0) / 1000000); | ||
const ms = Math.trunc(parseFloat((t1 - t0).toString()) / 1000000); | ||
if (msg) process.stdout.write(`\r${msg} completed in ${ms.toLocaleString()}ms\n`); | ||
@@ -43,3 +43,3 @@ resolve(json); | ||
const p = JSON.parse(fs.readFileSync('./package.json')); | ||
const p = JSON.parse(fs.readFileSync('./package.json').toString()); | ||
process.stdout.write(`${p.name} server v${p.version}\n`); | ||
@@ -51,3 +51,3 @@ process.stdout.write(`Platform=${process.platform} Arch=${process.arch} Node=${process.version}\n`); | ||
process.stdout.write(` optional: ${Object.keys(p.optionalDependencies || {}).length}\n`); | ||
if (fs.existsSync(f)) npm = JSON.parse(fs.readFileSync(f)); | ||
if (fs.existsSync(f)) npm = JSON.parse(fs.readFileSync(f).toString()); | ||
@@ -59,8 +59,2 @@ // npm install | ||
// ncu upgrade | ||
process.stdout.write('Skipping NCU force upgrade modules\n'); | ||
// eslint-disable-next-line node/no-unpublished-require | ||
// const ncu = require('npm-check-updates'); // eariliest we can load it | ||
// npm.ncu = await ncu.run({ jsonUpgraded: true, upgrade: true, packageManager: 'npm', silent: true }); | ||
// npm optimize | ||
@@ -67,0 +61,0 @@ npm.update = await exec('npm update --depth=5 --json', 'NPM update modules'); |
Sorry, the diff of this file is not supported yet
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
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
74749
7
28
1372
Updated@vladmandic/piacme@^0.1.27
Updated@vladmandic/pilogger@^0.2.15