mirror of
https://github.com/actions/add-to-project.git
synced 2025-12-10 20:21:17 +00:00
Update licensed cache and dist/ directory
This commit is contained in:
34
.licenses/npm/@octokit/request-error-5.1.1.dep.yml
generated
Normal file
34
.licenses/npm/@octokit/request-error-5.1.1.dep.yml
generated
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
---
|
||||||
|
name: "@octokit/request-error"
|
||||||
|
version: 5.1.1
|
||||||
|
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: []
|
||||||
34
.licenses/npm/@octokit/request-error-6.1.7.dep.yml
generated
Normal file
34
.licenses/npm/@octokit/request-error-6.1.7.dep.yml
generated
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
---
|
||||||
|
name: "@octokit/request-error"
|
||||||
|
version: 6.1.7
|
||||||
|
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: []
|
||||||
34
.licenses/npm/@octokit/request-error.dep.yml
generated
34
.licenses/npm/@octokit/request-error.dep.yml
generated
@@ -1,34 +0,0 @@
|
|||||||
---
|
|
||||||
name: '@octokit/request-error'
|
|
||||||
version: 5.1.1
|
|
||||||
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: []
|
|
||||||
198
dist/index.js
generated
vendored
198
dist/index.js
generated
vendored
@@ -5635,104 +5635,6 @@ legacyRestEndpointMethods.VERSION = VERSION;
|
|||||||
0 && (0);
|
0 && (0);
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 537:
|
|
||||||
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var __create = Object.create;
|
|
||||||
var __defProp = Object.defineProperty;
|
|
||||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
||||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
||||||
var __getProtoOf = Object.getPrototypeOf;
|
|
||||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
||||||
var __export = (target, all) => {
|
|
||||||
for (var name in all)
|
|
||||||
__defProp(target, name, { get: all[name], enumerable: true });
|
|
||||||
};
|
|
||||||
var __copyProps = (to, from, except, desc) => {
|
|
||||||
if (from && typeof from === "object" || typeof from === "function") {
|
|
||||||
for (let key of __getOwnPropNames(from))
|
|
||||||
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
||||||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
||||||
}
|
|
||||||
return to;
|
|
||||||
};
|
|
||||||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
||||||
// If the importer is in node compatibility mode or this is not an ESM
|
|
||||||
// file that has been converted to a CommonJS file using a Babel-
|
|
||||||
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
||||||
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
||||||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
||||||
mod
|
|
||||||
));
|
|
||||||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
||||||
|
|
||||||
// pkg/dist-src/index.js
|
|
||||||
var dist_src_exports = {};
|
|
||||||
__export(dist_src_exports, {
|
|
||||||
RequestError: () => RequestError
|
|
||||||
});
|
|
||||||
module.exports = __toCommonJS(dist_src_exports);
|
|
||||||
var import_deprecation = __nccwpck_require__(8932);
|
|
||||||
var import_once = __toESM(__nccwpck_require__(1223));
|
|
||||||
var logOnceCode = (0, import_once.default)((deprecation) => console.warn(deprecation));
|
|
||||||
var logOnceHeaders = (0, import_once.default)((deprecation) => console.warn(deprecation));
|
|
||||||
var RequestError = class extends Error {
|
|
||||||
constructor(message, statusCode, options) {
|
|
||||||
super(message);
|
|
||||||
if (Error.captureStackTrace) {
|
|
||||||
Error.captureStackTrace(this, this.constructor);
|
|
||||||
}
|
|
||||||
this.name = "HttpError";
|
|
||||||
this.status = statusCode;
|
|
||||||
let headers;
|
|
||||||
if ("headers" in options && typeof options.headers !== "undefined") {
|
|
||||||
headers = options.headers;
|
|
||||||
}
|
|
||||||
if ("response" in options) {
|
|
||||||
this.response = options.response;
|
|
||||||
headers = options.response.headers;
|
|
||||||
}
|
|
||||||
const requestCopy = Object.assign({}, options.request);
|
|
||||||
if (options.request.headers.authorization) {
|
|
||||||
requestCopy.headers = Object.assign({}, options.request.headers, {
|
|
||||||
authorization: options.request.headers.authorization.replace(
|
|
||||||
/(?<! ) .*$/,
|
|
||||||
" [REDACTED]"
|
|
||||||
)
|
|
||||||
});
|
|
||||||
}
|
|
||||||
requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]");
|
|
||||||
this.request = requestCopy;
|
|
||||||
Object.defineProperty(this, "code", {
|
|
||||||
get() {
|
|
||||||
logOnceCode(
|
|
||||||
new import_deprecation.Deprecation(
|
|
||||||
"[@octokit/request-error] `error.code` is deprecated, use `error.status`."
|
|
||||||
)
|
|
||||||
);
|
|
||||||
return statusCode;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
Object.defineProperty(this, "headers", {
|
|
||||||
get() {
|
|
||||||
logOnceHeaders(
|
|
||||||
new import_deprecation.Deprecation(
|
|
||||||
"[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."
|
|
||||||
)
|
|
||||||
);
|
|
||||||
return headers || {};
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
};
|
|
||||||
// Annotate the CommonJS export names for ESM import in node:
|
|
||||||
0 && (0);
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 6234:
|
/***/ 6234:
|
||||||
@@ -5784,7 +5686,7 @@ function isPlainObject(value) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// pkg/dist-src/fetch-wrapper.js
|
// pkg/dist-src/fetch-wrapper.js
|
||||||
var import_request_error = __nccwpck_require__(537);
|
var import_request_error = __nccwpck_require__(13);
|
||||||
|
|
||||||
// pkg/dist-src/get-buffer-response.js
|
// pkg/dist-src/get-buffer-response.js
|
||||||
function getBufferResponse(response) {
|
function getBufferResponse(response) {
|
||||||
@@ -5963,6 +5865,104 @@ var request = withDefaults(import_endpoint.endpoint, {
|
|||||||
0 && (0);
|
0 && (0);
|
||||||
|
|
||||||
|
|
||||||
|
/***/ }),
|
||||||
|
|
||||||
|
/***/ 13:
|
||||||
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
var __create = Object.create;
|
||||||
|
var __defProp = Object.defineProperty;
|
||||||
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||||
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||||
|
var __getProtoOf = Object.getPrototypeOf;
|
||||||
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||||
|
var __export = (target, all) => {
|
||||||
|
for (var name in all)
|
||||||
|
__defProp(target, name, { get: all[name], enumerable: true });
|
||||||
|
};
|
||||||
|
var __copyProps = (to, from, except, desc) => {
|
||||||
|
if (from && typeof from === "object" || typeof from === "function") {
|
||||||
|
for (let key of __getOwnPropNames(from))
|
||||||
|
if (!__hasOwnProp.call(to, key) && key !== except)
|
||||||
|
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
||||||
|
}
|
||||||
|
return to;
|
||||||
|
};
|
||||||
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
||||||
|
// If the importer is in node compatibility mode or this is not an ESM
|
||||||
|
// file that has been converted to a CommonJS file using a Babel-
|
||||||
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
||||||
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
||||||
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
||||||
|
mod
|
||||||
|
));
|
||||||
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
||||||
|
|
||||||
|
// pkg/dist-src/index.js
|
||||||
|
var dist_src_exports = {};
|
||||||
|
__export(dist_src_exports, {
|
||||||
|
RequestError: () => RequestError
|
||||||
|
});
|
||||||
|
module.exports = __toCommonJS(dist_src_exports);
|
||||||
|
var import_deprecation = __nccwpck_require__(8932);
|
||||||
|
var import_once = __toESM(__nccwpck_require__(1223));
|
||||||
|
var logOnceCode = (0, import_once.default)((deprecation) => console.warn(deprecation));
|
||||||
|
var logOnceHeaders = (0, import_once.default)((deprecation) => console.warn(deprecation));
|
||||||
|
var RequestError = class extends Error {
|
||||||
|
constructor(message, statusCode, options) {
|
||||||
|
super(message);
|
||||||
|
if (Error.captureStackTrace) {
|
||||||
|
Error.captureStackTrace(this, this.constructor);
|
||||||
|
}
|
||||||
|
this.name = "HttpError";
|
||||||
|
this.status = statusCode;
|
||||||
|
let headers;
|
||||||
|
if ("headers" in options && typeof options.headers !== "undefined") {
|
||||||
|
headers = options.headers;
|
||||||
|
}
|
||||||
|
if ("response" in options) {
|
||||||
|
this.response = options.response;
|
||||||
|
headers = options.response.headers;
|
||||||
|
}
|
||||||
|
const requestCopy = Object.assign({}, options.request);
|
||||||
|
if (options.request.headers.authorization) {
|
||||||
|
requestCopy.headers = Object.assign({}, options.request.headers, {
|
||||||
|
authorization: options.request.headers.authorization.replace(
|
||||||
|
/(?<! ) .*$/,
|
||||||
|
" [REDACTED]"
|
||||||
|
)
|
||||||
|
});
|
||||||
|
}
|
||||||
|
requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]");
|
||||||
|
this.request = requestCopy;
|
||||||
|
Object.defineProperty(this, "code", {
|
||||||
|
get() {
|
||||||
|
logOnceCode(
|
||||||
|
new import_deprecation.Deprecation(
|
||||||
|
"[@octokit/request-error] `error.code` is deprecated, use `error.status`."
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return statusCode;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
Object.defineProperty(this, "headers", {
|
||||||
|
get() {
|
||||||
|
logOnceHeaders(
|
||||||
|
new import_deprecation.Deprecation(
|
||||||
|
"[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."
|
||||||
|
)
|
||||||
|
);
|
||||||
|
return headers || {};
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
// Annotate the CommonJS export names for ESM import in node:
|
||||||
|
0 && (0);
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 3682:
|
/***/ 3682:
|
||||||
|
|||||||
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
Reference in New Issue
Block a user