mirror of
https://code.forgejo.org/actions/checkout.git
synced 2024-11-24 03:21:22 +01:00
40a16ebeed
* Improve checkout performance on Windows runners by upgrading @actions/github dependency Re: https://github.com/actions/checkout/issues/1186 @dscho discovered that the checkout action could stall for a considerable amount of time on Windows runners waiting for PowerShell invocations made from 'windows-release' npm package to complete. Then I studied the dependency chain to figure out where 'windows-release' was imported: '@actions/checkout'@main <- '@actions/github'@2.2.0 <- '@octokit/endpoint'@6.0.1 <- '@octokit/graphql'@4.3.1 <- '@octokit/request'@5.4.2 <- '@octokit/rest'@16.43.1 <- 'universal-user-agent'@4.0.1 <- 'os-name'@3.1.0 <- 'windows-release'@3.1.0 'universal-user-agent' package dropped its dependency on 'os-name' in https://github.com/gr2m/universal-user-agent/releases/tag/v6.0.0 . '@actions/github' v3 removed dependency on '@octokit/rest'@16.43.1 and allows users to move away from the old 'universal-user-agent' v4. (https://github.com/actions/toolkit/pull/453) This pull request attempts to update the version of '@actions/github' used in the checkout action to avoid importing 'windows-release'. Based on testing in my own repositories, I can see an improvement in reduced wait time between entering the checkout action and git actually starts to do useful work. * Update .licenses * Rebuild index.js
56 lines
2.7 KiB
YAML
Generated
56 lines
2.7 KiB
YAML
Generated
---
|
|
name: node-fetch
|
|
version: 2.6.9
|
|
type: npm
|
|
summary: A light-weight module that brings window.fetch to node.js
|
|
homepage: https://github.com/bitinn/node-fetch
|
|
license: mit
|
|
licenses:
|
|
- sources: LICENSE.md
|
|
text: |+
|
|
The MIT License (MIT)
|
|
|
|
Copyright (c) 2016 David Frank
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|
|
|
|
- sources: README.md
|
|
text: |-
|
|
MIT
|
|
|
|
[npm-image]: https://flat.badgen.net/npm/v/node-fetch
|
|
[npm-url]: https://www.npmjs.com/package/node-fetch
|
|
[travis-image]: https://flat.badgen.net/travis/bitinn/node-fetch
|
|
[travis-url]: https://travis-ci.org/bitinn/node-fetch
|
|
[codecov-image]: https://flat.badgen.net/codecov/c/github/bitinn/node-fetch/master
|
|
[codecov-url]: https://codecov.io/gh/bitinn/node-fetch
|
|
[install-size-image]: https://flat.badgen.net/packagephobia/install/node-fetch
|
|
[install-size-url]: https://packagephobia.now.sh/result?p=node-fetch
|
|
[discord-image]: https://img.shields.io/discord/619915844268326952?color=%237289DA&label=Discord&style=flat-square
|
|
[discord-url]: https://discord.gg/Zxbndcm
|
|
[opencollective-image]: https://opencollective.com/node-fetch/backers.svg
|
|
[opencollective-url]: https://opencollective.com/node-fetch
|
|
[whatwg-fetch]: https://fetch.spec.whatwg.org/
|
|
[response-init]: https://fetch.spec.whatwg.org/#responseinit
|
|
[node-readable]: https://nodejs.org/api/stream.html#stream_readable_streams
|
|
[mdn-headers]: https://developer.mozilla.org/en-US/docs/Web/API/Headers
|
|
[LIMITS.md]: https://github.com/bitinn/node-fetch/blob/master/LIMITS.md
|
|
[ERROR-HANDLING.md]: https://github.com/bitinn/node-fetch/blob/master/ERROR-HANDLING.md
|
|
[UPGRADE-GUIDE.md]: https://github.com/bitinn/node-fetch/blob/master/UPGRADE-GUIDE.md
|
|
notices: []
|