Skip to content

Commit

Permalink
Added ciphers to security options
Browse files Browse the repository at this point in the history
  • Loading branch information
PantelisGeorgiadis committed Oct 2, 2023
1 parent 28f94ab commit 781d4cd
Show file tree
Hide file tree
Showing 7 changed files with 102 additions and 87 deletions.
3 changes: 3 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1413,6 +1413,7 @@ declare class Scp extends Network {
rejectUnauthorized?: boolean;
minVersion?: string;
maxVersion?: string;
ciphers?: string;
SNICallback?:
| ((servername: string, cb: (err: Error | null, ctx?: SecureContext) => void) => void)
| undefined;
Expand Down Expand Up @@ -1527,6 +1528,7 @@ declare class Server extends AsyncEventEmitter<AsyncEventEmitter.EventMap> {
rejectUnauthorized?: boolean;
minVersion?: string;
maxVersion?: string;
ciphers?: string;
SNICallback?:
| ((servername: string, cb: (err: Error | null, ctx?: SecureContext) => void) => void)
| undefined;
Expand Down Expand Up @@ -1602,6 +1604,7 @@ declare class Client extends AsyncEventEmitter<AsyncEventEmitter.EventMap> {
rejectUnauthorized?: boolean;
minVersion?: string;
maxVersion?: string;
ciphers?: string;
};
}
): void;
Expand Down
1 change: 1 addition & 0 deletions index.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,7 @@ class TestScp extends Scp {
rejectUnauthorized?: boolean;
minVersion?: string;
maxVersion?: string;
ciphers?: string;
SNICallback?:
| ((servername: string, cb: (err: Error | null, ctx?: SecureContext) => void) => void)
| undefined;
Expand Down
168 changes: 87 additions & 81 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dcmjs-dimse",
"version": "0.1.21",
"version": "0.1.22",
"description": "DICOM DIMSE implementation for Node.js using dcmjs",
"main": "build/dcmjs-dimse.min.js",
"module": "build/dcmjs-dimse.min.js",
Expand Down Expand Up @@ -50,12 +50,12 @@
"winston": "^3.10.0"
},
"devDependencies": {
"@types/async-eventemitter": "^0.2.1",
"@types/node": "^20.5.9",
"@types/async-eventemitter": "^0.2.2",
"@types/node": "^20.8.0",
"c8": "^8.0.1",
"chai": "^4.3.8",
"chai": "^4.3.10",
"docdash": "^2.0.2",
"eslint": "^8.48.0",
"eslint": "^8.50.0",
"jsdoc": "^4.0.2",
"mocha": "^10.2.0",
"mock-fs": "^5.2.0",
Expand Down
Loading

0 comments on commit 781d4cd

Please sign in to comment.