Repository navigation
Pin h5p-author 0.14.0, and copy the build tool from the author package - #79
Merged
Merged
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
The rest of the toolkit's 1.7.0 release, h5p-libraries 1.1.1, h5p-offline-player 1.7.0 and h5p-runtime 1.0.2, came in by Dependabot (#75, #76, #77). With the author at 0.14.0 the lockfile drops the copies 0.13.0 kept: libraries 1.1.0, player 1.6.0 and normalize 1.4.0. The bundles step copies dist/h5p-author.mjs and its licence list from the author package instead of bundling the command line with this site's Vite, so the bytes route 3 runs are the npm package's. Closes #78.
alekswebnet
force-pushed
the
deps/h5p-author-0.14.0
branch
from
November 20, 2026 07:13
a8bb34a to
920b7c1
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #78.
The toolkit's 1.7.0 release is on npm, its packages published from CI with provenance (missing-elements/h5p-toolkit#246). This moves the site's last pin to it, the author, and serves the build tool as the author package ships it.
What changes
package.jsonand the lockfile move@missing-elements/h5p-authorto 0.14.0. The rest of the release,h5p-libraries1.1.1,h5p-offline-player1.7.0 andh5p-runtime1.0.2, came in by Dependabot (Bump @missing-elements/h5p-runtime from 1.0.1 to 1.0.2 #75, Bump @missing-elements/h5p-libraries from 1.1.0 to 1.1.1 #76, Bump @missing-elements/h5p-offline-player from 1.6.0 to 1.7.0 #77), which this is rebased on. With the author at 0.14.0 the lockfile drops the copies 0.13.0 kept, libraries 1.1.0, player 1.6.0 and normalize 1.4.0, and takes normalize 1.4.1. pnpm dropped nolibc:lines.bundles()invite.config.tsno longer bundles the command line with this site's Vite. It copiesdist/h5p-author.mjsanddist/h5p-author-LICENSES.txtfrom the author package, which builds them when it is packed since 0.14.0 (h5p-author: build the one-file tool in the package, not on the organisation's site h5p-toolkit#247). The bytes route 3 runs are therefore the npm package's, which its provenance covers, and this site's build tools and their updates never touch them. The--versioncheck stays. The now unused Vitebuildimport androotpath are gone.Tested
pnpm installandpnpm build, which runstsc, pass. After the rebase on main the files are the same as before it, andpnpm install --frozen-lockfileandpnpm buildpass again./h5p/bundles/h5p-author.mjsandh5p-author-LICENSES.txtare byte-equal to the published package'sdist/files. The tool prints@missing-elements/h5p-author 0.14.0, library pack 1.1.1.bundles/index.jsonsays author 0.14.0 and pack 1.1.1, with 55 bundles. The archive is 14.9 MB.--libraries parts, and printed the new line on the H5P core a site needs: "Needs H5P core 1.28 or newer on a site it is uploaded to: …".SKILL.mdunchanged, and the ChatGPT zip'splugin.jsonsays 0.14.0.vite preview, in Chromium: a#source=link to a Multiple Choice with no answer marked correct built and played in 0.6 s. It showed the note that no answer is marked correct, and the console had no errors.Summary by cubic
Pins
@missing-elements/h5p-authorto 0.14.0, completing the toolkit's 1.7.0 release, and serves the build tool as the author package ships it.dist/h5p-author.mjsandh5p-author-LICENSES.txtfrom the package instead of bundling the CLI with this site's Vite.--versioncheck, archive, and bundle listing stay unchanged.Closes #78.
Written for commit 920b7c1. Summary will update on new commits.