-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix withoutintl builds #41078
fix withoutintl builds #41078
Conversation
Recent upgrade of highlight.js has broken the docs build on the withoutintl builds.
Fast-track has been requested by @richardlau. Please 👍 to approve. |
@@ -7,7 +7,7 @@ | |||
"node": ">=14.8.0" | |||
}, | |||
"devDependencies": { | |||
"highlight.js": "^11.3.1", | |||
"highlight.js": "^11.2.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You meant to pin the version, right?
"highlight.js": "^11.2.0", | |
"highlight.js": "11.2.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just partially undid the package updates in #41036. I think the package-lock.json
takes care of it as the Makefile
runs npm ci
:
Lines 686 to 691 in a257294
tools/doc/node_modules: tools/doc/package.json | |
@if [ "$(shell $(node_use_openssl))" != "true" ]; then \ | |
echo "Skipping tools/doc/node_modules (no crypto)"; \ | |
else \ | |
cd tools/doc && $(call available-node,$(run-npm-ci)) \ | |
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This didn't start failing until #41036 was merged -- the newer highlight.js was published two months ago: https://www.npmjs.com/package/highlight.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Landed in c802c4b |
Recent upgrade of highlight.js has broken the docs build on the withoutintl builds. PR-URL: nodejs#41078 Refs: nodejs#41077 Refs: nodejs#41036 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Recent upgrade of highlight.js has broken the docs build on the
withoutintl builds.
Refs: #41077
Refs: #41036
Consider this a quick fix to unblock the CI as the automated tooling will attempt to update again the next time it is run. It's getting late here on a Friday evening so maybe someone else can take a look and figure out if the break is due to highlight.js or something latent in Node.js/V8.