From c14f92a8f9fd9aff60349b9d5bb2f2d9933926bd Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sat, 15 Feb 2025 00:14:02 +0000 Subject: [PATCH] build(release): 1.11.4 [skip ci] ## [1.11.4](https://github.com/actions/create-github-app-token/compare/v1.11.3...v1.11.4) (2025-02-15) ### Bug Fixes * **deps:** bump @octokit/endpoint from 10.1.1 to 10.1.3 ([#207](https://github.com/actions/create-github-app-token/issues/207)) ([d30def8](https://github.com/actions/create-github-app-token/commit/d30def842e4992ac18a35cd1108d776944ab7535)), closes [#507](https://github.com/actions/create-github-app-token/issues/507) [#514](https://github.com/actions/create-github-app-token/issues/514) [#512](https://github.com/actions/create-github-app-token/issues/512) [#511](https://github.com/actions/create-github-app-token/issues/511) [#509](https://github.com/actions/create-github-app-token/issues/509) [#508](https://github.com/actions/create-github-app-token/issues/508) [#507](https://github.com/actions/create-github-app-token/issues/507) [#506](https://github.com/actions/create-github-app-token/issues/506) [#505](https://github.com/actions/create-github-app-token/issues/505) [#504](https://github.com/actions/create-github-app-token/issues/504) --- dist/main.cjs | 21 ++++++++------------- dist/post.cjs | 21 ++++++++------------- package.json | 2 +- 3 files changed, 17 insertions(+), 27 deletions(-) diff --git a/dist/main.cjs b/dist/main.cjs index 8bf3a70..6b9e8e0 100644 --- a/dist/main.cjs +++ b/dist/main.cjs @@ -40203,13 +40203,10 @@ function lowercaseKeys(object) { }, {}); } function isPlainObject(value) { - if (typeof value !== "object" || value === null) - return false; - if (Object.prototype.toString.call(value) !== "[object Object]") - return false; + if (typeof value !== "object" || value === null) return false; + if (Object.prototype.toString.call(value) !== "[object Object]") return false; const proto = Object.getPrototypeOf(value); - if (proto === null) - return true; + if (proto === null) return true; const Ctor = Object.prototype.hasOwnProperty.call(proto, "constructor") && proto.constructor; return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value); } @@ -40217,10 +40214,8 @@ function mergeDeep(defaults, options) { const result = Object.assign({}, defaults); Object.keys(options).forEach((key) => { if (isPlainObject(options[key])) { - if (!(key in defaults)) - Object.assign(result, { [key]: options[key] }); - else - result[key] = mergeDeep(defaults[key], options[key]); + if (!(key in defaults)) Object.assign(result, { [key]: options[key] }); + else result[key] = mergeDeep(defaults[key], options[key]); } else { Object.assign(result, { [key]: options[key] }); } @@ -40269,9 +40264,9 @@ function addQueryParameters(url, parameters) { return `${name}=${encodeURIComponent(parameters[name])}`; }).join("&"); } -var urlVariableRegex = /\{[^}]+\}/g; +var urlVariableRegex = /\{[^{}}]+\}/g; function removeNonChars(variableName) { - return variableName.replace(/^\W+|\W+$/g, "").split(/,/); + return variableName.replace(/(?:^\W+)|(?:(? { const format = options.mediaType.format ? `.${options.mediaType.format}` : "+json"; return `application/vnd.github.${preview}-preview${format}`; diff --git a/dist/post.cjs b/dist/post.cjs index 0ad536a..2d2f0e9 100644 --- a/dist/post.cjs +++ b/dist/post.cjs @@ -40011,13 +40011,10 @@ function lowercaseKeys(object) { }, {}); } function isPlainObject(value) { - if (typeof value !== "object" || value === null) - return false; - if (Object.prototype.toString.call(value) !== "[object Object]") - return false; + if (typeof value !== "object" || value === null) return false; + if (Object.prototype.toString.call(value) !== "[object Object]") return false; const proto = Object.getPrototypeOf(value); - if (proto === null) - return true; + if (proto === null) return true; const Ctor = Object.prototype.hasOwnProperty.call(proto, "constructor") && proto.constructor; return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value); } @@ -40025,10 +40022,8 @@ function mergeDeep(defaults, options) { const result = Object.assign({}, defaults); Object.keys(options).forEach((key) => { if (isPlainObject(options[key])) { - if (!(key in defaults)) - Object.assign(result, { [key]: options[key] }); - else - result[key] = mergeDeep(defaults[key], options[key]); + if (!(key in defaults)) Object.assign(result, { [key]: options[key] }); + else result[key] = mergeDeep(defaults[key], options[key]); } else { Object.assign(result, { [key]: options[key] }); } @@ -40077,9 +40072,9 @@ function addQueryParameters(url, parameters) { return `${name}=${encodeURIComponent(parameters[name])}`; }).join("&"); } -var urlVariableRegex = /\{[^}]+\}/g; +var urlVariableRegex = /\{[^{}}]+\}/g; function removeNonChars(variableName) { - return variableName.replace(/^\W+|\W+$/g, "").split(/,/); + return variableName.replace(/(?:^\W+)|(?:(? { const format = options.mediaType.format ? `.${options.mediaType.format}` : "+json"; return `application/vnd.github.${preview}-preview${format}`; diff --git a/package.json b/package.json index c62bc36..f971a1b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "create-github-app-token", "private": true, "type": "module", - "version": "1.11.3", + "version": "1.11.4", "description": "GitHub Action for creating a GitHub App Installation Access Token", "scripts": { "build": "esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --target=node20.0.0 --packages=bundle",