Skip to content

Commit

Permalink
Works without esModuleInterop too. Fixes #38
Browse files Browse the repository at this point in the history
  • Loading branch information
dex4er committed Oct 16, 2020
1 parent 762453a commit 4758b44
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog

## v5.0.1 2020-10-16

- Library works without enabled `"esModuleInterop"` options. Fixes #38.

## v5.0.0 2020-10-16

- `recv` returns `undefined` when socket is closed.
Expand All @@ -13,7 +17,7 @@
- Requires Node >= 10.
- Uses eslint instead of tslint.

## v3.0.2 2019-10-08
## v3.0.3 2019-10-08

- Use `mocha-steps` and `cross-env` for testing.

Expand Down
2 changes: 1 addition & 1 deletion src/dgram-as-promised.ts
@@ -1,6 +1,6 @@
/// <reference types="node" />

import dgram from "dgram"
import * as dgram from "dgram"
import type {RemoteInfo, SocketType} from "dgram"
import {SocketAsPromised} from "./socket-as-promised"
import type {SocketAsPromisedOptions} from "./socket-as-promised"
Expand Down
2 changes: 1 addition & 1 deletion src/socket-as-promised.ts
@@ -1,6 +1,6 @@
/// <reference types="node" />

import dgram from "dgram"
import * as dgram from "dgram"
import type {BindOptions, RemoteInfo, Socket, SocketOptions} from "dgram"
import type {AddressInfo} from "net"

Expand Down

0 comments on commit 4758b44

Please sign in to comment.