@firestartr/cli 1.31.0 → 1.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5988,7 +5988,7 @@ module.exports = __toCommonJS(dist_src_exports);
|
|
|
5988
5988
|
var import_universal_user_agent = __nccwpck_require__(5212);
|
|
5989
5989
|
|
|
5990
5990
|
// pkg/dist-src/version.js
|
|
5991
|
-
var VERSION = "9.0.
|
|
5991
|
+
var VERSION = "9.0.6";
|
|
5992
5992
|
|
|
5993
5993
|
// pkg/dist-src/defaults.js
|
|
5994
5994
|
var userAgent = `octokit-endpoint.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`;
|
|
@@ -6093,9 +6093,9 @@ function addQueryParameters(url, parameters) {
|
|
|
6093
6093
|
}
|
|
6094
6094
|
|
|
6095
6095
|
// pkg/dist-src/util/extract-url-variable-names.js
|
|
6096
|
-
var urlVariableRegex = /\{[^}]+\}/g;
|
|
6096
|
+
var urlVariableRegex = /\{[^{}}]+\}/g;
|
|
6097
6097
|
function removeNonChars(variableName) {
|
|
6098
|
-
return variableName.replace(
|
|
6098
|
+
return variableName.replace(/(?:^\W+)|(?:(?<!\W)\W+$)/g, "").split(/,/);
|
|
6099
6099
|
}
|
|
6100
6100
|
function extractUrlVariableNames(url) {
|
|
6101
6101
|
const matches = url.match(urlVariableRegex);
|
|
@@ -6281,7 +6281,7 @@ function parse(options) {
|
|
|
6281
6281
|
}
|
|
6282
6282
|
if (url.endsWith("/graphql")) {
|
|
6283
6283
|
if (options.mediaType.previews?.length) {
|
|
6284
|
-
const previewsFromAcceptHeader = headers.accept.match(/[\w-]+(?=-preview)/g) || [];
|
|
6284
|
+
const previewsFromAcceptHeader = headers.accept.match(/(?<![\w-])[\w-]+(?=-preview)/g) || [];
|
|
6285
6285
|
headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map((preview) => {
|
|
6286
6286
|
const format = options.mediaType.format ? `.${options.mediaType.format}` : "+json";
|
|
6287
6287
|
return `application/vnd.github.${preview}-preview${format}`;
|
|
@@ -9121,7 +9121,7 @@ var RequestError = class extends Error {
|
|
|
9121
9121
|
if (options.request.headers.authorization) {
|
|
9122
9122
|
requestCopy.headers = Object.assign({}, options.request.headers, {
|
|
9123
9123
|
authorization: options.request.headers.authorization.replace(
|
|
9124
|
-
/ .*$/,
|
|
9124
|
+
/(?<! ) .*$/,
|
|
9125
9125
|
" [REDACTED]"
|
|
9126
9126
|
)
|
|
9127
9127
|
});
|
|
@@ -9189,7 +9189,7 @@ var import_endpoint = __nccwpck_require__(8773);
|
|
|
9189
9189
|
var import_universal_user_agent = __nccwpck_require__(5212);
|
|
9190
9190
|
|
|
9191
9191
|
// pkg/dist-src/version.js
|
|
9192
|
-
var VERSION = "8.4.
|
|
9192
|
+
var VERSION = "8.4.1";
|
|
9193
9193
|
|
|
9194
9194
|
// pkg/dist-src/is-plain-object.js
|
|
9195
9195
|
function isPlainObject(value) {
|
|
@@ -9248,7 +9248,7 @@ function fetchWrapper(requestOptions) {
|
|
|
9248
9248
|
headers[keyAndValue[0]] = keyAndValue[1];
|
|
9249
9249
|
}
|
|
9250
9250
|
if ("deprecation" in headers) {
|
|
9251
|
-
const matches = headers.link && headers.link.match(/<([
|
|
9251
|
+
const matches = headers.link && headers.link.match(/<([^<>]+)>; rel="deprecation"/);
|
|
9252
9252
|
const deprecationLink = matches && matches.pop();
|
|
9253
9253
|
log.warn(
|
|
9254
9254
|
`[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}`
|