Skip to content

Commit

Permalink
update repository with upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone committed May 28, 2023
1 parent d7a54a3 commit c540c4a
Show file tree
Hide file tree
Showing 75 changed files with 819 additions and 699 deletions.
1 change: 0 additions & 1 deletion benchmark/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {URL} from 'node:url';
import https from 'node:https';
/// import axios from 'axios';
import Benchmark from 'benchmark';
Expand Down
16 changes: 7 additions & 9 deletions benchmark/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ import https from 'node:https';
// @ts-expect-error No types
import createCert from 'create-cert';

(async () => {
const keys = await createCert({days: 365, commonName: 'localhost'});
const keys = await createCert({days: 365, commonName: 'localhost'});

const server = https.createServer(keys, (_request, response) => {
response.end('ok');
}).listen(8080, () => {
const {port} = server.address() as AddressInfo;
console.log(`Listening at https://localhost:${port}`);
});
})();
const server = https.createServer(keys, (_request, response) => {
response.end('ok');
}).listen(8080, () => {
const {port} = server.address() as AddressInfo;
console.log(`Listening at https://localhost:${port}`);
});
21 changes: 11 additions & 10 deletions build/cjs/core/index.js

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

6 changes: 3 additions & 3 deletions build/cjs/core/index.js.map

Large diffs are not rendered by default.

24 changes: 13 additions & 11 deletions build/cjs/core/options.js

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

4 changes: 2 additions & 2 deletions build/cjs/core/options.js.map

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions build/cjs/core/timed-out.js

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

Loading

0 comments on commit c540c4a

Please sign in to comment.