mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-23 00:13:13 +09:00
Minor Corrections
This commit is contained in:
1 parent
08c522429b
commit
660af756e6
4 files changed
+6
-6
No files matched your search
@@ -29,7 +29,6 @@
|
|||||||
"jsonwebtoken": "^9.0.1",
|
"jsonwebtoken": "^9.0.1",
|
||||||
"jszip": "^3.10.1",
|
"jszip": "^3.10.1",
|
||||||
"set-blocking": "^2.0.0",
|
"set-blocking": "^2.0.0",
|
||||||
"webpack-cli": "^5.1.4",
|
|
||||||
"winston": "^3.10.0",
|
"winston": "^3.10.0",
|
||||||
"winston-daily-rotate-file": "^4.7.1",
|
"winston-daily-rotate-file": "^4.7.1",
|
||||||
"ws": "^8.13.0",
|
"ws": "^8.13.0",
|
||||||
@@ -54,7 +53,8 @@
|
|||||||
"typescript": "^5.5.3",
|
"typescript": "^5.5.3",
|
||||||
"webpack": "^5.88.2",
|
"webpack": "^5.88.2",
|
||||||
"webpack-dev-middleware": "^6.1.1",
|
"webpack-dev-middleware": "^6.1.1",
|
||||||
"webpack-merge": "^5.9.0"
|
"webpack-merge": "^5.9.0",
|
||||||
|
"webpack-cli": "^5.1.4"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ export default class Controller {
|
|||||||
public shouldRestart: boolean = false;
|
public shouldRestart: boolean = false;
|
||||||
_fallbackedRequests: Map<lib.RequestClass<unknown, unknown>, lib.RequestHandler<unknown, unknown>> = new Map();
|
_fallbackedRequests: Map<lib.RequestClass<unknown, unknown>, lib.RequestHandler<unknown, unknown>> = new Map();
|
||||||
_registeredRequests: Map<lib.RequestClass<unknown, unknown>, lib.RequestHandler<unknown, unknown>> = new Map();
|
_registeredRequests: Map<lib.RequestClass<unknown, unknown>, lib.RequestHandler<unknown, unknown>> = new Map();
|
||||||
_registeredEvents = new Map();
|
_registeredEvents = new Map<lib.EventClass<unknown>, lib.EventHandler<unknown>>();
|
||||||
_snoopedEvents = new Map();
|
_snoopedEvents = new Map();
|
||||||
|
|
||||||
devMiddleware: any | null = null;
|
devMiddleware: any | null = null;
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
//%// Typescript and type declarations
|
//%// Typescript and type declarations
|
||||||
//%if typescript
|
//%if typescript
|
||||||
"typescript": "^5.1.6",
|
"typescript": "^5.5.3",
|
||||||
"@types/node": "^20.4.5",
|
"@types/node": "^20.4.5",
|
||||||
//%endif
|
//%endif
|
||||||
//%if typescript & web
|
//%if typescript & web
|
||||||
|
|||||||
@@ -538,7 +538,7 @@ export class Link {
|
|||||||
if (!entry) {
|
if (!entry) {
|
||||||
throw new Error(`Attempt to send unregistered Request ${request.constructor.name}`);
|
throw new Error(`Attempt to send unregistered Request ${request.constructor.name}`);
|
||||||
}
|
}
|
||||||
if (this.connector.src.equals(dst)) {
|
if (this.connector.src.addressedTo(dst)) {
|
||||||
throw new Error(`Message would return back to sender ${dst}.`);
|
throw new Error(`Message would return back to sender ${dst}.`);
|
||||||
}
|
}
|
||||||
if (this.validateSent) {
|
if (this.validateSent) {
|
||||||
@@ -575,7 +575,7 @@ export class Link {
|
|||||||
if (!entry) {
|
if (!entry) {
|
||||||
throw new Error(`Attempt to send unregistered Event ${event.constructor.name}`);
|
throw new Error(`Attempt to send unregistered Event ${event.constructor.name}`);
|
||||||
}
|
}
|
||||||
if (this.connector.src.equals(dst)) {
|
if (this.connector.src.addressedTo(dst)) {
|
||||||
throw new Error(`Message would return back to sender ${dst}.`);
|
throw new Error(`Message would return back to sender ${dst}.`);
|
||||||
}
|
}
|
||||||
if (this.validateSent) {
|
if (this.validateSent) {
|
||||||
|
|||||||
Reference in new issue
Block a user