Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: refactor with typescript to support cjs and esm both #37

Merged
merged 7 commits into from
Sep 22, 2023

Conversation

fengmk2
Copy link
Member

@fengmk2 fengmk2 commented Sep 22, 2023

BREAKING CHANGE: Drop Node.js < 16 support

  • rename interface() to getInterfaceAddress()

BREAKING CHANGE: Drop Node.js < 16 support

- rename `interface()` to `getInterfaceAddress()`
@socket-security
Copy link

New and updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
tshy-after 1.0.0 None +0 5.02 kB fengmk2
tshy 1.1.1 filesystem, environment +10 41.3 MB isaacs
egg-bin 6.5.2 network, environment +193 62.2 MB fengmk2
typescript 5.2.2 None +0 40.6 MB typescript-bot
git-contributor 1.1.0...2.1.5 network +24/-45 2.82 MB xudafeng
@types/node 14.18.62...20.6.3 None +0/-0 3.86 MB types
eslint-config-egg 12.3.1...13.0.0 None +11/-14 45.3 MB fengmk2

@codecov
Copy link

codecov bot commented Sep 22, 2023

Codecov Report

Merging #37 (7b25e76) into master (573eef9) will decrease coverage by 0.48%.
The diff coverage is 96.48%.

@@            Coverage Diff             @@
##           master      #37      +/-   ##
==========================================
- Coverage   96.95%   96.48%   -0.48%     
==========================================
  Files           1        3       +2     
  Lines         263      313      +50     
  Branches       72       93      +21     
==========================================
+ Hits          255      302      +47     
- Misses          8       11       +3     
Files Changed Coverage Δ
src/address.ts 96.02% <96.02%> (ø)
src/index.ts 100.00% <100.00%> (ø)
src/promises.ts 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@fengmk2 fengmk2 merged commit 8981f21 into master Sep 22, 2023
8 of 10 checks passed
@fengmk2 fengmk2 deleted the ts-refactor branch September 22, 2023 12:56
fengmk2 pushed a commit that referenced this pull request Sep 22, 2023
[skip ci]

## [2.0.0](v1.2.2...v2.0.0) (2023-09-22)

### ⚠ BREAKING CHANGES

* Drop Node.js < 16 support

- rename `interface()` to `getInterfaceAddress()`

### Features

* refactor with typescript to support cjs and esm both ([#37](#37)) ([8981f21](8981f21))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant