github-actions-releaser
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -526,2 +526,5 @@ @actions/core | ||
tr46 | ||
MIT | ||
tunnel | ||
@@ -563,2 +566,56 @@ MIT | ||
uuid | ||
MIT | ||
The MIT License (MIT) | ||
Copyright (c) 2010-2020 Robert Kieffer and other 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. | ||
webidl-conversions | ||
BSD-2-Clause | ||
# The BSD 2-Clause License | ||
Copyright (c) 2014, Domenic Denicola | ||
All rights reserved. | ||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | ||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | ||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. | ||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
whatwg-url | ||
MIT | ||
The MIT License (MIT) | ||
Copyright (c) 2015–2016 Sebastian Mayr | ||
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. | ||
wrappy | ||
@@ -565,0 +622,0 @@ ISC |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
@@ -17,3 +17,8 @@ "use strict"; | ||
exports.classifyIssue = classifyIssue; | ||
const extractLabels = (labels) => labels.map(({ name = '' }) => name.toLowerCase()); | ||
const extractLabels = (labels) => labels.map(label => { | ||
if (typeof label === 'string') { | ||
return label.toLowerCase(); | ||
} | ||
return (label.name || '').toLowerCase(); | ||
}); | ||
const getIssueTypeFromLabels = (issue) => { | ||
@@ -20,0 +25,0 @@ const labels = extractLabels(issue.labels || []); |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
{ | ||
"name": "github-actions-releaser", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "This action generate a release notes from closed issues", | ||
@@ -32,22 +32,26 @@ "keywords": [ | ||
"dependencies": { | ||
"@actions/core": "1.6.0", | ||
"@actions/github": "5.0.0" | ||
"@actions/core": "1.9.1", | ||
"@actions/github": "5.0.3" | ||
}, | ||
"devDependencies": { | ||
"@cowcoders/eslint-config": "1.2.11", | ||
"@cowcoders/eslint-config": "1.5.5", | ||
"@octokit/rest": "18.12.0", | ||
"@types/jest": "27.0.2", | ||
"@types/jest": "29.0.0", | ||
"@types/node": "16.11.4", | ||
"@typescript-eslint/eslint-plugin": "5.1.0", | ||
"@typescript-eslint/parser": "5.1.0", | ||
"@typescript-eslint/eslint-plugin": "5.36.2", | ||
"@typescript-eslint/parser": "5.36.2", | ||
"@vercel/ncc": "0.31.1", | ||
"eslint": "8.1.0", | ||
"eslint-plugin-jest": "25.2.2", | ||
"jest": "27.3.1", | ||
"jest-circus": "27.3.1", | ||
"eslint": "8.23.0", | ||
"eslint-plugin-jest": "27.0.3", | ||
"jest": "29.0.2", | ||
"jest-circus": "29.0.2", | ||
"js-yaml": "4.1.0", | ||
"shx": "0.3.3", | ||
"ts-jest": "27.0.7", | ||
"typescript": "4.4.4" | ||
"shx": "0.3.4", | ||
"ts-jest": "29.0.0", | ||
"typescript": "4.8.3" | ||
}, | ||
"engines": { | ||
"node": "=16.17.0", | ||
"npm": "8.15.0" | ||
} | ||
} |
@@ -5,17 +5,4 @@ <div align="center"> | ||
<p>This action to generate a new release notes based on the closed issues after the current.</p> | ||
<p>This action generates release notes based on the closed issues.</p> | ||
--- | ||
<!-- START doctoc generated TOC please keep comment here to allow auto update --> | ||
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> | ||
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)* | ||
- [Inputs](#inputs) | ||
- [Example usage](#example-usage) | ||
- [With custom tag name](#with-custom-tag-name) | ||
- [Example projects](#example-projects) | ||
<!-- END doctoc generated TOC please keep comment here to allow auto update --> | ||
# Inputs | ||
@@ -22,0 +9,0 @@ |
@@ -18,4 +18,8 @@ import { BUG_LABELS, BUG_TITLE_STARTS, DOCS_TITLE_STARTS, FEATURE_LABELS, FEATURE_TITLE_STARTS, GitHubIssue, GitHubIssueLabel, GitHubPullRequest, IssueType, TEST_TITLE_STARTS, TOOLS_TITLE_STARTS } from './models'; | ||
const extractLabels = (labels: GitHubIssueLabel[]): string[] => | ||
labels.map(({ name = '' }) => | ||
name.toLowerCase()); | ||
labels.map(label => { | ||
if (typeof label === 'string') { | ||
return label.toLowerCase(); | ||
} | ||
return (label.name || '').toLowerCase(); | ||
}); | ||
@@ -22,0 +26,0 @@ const getIssueTypeFromLabels = (issue: GitHubIssue | GitHubPullRequest): IssueType | undefined => { |
@@ -45,3 +45,3 @@ export const BUG_LABELS: string[] = | ||
export interface GitHubIssueLabel { | ||
export type GitHubIssueLabel = string | { | ||
name?: string; | ||
@@ -73,3 +73,3 @@ description?: string | null; | ||
user: GitHubUser | null; | ||
labels: GitHubIssueLabel[] | null; | ||
labels: GitHubIssueLabel[]; | ||
// assignee: any; | ||
@@ -76,0 +76,0 @@ // assignees: any[]; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
1129467
10539
58
44
+ Added@actions/core@1.9.1(transitive)
+ Added@actions/github@5.0.3(transitive)
+ Added@actions/http-client@2.2.3(transitive)
+ Added@fastify/busboy@2.1.1(transitive)
+ Addedundici@5.28.4(transitive)
+ Addeduuid@8.3.2(transitive)
- Removed@actions/core@1.6.0(transitive)
- Removed@actions/github@5.0.0(transitive)
- Removed@actions/http-client@1.0.11(transitive)
Updated@actions/core@1.9.1
Updated@actions/github@5.0.3