tools: bump @node-core/doc-kit from 1.0.2 to 1.3.3 in /tools/doc in the doc group#62512
tools: bump @node-core/doc-kit from 1.0.2 to 1.3.3 in /tools/doc in the doc group#62512dependabot[bot] wants to merge 1 commit intomainfrom
Conversation
|
Review requested:
|
e4f2a2a to
69ca5a5
Compare
|
@avivkeller what's the latest version of doc-kit atm? Also tests failing 🤔 |
1.3.3
Flaky tests, unrelated to doc-kit. |
Will this PR automatically get updated to 1.3.3? |
IIRC But since I need a bump to fix |
|
@dependabot recreate |
Didn't notice this was a PR managed by Dependabot, I thought we used our own Bot. |
69ca5a5 to
9c735e8
Compare
We use @nodejs-github-bot when a dependency isn't supported by Dependabot. When we first landed doc-kit, and used git deps, it wasn't supported by Dependabot, now that we release to npm, it is |
There was a problem hiding this comment.
Now the dependency is bumped to latest, but the PR title and commit message is out of sync, which is a dependabot bug: dependabot/dependabot-core#4652.
|
|
|
FYI @nodejs/platform-s390 |
There's an s390x related change in nodejs/doc-kit#691 (comment) , would that be related or is it just flaky tests? |
9c735e8 to
2c03b07
Compare
|
This issue seems to be related to Wasm is little-endian enforced, Typed arrays follow native-endian order. If you manipulate a Wasm buffer you have to make sure data is also in little-endian format, i.e a fix would look something like this: Not sure if this glue code is generated with Emscripten or not, if it is then it needs to be regenerated with |
Thanks for investigating it!
The copyright header in the code tells me that this glue code in shiki is actually copied from https://github.com/microsoft/vscode-oniguruma/blob/main/src/index.ts. vscode-oniguruma indeed uses Emscripten but I cannot find where they generated the But given the complexity and delay involved in fixing code in two upstream repos, perhaps it's better to disable the wasm highlighter for s390x again in doc-kit. |
Yes it needs to be disabled on big endian platforms (s390x, AIX) until the upstream repositories are patched. |
So I suppose a patch to doc-kit to add s390 back to blocklist? And then another patch here https://github.com/microsoft/vscode-oniguruma/blob/main/scripts/build.sh#L3-L14? |
I opened nodejs/doc-kit#769 for it. |
|
I've also opened microsoft/vscode-oniguruma#43 upstream |
|
1.3.4 that disables wasm highlighter on big |
|
@dependabot recreate |
|
FYI vscode team pushed the change upstream, Ill wait for a new release and let the shiki folks know of the new version. |
Bumps the doc group in /tools/doc with 1 update: [@node-core/doc-kit](https://github.com/nodejs/doc-kit). Updates `@node-core/doc-kit` from 1.0.2 to 1.2.0 - [Commits](https://github.com/nodejs/doc-kit/commits) --- updated-dependencies: - dependency-name: "@node-core/doc-kit" dependency-version: 1.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: doc ... Signed-off-by: dependabot[bot] <support@github.com>
2c03b07 to
5ae28d6
Compare
|
Side note: A few months ago I considered pushing this change to vscode-oniguruma but hesitated since I thought we did a workaround on our side. I should probably have done the PR anyways! |
Bumps the doc group in /tools/doc with 1 update: @node-core/doc-kit.
Updates
@node-core/doc-kitfrom 1.0.2 to 1.2.0Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions