GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tls: add trailing commas in source files · nodejs/node@6ff9027

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • lib
    • .eslintrc.yaml
    • _tls_wrap.js
    • internal/tls
      • secure-pair.js
    • tls.js
Expand file treeCollapse file tree
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
@@ -287,7 +287,7 @@ overrides:
287287
- ./internal/structured_clone.js
288288
- ./internal/test/*.js
289289
- ./internal/test_runner/**/*.js
290-
- ./internal/tls/secure-context.js
290+
- ./internal/tls/*.js
291291
- ./internal/util/parse_args/*.js
292292
- ./internal/v8_prof_processor.js
293293
- ./internal/vm.js
@@ -301,6 +301,7 @@ overrides:
301301
- ./stream/*.js
302302
- ./sys.js
303303
- ./test.js
304+
- ./tls.js
304305
- ./url.js
305306
- ./util/*.js
306307
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)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.