From b5b320bc53f326696c67c86807b34813cc90b826 Mon Sep 17 00:00:00 2001 From: Sergey Dolin Date: Tue, 14 Feb 2023 09:15:13 +0100 Subject: [PATCH] fix licenses --- .github/workflows/basic-validation.yml | 2 -- .github/workflows/check-dist.yml | 2 -- .github/workflows/codeql-analysis.yml | 2 -- .github/workflows/licensed.yml | 2 -- .licenses/npm/@actions/github.dep.yml | 2 +- .../npm/@actions/http-client-1.0.11.dep.yml | 32 ----------------- ...ient-2.0.1.dep.yml => http-client.dep.yml} | 2 +- ...token.dep.yml => auth-token-2.5.0.dep.yml} | 2 +- .../npm/@octokit/auth-token-3.0.3.dep.yml | 34 ++++++++++++++++++ .../{core.dep.yml => core-3.6.0.dep.yml} | 2 +- .licenses/npm/@octokit/core-4.2.0.dep.yml | 34 ++++++++++++++++++ ...dpoint.dep.yml => endpoint-6.0.12.dep.yml} | 2 +- .licenses/npm/@octokit/endpoint-7.0.5.dep.yml | 34 ++++++++++++++++++ ...{graphql.dep.yml => graphql-4.8.0.dep.yml} | 2 +- .licenses/npm/@octokit/graphql-5.0.5.dep.yml | 34 ++++++++++++++++++ ....dep.yml => openapi-types-12.11.0.dep.yml} | 4 +-- .../npm/@octokit/openapi-types-16.0.0.dep.yml | 20 +++++++++++ .../npm/@octokit/plugin-paginate-rest.dep.yml | 4 +-- .../plugin-rest-endpoint-methods.dep.yml | 4 +-- .licenses/npm/@octokit/plugin-retry.dep.yml | 34 ++++++++++++++++++ ...{request.dep.yml => request-5.6.3.dep.yml} | 4 +-- .licenses/npm/@octokit/request-6.2.3.dep.yml | 35 +++++++++++++++++++ ...or.dep.yml => request-error-2.1.0.dep.yml} | 2 +- .../npm/@octokit/request-error-3.0.3.dep.yml | 34 ++++++++++++++++++ .../{types.dep.yml => types-6.41.0.dep.yml} | 4 +-- .licenses/npm/@octokit/types-9.0.0.dep.yml | 20 +++++++++++ .licenses/npm/before-after-hook.dep.yml | 4 +-- .licenses/npm/bottleneck.dep.yml | 31 ++++++++++++++++ .licenses/npm/node-fetch.dep.yml | 2 +- dist/index.js | 4 ++- package.json | 4 +-- src/classes/issues-processor.ts | 8 ++++- 32 files changed, 342 insertions(+), 64 deletions(-) delete mode 100644 .licenses/npm/@actions/http-client-1.0.11.dep.yml rename .licenses/npm/@actions/{http-client-2.0.1.dep.yml => http-client.dep.yml} (94%) rename .licenses/npm/@octokit/{auth-token.dep.yml => auth-token-2.5.0.dep.yml} (95%) create mode 100644 .licenses/npm/@octokit/auth-token-3.0.3.dep.yml rename .licenses/npm/@octokit/{core.dep.yml => core-3.6.0.dep.yml} (96%) create mode 100644 .licenses/npm/@octokit/core-4.2.0.dep.yml rename .licenses/npm/@octokit/{endpoint.dep.yml => endpoint-6.0.12.dep.yml} (96%) create mode 100644 .licenses/npm/@octokit/endpoint-7.0.5.dep.yml rename .licenses/npm/@octokit/{graphql.dep.yml => graphql-4.8.0.dep.yml} (96%) create mode 100644 .licenses/npm/@octokit/graphql-5.0.5.dep.yml rename .licenses/npm/@octokit/{openapi-types.dep.yml => openapi-types-12.11.0.dep.yml} (97%) create mode 100644 .licenses/npm/@octokit/openapi-types-16.0.0.dep.yml create mode 100644 .licenses/npm/@octokit/plugin-retry.dep.yml rename .licenses/npm/@octokit/{request.dep.yml => request-5.6.3.dep.yml} (90%) create mode 100644 .licenses/npm/@octokit/request-6.2.3.dep.yml rename .licenses/npm/@octokit/{request-error.dep.yml => request-error-2.1.0.dep.yml} (95%) create mode 100644 .licenses/npm/@octokit/request-error-3.0.3.dep.yml rename .licenses/npm/@octokit/{types.dep.yml => types-6.41.0.dep.yml} (95%) create mode 100644 .licenses/npm/@octokit/types-9.0.0.dep.yml create mode 100644 .licenses/npm/bottleneck.dep.yml diff --git a/.github/workflows/basic-validation.yml b/.github/workflows/basic-validation.yml index c4ae88fa..a4b1c0f2 100644 --- a/.github/workflows/basic-validation.yml +++ b/.github/workflows/basic-validation.yml @@ -15,5 +15,3 @@ jobs: call-basic-validation: name: Basic validation uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main - with: - node-version: v16 diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index ccc0c718..c9522913 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -15,5 +15,3 @@ jobs: call-check-dist: name: Check dist/ uses: actions/reusable-workflows/.github/workflows/check-dist.yml@main - with: - node-version: v16 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 60936849..e6bace64 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -12,5 +12,3 @@ jobs: call-codeQL-analysis: name: CodeQL analysis uses: actions/reusable-workflows/.github/workflows/codeql-analysis.yml@main - with: - node-version: v16 diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml index 9bdb9352..37f1560c 100644 --- a/.github/workflows/licensed.yml +++ b/.github/workflows/licensed.yml @@ -13,5 +13,3 @@ jobs: call-licensed: name: Licensed uses: actions/reusable-workflows/.github/workflows/licensed.yml@main - with: - node-version: v16 diff --git a/.licenses/npm/@actions/github.dep.yml b/.licenses/npm/@actions/github.dep.yml index ca2f2b98..6e8c6fce 100644 --- a/.licenses/npm/@actions/github.dep.yml +++ b/.licenses/npm/@actions/github.dep.yml @@ -1,6 +1,6 @@ --- name: "@actions/github" -version: 5.0.1 +version: 5.1.1 type: npm summary: Actions github lib homepage: https://github.com/actions/toolkit/tree/master/packages/github diff --git a/.licenses/npm/@actions/http-client-1.0.11.dep.yml b/.licenses/npm/@actions/http-client-1.0.11.dep.yml deleted file mode 100644 index 43316cbc..00000000 --- a/.licenses/npm/@actions/http-client-1.0.11.dep.yml +++ /dev/null @@ -1,32 +0,0 @@ ---- -name: "@actions/http-client" -version: 1.0.11 -type: npm -summary: Actions Http Client -homepage: https://github.com/actions/http-client#readme -license: mit -licenses: -- sources: LICENSE - text: | - Actions Http Client for Node.js - - Copyright (c) GitHub, Inc. - - All rights reserved. - - MIT License - - 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. -notices: [] diff --git a/.licenses/npm/@actions/http-client-2.0.1.dep.yml b/.licenses/npm/@actions/http-client.dep.yml similarity index 94% rename from .licenses/npm/@actions/http-client-2.0.1.dep.yml rename to .licenses/npm/@actions/http-client.dep.yml index 88e4e663..5c60ad35 100644 --- a/.licenses/npm/@actions/http-client-2.0.1.dep.yml +++ b/.licenses/npm/@actions/http-client.dep.yml @@ -3,7 +3,7 @@ name: "@actions/http-client" version: 2.0.1 type: npm summary: Actions Http Client -homepage: https://github.com/actions/http-client#readme +homepage: https://github.com/actions/toolkit/tree/main/packages/http-client license: mit licenses: - sources: LICENSE diff --git a/.licenses/npm/@octokit/auth-token.dep.yml b/.licenses/npm/@octokit/auth-token-2.5.0.dep.yml similarity index 95% rename from .licenses/npm/@octokit/auth-token.dep.yml rename to .licenses/npm/@octokit/auth-token-2.5.0.dep.yml index 8b32978b..b030d32a 100644 --- a/.licenses/npm/@octokit/auth-token.dep.yml +++ b/.licenses/npm/@octokit/auth-token-2.5.0.dep.yml @@ -3,7 +3,7 @@ name: "@octokit/auth-token" version: 2.5.0 type: npm summary: GitHub API token authentication for browsers and Node.js -homepage: https://github.com/octokit/auth-token.js#readme +homepage: license: mit licenses: - sources: LICENSE diff --git a/.licenses/npm/@octokit/auth-token-3.0.3.dep.yml b/.licenses/npm/@octokit/auth-token-3.0.3.dep.yml new file mode 100644 index 00000000..572bae66 --- /dev/null +++ b/.licenses/npm/@octokit/auth-token-3.0.3.dep.yml @@ -0,0 +1,34 @@ +--- +name: "@octokit/auth-token" +version: 3.0.3 +type: npm +summary: GitHub API token authentication for browsers and Node.js +homepage: +license: mit +licenses: +- sources: LICENSE + text: | + The MIT License + + Copyright (c) 2019 Octokit contributors + + 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](LICENSE)" +notices: [] diff --git a/.licenses/npm/@octokit/core.dep.yml b/.licenses/npm/@octokit/core-3.6.0.dep.yml similarity index 96% rename from .licenses/npm/@octokit/core.dep.yml rename to .licenses/npm/@octokit/core-3.6.0.dep.yml index 66c234f5..a29afc07 100644 --- a/.licenses/npm/@octokit/core.dep.yml +++ b/.licenses/npm/@octokit/core-3.6.0.dep.yml @@ -3,7 +3,7 @@ name: "@octokit/core" version: 3.6.0 type: npm summary: Extendable client for GitHub's REST & GraphQL APIs -homepage: https://github.com/octokit/core.js#readme +homepage: license: mit licenses: - sources: LICENSE diff --git a/.licenses/npm/@octokit/core-4.2.0.dep.yml b/.licenses/npm/@octokit/core-4.2.0.dep.yml new file mode 100644 index 00000000..7ee9bdc6 --- /dev/null +++ b/.licenses/npm/@octokit/core-4.2.0.dep.yml @@ -0,0 +1,34 @@ +--- +name: "@octokit/core" +version: 4.2.0 +type: npm +summary: Extendable client for GitHub's REST & GraphQL APIs +homepage: +license: mit +licenses: +- sources: LICENSE + text: | + The MIT License + + Copyright (c) 2019 Octokit contributors + + 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](LICENSE)" +notices: [] diff --git a/.licenses/npm/@octokit/endpoint.dep.yml b/.licenses/npm/@octokit/endpoint-6.0.12.dep.yml similarity index 96% rename from .licenses/npm/@octokit/endpoint.dep.yml rename to .licenses/npm/@octokit/endpoint-6.0.12.dep.yml index 6e408e8f..80510c03 100644 --- a/.licenses/npm/@octokit/endpoint.dep.yml +++ b/.licenses/npm/@octokit/endpoint-6.0.12.dep.yml @@ -3,7 +3,7 @@ name: "@octokit/endpoint" version: 6.0.12 type: npm summary: Turns REST API endpoints into generic request options -homepage: https://github.com/octokit/endpoint.js#readme +homepage: license: mit licenses: - sources: LICENSE diff --git a/.licenses/npm/@octokit/endpoint-7.0.5.dep.yml b/.licenses/npm/@octokit/endpoint-7.0.5.dep.yml new file mode 100644 index 00000000..513db41c --- /dev/null +++ b/.licenses/npm/@octokit/endpoint-7.0.5.dep.yml @@ -0,0 +1,34 @@ +--- +name: "@octokit/endpoint" +version: 7.0.5 +type: npm +summary: Turns REST API endpoints into generic request options +homepage: +license: mit +licenses: +- sources: LICENSE + text: | + The MIT License + + Copyright (c) 2018 Octokit contributors + + 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](LICENSE)" +notices: [] diff --git a/.licenses/npm/@octokit/graphql.dep.yml b/.licenses/npm/@octokit/graphql-4.8.0.dep.yml similarity index 96% rename from .licenses/npm/@octokit/graphql.dep.yml rename to .licenses/npm/@octokit/graphql-4.8.0.dep.yml index d1032a9d..8019f236 100644 --- a/.licenses/npm/@octokit/graphql.dep.yml +++ b/.licenses/npm/@octokit/graphql-4.8.0.dep.yml @@ -3,7 +3,7 @@ name: "@octokit/graphql" version: 4.8.0 type: npm summary: GitHub GraphQL API client for browsers and Node -homepage: https://github.com/octokit/graphql.js#readme +homepage: license: mit licenses: - sources: LICENSE diff --git a/.licenses/npm/@octokit/graphql-5.0.5.dep.yml b/.licenses/npm/@octokit/graphql-5.0.5.dep.yml new file mode 100644 index 00000000..e248e4b4 --- /dev/null +++ b/.licenses/npm/@octokit/graphql-5.0.5.dep.yml @@ -0,0 +1,34 @@ +--- +name: "@octokit/graphql" +version: 5.0.5 +type: npm +summary: GitHub GraphQL API client for browsers and Node +homepage: +license: mit +licenses: +- sources: LICENSE + text: | + The MIT License + + Copyright (c) 2018 Octokit contributors + + 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](LICENSE)" +notices: [] diff --git a/.licenses/npm/@octokit/openapi-types.dep.yml b/.licenses/npm/@octokit/openapi-types-12.11.0.dep.yml similarity index 97% rename from .licenses/npm/@octokit/openapi-types.dep.yml rename to .licenses/npm/@octokit/openapi-types-12.11.0.dep.yml index 65dc21a3..91531481 100644 --- a/.licenses/npm/@octokit/openapi-types.dep.yml +++ b/.licenses/npm/@octokit/openapi-types-12.11.0.dep.yml @@ -1,9 +1,9 @@ --- name: "@octokit/openapi-types" -version: 11.2.0 +version: 12.11.0 type: npm summary: Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com -homepage: +homepage: license: mit licenses: - sources: LICENSE diff --git a/.licenses/npm/@octokit/openapi-types-16.0.0.dep.yml b/.licenses/npm/@octokit/openapi-types-16.0.0.dep.yml new file mode 100644 index 00000000..6f02e72a --- /dev/null +++ b/.licenses/npm/@octokit/openapi-types-16.0.0.dep.yml @@ -0,0 +1,20 @@ +--- +name: "@octokit/openapi-types" +version: 16.0.0 +type: npm +summary: Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com +homepage: +license: mit +licenses: +- sources: LICENSE + text: |- + Copyright 2020 Gregor Martynus + + 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](LICENSE)" +notices: [] diff --git a/.licenses/npm/@octokit/plugin-paginate-rest.dep.yml b/.licenses/npm/@octokit/plugin-paginate-rest.dep.yml index 3978f582..b83e799f 100644 --- a/.licenses/npm/@octokit/plugin-paginate-rest.dep.yml +++ b/.licenses/npm/@octokit/plugin-paginate-rest.dep.yml @@ -1,9 +1,9 @@ --- name: "@octokit/plugin-paginate-rest" -version: 2.17.0 +version: 2.21.3 type: npm summary: Octokit plugin to paginate REST API endpoint responses -homepage: https://github.com/octokit/plugin-paginate-rest.js#readme +homepage: license: mit licenses: - sources: LICENSE diff --git a/.licenses/npm/@octokit/plugin-rest-endpoint-methods.dep.yml b/.licenses/npm/@octokit/plugin-rest-endpoint-methods.dep.yml index 3d45df2f..678227b4 100644 --- a/.licenses/npm/@octokit/plugin-rest-endpoint-methods.dep.yml +++ b/.licenses/npm/@octokit/plugin-rest-endpoint-methods.dep.yml @@ -1,9 +1,9 @@ --- name: "@octokit/plugin-rest-endpoint-methods" -version: 5.13.0 +version: 5.16.2 type: npm summary: Octokit plugin adding one method for all of api.github.com REST API endpoints -homepage: https://github.com/octokit/plugin-rest-endpoint-methods.js#readme +homepage: license: mit licenses: - sources: LICENSE diff --git a/.licenses/npm/@octokit/plugin-retry.dep.yml b/.licenses/npm/@octokit/plugin-retry.dep.yml new file mode 100644 index 00000000..4d493607 --- /dev/null +++ b/.licenses/npm/@octokit/plugin-retry.dep.yml @@ -0,0 +1,34 @@ +--- +name: "@octokit/plugin-retry" +version: 4.1.1 +type: npm +summary: Automatic retry plugin for octokit +homepage: +license: mit +licenses: +- sources: LICENSE + text: | + MIT License + + Copyright (c) 2018 Octokit contributors + + 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](LICENSE)" +notices: [] diff --git a/.licenses/npm/@octokit/request.dep.yml b/.licenses/npm/@octokit/request-5.6.3.dep.yml similarity index 90% rename from .licenses/npm/@octokit/request.dep.yml rename to .licenses/npm/@octokit/request-5.6.3.dep.yml index 51482f35..b1f86fdb 100644 --- a/.licenses/npm/@octokit/request.dep.yml +++ b/.licenses/npm/@octokit/request-5.6.3.dep.yml @@ -2,9 +2,9 @@ name: "@octokit/request" version: 5.6.3 type: npm -summary: Send parameterized requests to GitHub’s APIs with sensible defaults in browsers +summary: Send parameterized requests to GitHub's APIs with sensible defaults in browsers and Node -homepage: https://github.com/octokit/request.js#readme +homepage: license: mit licenses: - sources: LICENSE diff --git a/.licenses/npm/@octokit/request-6.2.3.dep.yml b/.licenses/npm/@octokit/request-6.2.3.dep.yml new file mode 100644 index 00000000..5bfdc875 --- /dev/null +++ b/.licenses/npm/@octokit/request-6.2.3.dep.yml @@ -0,0 +1,35 @@ +--- +name: "@octokit/request" +version: 6.2.3 +type: npm +summary: Send parameterized requests to GitHub's APIs with sensible defaults in browsers + and Node +homepage: +license: mit +licenses: +- sources: LICENSE + text: | + The MIT License + + Copyright (c) 2018 Octokit contributors + + 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](LICENSE)" +notices: [] diff --git a/.licenses/npm/@octokit/request-error.dep.yml b/.licenses/npm/@octokit/request-error-2.1.0.dep.yml similarity index 95% rename from .licenses/npm/@octokit/request-error.dep.yml rename to .licenses/npm/@octokit/request-error-2.1.0.dep.yml index c9389169..845bdd14 100644 --- a/.licenses/npm/@octokit/request-error.dep.yml +++ b/.licenses/npm/@octokit/request-error-2.1.0.dep.yml @@ -3,7 +3,7 @@ name: "@octokit/request-error" version: 2.1.0 type: npm summary: Error class for Octokit request errors -homepage: https://github.com/octokit/request-error.js#readme +homepage: license: mit licenses: - sources: LICENSE diff --git a/.licenses/npm/@octokit/request-error-3.0.3.dep.yml b/.licenses/npm/@octokit/request-error-3.0.3.dep.yml new file mode 100644 index 00000000..60c5ca59 --- /dev/null +++ b/.licenses/npm/@octokit/request-error-3.0.3.dep.yml @@ -0,0 +1,34 @@ +--- +name: "@octokit/request-error" +version: 3.0.3 +type: npm +summary: Error class for Octokit request errors +homepage: +license: mit +licenses: +- sources: LICENSE + text: | + The MIT License + + Copyright (c) 2019 Octokit contributors + + 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](LICENSE)" +notices: [] diff --git a/.licenses/npm/@octokit/types.dep.yml b/.licenses/npm/@octokit/types-6.41.0.dep.yml similarity index 95% rename from .licenses/npm/@octokit/types.dep.yml rename to .licenses/npm/@octokit/types-6.41.0.dep.yml index 7a8fb3bc..c5efe95e 100644 --- a/.licenses/npm/@octokit/types.dep.yml +++ b/.licenses/npm/@octokit/types-6.41.0.dep.yml @@ -1,9 +1,9 @@ --- name: "@octokit/types" -version: 6.34.0 +version: 6.41.0 type: npm summary: Shared TypeScript definitions for Octokit projects -homepage: https://github.com/octokit/types.ts#readme +homepage: license: mit licenses: - sources: LICENSE diff --git a/.licenses/npm/@octokit/types-9.0.0.dep.yml b/.licenses/npm/@octokit/types-9.0.0.dep.yml new file mode 100644 index 00000000..fb2757a4 --- /dev/null +++ b/.licenses/npm/@octokit/types-9.0.0.dep.yml @@ -0,0 +1,20 @@ +--- +name: "@octokit/types" +version: 9.0.0 +type: npm +summary: Shared TypeScript definitions for Octokit projects +homepage: +license: mit +licenses: +- sources: LICENSE + text: | + MIT License Copyright (c) 2019 Octokit contributors + + 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 (including the next paragraph) 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](LICENSE)" +notices: [] diff --git a/.licenses/npm/before-after-hook.dep.yml b/.licenses/npm/before-after-hook.dep.yml index cebe6fdf..a1c6b849 100644 --- a/.licenses/npm/before-after-hook.dep.yml +++ b/.licenses/npm/before-after-hook.dep.yml @@ -1,9 +1,9 @@ --- name: before-after-hook -version: 2.2.2 +version: 2.2.3 type: npm summary: asynchronous before/error/after hooks for internal functionality -homepage: https://github.com/gr2m/before-after-hook#readme +homepage: license: apache-2.0 licenses: - sources: LICENSE diff --git a/.licenses/npm/bottleneck.dep.yml b/.licenses/npm/bottleneck.dep.yml new file mode 100644 index 00000000..af9f462b --- /dev/null +++ b/.licenses/npm/bottleneck.dep.yml @@ -0,0 +1,31 @@ +--- +name: bottleneck +version: 2.19.5 +type: npm +summary: Distributed task scheduler and rate limiter +homepage: +license: mit +licenses: +- sources: LICENSE + text: | + The MIT License (MIT) + + Copyright (c) 2014 Simon Grondin + + 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. +notices: [] diff --git a/.licenses/npm/node-fetch.dep.yml b/.licenses/npm/node-fetch.dep.yml index b49a78a1..7720c722 100644 --- a/.licenses/npm/node-fetch.dep.yml +++ b/.licenses/npm/node-fetch.dep.yml @@ -1,6 +1,6 @@ --- name: node-fetch -version: 2.6.7 +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 diff --git a/dist/index.js b/dist/index.js index 928c9c2e..c4129cb9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -671,7 +671,9 @@ class IssuesProcessor { return issueResult.data.map((issue) => new issue_1.Issue(this.options, issue)); } catch (error) { - throw Error(`Get issues for repo error: ${error.message}`); + const rethrow = Error(`Getting issues was blocked by the error: ${error.message}`); + rethrow.stack = `${error.stack.split('\n').slice(0, 2).join('\n')}\n${error.stack}`; + throw error; } }); } diff --git a/package.json b/package.json index 6508558d..70ab6537 100644 --- a/package.json +++ b/package.json @@ -31,8 +31,8 @@ "stale" ], "engines": { - "node": "v16", - "npm": "v8" + "node": "16", + "npm": "8" }, "author": "GitHub", "license": "MIT", diff --git a/src/classes/issues-processor.ts b/src/classes/issues-processor.ts index c86657f6..db885f69 100644 --- a/src/classes/issues-processor.ts +++ b/src/classes/issues-processor.ts @@ -557,7 +557,13 @@ export class IssuesProcessor { (issue: Readonly): Issue => new Issue(this.options, issue) ); } catch (error) { - throw Error(`Get issues for repo error: ${error.message}`); + const rethrow = Error( + `Getting issues was blocked by the error: ${error.message}` + ); + rethrow.stack = `${error.stack.split('\n').slice(0, 2).join('\n')}\n${ + error.stack + }`; + throw error; } }