build(deps): bump @missing-elements/h5p-author from 0.6.0 to 0.12.0
Bumps @missing-elements/h5p-author from 0.6.0 to 0.12.0.
Release notes
Sourced from @missing-elements/h5p-author's releases.
author 0.11.0
Confine a build to folders:
within
buildPackage(source, output, { within: [folder] })reads local files, and writes the package, only inside the folders given, judged on real paths, so..and links out are refused. A path outside gets the same answer whether or not a file is there, a file that cannot be read is a problem of the source's, and the problems name no absolute path. For a tool that builds what a model wrote, such as a local MCP server.Build without writing:
checkandbuild --check
buildPackage(source, undefined, { check: true })andh5p-author build --check source.jsonrun every check a build runs and write no package. A media file named by web address is still downloaded, to a temporary folder removed after.Fetch from the public internet only:
publicFetchPass
fetch: publicFetchand a build refuses an address on a local or private network however it is written, IPv4 written as IPv6 included, on every redirect, and dropsAuthorization,Proxy-AuthorizationandCookieon a redirect to another site.The content as text:
outlineandoutlineOfEvery build result has
outline: the content as plain lines for a review, made when it is first read. What the author wrote, the right answers marked, score ranges, slides, chapters and questions numbered, a scenario's links, a video's times; interface texts and settings left out.outlineOf(libraries, content)makes one from whatloadLibrariesloaded, taking its arguments ascheckContentdoes.Fixed
- Markup with a
>inside a quoted attribute built into text a browser hides, and the link or tag after it swallowed what followed. It is now refused: write>for it (#222).- Tags are read as H5P's content check splits markup, so the check for an empty field and the layouts' measures read a
<inside an attribute, or one that starts no tag, as the check does.Full Changelog: https://github.com/missing-elements/h5p-offline-player/compare/author-v0.10.3...author-v0.11.0
author 0.10.3
h5p-author 0.10.3 changes two things in the skill's text (#211, #213, #215). A chat whose code runs Node now tries to download the build tool whatever its code tool says about the internet, so Grok builds the
.h5pin the chat again. And no link carries the source any more: a package built in the chat comes with its source file and the build page's plain address. The build itself is unchanged.Grok builds in the chat again
Since 0.10.0 the skill took "no internet" from the chat's own tools and then skipped the route that downloads the build tool and the type's libraries from the organisation's site. Grok's code tool is documented as having no network, yet it reaches that site. So Grok on the web handed over the JSON source unless the 15 MB build archive was attached.
Now only a chat with no code tool skips the build. Where Node runs, the skill tries the two downloads even where the tools say there is no internet or npm gave up. If a file does not arrive, it goes on to the build page as before.
- In Grok, on a free account, with the skill's zip attached and no archive: it built a six-slide Course Presentation in 3 to 4 minutes.
- In ChatGPT, on a free account, whose code can download nothing: the source arrived in 1 to 2 minutes, and with the archive attached the file built in about 10 seconds.
- On Haiku, each run told its code tool has no internet: with npm hanging and the web reachable, 4 of 4 downloaded both files and built packages that pass the verifier. With nothing reachable, 3 of 3 tried the download and gave the JSON source, which builds and passes.
No link carries the source
A package built in the chat came with a link to the build page that held the whole source. A command printed the link, and the model copied it into its reply. One wrong character leaves the page nothing to build: Grok handed over a link the build page could not read, as ChatGPT had done before.
So the link is gone. The reply now holds:
- the
.h5pfile;- its source, as
<name>.source.json;- one fixed line:
To play it, change it or build it again: open https://missing-elements.github.io/h5p/build/, choose <name>.source.json under "Or open a file", and press Build.Where the source names files, the reply adds that the page asks for them. A chat that built nothing already handed over the source this way since 0.10.2. The build page still opens
#source=links, which copies of the skill already installed print.On Haiku, in three places (npm working with the verifier, the two downloads, the archive attached), 3 of 3 replies gave the line whole with the file's name and no link, and every package passes the verifier. Not yet measured: Grok and ChatGPT with this hand-over.
... (truncated)
Commits
- See full diff in compare view
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 this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Updates @missing-elements/h5p-author from 0.6.0 to 0.12.0. The new version adds folder-scoped builds (within), check-only builds (check/build --check), a public-network-only fetch mode (publicFetch), and plain-text package outlines (outline/outlineOf), and fixes markup parsing for > inside quoted attributes. It also pulls in zod and newer @missing-elements/h5p-normalize and @zip.js/zip.js as transitive dependencies.