github marko-js/marko @marko/compiler@5.42.16

3 hours ago

Patch Changes

  • #4598 df57ab1 Thanks @DylanPiercey! - Find a template's package root with a cached directory walk instead of lasso-package-root, dropping it and lasso-caching-fs from the dependencies. The lookup is getRootPackage on @marko/compiler/modules, beside resolve and tryResolve, so an environment without a real file system can replace it the same way.

  • #4583 60841bc Thanks @DylanPiercey! - Update dependencies: the bundled Babel to 7.29.12, htmljs-parser 5.20, @luxass/strip-json-comments 2.0.2 and the bundled entities 9 in the compiler, minimatch 11 in markoc, and magic-string 1. magic-string 1 ships only ESM, so engines.node rises to >=22.12.0, the first Node 22 release that can require() it.

  • #4596 7546ef9 Thanks @DylanPiercey! - Drop dependencies that Node now covers. The compiler resolves modules with createRequire, caching one per directory, instead of resolve-from; the require hook maps stack traces through Node's own source maps instead of source-map-support; and the raptor-regexp wildcard helper is inlined. The compiler also stops depending on complain and self-closing-tags, which it never imported, and marko resolves with createRequire instead of resolve-from.

Don't miss a new marko release

NewReleases is sending notifications on new releases.