mirror of
https://github.com/dkershner6/post-api-call-action.git
synced 2024-11-15 12:03:51 +08:00
chore: self mutation
Signed-off-by: github-actions <github-actions@github.com>
This commit is contained in:
parent
4ea1c384b2
commit
ef153fc18f
@ -1,5 +1,4 @@
|
|||||||
import { Node20GitHubActionTypescriptProject } from "dkershner6-projen-github-actions";
|
import { Node20GitHubActionTypescriptProject } from "dkershner6-projen-github-actions";
|
||||||
|
|
||||||
import { RunsUsing } from "projen-github-action-typescript";
|
import { RunsUsing } from "projen-github-action-typescript";
|
||||||
|
|
||||||
const MAJOR_VERSION = 2;
|
const MAJOR_VERSION = 2;
|
||||||
|
15
dist/index.js
generated
vendored
15
dist/index.js
generated
vendored
@ -11,7 +11,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
const core_1 = __nccwpck_require__(9093);
|
const core_1 = __nccwpck_require__(9093);
|
||||||
const axios_1 = __importDefault(__nccwpck_require__(2940));
|
const axios_1 = __importDefault(__nccwpck_require__(2153));
|
||||||
const parseJsonSafely_1 = __nccwpck_require__(7516);
|
const parseJsonSafely_1 = __nccwpck_require__(7516);
|
||||||
async function run() {
|
async function run() {
|
||||||
try {
|
try {
|
||||||
@ -30107,11 +30107,11 @@ module.exports = parseParams
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 2940:
|
/***/ 2153:
|
||||||
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
// Axios v1.6.3 Copyright (c) 2023 Matt Zabriskie and contributors
|
// Axios v1.6.5 Copyright (c) 2024 Matt Zabriskie and contributors
|
||||||
|
|
||||||
|
|
||||||
const FormData$1 = __nccwpck_require__(6698);
|
const FormData$1 = __nccwpck_require__(6698);
|
||||||
@ -31481,6 +31481,9 @@ function arrayToObject(arr) {
|
|||||||
function formDataToJSON(formData) {
|
function formDataToJSON(formData) {
|
||||||
function buildPath(path, value, target, index) {
|
function buildPath(path, value, target, index) {
|
||||||
let name = path[index++];
|
let name = path[index++];
|
||||||
|
|
||||||
|
if (name === '__proto__') return true;
|
||||||
|
|
||||||
const isNumericKey = Number.isFinite(+name);
|
const isNumericKey = Number.isFinite(+name);
|
||||||
const isLast = index >= path.length;
|
const isLast = index >= path.length;
|
||||||
name = !name && utils$1.isArray(target) ? target.length : name;
|
name = !name && utils$1.isArray(target) ? target.length : name;
|
||||||
@ -32132,7 +32135,7 @@ function buildFullPath(baseURL, requestedURL) {
|
|||||||
return requestedURL;
|
return requestedURL;
|
||||||
}
|
}
|
||||||
|
|
||||||
const VERSION = "1.6.3";
|
const VERSION = "1.6.5";
|
||||||
|
|
||||||
function parseProtocol(url) {
|
function parseProtocol(url) {
|
||||||
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
||||||
@ -32763,6 +32766,10 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|||||||
// hotfix to support opt.all option which is required for node 20.x
|
// hotfix to support opt.all option which is required for node 20.x
|
||||||
lookup = (hostname, opt, cb) => {
|
lookup = (hostname, opt, cb) => {
|
||||||
_lookup(hostname, opt, (err, arg0, arg1) => {
|
_lookup(hostname, opt, (err, arg0, arg1) => {
|
||||||
|
if (err) {
|
||||||
|
return cb(err);
|
||||||
|
}
|
||||||
|
|
||||||
const addresses = utils$1.isArray(arg0) ? arg0.map(addr => buildAddressEntry(addr)) : [buildAddressEntry(arg0, arg1)];
|
const addresses = utils$1.isArray(arg0) ? arg0.map(addr => buildAddressEntry(addr)) : [buildAddressEntry(arg0, arg1)];
|
||||||
|
|
||||||
opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family);
|
opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family);
|
||||||
|
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -29,7 +29,7 @@
|
|||||||
--light-color-ts-constructor-signature: var(--light-color-ts-constructor);
|
--light-color-ts-constructor-signature: var(--light-color-ts-constructor);
|
||||||
--light-color-ts-parameter: var(--light-color-ts-variable);
|
--light-color-ts-parameter: var(--light-color-ts-variable);
|
||||||
/* type literal not included as links will never be generated to it */
|
/* type literal not included as links will never be generated to it */
|
||||||
--light-color-ts-type-parameter: var(--light-color-ts-type-alias);
|
--light-color-ts-type-parameter: #a55c0e;
|
||||||
--light-color-ts-accessor: var(--light-color-ts-property);
|
--light-color-ts-accessor: var(--light-color-ts-property);
|
||||||
--light-color-ts-get-signature: var(--light-color-ts-accessor);
|
--light-color-ts-get-signature: var(--light-color-ts-accessor);
|
||||||
--light-color-ts-set-signature: var(--light-color-ts-accessor);
|
--light-color-ts-set-signature: var(--light-color-ts-accessor);
|
||||||
@ -69,7 +69,7 @@
|
|||||||
--dark-color-ts-constructor-signature: var(--dark-color-ts-constructor);
|
--dark-color-ts-constructor-signature: var(--dark-color-ts-constructor);
|
||||||
--dark-color-ts-parameter: var(--dark-color-ts-variable);
|
--dark-color-ts-parameter: var(--dark-color-ts-variable);
|
||||||
/* type literal not included as links will never be generated to it */
|
/* type literal not included as links will never be generated to it */
|
||||||
--dark-color-ts-type-parameter: var(--dark-color-ts-type-alias);
|
--dark-color-ts-type-parameter: #e07d13;
|
||||||
--dark-color-ts-accessor: var(--dark-color-ts-property);
|
--dark-color-ts-accessor: var(--dark-color-ts-property);
|
||||||
--dark-color-ts-get-signature: var(--dark-color-ts-accessor);
|
--dark-color-ts-get-signature: var(--dark-color-ts-accessor);
|
||||||
--dark-color-ts-set-signature: var(--dark-color-ts-accessor);
|
--dark-color-ts-set-signature: var(--dark-color-ts-accessor);
|
||||||
@ -266,12 +266,12 @@ h6 {
|
|||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 > a,
|
h1 > a:not(.link),
|
||||||
h2 > a,
|
h2 > a:not(.link),
|
||||||
h3 > a,
|
h3 > a:not(.link),
|
||||||
h4 > a,
|
h4 > a:not(.link),
|
||||||
h5 > a,
|
h5 > a:not(.link),
|
||||||
h6 > a {
|
h6 > a:not(.link) {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: var(--color-text);
|
color: var(--color-text);
|
||||||
}
|
}
|
||||||
@ -649,6 +649,28 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tsd-full-hierarchy:not(:last-child) {
|
||||||
|
margin-bottom: 1em;
|
||||||
|
padding-bottom: 1em;
|
||||||
|
border-bottom: 1px solid var(--color-accent);
|
||||||
|
}
|
||||||
|
.tsd-full-hierarchy,
|
||||||
|
.tsd-full-hierarchy ul {
|
||||||
|
list-style: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
.tsd-full-hierarchy ul {
|
||||||
|
padding-left: 1.5rem;
|
||||||
|
}
|
||||||
|
.tsd-full-hierarchy a {
|
||||||
|
padding: 0.25rem 0 !important;
|
||||||
|
font-size: 1rem;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
color: var(--color-text);
|
||||||
|
}
|
||||||
|
|
||||||
.tsd-panel-group.tsd-index-group {
|
.tsd-panel-group.tsd-index-group {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
@ -714,12 +736,15 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
|
|||||||
}
|
}
|
||||||
.tsd-navigation > a,
|
.tsd-navigation > a,
|
||||||
.tsd-navigation .tsd-accordion-summary {
|
.tsd-navigation .tsd-accordion-summary {
|
||||||
width: calc(100% - 0.5rem);
|
width: calc(100% - 0.25rem);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
.tsd-navigation a,
|
.tsd-navigation a,
|
||||||
.tsd-navigation summary > span,
|
.tsd-navigation summary > span,
|
||||||
.tsd-page-navigation a {
|
.tsd-page-navigation a {
|
||||||
display: inline-flex;
|
display: flex;
|
||||||
|
width: calc(100% - 0.25rem);
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0.25rem;
|
padding: 0.25rem;
|
||||||
color: var(--color-text);
|
color: var(--color-text);
|
||||||
@ -759,11 +784,6 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
|
|||||||
margin-left: -1.5rem;
|
margin-left: -1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tsd-nested-navigation > li > a,
|
|
||||||
.tsd-nested-navigation > li > span {
|
|
||||||
width: calc(100% - 1.75rem - 0.5rem);
|
|
||||||
}
|
|
||||||
|
|
||||||
.tsd-page-navigation ul {
|
.tsd-page-navigation ul {
|
||||||
padding-left: 1.75rem;
|
padding-left: 1.75rem;
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,5 +1,6 @@
|
|||||||
import { getInput, info, error, setFailed } from "@actions/core";
|
import { getInput, info, error, setFailed } from "@actions/core";
|
||||||
import axios, { AxiosHeaders } from "axios";
|
import axios, { AxiosHeaders } from "axios";
|
||||||
|
|
||||||
import { parseJsonSafely } from "./parseJsonSafely";
|
import { parseJsonSafely } from "./parseJsonSafely";
|
||||||
|
|
||||||
async function run(): Promise<void> {
|
async function run(): Promise<void> {
|
||||||
|
Loading…
Reference in New Issue
Block a user