Skip to content

⬆️ deps: Update Node.js dev dependencies#266

Merged
SigureMo merged 10 commits into
mainfrom
renovate/nodejs-dev-dependencies
Jul 11, 2026
Merged

⬆️ deps: Update Node.js dev dependencies#266
SigureMo merged 10 commits into
mainfrom
renovate/nodejs-dev-dependencies

Conversation

@renovate

@renovate renovate Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@lint-md/cli ^2.0.0^2.1.1 age confidence
@types/node (source) ^24.13.2^24.13.3 age confidence
prettier (source) ^3.9.1^3.9.5 age confidence
sharp (source, changelog) ^0.35.2^0.35.3 age confidence

Release Notes

lint-md/cli (@​lint-md/cli)

v2.1.1

Compare Source

Features
  • lint-md: add --stdin flag for reading markdown from standard input (#​35)
  • lint-md: add --fix write concurrency limit using runTasksWithLimit, prevent memory spike on large batches (#​55)
  • load-md-files: make file extensions configurable via --ext option (#​37)
  • add .mdx file support (#​22)
  • lint-md: dynamically calculate thread group count to utilize multi-core CPUs (#​26)
Bug Fixes
  • lint-md: move getThreadCount validation before all branches, add stderr output for invalid threads
  • batch-lint: limit readFile concurrency to match thread count
  • configure: validate --threads parameter as positive integer
  • preserve whitespace-only stdin in fix mode
  • stdin fix clean input handling, thread count regex validation, help text alignment
  • lint-md: skip timing output in stdin fix mode to prevent stdout pollution
  • error handling, null guard, and configure type annotation fixes (#​39)
  • build: correct bin path from lib/lint-md.js to lib/src/lint-md.js
  • build: multi-stage Dockerfile with pinned Node 22 LTS (#​45)
Performance
  • batch-lint: process files in batches to reduce memory usage
Refactoring
  • lint-md: rewrite stdin path for readability, separate empty string vs whitespace-only stdin check
  • batch-lint: rename limitConcurrency to runTasksWithLimit, reduce nesting
  • configure: improve getThreadCount readability with type guard
  • TypeScript type annotation fixes and tsconfig cleanup (#​35)
  • remove lodash, fs-extra redundant dependencies (#​24)
Tests
  • add getThreadCount unit tests, runTasksWithLimit concurrency/order tests, stdin fix content tests
  • cli: fix worker crash by mocking process.exit instead of programmatic exit
  • configure: add number 0 and -1 to invalid threads test.each
  • use test.each for invalid threads and execFileSync for stdin fix
  • add modulePathIgnorePatterns to suppress haste collision warning (#​53)
Dependencies
  • upgrade glob from ^8.0.3 to ^13.0.6 (#​43)
  • upgrade piscina from 3.2.0 to 5.1.4 (#​32)
  • replace rimraf with rm - -rf, move eslint-config to devDependencies, upgrade jest to ^30 (#​51)
CI/CD
  • add Docker smoke test workflow (#​45)
  • add Node.js version matrix (20/22/24) and setup-node step (#​30)
  • add GitHub Actions CI badges to README (#​47)
Documentation
  • rewrite README with clear positioning, dependents, and usage (#​25)
  • add Docker usage guide with --fix volume permission tip
prettier/prettier (prettier)

v3.9.5

Compare Source

diff

Markdown: Cap ordered list mark at 999,999,999 (#​19351 by @​tats-u)

CommonMark parsers only support ordered list item numbers up to 999,999,999.

With this change, Prettier now caps the ordered list item number at 999,999,999 to ensure that the output is correctly parsed as an ordered list by CommonMark parsers. Numbers larger than 999,999,999 are not parsed as list item numbers and are left unchanged in the output:

<!-- Input -->
999999998. text
999999998. text
999999998. text
999999998. text

1234567890123456789012) text

<!-- Prettier 3.9.4 -->
999999998. text
999999999. text
1000000000. text
1000000001. text

1234567890123456789012) text

<!-- Prettier 3.9.5 -->
999999998. text
999999999. text
999999999. text
999999999. text

1234567890123456789012) text
Markdown: Avoid corrupting empty link with title (#​19487 by @​andersk)

Do not remove <> from an inline link or image with an empty URL and a title, as this removal would change its interpretation.

<!-- Input -->
[link](<> "title")

<!-- Prettier 3.9.4 -->
[link]( "title")

<!-- Prettier 3.9.5 -->
[link](<> "title")
Less: Remove extra spaces after [ in map lookups (#​19503 by @​kovsu)
// Input
.foo {
  color: #theme[ primary];
  color: #theme[@&#8203;name];
  color: #theme[@&#8203;@&#8203;name];
}

// Prettier 3.9.4
.foo {
  color: #theme[ primary];
  color: #theme[ @&#8203;name];
  color: #theme[ @&#8203;@&#8203;name];
}

// Prettier 3.9.5
.foo {
  color: #theme[primary];
  color: #theme[@&#8203;name];
  color: #theme[@&#8203;@&#8203;name];
}
CSS: Prevent addition space in type() with + (#​19516 by @​bigandy)

This fixes the addition space before + in CSS type() declaration. For example type(<number>+) was being converted into type(<number> +) which is invalid CSS and does not work.

/* Input */
div {
  border-radius: attr(br type(<length>+));
}

/* Prettier 3.9.4 */
div {
  border-radius: attr(br type(<length> +));
}

/* Prettier 3.9.5 */
div {
  border-radius: attr(br type(<length>+));
}
Less: Remove spaces between merge markers and colons (#​19517 by @​kovsu)
// Input
a {
  box-shadow  +  : 0 0 1px #&#8203;000;
}

// Prettier 3.9.4
a {
  box-shadow+  : 0 0 1px #&#8203;000;
}

// Prettier 3.9.5
a {
  box-shadow+: 0 0 1px #&#8203;000;
}
Markdown: Preserve wiki links with aliases (#​19527 by @​kovsu)
<!-- Input -->
[[Foo:Bar]]

<!-- Prettier 3.9.4 -->
[[Foo]]

<!-- Prettier 3.9.5 -->
[[Foo:Bar]]
TypeScript: Fix comments being dropped on shorthand type import/export specifiers (#​19565 by @​kirkwaiblinger)
// Input
export { type /* comment */ T } from "foo";
import { type /* comment */ T } from "foo";

// Prettier 3.9.4
Error: Comment "comment" was not printed. Please report this error!

// Prettier 3.9.5
export { type /* comment */ T } from "foo";
import { type /* comment */ T } from "foo";
Miscellaneous: Preserving comments' placement property (#​19567 by @​Janther)

Prettier@​3.9.0 deleted an undocumented property on comments, which was already used by plugins, comment.placement is now available again after comment attach.

Flow: Stop enforcing empty module declaration to break (#​19568 by @​fisker)
// Input
declare module "foo" {}

// Prettier 3.9.4
declare module "foo" {
}

// Prettier 3.9.5
declare module "foo" {}
Angular: Support expression for exhaustive typechecking (#​19571 by @​fisker)
<!-- Input -->
@&#8203;switch (state.mode) {
  @&#8203;default never(state);
}

<!-- Prettier 3.9.4 -->
@&#8203;switch (state.mode) {
  @&#8203;default never;
}

<!-- Prettier 3.9.5 -->
@&#8203;switch (state.mode) {
  @&#8203;default never(state);
}
TypeScript: Ignore comments inside mapped type when checking type parameter comments (#​19572 by @​fisker)
// Input
foo<{
  // comment
  [key in keyof Foo]: number
}>();

// Prettier 3.9.4
foo<
  {
    // comment
    [key in keyof Foo]: number;
  }
>();

// Prettier 3.9.5
foo<{
  // comment
  [key in keyof Foo]: number;
}>();
Less: Fix adjacent block comments being corrupted (#​19574 by @​kovsu)
// Input
/* a *//* b */
/* a */* {
  color: red;
}

// Prettier 3.9.4
/* a */
/* b */
/* a * {
  color: red;
}

// Prettier 3.9.5
/* a */ /* b */
/* a */
* {
  color: red;
}
JavaScript: Handle dangling comments in SwitchStatement (#​19581 by @​fisker)
// Input
switch (foo) {
 // comment
}

// Prettier 3.9.4
switch (
  foo
  // comment
) {
}

// Prettier 3.9.5
switch (foo) {
  // comment
}
TypeScript: Remove space in comment-only object type (#​19583 by @​fisker)
// Input
var foo = {
  /* comment */
};
type Foo = {
  /* comment */
};

// Prettier 3.9.4
var foo = {/* comment */};
type Foo = { /* comment */ };

// Prettier 3.9.5
var foo = {/* comment */};
type Foo = {/* comment */};

v3.9.4

Compare Source

v3.9.3

Compare Source

v3.9.2

Compare Source

lovell/sharp (sharp)

v0.35.3

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies label Jul 6, 2026
@renovate
renovate Bot enabled auto-merge July 6, 2026 02:57
@netlify

netlify Bot commented Jul 6, 2026

Copy link
Copy Markdown

Deploy Preview for pfccblog ready!

Name Link
🔨 Latest commit 3813e67
🔍 Latest deploy log https://app.netlify.com/projects/pfccblog/deploys/6a5264b8cc6cfe0008598c50
😎 Deploy Preview https://deploy-preview-266--pfccblog.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@renovate
renovate Bot force-pushed the renovate/nodejs-dev-dependencies branch 2 times, most recently from 6842b13 to 71d38e9 Compare July 10, 2026 20:52
@renovate
renovate Bot force-pushed the renovate/nodejs-dev-dependencies branch from 71d38e9 to e7ca3bd Compare July 11, 2026 14:32
@SigureMo

Copy link
Copy Markdown
Collaborator

@copilot 处理一下 lint-and-fmt 流水线的报错吧

Co-authored-by: SigureMo <38436475+SigureMo@users.noreply.github.com>
auto-merge was automatically disabled July 11, 2026 14:36

Head branch was pushed to by a user without write access

Co-authored-by: SigureMo <38436475+SigureMo@users.noreply.github.com>

Copilot AI commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

@copilot 处理一下 lint-and-fmt 流水线的报错吧

已修复,提交 11a03cepnpm fmt:checkpnpm lint:filenamepnpm build 均已通过。

Copilot AI requested a review from SigureMo July 11, 2026 14:40

@SigureMo SigureMo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot 处理一下 review 吧,基本都是替换为全角符号后但两侧冗余的空格没有删,另外有些修改后语义明显不对的地方

另外让你修 fmt 问题怎么改这些了……不过改都改了,90% 改的也没啥问题,也别回退了,基本都按照我的 suggestion 改一下就行了

Comment thread src/posts/2024-summary.md Outdated
与此同时,线上集训营的**一、二、三等奖**的答辩和评审工作也按计划顺利进行,以下是礼品和获奖选手名单:

- 一等奖:iPad (第十代) 💻 [@GoldenStain](https://github.com/GoldenStain)
- 一等奖:iPad 第十代 💻 [@GoldenStain](https://github.com/GoldenStain)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- 一等奖:iPad (第十代) 💻 [@GoldenStain](https://github.com/GoldenStain)
- 一等奖:iPad(第十代) 💻 [@GoldenStain](https://github.com/GoldenStain)

Comment thread src/posts/2024-summary.md Outdated
本期启航计划中涌现出众多优秀营员,一二三等奖的竞争异常激烈,因此我们相应地扩大了获奖名额,以下是奖品及获奖选手名单:

- 一等奖:iPad (第十代) 💻 [@LittleHeroZZZX](https://github.com/LittleHeroZZZX)
- 一等奖:iPad 第十代 💻 [@LittleHeroZZZX](https://github.com/LittleHeroZZZX)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- 一等奖:iPad (第十代) 💻 [@LittleHeroZZZX](https://github.com/LittleHeroZZZX)
- 一等奖:iPad(第十代) 💻 [@LittleHeroZZZX](https://github.com/LittleHeroZZZX)

Comment thread src/posts/attnsink-paper-sharing.md Outdated
- 仍然只出现在一个 token 上,但这个 token 会是前缀中的某一个,而不是固定在全局的第一个 token。

采用**滑动窗口注意力 (Shifted Window Attention)** 时,attention sink 出现在窗口的“绝对”第一个 token,而非“相对”第一个 token。**较小的窗口大小会抑制 sink 的出现**。
采用**滑动窗口注意力 Shifted Window Attention** 时,attention sink 出现在窗口的“绝对”第一个 token,而非“相对”第一个 token。**较小的窗口大小会抑制 sink 的出现**。

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
采用**滑动窗口注意力 (Shifted Window Attention)** 时,attention sink 出现在窗口的“绝对”第一个 token,而非“相对”第一个 token。**较小的窗口大小会抑制 sink 的出现**
采用**滑动窗口注意力(Shifted Window Attention)** 时,attention sink 出现在窗口的“绝对”第一个 token,而非“相对”第一个 token。**较小的窗口大小会抑制 sink 的出现**

Comment thread src/posts/attnsink-paper-sharing.md Outdated
采用**滑动窗口注意力 Shifted Window Attention** 时,attention sink 出现在窗口的“绝对”第一个 token,而非“相对”第一个 token。**较小的窗口大小会抑制 sink 的出现**。

如果一个 token 位于窗口范围内 (即 t≤w,其中 t 为 token 位置,w 为窗口大小),它仍然能够注意到序列的第一个 token,此时模型仍然会在第一个 token 上出现 sink。当 t>w 时,该 token 只能注意到其窗口内的第一个 token (即第 t−w+1 个 token),而这个“相对”的第一个 token 通常不会出现 attention sink。减小窗口大小可以阻止 sink 的出现。
如果一个 token 位于窗口范围内 即 t≤w,其中 t 为 token 位置,w 为窗口大小,它仍然能够注意到序列的第一个 token,此时模型仍然会在第一个 token 上出现 sink。当 t>w 时,该 token 只能注意到其窗口内的第一个 token 即第 t−w+1 个 token),而这个“相对”的第一个 token 通常不会出现 attention sink。减小窗口大小可以阻止 sink 的出现。

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
如果一个 token 位于窗口范围内 (即 t≤w,其中 t 为 token 位置,w 为窗口大小),它仍然能够注意到序列的第一个 token,此时模型仍然会在第一个 token 上出现 sink。当 t>w 时,该 token 只能注意到其窗口内的第一个 token (即第 t−w+1 个 token),而这个“相对”的第一个 token 通常不会出现 attention sink。减小窗口大小可以阻止 sink 的出现。
如果一个 token 位于窗口范围内(即 t≤w,其中 t 为 token 位置,w 为窗口大小),它仍然能够注意到序列的第一个 token,此时模型仍然会在第一个 token 上出现 sink。当 t>w 时,该 token 只能注意到其窗口内的第一个 token(即第 t−w+1 个 token),而这个“相对”的第一个 token 通常不会出现 attention sink。减小窗口大小可以阻止 sink 的出现。

Comment thread src/posts/attnsink-paper-sharing.md Outdated
![](../images/attnsink-paper-sharing/attention_sink_table_4.png)

通过引入可学习的 sink token(作为 implicit bias)或直接在注意力机制中添加可学习的键值偏置 (KV biases) 或仅键偏置 (K biases, 此时$\mathbf{v}^{\star l,h}=\mathbf{0}$),可以将 sink token 从第一个 token 转移到这些引入的 bias 上,且不会损害模型性能 。而仅使用 value bias 则做不到,sink 会回到第一个 token。
通过引入可学习的 sink token(作为 implicit bias)或直接在注意力机制中添加可学习的键值偏置 KV biases 或仅键偏置 (K biases, 此时$\mathbf{v}^{\star l,h}=\mathbf{0}$),可以将 sink token 从第一个 token 转移到这些引入的 bias 上,且不会损害模型性能 。而仅使用 value bias 则做不到,sink 会回到第一个 token。

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
通过引入可学习的 sink token(作为 implicit bias)或直接在注意力机制中添加可学习的键值偏置 (KV biases) 或仅键偏置 (K biases, 此时$\mathbf{v}^{\star l,h}=\mathbf{0}$),可以将 sink token 从第一个 token 转移到这些引入的 bias 上,且不会损害模型性能 。而仅使用 value bias 则做不到,sink 会回到第一个 token。
通过引入可学习的 sink token(作为 implicit bias)或直接在注意力机制中添加可学习的键值偏置(KV biases)或仅键偏置K biases, 此时$\mathbf{v}^{\star l,h}=\mathbf{0}$,可以将 sink token 从第一个 token 转移到这些引入的 bias 上,且不会损害模型性能 。而仅使用 value bias 则做不到,sink 会回到第一个 token。

Comment thread src/posts/post-training-overview.md Outdated
Comment thread src/posts/post-training-overview.md Outdated
Comment thread src/posts/post-training-overview.md Outdated
Comment thread src/posts/post-training-overview.md Outdated
Comment thread src/posts/post-training-overview.md Outdated

@SigureMo SigureMo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot 处理一下 review 吧,基本都是替换为全角符号后但两侧冗余的空格没有删,另外有些修改后语义明显不对的地方

另外让你修 fmt 问题怎么改这些了……不过改都改了,90% 改的也没啥问题,也别回退了,基本都按照我的 suggestion 改一下就行了

Co-authored-by: SigureMo <38436475+SigureMo@users.noreply.github.com>

Copilot AI commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

@copilot 处理一下 review 吧,基本都是替换为全角符号后但两侧冗余的空格没有删,另外有些修改后语义明显不对的地方

另外让你修 fmt 问题怎...

已在 2a57568 按各处 suggestion 调整多余空格和语义受影响的表述,并将 context-parrel-sharing.md 更正为 context-parallel-sharing.mdpnpm fmt:checkpnpm lint:filenamepnpm build 均已通过。

Copilot AI requested a review from SigureMo July 11, 2026 15:22
SigureMo added 2 commits July 11, 2026 23:30
Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
Comment thread src/posts/xdoctest-project.md Outdated
SigureMo added 4 commits July 11, 2026 23:34
Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
@SigureMo
SigureMo enabled auto-merge July 11, 2026 15:44
@SigureMo
SigureMo added this pull request to the merge queue Jul 11, 2026
@renovate

renovate Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Merged via the queue into main with commit 8bd82fc Jul 11, 2026
6 checks passed
@SigureMo
SigureMo deleted the renovate/nodejs-dev-dependencies branch July 11, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants