chore: upgrade restify to support lts/hydrogen (#1423)

This commit is contained in:
Daniel LaCosse 2023-10-11 12:51:58 -04:00 committed by GitHub
parent 3574b5f5e0
commit aa56b08346
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 636 additions and 328 deletions

958
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -15,8 +15,8 @@
"outline-shadowsocksconfig": "github:Jigsaw-Code/outline-shadowsocksconfig#v0.2.0", "outline-shadowsocksconfig": "github:Jigsaw-Code/outline-shadowsocksconfig#v0.2.0",
"prom-client": "^11.1.3", "prom-client": "^11.1.3",
"randomstring": "^1.1.5", "randomstring": "^1.1.5",
"restify": "^8.5.1", "restify": "^11.1.0",
"restify-cors-middleware": "^1.1.1", "restify-cors-middleware2": "^2.2.1",
"restify-errors": "^8.0.2", "restify-errors": "^8.0.2",
"uuid": "^3.1.0" "uuid": "^3.1.0"
}, },

View file

@ -18,7 +18,7 @@ import * as path from 'path';
import * as process from 'process'; import * as process from 'process';
import * as prometheus from 'prom-client'; import * as prometheus from 'prom-client';
import * as restify from 'restify'; import * as restify from 'restify';
import * as corsMiddleware from 'restify-cors-middleware'; import * as corsMiddleware from 'restify-cors-middleware2';
import {RealClock} from '../infrastructure/clock'; import {RealClock} from '../infrastructure/clock';
import {PortProvider} from '../infrastructure/get_port'; import {PortProvider} from '../infrastructure/get_port';