Update dependency jest-docblock to v30.4.0 (#19129)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
renovate[bot]andfisker authored and GitHub committed 2026-05-08 14:42:47 +08:00
1 parent 00003b6e3b
commit cc7ea741a0
3 files changed
+19 -11

No files matched your search

+1 -1
View File
@@ -84,7 +84,7 @@
"import-meta-resolve": "4.2.0",
"index-to-position": "1.2.0",
"is-es5-identifier-name": "1.0.1",
"jest-docblock": "30.2.0",
"jest-docblock": "30.4.0",
"json5": "2.2.3",
"leven": "4.1.0",
"linguist-languages": "9.3.2",
+8 -9
View File
@@ -73,15 +73,14 @@ function getEsbuildOptions({ packageConfig, file, cliOptions, buildOptions }) {
text = lines.slice(startMarkLine + 1, endMarkLine - 2).join("\n");
text = text
.replace(
"const line = (0, _detectNewline().default)(docblock) ?? _os().EOL;",
String.raw`const line = "\n"`,
)
.replace(
"const line = (0, _detectNewline().default)(comments) ?? _os().EOL;",
String.raw`const line = "\n"`,
);
text = text.replace(
"const line = (0, _detectNewline().default)(docblock) ?? _nodeOs().EOL;",
String.raw`const line = "\n"`,
);
text = text.replace(
"const line = (0, _detectNewline().default)(comments) ?? _nodeOs().EOL;",
String.raw`const line = "\n"`,
);
text += "\n\n" + `export {${exports.join(", ")}};`;
+10 -1
View File
@@ -6292,6 +6292,15 @@ __metadata:
languageName: node
linkType: hard
"jest-docblock@npm:30.4.0":
version: 30.4.0
resolution: "jest-docblock@npm:30.4.0"
dependencies:
detect-newline: "npm:^3.1.0"
checksum: 10/0ee25351ef941e832e53d10e74f34b38941b8f5fe750584661f6c5a115771818b081b8e39830c49d152fd361af81c7800c2d3a3c3a0e2dc742f7bfdbb6b1baaa
languageName: node
linkType: hard
"jest-each@npm:30.3.0, jest-each@npm:^30.2.0":
version: 30.3.0
resolution: "jest-each@npm:30.3.0"
@@ -8667,7 +8676,7 @@ __metadata:
index-to-position: "npm:1.2.0"
is-es5-identifier-name: "npm:1.0.1"
jest: "npm:30.3.0"
jest-docblock: "npm:30.2.0"
jest-docblock: "npm:30.4.0"
jest-light-runner: "npm:0.7.11"
jest-snapshot-serializer-ansi: "npm:2.2.1"
jest-snapshot-serializer-raw: "npm:2.0.0"