Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
87e2983
Bump @types/node from 20.17.14 to 20.17.16
dependabot[bot] Jan 28, 2025
70a404f
Merge pull request #94 from tshion/dependabot/npm_and_yarn/types/node…
tshion Jan 30, 2025
9d691c6
Bump @types/node from 20.17.16 to 20.17.30
dependabot[bot] Apr 1, 2025
07bd97c
Merge pull request #102 from tshion/dependabot/npm_and_yarn/types/nod…
tshion Apr 28, 2025
92c3941
Bump the npm_and_yarn group with 2 updates
dependabot[bot] Apr 28, 2025
185acd7
Merge pull request #104 from tshion/dependabot/npm_and_yarn/npm_and_y…
tshion May 13, 2025
34c6744
Bump tsx from 4.19.2 to 4.19.4
dependabot[bot] May 13, 2025
e28bd2d
Bump undici from 5.28.5 to 5.29.0 in the npm_and_yarn group
dependabot[bot] May 15, 2025
d7f9d97
Merge pull request #106 from tshion/dependabot/npm_and_yarn/tsx-4.19.4
tshion Jun 4, 2025
1076846
Bump @types/node from 20.17.30 to 20.17.57
dependabot[bot] Jun 4, 2025
2315c14
Merge pull request #112 from tshion/dependabot/npm_and_yarn/types/nod…
tshion Jun 4, 2025
3342252
Merge pull request #109 from tshion/dependabot/npm_and_yarn/npm_and_y…
tshion Jun 4, 2025
745a0bd
can-release を自作アクションに差し替え
tshion Jun 4, 2025
b8f3a69
released ブランチとの整合性をとるように修正
tshion Jun 4, 2025
3d37be2
Merge pull request #114 from tshion/feature/brush_create-release-pr
tshion Jun 4, 2025
4433001
Git ユーザー設定タイミングの調整
tshion Jun 4, 2025
17b219b
Merge pull request #115 from tshion/feature/brush_create-release-pr
tshion Jun 4, 2025
05d7627
Merge remote-tracking branch 'origin/released' into feature/2.1.2
github-actions[bot] Jun 4, 2025
edef9e8
Update 2.1.2
github-actions[bot] Jun 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .github/scripts/can-release.bash

This file was deleted.

38 changes: 23 additions & 15 deletions .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,40 +41,48 @@ jobs:
cache: npm
cache-dependency-path: ./package-lock.json

- name: Set version & format branch name
- name: Set version & Format meta data
id: meta
env:
VERSION: "${{ inputs.versionMajor }}.${{ inputs.versionMinor }}.${{ inputs.versionPatch }}"
MAJOR: ${{ inputs.versionMajor }}
MINOR: ${{ inputs.versionMinor }}
PATCH: ${{ inputs.versionPatch }}
run: |
npm version "$VERSION" --no-git-tag-version
npm version "${MAJOR}.${MINOR}.${PATCH}" --no-git-tag-version
version=$(node -p "require('./package.json').version")
echo "version=$version" >> "$GITHUB_OUTPUT"
echo "branch=feature/$version" >> "$GITHUB_OUTPUT"

- name: Can release
# https://github.com/tshion/can-create-release
- uses: tshion/can-create-release@0.1.1
with:
tag: ${{ steps.meta.outputs.version }}

# https://github.com/actions/checkout/issues/13#issuecomment-724415212
- name: Set up git user
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"

- name: Create a working git branch
env:
GH_TOKEN: ${{ github.token }}
TAG: ${{ steps.meta.outputs.version }}
run: bash .github/scripts/can-release.bash "$TAG"
BRANCH: ${{ steps.meta.outputs.branch }}
run: |
git switch --create "$BRANCH"
git fetch origin released
git merge --allow-unrelated-histories --strategy=ours origin/released

- run: npm ci

- run: npm test

- run: npm run build

# https://github.com/actions/checkout/issues/13#issuecomment-724415212
- name: Set up git user
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"

