Skip to content

Commit

Permalink
5.0.1
Browse files Browse the repository at this point in the history
TypeScript is having issues with the node: protocol
  • Loading branch information
szmarczak committed Aug 20, 2021
1 parent b8dabf9 commit 62f6b38
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@szmarczak/http-timer",
"version": "5.0.0",
"version": "5.0.1",
"description": "Timings for HTTP requests",
"type": "module",
"exports": "./dist/source/index.js",
Expand Down Expand Up @@ -66,7 +66,8 @@
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-call": "off"
"@typescript-eslint/no-unsafe-call": "off",
"unicorn/prefer-node-protocol": "off"
}
},
"ava": {
Expand Down
10 changes: 5 additions & 5 deletions source/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {errorMonitor} from 'node:events';
import {types} from 'node:util';
import type {EventEmitter} from 'node:events';
import type {Socket} from 'node:net';
import type {ClientRequest, IncomingMessage} from 'node:http';
import {errorMonitor} from 'events';
import {types} from 'util';
import type {EventEmitter} from 'events';
import type {Socket} from 'net';
import type {ClientRequest, IncomingMessage} from 'http';
import deferToConnect from 'defer-to-connect';

export interface Timings {
Expand Down

0 comments on commit 62f6b38

Please sign in to comment.