mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
chore: Update dependencies
This commit is contained in:
parent
346460cb56
commit
262f6b4558
8975
package-lock.json
generated
8975
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
62
package.json
62
package.json
@ -99,72 +99,72 @@
|
||||
"templates"
|
||||
],
|
||||
"dependencies": {
|
||||
"@comunica/context-entries": "^2.2.0",
|
||||
"@comunica/query-sparql": "^2.2.1",
|
||||
"@comunica/context-entries": "^2.6.8",
|
||||
"@comunica/query-sparql": "^2.6.9",
|
||||
"@rdfjs/types": "^1.1.0",
|
||||
"@solid/access-control-policy": "^0.1.3",
|
||||
"@solid/access-token-verifier": "^2.0.3",
|
||||
"@types/async-lock": "^1.1.5",
|
||||
"@solid/access-token-verifier": "^2.0.5",
|
||||
"@types/async-lock": "^1.4.0",
|
||||
"@types/bcryptjs": "^2.4.2",
|
||||
"@types/cors": "^2.8.12",
|
||||
"@types/ejs": "^3.1.1",
|
||||
"@types/ejs": "^3.1.2",
|
||||
"@types/end-of-stream": "^1.4.1",
|
||||
"@types/fs-extra": "^9.0.13",
|
||||
"@types/lodash.orderby": "^4.6.7",
|
||||
"@types/marked": "^4.0.3",
|
||||
"@types/marked": "^4.0.8",
|
||||
"@types/mime-types": "^2.1.1",
|
||||
"@types/n3": "^1.10.4",
|
||||
"@types/node": "^14.18.23",
|
||||
"@types/nodemailer": "^6.4.4",
|
||||
"@types/node": "^14.18.43",
|
||||
"@types/nodemailer": "^6.4.7",
|
||||
"@types/oidc-provider": "^7.11.1",
|
||||
"@types/proper-lockfile": "^4.1.2",
|
||||
"@types/pump": "^1.1.1",
|
||||
"@types/punycode": "^2.1.0",
|
||||
"@types/rdf-validate-shacl": "^0.4.1",
|
||||
"@types/sparqljs": "^3.1.3",
|
||||
"@types/sparqljs": "^3.1.4",
|
||||
"@types/url-join": "^4.0.1",
|
||||
"@types/uuid": "^9.0.0",
|
||||
"@types/ws": "^8.5.3",
|
||||
"@types/yargs": "^17.0.10",
|
||||
"@types/uuid": "^9.0.1",
|
||||
"@types/ws": "^8.5.4",
|
||||
"@types/yargs": "^17.0.24",
|
||||
"arrayify-stream": "^2.0.1",
|
||||
"async-lock": "^1.3.2",
|
||||
"async-lock": "^1.4.0",
|
||||
"bcryptjs": "^2.4.3",
|
||||
"componentsjs": "^5.3.2",
|
||||
"cors": "^2.8.5",
|
||||
"cross-fetch": "^3.1.5",
|
||||
"ejs": "^3.1.8",
|
||||
"ejs": "^3.1.9",
|
||||
"end-of-stream": "^1.4.4",
|
||||
"escape-string-regexp": "^4.0.0",
|
||||
"fetch-sparql-endpoint": "^3.0.1",
|
||||
"fetch-sparql-endpoint": "^3.2.1",
|
||||
"fs-extra": "^10.1.0",
|
||||
"handlebars": "^4.7.7",
|
||||
"ioredis": "^5.2.2",
|
||||
"ioredis": "^5.3.2",
|
||||
"iso8601-duration": "^2.1.1",
|
||||
"jose": "^4.8.3",
|
||||
"jsonld-context-parser": "^2.1.5",
|
||||
"jose": "^4.14.1",
|
||||
"jsonld-context-parser": "^2.3.0",
|
||||
"lodash.orderby": "^4.6.0",
|
||||
"marked": "^4.0.18",
|
||||
"marked": "^4.3.0",
|
||||
"mime-types": "^2.1.35",
|
||||
"n3": "^1.16.2",
|
||||
"nodemailer": "^6.7.7",
|
||||
"n3": "^1.16.4",
|
||||
"nodemailer": "^6.9.1",
|
||||
"oidc-provider": "7.10.6",
|
||||
"proper-lockfile": "^4.1.2",
|
||||
"pump": "^3.0.0",
|
||||
"punycode": "^2.1.1",
|
||||
"rdf-dereference": "^2.0.0",
|
||||
"rdf-parse": "^2.1.0",
|
||||
"rdf-serialize": "^2.0.0",
|
||||
"rdf-string": "^1.6.1",
|
||||
"rdf-terms": "^1.9.0",
|
||||
"rdf-dereference": "^2.1.0",
|
||||
"rdf-parse": "^2.3.2",
|
||||
"rdf-serialize": "^2.2.2",
|
||||
"rdf-string": "^1.6.3",
|
||||
"rdf-terms": "^1.9.1",
|
||||
"rdf-validate-shacl": "^0.4.5",
|
||||
"sparqlalgebrajs": "^4.0.3",
|
||||
"sparqljs": "^3.5.2",
|
||||
"sparqlalgebrajs": "^4.0.5",
|
||||
"sparqljs": "^3.6.2",
|
||||
"url-join": "^4.0.1",
|
||||
"uuid": "^9.0.0",
|
||||
"winston": "^3.8.1",
|
||||
"winston": "^3.8.2",
|
||||
"winston-transport": "^4.5.0",
|
||||
"ws": "^8.8.1",
|
||||
"yargs": "^17.5.1"
|
||||
"ws": "^8.13.0",
|
||||
"yargs": "^17.7.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^17.6.1",
|
||||
|
@ -160,7 +160,7 @@ export class AppRunner {
|
||||
typeChecking: false,
|
||||
};
|
||||
|
||||
const configs = params.config.map(resolveAssetPath);
|
||||
const configs = (params.config as string[]).map(resolveAssetPath);
|
||||
|
||||
// Create the Components.js manager used to build components from the provided config
|
||||
let componentsManager: ComponentsManager<any>;
|
||||
|
@ -21,7 +21,7 @@ export class BaseUrlExtractor extends ShorthandExtractor {
|
||||
if (typeof args.socket === 'string') {
|
||||
throw new Error('BaseUrl argument should be provided when using Unix Domain Sockets.');
|
||||
}
|
||||
const port = args.port ?? this.defaultPort;
|
||||
const port = (args.port as string) ?? this.defaultPort;
|
||||
const url = new URL('http://localhost/');
|
||||
url.port = `${port}`;
|
||||
return url.href;
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { readFileSync } from 'fs';
|
||||
import type { Server } from 'http';
|
||||
import { createServer as createHttpServer } from 'http';
|
||||
import type { ServerOptions } from 'https';
|
||||
import { createServer as createHttpsServer } from 'https';
|
||||
import { getLoggerFor } from '../logging/LogUtil';
|
||||
import type { HttpServerFactory } from './HttpServerFactory';
|
||||
@ -46,17 +47,16 @@ export class BaseServerFactory implements HttpServerFactory {
|
||||
* Creates an HTTP(S) server.
|
||||
*/
|
||||
public async createServer(): Promise<Server> {
|
||||
const createServer = this.options.https ? createHttpsServer : createHttpServer;
|
||||
const options = this.createServerOptions();
|
||||
|
||||
const server = createServer(options);
|
||||
const server = this.options.https ? createHttpsServer(options) : createHttpServer(options);
|
||||
|
||||
await this.configurator.handleSafe(server);
|
||||
|
||||
return server;
|
||||
}
|
||||
|
||||
private createServerOptions(): BaseServerFactoryOptions {
|
||||
private createServerOptions(): ServerOptions {
|
||||
const options = { ...this.options };
|
||||
for (const id of [ 'key', 'cert', 'pfx' ] as const) {
|
||||
const val = options[id];
|
||||
|
Loading…
x
Reference in New Issue
Block a user