Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add node-fetch#321

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
joshmgross merged 5 commits intoactions:mainfromdanmichaelo:node-fetch
Jan 26, 2023
Merged

Add node-fetch#321

joshmgross merged 5 commits intoactions:mainfromdanmichaelo:node-fetch
Jan 26, 2023

Conversation

danmichaelo
Copy link
Contributor

@danmichaelodanmichaelo commentedJan 6, 2023
edited
Loading

Fixes#305

Installed node-fetch 2.6.7, which is the same version used by@octokit/request:

npm ls node-fetchgithub-script@6.3.3├─┬ @octokit/core@3.6.0│ └─┬ @octokit/request@5.6.3│   └── node-fetch@2.6.7 deduped└── node-fetch@2.6.7

The bundle size only increased from 772,787 to 772,991 bytes, so seems like re-use works well.

If we installed node-fetch 3 instead, the bundle size would increase to 1,045,047 bytes. Most likely the difference would hardly be noticeable, but on the other hand there aren't that many important improvements in node-fetch 3 as far as I'm aware, so perhaps it's still better to use node-fetch 2 to save 270 kB?

Of course, once Node18 is available from GitHub, node-fetch is no longer needed, but seems like that may take some time.

(Updated ncc because I had a build problem with node-fetch 3)

@danmichaelodanmichaelo requested a review froma teamJanuary 6, 2023 23:55
@joshmgrossjoshmgross self-assigned thisJan 10, 2023
@joshmgross
Copy link
Member

Looks like thecheck-dist check is failing. Could you try re-runningnpm run build?

@joshmgross
Copy link
Member

Looks like thecheck-dist check is failing

Actually that's failing onmain too, I'll investigate 🤔
https://github.com/actions/github-script/actions/runs/4011143550

@joshmgross
Copy link
Member

Thanks for your contribution! I'll go ahead and release a new version with this

@joshmgrossjoshmgross merged commitbcc3891 intoactions:mainJan 26, 2023
@joshmgrossjoshmgross mentioned this pull requestJan 26, 2023
@joshmgross
Copy link
Member

This is now available inhttps://github.com/actions/github-script/releases/tag/v6.4.0

I'll updatev6 tomorrow once I've validated that there are no unexpected issues.

fuxingloh referenced this pull request in DeFiCh/jellyfishsdkJan 31, 2023
[![MendRenovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)This PR contains the following updates:| Package | Type | Update | Change ||---|---|---|---|| [actions/github-script](https://togithub.com/actions/github-script) |action | minor | `v6.3.3` -> `v6.4.0` |---### Release Notes<details><summary>actions/github-script</summary>###[`v6.4.0`](https://togithub.com/actions/github-script/releases/tag/v6.4.0)[CompareSource](https://togithub.com/actions/github-script/compare/v6.3.3...v6.4.0)##### What's Changed- Bump json5 from 2.1.3 to 2.2.3 by[@&#8203;dependabot](https://togithub.com/dependabot) in[https://github.com/actions/github-script/pull/319](https://togithub.com/actions/github-script/pull/319)- Bump minimatch from 3.0.4 to 3.1.2 by[@&#8203;dependabot](https://togithub.com/dependabot) in[https://github.com/actions/github-script/pull/320](https://togithub.com/actions/github-script/pull/320)- Add node-fetch by[@&#8203;danmichaelo](https://togithub.com/danmichaelo) in[https://github.com/actions/github-script/pull/321](https://togithub.com/actions/github-script/pull/321)##### New Contributors- [@&#8203;jongwooo](https://togithub.com/jongwooo) made their firstcontribution in[https://github.com/actions/github-script/pull/313](https://togithub.com/actions/github-script/pull/313)- [@&#8203;austinvazquez](https://togithub.com/austinvazquez) made theirfirst contribution in[https://github.com/actions/github-script/pull/306](https://togithub.com/actions/github-script/pull/306)- [@&#8203;danmichaelo](https://togithub.com/danmichaelo) made theirfirst contribution in[https://github.com/actions/github-script/pull/321](https://togithub.com/actions/github-script/pull/321)**Full Changelog**:actions/github-script@v6.3.3...v6.4.0</details>---### Configuration📅 **Schedule**: Branch creation - At any time (no schedule defined),Automerge - At any time (no schedule defined).🚦 **Automerge**: Disabled by config. Please merge this manually once youare satisfied.♻ **Rebasing**: Whenever PR becomes conflicted, or you tick therebase/retry checkbox.🔕 **Ignore**: Close this PR and you won't be reminded about this updateagain.---- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, checkthis box---This PR has been generated by [MendRenovate](https://www.mend.io/free-developer-tools/renovate/). Viewrepository job log[here](https://app.renovatebot.com/dashboard#github/JellyfishSDK/jellyfish).<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTEuMSIsInVwZGF0ZWRJblZlciI6IjM0LjExMS4xIn0=-->Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@joshmgrossjoshmgrossjoshmgross approved these changes

Assignees

@joshmgrossjoshmgross

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Addfetch parameter
2 participants
@danmichaelo@joshmgross

[8]ページ先頭

©2009-2025 Movatter.jp