Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4df0084

Browse filesBrowse files
aduh95targos
authored andcommitted
tls: add trailing commas in source files
PR-URL: #46715 Reviewed-By: Debadree Chatterjee <debadree333@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
1 parent 1756830 commit 4df0084
Copy full SHA for 4df0084

File tree

Expand file treeCollapse file tree

4 files changed

+9
-8
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

4 files changed

+9
-8
lines changed
Open diff view settings
Collapse file

‎lib/.eslintrc.yaml‎

Copy file name to clipboardExpand all lines: lib/.eslintrc.yaml
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ overrides:
299299
- ./internal/structured_clone.js
300300
- ./internal/test/*.js
301301
- ./internal/test_runner/**/*.js
302-
- ./internal/tls/secure-context.js
302+
- ./internal/tls/*.js
303303
- ./internal/util/parse_args/*.js
304304
- ./internal/v8_prof_processor.js
305305
- ./internal/vm.js
@@ -313,6 +313,7 @@ overrides:
313313
- ./stream/*.js
314314
- ./sys.js
315315
- ./test.js
316+
- ./tls.js
316317
- ./url.js
317318
- ./util/*.js
318319
rules:
Collapse file

‎lib/_tls_wrap.js‎

Copy file name to clipboardExpand all lines: lib/_tls_wrap.js
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const {
7979
ERR_TLS_REQUIRED_SERVER_NAME,
8080
ERR_TLS_SESSION_ATTACK,
8181
ERR_TLS_SNI_FROM_SERVER,
82-
ERR_TLS_INVALID_STATE
82+
ERR_TLS_INVALID_STATE,
8383
} = codes;
8484
const { onpskexchange: kOnPskExchange } = internalBinding('symbols');
8585
const {
@@ -97,7 +97,7 @@ const {
9797
validateUint32,
9898
} = require('internal/validators');
9999
const {
100-
InternalX509Certificate
100+
InternalX509Certificate,
101101
} = require('internal/crypto/x509');
102102
const traceTls = getOptionValue('--trace-tls');
103103
const tlsKeylog = getOptionValue('--tls-keylog');
@@ -653,7 +653,7 @@ function defineHandleReading(socket, handle) {
653653
},
654654
set: (value) => {
655655
socket[kRes].reading = value;
656-
}
656+
},
657657
});
658658
}
659659

@@ -1379,7 +1379,7 @@ Server.prototype.setSecureContext = function(options) {
13791379

13801380
Server.prototype._getServerData = function() {
13811381
return {
1382-
ticketKeys: this.getTicketKeys().toString('hex')
1382+
ticketKeys: this.getTicketKeys().toString('hex'),
13831383
};
13841384
};
13851385

@@ -1615,7 +1615,7 @@ exports.connect = function connect(...args) {
16151615
ciphers: tls.DEFAULT_CIPHERS,
16161616
checkServerIdentity: tls.checkServerIdentity,
16171617
minDHSize: 1024,
1618-
...options
1618+
...options,
16191619
};
16201620

16211621
if (!options.keepAlive)
Collapse file

‎lib/internal/tls/secure-pair.js‎

Copy file name to clipboardExpand all lines: lib/internal/tls/secure-pair.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class SecurePair extends EventEmitter {
7171
isServer,
7272
requestCert,
7373
rejectUnauthorized,
74-
...options
74+
...options,
7575
});
7676
this.cleartext.once('secure', () => this.emit('secure'));
7777
}
Collapse file

‎lib/tls.js‎

Copy file name to clipboardExpand all lines: lib/tls.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const {
4949
const {
5050
ERR_TLS_CERT_ALTNAME_FORMAT,
5151
ERR_TLS_CERT_ALTNAME_INVALID,
52-
ERR_OUT_OF_RANGE
52+
ERR_OUT_OF_RANGE,
5353
} = require('internal/errors').codes;
5454
const internalUtil = require('internal/util');
5555
internalUtil.assertCrypto();

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.