- name: git add & push
- name: git commit & push
env:
BRANCH: ${{ steps.meta.outputs.branch }}
VERSION: ${{ steps.meta.outputs.version }}
run: |
git switch --create "$BRANCH"
git add compiled
git add package.json
git add package-lock.json
Expand Down
84 changes: 42 additions & 42 deletions compiled/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,8 @@ class OidcClient {
const res = yield httpclient
.getJson(id_token_url)
.catch(error => {
throw new Error(`Failed to get ID Token. \n
Error Code : ${error.statusCode}\n
throw new Error(`Failed to get ID Token. \n
Error Code : ${error.statusCode}\n
Error Message: ${error.message}`);
});
const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;
Expand Down Expand Up @@ -8790,7 +8790,7 @@ module.exports = {


const { parseSetCookie } = __nccwpck_require__(8915)
const { stringify, getHeadersList } = __nccwpck_require__(3834)
const { stringify } = __nccwpck_require__(3834)
const { webidl } = __nccwpck_require__(4222)
const { Headers } = __nccwpck_require__(6349)

Expand Down Expand Up @@ -8866,14 +8866,13 @@ function getSetCookies (headers) {

webidl.brandCheck(headers, Headers, { strict: false })

const cookies = getHeadersList(headers).cookies
const cookies = headers.getSetCookie()

if (!cookies) {
return []
}

// In older versions of undici, cookies is a list of name:value.
return cookies.map((pair) => parseSetCookie(Array.isArray(pair) ? pair[1] : pair))
return cookies.map((pair) => parseSetCookie(pair))
}

/**
Expand Down Expand Up @@ -9301,14 +9300,15 @@ module.exports = {
/***/ }),

/***/ 3834:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
/***/ ((module) => {

"use strict";


const assert = __nccwpck_require__(2613)
const { kHeadersList } = __nccwpck_require__(6443)

/**
* @param {string} value
* @returns {boolean}
*/
function isCTLExcludingHtab (value) {
if (value.length === 0) {
return false
Expand Down Expand Up @@ -9569,31 +9569,13 @@ function stringify (cookie) {
return out.join('; ')
}

let kHeadersListNode

function getHeadersList (headers) {
if (headers[kHeadersList]) {
return headers[kHeadersList]
}

if (!kHeadersListNode) {
kHeadersListNode = Object.getOwnPropertySymbols(headers).find(
(symbol) => symbol.description === 'headers list'
)

assert(kHeadersListNode, 'Headers cannot be parsed')
}

const headersList = headers[kHeadersListNode]
assert(headersList)

return headersList
}

module.exports = {
isCTLExcludingHtab,
stringify,
getHeadersList
validateCookieName,
validateCookiePath,
validateCookieValue,
toIMFDate,
stringify
}


Expand Down Expand Up @@ -13597,6 +13579,7 @@ const {
isValidHeaderName,
isValidHeaderValue
} = __nccwpck_require__(5523)
const util = __nccwpck_require__(9023)
const { webidl } = __nccwpck_require__(4222)
const assert = __nccwpck_require__(2613)

Expand Down Expand Up @@ -14150,6 +14133,9 @@ Object.defineProperties(Headers.prototype, {
[Symbol.toStringTag]: {
value: 'Headers',
configurable: true
},
[util.inspect.custom]: {
enumerable: false
}
})

Expand Down Expand Up @@ -23326,6 +23312,20 @@ class Pool extends PoolBase {
? { ...options.interceptors }
: undefined
this[kFactory] = factory

this.on('connectionError', (origin, targets, error) => {
// If a connection error occurs, we remove the client from the pool,
// and emit a connectionError event. They will not be re-used.
// Fixes https://github.com/nodejs/undici/issues/3895
for (const target of targets) {
// Do not use kRemoveClient here, as it will close the client,
// but the client cannot be closed in this state.
const idx = this[kClients].indexOf(target)
if (idx !== -1) {
this[kClients].splice(idx, 1)
}
}
})
}

[kGetDispatcher] () {
Expand Down Expand Up @@ -27714,7 +27714,7 @@ module.exports = parseParams
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/
/******/ // The require function
/******/ function __nccwpck_require__(moduleId) {
/******/ // Check if module is in cache
Expand All @@ -27728,7 +27728,7 @@ module.exports = parseParams
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
/******/
/******/
/******/ // Execute the module function
/******/ var threw = true;
/******/ try {
Expand All @@ -27737,23 +27737,23 @@ module.exports = parseParams
/******/ } finally {
/******/ if(threw) delete __webpack_module_cache__[moduleId];
/******/ }
/******/
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/************************************************************************/
/******/ /* webpack/runtime/compat */
/******/
/******/
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
/******/
/******/
/************************************************************************/
/******/
/******/
/******/ // startup
/******/ // Load entry module and return exports
/******/ // This entry module is referenced by other modules so it can't be inlined
/******/ var __webpack_exports__ = __nccwpck_require__(9407);
/******/ module.exports = __webpack_exports__;
/******/
/******/
/******/ })()
;
;
Loading