-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps-dev): update development dependencies (#1049)
* chore(deps-dev): update development dependencies Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Avoid adding empty trailing comments to oneof unions stephenh/ts-proto#1140 Signed-off-by: Andrew Haines <[email protected]> --------- Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Andrew Haines <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Andrew Haines <[email protected]>
- Loading branch information
1 parent
f4ecfd1
commit 8e1eb03
Showing
5 changed files
with
186 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
23.2.0 | ||
23.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"name": "cerbos-sdk-javascript", | ||
"private": true, | ||
"packageManager": "pnpm@9.13.2", | ||
"packageManager": "pnpm@9.14.2", | ||
"engines": { | ||
"node": "23.2.0", | ||
"pnpm": "9.13.2" | ||
"node": "23.3.0", | ||
"pnpm": "9.14.2" | ||
}, | ||
"scripts": { | ||
"all:parallel": "concurrently --group --prefix=none", | ||
|
@@ -52,25 +52,30 @@ | |
}, | ||
"devDependencies": { | ||
"@arethetypeswrong/cli": "0.17.0", | ||
"@eslint/js": "9.14.0", | ||
"@microsoft/api-documenter": "7.25.21", | ||
"@microsoft/api-extractor": "7.47.11", | ||
"@eslint/js": "9.15.0", | ||
"@microsoft/api-documenter": "7.25.22", | ||
"@microsoft/api-extractor": "7.47.12", | ||
"@tsconfig/node18": "18.2.4", | ||
"@tsconfig/strictest": "2.0.5", | ||
"@types/eslint__js": "8.42.3", | ||
"@types/node": "18.19.64", | ||
"@vitest/eslint-plugin": "1.1.10", | ||
"concurrently": "9.1.0", | ||
"depcheck": "1.4.7", | ||
"eslint": "9.14.0", | ||
"eslint": "9.15.0", | ||
"eslint-plugin-import": "2.31.0", | ||
"eslint-plugin-react-hooks": "5.0.0", | ||
"eslint-plugin-tsdoc": "0.3.0", | ||
"prettier": "3.3.3", | ||
"prettier-plugin-pkg": "0.18.1", | ||
"ts-proto": "2.2.7", | ||
"ts-proto": "2.3.0", | ||
"tsx": "4.19.2", | ||
"typescript": "5.6.3", | ||
"typescript-eslint": "8.14.0" | ||
"typescript-eslint": "8.15.0" | ||
}, | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/build/src/main.js b/build/src/main.js | ||
index 3e03249d11bae4b1ccc9000e0f4e41f1e4393f26..a6e519f26db63304ab4f29781261d2736d986382 100644 | ||
--- a/build/src/main.js | ||
+++ b/build/src/main.js | ||
@@ -851,7 +851,7 @@ function generateOneofProperty(ctx, messageDesc, oneofIndex, sourceInfo) { | ||
let fieldComments = []; | ||
(0, utils_1.maybeAddComment)(options, fieldInfo, fieldComments); | ||
const combinedComments = fieldComments.join("\n"); | ||
- return (0, ts_poet_1.code) `| // \n ${combinedComments} { ${mbReadonly}$case: '${fieldName}', ${mbReadonly}${valueName}: ${typeName} }`; | ||
+ return (0, ts_poet_1.code) `|${combinedComments ? " // " : ""}\n ${combinedComments} { ${mbReadonly}$case: '${fieldName}', ${mbReadonly}${valueName}: ${typeName} }`; | ||
})); | ||
const name = (0, case_1.maybeSnakeToCamel)(messageDesc.oneofDecl[oneofIndex].name, options); | ||
return (0, ts_poet_1.joinCode)([...outerComments, (0, ts_poet_1.code) `${mbReadonly}${name}?:`, unionType, (0, ts_poet_1.code) `| ${(0, utils_1.nullOrUndefined)(options)},`], { | ||
@@ -1155,7 +1155,7 @@ function generateDecode(ctx, fullName, messageDesc) { | ||
} | ||
chunks.push((0, ts_poet_1.code) ` | ||
const buf = reader.skip(tag & 7); | ||
- | ||
+ | ||
${unknownFieldsInitializerSnippet} | ||
const list = message._unknownFields${maybeNonNullAssertion}[tag]; | ||
|
Oops, something went wrong.