Skip to content

deps: h5p-author 0.15.0, and the build page saves the source it built - #85

Merged
alekswebnet merged 2 commits into
mainfrom
deps/h5p-author-0.15.0
Nov 20, 2026
Merged

alekswebnet merged 2 commits into
mainfrom
deps/h5p-author-0.15.0

Conversation

@alekswebnet

@alekswebnet alekswebnet commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Closes #84.

What changes

  • @missing-elements/h5p-author 0.14.0 → 0.15.0, which brings h5p-normalize 1.5.0 with it. The build page, the sample, the type files, the skill's zips and /h5p/bundles/ all come from it, as before.
  • The build page's play step has "Download its source" beside "Download the .h5p". It saves <name>.source.json, the source as the build took it, with builtWith naming the version of its content type. The box keeps the text as the person wrote it. A hint under the buttons says to keep the source with the file, and why.
  • The "Privacy first" card adds one sentence: where a source names a picture or a video by web address, the page asks that address's site for it, and YouTube or Vimeo whether the video is there. "Nothing you make is sent to us" still holds.
  • The guide's step 4 names the source's button beside the download.

What 0.15.0 changes in the page's build without code here:

  • a made-up YouTube id, a taken-down video, and vimeo.com/1 are refused, with what to give instead;
  • a stored mp4 or m4a has its index moved to the front.

Checked, on 0.15.0 from npm

  • pnpm run build passes. /h5p/bundles/h5p-author.mjs reports 0.15.0 and is byte-equal to the package's dist/. The archive's tool reports 0.15.0, builds a True/False from parts/, and writes its .source.json with "builtWith": "H5P.TrueFalse 1.8".
  • The page in Chromium:
    • The sample builds and plays.
    • "Download its source" saves writing-learning-objectives-with-bloom-s-taxonomy.source.json, starting type, builtWith: "H5P.CoursePresentation 1.27".
    • That file opened and built again says nothing; with builtWith set to 1.26 it gives the note.
    • A real YouTube video builds. youtu.be/aaaaaaaaaaa and vimeo.com/1 are refused with the messages above, asked of each site's oEmbed from the page.
    • No horizontal overflow at 390 px; the two buttons stack there.

Summary by cubic

Closes #84: upgrades @missing-elements/h5p-author to 0.15.0 (bringing h5p-normalize 1.5.0) and lets the build page save the source it built as <name>.source.json.

  • Adds "Download its source" beside "Download the .h5p"; the file names the version of the content type it was built with, with a hint to keep it with the file for later rebuilding.
  • The "Privacy first" card and the guide note that the page asks external sites about web-addressed media, and the guide names the source button by its label.

Written for commit 03fcebe. Summary will update on new commits.

View guided diff Turn on auto-fix

@socket-security

socket-security Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​missing-elements/​h5p-author@​0.14.0 ⏵ 0.15.079 -5100100 +19680

View full report

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 6 files

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread src/h5p/create-with-ai/index.njk Resolved
@alekswebnet
alekswebnet merged commit ed6134b into main Nov 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pin h5p-author 0.15.0, and let the build page save the source it built

1 participant