```
@types/node ^20.11.17 → ^20.11.24 @types/semver ^7.5.6 → ^7.5.8 @typescript-eslint/eslint-plugin ^6.21.0 → ^7.1.0 @typescript-eslint/parser ^6.21.0 → ^7.1.0 eslint ^8.56.0 → ^8.57.0 eslint-plugin-github ^4.10.1 → ^4.10.2 eslint-plugin-jest ^27.6.3 → ^27.9.0 https-proxy-agent ^7.0.2 → ^7.0.4 ```
This commit is contained in:
+81
-13
@@ -7501,7 +7501,7 @@ __export(dist_src_exports, {
|
|||||||
module.exports = __toCommonJS(dist_src_exports);
|
module.exports = __toCommonJS(dist_src_exports);
|
||||||
|
|
||||||
// pkg/dist-src/version.js
|
// pkg/dist-src/version.js
|
||||||
var VERSION = "9.1.5";
|
var VERSION = "9.2.1";
|
||||||
|
|
||||||
// pkg/dist-src/normalize-paginated-list-response.js
|
// pkg/dist-src/normalize-paginated-list-response.js
|
||||||
function normalizePaginatedListResponse(response) {
|
function normalizePaginatedListResponse(response) {
|
||||||
@@ -7662,6 +7662,8 @@ var paginatingEndpoints = [
|
|||||||
"GET /orgs/{org}/members/{username}/codespaces",
|
"GET /orgs/{org}/members/{username}/codespaces",
|
||||||
"GET /orgs/{org}/migrations",
|
"GET /orgs/{org}/migrations",
|
||||||
"GET /orgs/{org}/migrations/{migration_id}/repositories",
|
"GET /orgs/{org}/migrations/{migration_id}/repositories",
|
||||||
|
"GET /orgs/{org}/organization-roles/{role_id}/teams",
|
||||||
|
"GET /orgs/{org}/organization-roles/{role_id}/users",
|
||||||
"GET /orgs/{org}/outside_collaborators",
|
"GET /orgs/{org}/outside_collaborators",
|
||||||
"GET /orgs/{org}/packages",
|
"GET /orgs/{org}/packages",
|
||||||
"GET /orgs/{org}/packages/{package_type}/{package_name}/versions",
|
"GET /orgs/{org}/packages/{package_type}/{package_name}/versions",
|
||||||
@@ -7897,7 +7899,7 @@ __export(dist_src_exports, {
|
|||||||
module.exports = __toCommonJS(dist_src_exports);
|
module.exports = __toCommonJS(dist_src_exports);
|
||||||
|
|
||||||
// pkg/dist-src/version.js
|
// pkg/dist-src/version.js
|
||||||
var VERSION = "4.0.0";
|
var VERSION = "4.0.1";
|
||||||
|
|
||||||
// pkg/dist-src/index.js
|
// pkg/dist-src/index.js
|
||||||
function requestLog(octokit) {
|
function requestLog(octokit) {
|
||||||
@@ -7958,7 +7960,7 @@ __export(dist_src_exports, {
|
|||||||
module.exports = __toCommonJS(dist_src_exports);
|
module.exports = __toCommonJS(dist_src_exports);
|
||||||
|
|
||||||
// pkg/dist-src/version.js
|
// pkg/dist-src/version.js
|
||||||
var VERSION = "10.2.0";
|
var VERSION = "10.4.1";
|
||||||
|
|
||||||
// pkg/dist-src/generated/endpoints.js
|
// pkg/dist-src/generated/endpoints.js
|
||||||
var Endpoints = {
|
var Endpoints = {
|
||||||
@@ -8085,6 +8087,9 @@ var Endpoints = {
|
|||||||
"GET /repos/{owner}/{repo}/actions/permissions/selected-actions"
|
"GET /repos/{owner}/{repo}/actions/permissions/selected-actions"
|
||||||
],
|
],
|
||||||
getArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],
|
getArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],
|
||||||
|
getCustomOidcSubClaimForRepo: [
|
||||||
|
"GET /repos/{owner}/{repo}/actions/oidc/customization/sub"
|
||||||
|
],
|
||||||
getEnvironmentPublicKey: [
|
getEnvironmentPublicKey: [
|
||||||
"GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"
|
"GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"
|
||||||
],
|
],
|
||||||
@@ -8237,6 +8242,9 @@ var Endpoints = {
|
|||||||
setCustomLabelsForSelfHostedRunnerForRepo: [
|
setCustomLabelsForSelfHostedRunnerForRepo: [
|
||||||
"PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"
|
"PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"
|
||||||
],
|
],
|
||||||
|
setCustomOidcSubClaimForRepo: [
|
||||||
|
"PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"
|
||||||
|
],
|
||||||
setGithubActionsDefaultWorkflowPermissionsOrganization: [
|
setGithubActionsDefaultWorkflowPermissionsOrganization: [
|
||||||
"PUT /orgs/{org}/actions/permissions/workflow"
|
"PUT /orgs/{org}/actions/permissions/workflow"
|
||||||
],
|
],
|
||||||
@@ -8306,6 +8314,7 @@ var Endpoints = {
|
|||||||
listWatchersForRepo: ["GET /repos/{owner}/{repo}/subscribers"],
|
listWatchersForRepo: ["GET /repos/{owner}/{repo}/subscribers"],
|
||||||
markNotificationsAsRead: ["PUT /notifications"],
|
markNotificationsAsRead: ["PUT /notifications"],
|
||||||
markRepoNotificationsAsRead: ["PUT /repos/{owner}/{repo}/notifications"],
|
markRepoNotificationsAsRead: ["PUT /repos/{owner}/{repo}/notifications"],
|
||||||
|
markThreadAsDone: ["DELETE /notifications/threads/{thread_id}"],
|
||||||
markThreadAsRead: ["PATCH /notifications/threads/{thread_id}"],
|
markThreadAsRead: ["PATCH /notifications/threads/{thread_id}"],
|
||||||
setRepoSubscription: ["PUT /repos/{owner}/{repo}/subscription"],
|
setRepoSubscription: ["PUT /repos/{owner}/{repo}/subscription"],
|
||||||
setThreadSubscription: [
|
setThreadSubscription: [
|
||||||
@@ -8582,10 +8591,10 @@ var Endpoints = {
|
|||||||
updateForAuthenticatedUser: ["PATCH /user/codespaces/{codespace_name}"]
|
updateForAuthenticatedUser: ["PATCH /user/codespaces/{codespace_name}"]
|
||||||
},
|
},
|
||||||
copilot: {
|
copilot: {
|
||||||
addCopilotForBusinessSeatsForTeams: [
|
addCopilotSeatsForTeams: [
|
||||||
"POST /orgs/{org}/copilot/billing/selected_teams"
|
"POST /orgs/{org}/copilot/billing/selected_teams"
|
||||||
],
|
],
|
||||||
addCopilotForBusinessSeatsForUsers: [
|
addCopilotSeatsForUsers: [
|
||||||
"POST /orgs/{org}/copilot/billing/selected_users"
|
"POST /orgs/{org}/copilot/billing/selected_users"
|
||||||
],
|
],
|
||||||
cancelCopilotSeatAssignmentForTeams: [
|
cancelCopilotSeatAssignmentForTeams: [
|
||||||
@@ -8898,10 +8907,24 @@ var Endpoints = {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
oidc: {
|
||||||
|
getOidcCustomSubTemplateForOrg: [
|
||||||
|
"GET /orgs/{org}/actions/oidc/customization/sub"
|
||||||
|
],
|
||||||
|
updateOidcCustomSubTemplateForOrg: [
|
||||||
|
"PUT /orgs/{org}/actions/oidc/customization/sub"
|
||||||
|
]
|
||||||
|
},
|
||||||
orgs: {
|
orgs: {
|
||||||
addSecurityManagerTeam: [
|
addSecurityManagerTeam: [
|
||||||
"PUT /orgs/{org}/security-managers/teams/{team_slug}"
|
"PUT /orgs/{org}/security-managers/teams/{team_slug}"
|
||||||
],
|
],
|
||||||
|
assignTeamToOrgRole: [
|
||||||
|
"PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"
|
||||||
|
],
|
||||||
|
assignUserToOrgRole: [
|
||||||
|
"PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"
|
||||||
|
],
|
||||||
blockUser: ["PUT /orgs/{org}/blocks/{username}"],
|
blockUser: ["PUT /orgs/{org}/blocks/{username}"],
|
||||||
cancelInvitation: ["DELETE /orgs/{org}/invitations/{invitation_id}"],
|
cancelInvitation: ["DELETE /orgs/{org}/invitations/{invitation_id}"],
|
||||||
checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"],
|
checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"],
|
||||||
@@ -8910,6 +8933,7 @@ var Endpoints = {
|
|||||||
convertMemberToOutsideCollaborator: [
|
convertMemberToOutsideCollaborator: [
|
||||||
"PUT /orgs/{org}/outside_collaborators/{username}"
|
"PUT /orgs/{org}/outside_collaborators/{username}"
|
||||||
],
|
],
|
||||||
|
createCustomOrganizationRole: ["POST /orgs/{org}/organization-roles"],
|
||||||
createInvitation: ["POST /orgs/{org}/invitations"],
|
createInvitation: ["POST /orgs/{org}/invitations"],
|
||||||
createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"],
|
createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"],
|
||||||
createOrUpdateCustomPropertiesValuesForRepos: [
|
createOrUpdateCustomPropertiesValuesForRepos: [
|
||||||
@@ -8920,6 +8944,9 @@ var Endpoints = {
|
|||||||
],
|
],
|
||||||
createWebhook: ["POST /orgs/{org}/hooks"],
|
createWebhook: ["POST /orgs/{org}/hooks"],
|
||||||
delete: ["DELETE /orgs/{org}"],
|
delete: ["DELETE /orgs/{org}"],
|
||||||
|
deleteCustomOrganizationRole: [
|
||||||
|
"DELETE /orgs/{org}/organization-roles/{role_id}"
|
||||||
|
],
|
||||||
deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"],
|
deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"],
|
||||||
enableOrDisableSecurityProductOnAllOrgRepos: [
|
enableOrDisableSecurityProductOnAllOrgRepos: [
|
||||||
"POST /orgs/{org}/{security_product}/{enablement}"
|
"POST /orgs/{org}/{security_product}/{enablement}"
|
||||||
@@ -8931,6 +8958,7 @@ var Endpoints = {
|
|||||||
],
|
],
|
||||||
getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"],
|
getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"],
|
||||||
getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"],
|
getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"],
|
||||||
|
getOrgRole: ["GET /orgs/{org}/organization-roles/{role_id}"],
|
||||||
getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"],
|
getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"],
|
||||||
getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"],
|
getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"],
|
||||||
getWebhookDelivery: [
|
getWebhookDelivery: [
|
||||||
@@ -8946,6 +8974,12 @@ var Endpoints = {
|
|||||||
listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"],
|
listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"],
|
||||||
listMembers: ["GET /orgs/{org}/members"],
|
listMembers: ["GET /orgs/{org}/members"],
|
||||||
listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"],
|
listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"],
|
||||||
|
listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"],
|
||||||
|
listOrgRoleUsers: ["GET /orgs/{org}/organization-roles/{role_id}/users"],
|
||||||
|
listOrgRoles: ["GET /orgs/{org}/organization-roles"],
|
||||||
|
listOrganizationFineGrainedPermissions: [
|
||||||
|
"GET /orgs/{org}/organization-fine-grained-permissions"
|
||||||
|
],
|
||||||
listOutsideCollaborators: ["GET /orgs/{org}/outside_collaborators"],
|
listOutsideCollaborators: ["GET /orgs/{org}/outside_collaborators"],
|
||||||
listPatGrantRepositories: [
|
listPatGrantRepositories: [
|
||||||
"GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"
|
"GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"
|
||||||
@@ -8960,6 +8994,9 @@ var Endpoints = {
|
|||||||
listSecurityManagerTeams: ["GET /orgs/{org}/security-managers"],
|
listSecurityManagerTeams: ["GET /orgs/{org}/security-managers"],
|
||||||
listWebhookDeliveries: ["GET /orgs/{org}/hooks/{hook_id}/deliveries"],
|
listWebhookDeliveries: ["GET /orgs/{org}/hooks/{hook_id}/deliveries"],
|
||||||
listWebhooks: ["GET /orgs/{org}/hooks"],
|
listWebhooks: ["GET /orgs/{org}/hooks"],
|
||||||
|
patchCustomOrganizationRole: [
|
||||||
|
"PATCH /orgs/{org}/organization-roles/{role_id}"
|
||||||
|
],
|
||||||
pingWebhook: ["POST /orgs/{org}/hooks/{hook_id}/pings"],
|
pingWebhook: ["POST /orgs/{org}/hooks/{hook_id}/pings"],
|
||||||
redeliverWebhookDelivery: [
|
redeliverWebhookDelivery: [
|
||||||
"POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"
|
"POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"
|
||||||
@@ -8984,6 +9021,18 @@ var Endpoints = {
|
|||||||
reviewPatGrantRequestsInBulk: [
|
reviewPatGrantRequestsInBulk: [
|
||||||
"POST /orgs/{org}/personal-access-token-requests"
|
"POST /orgs/{org}/personal-access-token-requests"
|
||||||
],
|
],
|
||||||
|
revokeAllOrgRolesTeam: [
|
||||||
|
"DELETE /orgs/{org}/organization-roles/teams/{team_slug}"
|
||||||
|
],
|
||||||
|
revokeAllOrgRolesUser: [
|
||||||
|
"DELETE /orgs/{org}/organization-roles/users/{username}"
|
||||||
|
],
|
||||||
|
revokeOrgRoleTeam: [
|
||||||
|
"DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"
|
||||||
|
],
|
||||||
|
revokeOrgRoleUser: [
|
||||||
|
"DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"
|
||||||
|
],
|
||||||
setMembershipForUser: ["PUT /orgs/{org}/memberships/{username}"],
|
setMembershipForUser: ["PUT /orgs/{org}/memberships/{username}"],
|
||||||
setPublicMembershipForAuthenticatedUser: [
|
setPublicMembershipForAuthenticatedUser: [
|
||||||
"PUT /orgs/{org}/public_members/{username}"
|
"PUT /orgs/{org}/public_members/{username}"
|
||||||
@@ -9274,6 +9323,9 @@ var Endpoints = {
|
|||||||
{},
|
{},
|
||||||
{ mapToData: "users" }
|
{ mapToData: "users" }
|
||||||
],
|
],
|
||||||
|
cancelPagesDeployment: [
|
||||||
|
"POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"
|
||||||
|
],
|
||||||
checkAutomatedSecurityFixes: [
|
checkAutomatedSecurityFixes: [
|
||||||
"GET /repos/{owner}/{repo}/automated-security-fixes"
|
"GET /repos/{owner}/{repo}/automated-security-fixes"
|
||||||
],
|
],
|
||||||
@@ -9309,12 +9361,15 @@ var Endpoints = {
|
|||||||
createForAuthenticatedUser: ["POST /user/repos"],
|
createForAuthenticatedUser: ["POST /user/repos"],
|
||||||
createFork: ["POST /repos/{owner}/{repo}/forks"],
|
createFork: ["POST /repos/{owner}/{repo}/forks"],
|
||||||
createInOrg: ["POST /orgs/{org}/repos"],
|
createInOrg: ["POST /orgs/{org}/repos"],
|
||||||
|
createOrUpdateCustomPropertiesValues: [
|
||||||
|
"PATCH /repos/{owner}/{repo}/properties/values"
|
||||||
|
],
|
||||||
createOrUpdateEnvironment: [
|
createOrUpdateEnvironment: [
|
||||||
"PUT /repos/{owner}/{repo}/environments/{environment_name}"
|
"PUT /repos/{owner}/{repo}/environments/{environment_name}"
|
||||||
],
|
],
|
||||||
createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"],
|
createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"],
|
||||||
createOrgRuleset: ["POST /orgs/{org}/rulesets"],
|
createOrgRuleset: ["POST /orgs/{org}/rulesets"],
|
||||||
createPagesDeployment: ["POST /repos/{owner}/{repo}/pages/deployment"],
|
createPagesDeployment: ["POST /repos/{owner}/{repo}/pages/deployments"],
|
||||||
createPagesSite: ["POST /repos/{owner}/{repo}/pages"],
|
createPagesSite: ["POST /repos/{owner}/{repo}/pages"],
|
||||||
createRelease: ["POST /repos/{owner}/{repo}/releases"],
|
createRelease: ["POST /repos/{owner}/{repo}/releases"],
|
||||||
createRepoRuleset: ["POST /repos/{owner}/{repo}/rulesets"],
|
createRepoRuleset: ["POST /repos/{owner}/{repo}/rulesets"],
|
||||||
@@ -9467,6 +9522,9 @@ var Endpoints = {
|
|||||||
getOrgRulesets: ["GET /orgs/{org}/rulesets"],
|
getOrgRulesets: ["GET /orgs/{org}/rulesets"],
|
||||||
getPages: ["GET /repos/{owner}/{repo}/pages"],
|
getPages: ["GET /repos/{owner}/{repo}/pages"],
|
||||||
getPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],
|
getPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],
|
||||||
|
getPagesDeployment: [
|
||||||
|
"GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"
|
||||||
|
],
|
||||||
getPagesHealthCheck: ["GET /repos/{owner}/{repo}/pages/health"],
|
getPagesHealthCheck: ["GET /repos/{owner}/{repo}/pages/health"],
|
||||||
getParticipationStats: ["GET /repos/{owner}/{repo}/stats/participation"],
|
getParticipationStats: ["GET /repos/{owner}/{repo}/stats/participation"],
|
||||||
getPullRequestReviewProtection: [
|
getPullRequestReviewProtection: [
|
||||||
@@ -9677,6 +9735,9 @@ var Endpoints = {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
securityAdvisories: {
|
securityAdvisories: {
|
||||||
|
createFork: [
|
||||||
|
"POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"
|
||||||
|
],
|
||||||
createPrivateVulnerabilityReport: [
|
createPrivateVulnerabilityReport: [
|
||||||
"POST /repos/{owner}/{repo}/security-advisories/reports"
|
"POST /repos/{owner}/{repo}/security-advisories/reports"
|
||||||
],
|
],
|
||||||
@@ -17323,6 +17384,7 @@ const tls = __importStar(__nccwpck_require__(4404));
|
|||||||
const assert_1 = __importDefault(__nccwpck_require__(9491));
|
const assert_1 = __importDefault(__nccwpck_require__(9491));
|
||||||
const debug_1 = __importDefault(__nccwpck_require__(8237));
|
const debug_1 = __importDefault(__nccwpck_require__(8237));
|
||||||
const agent_base_1 = __nccwpck_require__(694);
|
const agent_base_1 = __nccwpck_require__(694);
|
||||||
|
const url_1 = __nccwpck_require__(7310);
|
||||||
const parse_proxy_response_1 = __nccwpck_require__(595);
|
const parse_proxy_response_1 = __nccwpck_require__(595);
|
||||||
const debug = (0, debug_1.default)('https-proxy-agent');
|
const debug = (0, debug_1.default)('https-proxy-agent');
|
||||||
/**
|
/**
|
||||||
@@ -17341,7 +17403,7 @@ class HttpsProxyAgent extends agent_base_1.Agent {
|
|||||||
constructor(proxy, opts) {
|
constructor(proxy, opts) {
|
||||||
super(opts);
|
super(opts);
|
||||||
this.options = { path: undefined };
|
this.options = { path: undefined };
|
||||||
this.proxy = typeof proxy === 'string' ? new URL(proxy) : proxy;
|
this.proxy = typeof proxy === 'string' ? new url_1.URL(proxy) : proxy;
|
||||||
this.proxyHeaders = opts?.headers ?? {};
|
this.proxyHeaders = opts?.headers ?? {};
|
||||||
debug('Creating new HttpsProxyAgent instance: %o', this.proxy.href);
|
debug('Creating new HttpsProxyAgent instance: %o', this.proxy.href);
|
||||||
// Trim off the brackets from IPv6 addresses
|
// Trim off the brackets from IPv6 addresses
|
||||||
@@ -17375,7 +17437,7 @@ class HttpsProxyAgent extends agent_base_1.Agent {
|
|||||||
const servername = this.connectOpts.servername || this.connectOpts.host;
|
const servername = this.connectOpts.servername || this.connectOpts.host;
|
||||||
socket = tls.connect({
|
socket = tls.connect({
|
||||||
...this.connectOpts,
|
...this.connectOpts,
|
||||||
servername: servername && net.isIP(servername) ? undefined : servername
|
servername: servername && net.isIP(servername) ? undefined : servername,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -50186,7 +50248,7 @@ Dicer.prototype._write = function (data, encoding, cb) {
|
|||||||
if (this._headerFirst && this._isPreamble) {
|
if (this._headerFirst && this._isPreamble) {
|
||||||
if (!this._part) {
|
if (!this._part) {
|
||||||
this._part = new PartStream(this._partOpts)
|
this._part = new PartStream(this._partOpts)
|
||||||
if (this._events.preamble) { this.emit('preamble', this._part) } else { this._ignore() }
|
if (this.listenerCount('preamble') !== 0) { this.emit('preamble', this._part) } else { this._ignore() }
|
||||||
}
|
}
|
||||||
const r = this._hparser.push(data)
|
const r = this._hparser.push(data)
|
||||||
if (!this._inHeader && r !== undefined && r < data.length) { data = data.slice(r) } else { return cb() }
|
if (!this._inHeader && r !== undefined && r < data.length) { data = data.slice(r) } else { return cb() }
|
||||||
@@ -50243,7 +50305,7 @@ Dicer.prototype._oninfo = function (isMatch, data, start, end) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this._dashes === 2) {
|
if (this._dashes === 2) {
|
||||||
if ((start + i) < end && this._events.trailer) { this.emit('trailer', data.slice(start + i, end)) }
|
if ((start + i) < end && this.listenerCount('trailer') !== 0) { this.emit('trailer', data.slice(start + i, end)) }
|
||||||
this.reset()
|
this.reset()
|
||||||
this._finished = true
|
this._finished = true
|
||||||
// no more parts will be added
|
// no more parts will be added
|
||||||
@@ -50261,7 +50323,13 @@ Dicer.prototype._oninfo = function (isMatch, data, start, end) {
|
|||||||
this._part._read = function (n) {
|
this._part._read = function (n) {
|
||||||
self._unpause()
|
self._unpause()
|
||||||
}
|
}
|
||||||
if (this._isPreamble && this._events.preamble) { this.emit('preamble', this._part) } else if (this._isPreamble !== true && this._events.part) { this.emit('part', this._part) } else { this._ignore() }
|
if (this._isPreamble && this.listenerCount('preamble') !== 0) {
|
||||||
|
this.emit('preamble', this._part)
|
||||||
|
} else if (this._isPreamble !== true && this.listenerCount('part') !== 0) {
|
||||||
|
this.emit('part', this._part)
|
||||||
|
} else {
|
||||||
|
this._ignore()
|
||||||
|
}
|
||||||
if (!this._isPreamble) { this._inHeader = true }
|
if (!this._isPreamble) { this._inHeader = true }
|
||||||
}
|
}
|
||||||
if (data && start < end && !this._ignoreData) {
|
if (data && start < end && !this._ignoreData) {
|
||||||
@@ -50944,7 +51012,7 @@ function Multipart (boy, cfg) {
|
|||||||
|
|
||||||
++nfiles
|
++nfiles
|
||||||
|
|
||||||
if (!boy._events.file) {
|
if (boy.listenerCount('file') === 0) {
|
||||||
self.parser._ignore()
|
self.parser._ignore()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -51473,7 +51541,7 @@ const decoders = {
|
|||||||
if (textDecoders.has(this.toString())) {
|
if (textDecoders.has(this.toString())) {
|
||||||
try {
|
try {
|
||||||
return textDecoders.get(this).decode(data)
|
return textDecoders.get(this).decode(data)
|
||||||
} catch (e) { }
|
} catch {}
|
||||||
}
|
}
|
||||||
return typeof data === 'string'
|
return typeof data === 'string'
|
||||||
? data
|
? data
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
+22
@@ -593,6 +593,28 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|||||||
|
|
||||||
https-proxy-agent
|
https-proxy-agent
|
||||||
MIT
|
MIT
|
||||||
|
(The MIT License)
|
||||||
|
|
||||||
|
Copyright (c) 2013 Nathan Rajlich <nathan@tootallnate.net>
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
lru-cache
|
lru-cache
|
||||||
ISC
|
ISC
|
||||||
|
|||||||
Generated
+344
-298
File diff suppressed because it is too large
Load Diff
+8
-8
@@ -40,20 +40,20 @@
|
|||||||
"@actions/github": "^6.0.0",
|
"@actions/github": "^6.0.0",
|
||||||
"@octokit/rest": "^20.0.2",
|
"@octokit/rest": "^20.0.2",
|
||||||
"gitea-js": "^1.20.1",
|
"gitea-js": "^1.20.1",
|
||||||
"https-proxy-agent": "^7.0.2",
|
"https-proxy-agent": "^7.0.4",
|
||||||
"moment": "^2.30.1",
|
"moment": "^2.30.1",
|
||||||
"semver": "^7.6.0"
|
"semver": "^7.6.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^29.5.12",
|
"@types/jest": "^29.5.12",
|
||||||
"@types/node": "^20.11.17",
|
"@types/node": "^20.11.24",
|
||||||
"@types/semver": "^7.5.6",
|
"@types/semver": "^7.5.8",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
||||||
"@typescript-eslint/parser": "^6.21.0",
|
"@typescript-eslint/parser": "^7.1.0",
|
||||||
"@vercel/ncc": "^0.38.1",
|
"@vercel/ncc": "^0.38.1",
|
||||||
"eslint": "^8.56.0",
|
"eslint": "^8.57.0",
|
||||||
"eslint-plugin-github": "^4.10.1",
|
"eslint-plugin-github": "^4.10.2",
|
||||||
"eslint-plugin-jest": "^27.6.3",
|
"eslint-plugin-jest": "^27.9.0",
|
||||||
"eslint-plugin-prettier": "^5.1.3",
|
"eslint-plugin-prettier": "^5.1.3",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
"jest-circus": "^29.7.0",
|
"jest-circus": "^29.7.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user