Skip to content

Commit

Permalink
[optimize] use ArrayBuffer as fallback Response Data type
Browse files Browse the repository at this point in the history
[optimize] upgrade Node.js & Upstream packages
[fix] replace David-DM.org with Libraries.io for Dependency Badge
  • Loading branch information
TechQuery committed Aug 15, 2023
1 parent 8db3865 commit 8a8b3cc
Show file tree
Hide file tree
Showing 5 changed files with 1,883 additions and 1,609 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
with:
version: 7
version: 8
- uses: actions/setup-node@v3
with:
node-version: 14
node-version: 18
registry-url: https://registry.npmjs.org
cache: pnpm
- name: Install Dependencies
run: pnpm i --frozen-lockfile

- name: Build & Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Update document
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**HTTP Client** based on [Koa-like middlewares][1]

[![NPM Dependency](https://david-dm.org/EasyWebApp/KoAJAX.svg)][2]
[![NPM Dependency](https://img.shields.io/librariesio/github/EasyWebApp/KoAJAX.svg)][2]
[![CI & CD](https://github.com/EasyWebApp/KoAJAX/actions/workflows/main.yml/badge.svg)][3]
[![](https://data.jsdelivr.com/v1/package/npm/koajax/badge?style=rounded)][4]

Expand Down Expand Up @@ -152,7 +152,7 @@ document.querySelector('input[type="file"]').onchange = async ({
```

[1]: https://github.com/koajs/koa#middleware
[2]: https://david-dm.org/EasyWebApp/KoAJAX
[2]: https://libraries.io/npm/koajax
[3]: https://github.com/EasyWebApp/KoAJAX/actions/workflows/main.yml
[4]: https://www.jsdelivr.com/package/npm/koajax
[5]: https://nodei.co/npm/koajax/
Expand Down
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "koajax",
"version": "0.8.4",
"version": "0.8.6",
"license": "LGPL-3.0",
"author": "[email protected]",
"description": "HTTP Client based on Koa-like middlewares",
Expand All @@ -26,34 +26,34 @@
"module": "dist/index.esm.js",
"dependencies": {
"@swc/helpers": "^0.4.14",
"iterable-observer": "^1.0.0-rc.1",
"iterable-observer": "^1.0.0",
"regenerator-runtime": "^0.13.11",
"web-utility": "^4.0.0"
"web-utility": "^4.1.0"
},
"peerDependencies": {
"jsdom": "^21.0.0"
"jsdom": ">=21"
},
"devDependencies": {
"@parcel/packager-ts": "~2.6.2",
"@parcel/transformer-typescript-types": "~2.6.2",
"@parcel/packager-ts": "~2.8.3",
"@parcel/transformer-typescript-types": "~2.8.3",
"@types/core-js": "^2.5.5",
"@types/jest": "^29.5.0",
"@types/jest": "^29.5.3",
"@types/jsdom": "^21.1.1",
"@types/node": "^16.18.23",
"core-js": "^3.30.1",
"@types/node": "^18.17.5",
"core-js": "^3.32.0",
"cross-env": "^7.0.3",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jsdom": "^21.1.1",
"lint-staged": "^13.2.1",
"jest": "^29.6.2",
"jest-environment-jsdom": "^29.6.2",
"jsdom": "^22.1.0",
"lint-staged": "^14.0.0",
"open-cli": "^7.2.0",
"parcel": "~2.6.2",
"prettier": "^2.8.7",
"ts-jest": "^29.1.0",
"typedoc": "^0.24.4",
"parcel": "~2.8.3",
"prettier": "^3.0.1",
"ts-jest": "^29.1.1",
"typedoc": "^0.24.8",
"typedoc-plugin-mdn-links": "^3.0.3",
"typescript": "~4.7.4"
"typescript": "~5.1.6"
},
"prettier": {
"singleQuote": true,
Expand Down
Loading

0 comments on commit 8a8b3cc

Please sign in to comment.