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 #12

Merged
merged 22 commits into from Oct 5, 2023
Merged

feat: refactor with typescript #12

merged 22 commits into from Oct 5, 2023

Conversation

fengmk2
Copy link
Member

@fengmk2 fengmk2 commented Sep 15, 2023

BREAKING CHANGE: Drop Node.js < 16 support

Other BREAKING changes:

  • remove stsToken support
  • remove headerEncoding support
  • remove Bucket, Image Client support

eggjs/egg#5257

@fengmk2 fengmk2 added the enhancement New feature or request label Sep 15, 2023
@socket-security
Copy link

socket-security bot commented Sep 15, 2023

New, updated, and removed 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
@types/mime 3.0.2 None +0 3.57 kB types
git-contributor 2.1.5 shell, environment +17 3.18 MB xudafeng
@types/ms 0.7.32 None +0 3.63 kB types
@types/mocha 10.0.2 None +0 96.3 kB types
is-type-of 2.0.1 None +0 50.5 kB fengmk2
mime 3.0.0 None +0 60.1 kB broofa
tshy 1.2.2 filesystem, shell +22 3.78 MB isaacs
stream-wormhole 1.1.0...2.0.1 None +0/-0 14.8 kB fengmk2
xml2js 0.4.23...0.6.2 None +0/-0 3.44 MB leonidas
eslint-config-egg 12.3.1...13.0.0 None +9/-13 4.67 MB fengmk2

🚮 Removed packages: dateformat@2.2.0, humanize-ms@1.2.1, jstoxml@2.2.9, merge-descriptors@1.0.1, mm@3.3.0, sdk-base@3.6.0, sinon@1.17.7, tsd@0.28.1

@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Merging #12 (e7d3fc9) into master (8380b87) will increase coverage by 29.06%.
Report is 1 commits behind head on master.
The diff coverage is 94.45%.

❗ Current head e7d3fc9 differs from pull request most recent head b158f6e. Consider uploading reports for the commit b158f6e to get more accurate results

@@             Coverage Diff             @@
##           master      #12       +/-   ##
===========================================
+ Coverage   65.33%   94.40%   +29.06%     
===========================================
  Files          94       17       -77     
  Lines        5675     1860     -3815     
  Branches      656      280      -376     
===========================================
- Hits         3708     1756     -1952     
+ Misses       1967      104     -1863     
Files Coverage Δ
src/error/OSSClientError.ts 100.00% <100.00%> (ø)
src/error/index.ts 100.00% <100.00%> (ø)
src/index.ts 100.00% <100.00%> (ø)
src/type/Object.ts 100.00% <100.00%> (ø)
src/type/Request.ts 100.00% <100.00%> (ø)
src/type/index.ts 100.00% <100.00%> (ø)
src/util/date.ts 100.00% <100.00%> (ø)
src/util/index.ts 100.00% <100.00%> (ø)
src/util/isIP.ts 100.00% <100.00%> (ø)
src/util/json2xml.ts 100.00% <100.00%> (ø)
... and 7 more

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

@fengmk2 fengmk2 marked this pull request as ready for review October 5, 2023 14:34
@fengmk2 fengmk2 merged commit 5a0eb01 into master Oct 5, 2023
3 of 4 checks passed
@fengmk2 fengmk2 deleted the ts-refactor branch October 5, 2023 16:07
fengmk2 pushed a commit that referenced this pull request Oct 5, 2023
[skip ci]

## [2.0.0](v1.2.6...v2.0.0) (2023-10-05)

### ⚠ BREAKING CHANGES

* Drop Node.js < 16 support

Other BREAKING changes:
- remove stsToken support
- remove headerEncoding support
- remove Bucket, Image Client support

eggjs/egg#5257

### Features

* refactor with typescript ([#12](#12)) ([5a0eb01](5a0eb01))
@fengmk2
Copy link
Member Author

fengmk2 commented Oct 5, 2023

cnpm/oss-cnpm#29

fengmk2 added a commit to cnpm/cnpmcore that referenced this pull request Oct 5, 2023
fengmk2 added a commit to cnpm/cnpmcore that referenced this pull request Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant