Skip to content

Commit aaebfa4

Browse files
committedSep 30, 2023
Prettier
1 parent 5923589 commit aaebfa4

File tree

4 files changed

+17
-5
lines changed

4 files changed

+17
-5
lines changed
 

‎.eslintrc.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ module.exports = {
2020
'no-restricted-globals': [
2121
'error',
2222
// https://github.com/TooTallNate/proxy-agents/pull/242
23-
{ name: 'URL', message: 'Use `URL` from the Node.js "url" module instead.' },
23+
{
24+
name: 'URL',
25+
message:
26+
'Use `URL` from the Node.js "url" module instead.',
27+
},
2428
],
2529
},
2630
},

‎packages/degenerator/test/test.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ import fs from 'fs';
22
import path from 'path';
33
import assert from 'assert';
44
import { degenerator, compile } from '../src';
5-
import { getQuickJS, type QuickJSWASMModule } from '@tootallnate/quickjs-emscripten';
5+
import {
6+
getQuickJS,
7+
type QuickJSWASMModule,
8+
} from '@tootallnate/quickjs-emscripten';
69

710
describe('degenerator()', () => {
811
it('should support "async" output functions', () => {

‎packages/https-proxy-agent/src/index.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,12 @@ export class HttpsProxyAgent<Uri extends string> extends Agent {
9191
let socket: net.Socket;
9292
if (proxy.protocol === 'https:') {
9393
debug('Creating `tls.Socket`: %o', this.connectOpts);
94-
const servername = this.connectOpts.servername || this.connectOpts.host;
94+
const servername =
95+
this.connectOpts.servername || this.connectOpts.host;
9596
socket = tls.connect({
9697
...this.connectOpts,
97-
servername: servername && net.isIP(servername) ? undefined : servername
98+
servername:
99+
servername && net.isIP(servername) ? undefined : servername,
98100
});
99101
} else {
100102
debug('Creating `net.Socket`: %o', this.connectOpts);

‎packages/pac-resolver/test/test.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ import assert from 'assert';
22
import { resolve } from 'path';
33
import { readFileSync } from 'fs';
44
import { createPacResolver } from '../src';
5-
import { getQuickJS, type QuickJSWASMModule } from '@tootallnate/quickjs-emscripten';
5+
import {
6+
getQuickJS,
7+
type QuickJSWASMModule,
8+
} from '@tootallnate/quickjs-emscripten';
69

710
type FindProxyForURLFn = ReturnType<typeof createPacResolver>;
811

0 commit comments

Comments
 (0)
Please sign in to comment.