release: v3.22.1 - bump @cldmv/fix-headers from 1.3.12 to 2.1.0 - #567
Open
cldmv-bot[bot] wants to merge 19 commits into
Open
cldmv-bot[bot] wants to merge 19 commits into
cldmv-bot[bot] wants to merge 19 commits into
Conversation
Bumps the npm_and_yarn group with 1 update in the / directory: [markdown-it](https://github.com/markdown-it/markdown-it). Updates `markdown-it` from 14.2.0 to 14.3.2 - [Changelog](https://github.com/markdown-it/markdown-it/blob/14.3.2/CHANGELOG.md) - [Commits](markdown-it/markdown-it@14.2.0...14.3.2) --- updated-dependencies: - dependency-name: markdown-it dependency-version: 14.3.2 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com> (cherry picked from commit 8e568a1)
…dates Bumps the npm_and_yarn group with 2 updates in the / directory: [brace-expansion](https://github.com/juliangruber/brace-expansion) and [markdown-it](https://github.com/markdown-it/markdown-it). Updates `brace-expansion` from 5.0.9 to 5.0.12 - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](juliangruber/brace-expansion@v5.0.9...v5.0.12) Updates `markdown-it` from 14.2.0 to 14.3.2 - [Changelog](https://github.com/markdown-it/markdown-it/blob/14.3.2/CHANGELOG.md) - [Commits](markdown-it/markdown-it@14.2.0...14.3.2) --- updated-dependencies: - dependency-name: brace-expansion dependency-version: 5.0.12 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: markdown-it dependency-version: 14.3.2 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com> (cherry picked from commit aeccc2e)
…rn group across 1 directory (#561)
Bumps [@cldmv/fix-headers](https://github.com/CLDMV/fix-headers) from 1.3.12 to 2.1.0. - [Release notes](https://github.com/CLDMV/fix-headers/releases) - [Commits](CLDMV/fix-headers@v1.3.12...v2.1) --- updated-dependencies: - dependency-name: "@cldmv/fix-headers" dependency-version: 2.1.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps the patch group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@vitest/browser](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser) | `5.0.2` | `5.0.3` | | [@vitest/browser-playwright](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser-playwright) | `5.0.2` | `5.0.3` | | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) | `5.0.2` | `5.0.3` | | [@vitest/istanbul-lib-coverage](https://github.com/vitest-dev/istanbuljs/tree/HEAD/packages/istanbul-lib-coverage) | `1.0.1` | `1.0.2` | | [chalk](https://github.com/chalk/chalk) | `6.0.0` | `6.0.1` | | [ignore](https://github.com/kaelzhang/node-ignore) | `7.0.10` | `7.0.11` | | [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `5.0.2` | `5.0.3` | Updates `@vitest/browser` from 5.0.2 to 5.0.3 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.3/packages/browser) Updates `@vitest/browser-playwright` from 5.0.2 to 5.0.3 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.3/packages/browser-playwright) Updates `@vitest/coverage-v8` from 5.0.2 to 5.0.3 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.3/packages/coverage-v8) Updates `@vitest/istanbul-lib-coverage` from 1.0.1 to 1.0.2 - [Release notes](https://github.com/vitest-dev/istanbuljs/releases) - [Commits](https://github.com/vitest-dev/istanbuljs/commits/v1.0.2/packages/istanbul-lib-coverage) Updates `chalk` from 6.0.0 to 6.0.1 - [Release notes](https://github.com/chalk/chalk/releases) - [Commits](chalk/chalk@v6.0.0...v6.0.1) Updates `ignore` from 7.0.10 to 7.0.11 - [Release notes](https://github.com/kaelzhang/node-ignore/releases) - [Commits](kaelzhang/node-ignore@7.0.10...7.0.11) Updates `vitest` from 5.0.2 to 5.0.3 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.3/packages/vitest) --- updated-dependencies: - dependency-name: "@vitest/browser" dependency-version: 5.0.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch - dependency-name: "@vitest/browser-playwright" dependency-version: 5.0.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch - dependency-name: "@vitest/coverage-v8" dependency-version: 5.0.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch - dependency-name: "@vitest/istanbul-lib-coverage" dependency-version: 1.0.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch - dependency-name: chalk dependency-version: 6.0.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch - dependency-name: ignore dependency-version: 7.0.11 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch - dependency-name: vitest dependency-version: 5.0.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: patch ... Signed-off-by: dependabot[bot] <support@github.com>
Contributor
Author
🔒 Dependency Review
|
Contributor
Author
|
| File | Raw | Δ Raw | Gzipped | Δ Gzipped |
|---|---|---|---|---|
| bin/slothlet.mjs | 7.2 kB | +4 B (+0.1%) | 2.6 kB | +16 B |
| devcheck.mjs | 4.3 kB | +5 B (+0.1%) | 1.7 kB | −2 B |
| dist/lib/builders/api-assignment.mjs | 15.8 kB | — | 3.5 kB | — |
| dist/lib/builders/api_builder.mjs | 56.8 kB | — | 11.0 kB | — |
| dist/lib/builders/builder.mjs | 2.9 kB | — | 1.2 kB | — |
| dist/lib/builders/modes-processor.mjs | 47.3 kB | — | 7.9 kB | — |
| dist/lib/errors.mjs | 4.4 kB | — | 1.7 kB | — |
| dist/lib/factories/component-base.mjs | 1.6 kB | −254 B (-13.3%) ✅ | 817 B | −104 B |
| dist/lib/factories/context.mjs | 1010 B | — | 525 B | — |
| dist/lib/handlers/api-cache-manager.mjs | 3.4 kB | — | 1.4 kB | — |
| dist/lib/handlers/api-manager.mjs | 78.7 kB | — | 16.1 kB | — |
| dist/lib/handlers/context-async.mjs | 5.2 kB | — | 1.7 kB | — |
| dist/lib/handlers/context-live.mjs | 11.2 kB | — | 3.5 kB | — |
| dist/lib/handlers/event-manager.mjs | 8.6 kB | — | 2.7 kB | — |
| dist/lib/handlers/framework-internals.mjs | 1.1 kB | — | 611 B | — |
| dist/lib/handlers/hook-manager.mjs | 22.0 kB | — | 5.4 kB | — |
| dist/lib/handlers/lifecycle-token.mjs | 959 B | — | 540 B | — |
| dist/lib/handlers/lifecycle.mjs | 2.7 kB | — | 1.1 kB | — |
| dist/lib/handlers/materialize-manager.mjs | 1.2 kB | — | 672 B | — |
| dist/lib/handlers/metadata.mjs | 12.4 kB | — | 3.2 kB | — |
| dist/lib/handlers/module-manager.mjs | 9.8 kB | — | 3.1 kB | — |
| dist/lib/handlers/ownership.mjs | 16.9 kB | — | 4.6 kB | — |
| dist/lib/handlers/permission-manager.mjs | 32.4 kB | — | 7.4 kB | — |
| dist/lib/handlers/routine-manager.mjs | 19.9 kB | — | 5.1 kB | — |
| dist/lib/handlers/trusted-root.mjs | 3.9 kB | — | 1.5 kB | — |
| dist/lib/handlers/unified-wrapper.mjs | 94.4 kB | −31 B (-0.0%) ✅ | 17.7 kB | +6 B |
| dist/lib/handlers/version-manager.mjs | 14.4 kB | — | 3.7 kB | — |
| dist/lib/helpers/caller-pinning.mjs | 804 B | — | 496 B | — |
| dist/lib/helpers/cjs-export-names.mjs | 6.9 kB | — | 2.7 kB | — |
| dist/lib/helpers/class-instance-wrapper.mjs | 2.7 kB | — | 1.1 kB | — |
| dist/lib/helpers/config.mjs | 22.7 kB | — | 5.5 kB | — |
| dist/lib/helpers/defaults.mjs | 1.3 kB | −25 B (-1.9%) ✅ | 773 B | −12 B |
| dist/lib/helpers/eventemitter-context.mjs | 8.7 kB | — | 1.8 kB | — |
| dist/lib/helpers/eventtarget-context.mjs | 3.3 kB | — | 1.2 kB | — |
| dist/lib/helpers/eventtarget-property-context.mjs | 2.8 kB | — | 1.1 kB | — |
| dist/lib/helpers/generate-manifest.mjs | 10.6 kB | — | 3.3 kB | — |
| dist/lib/helpers/hint-detector.mjs | 1.3 kB | — | 756 B | — |
| dist/lib/helpers/instance-imports.mjs | 10.9 kB | — | 3.7 kB | — |
| dist/lib/helpers/manifest-resolver.mjs | 1004 B | — | 611 B | — |
| dist/lib/helpers/modes-utils.mjs | 1.2 kB | — | 726 B | — |
| dist/lib/helpers/module-discovery.mjs | 7.5 kB | — | 2.5 kB | — |
| dist/lib/helpers/module-manifest-validator.mjs | 10.1 kB | — | 2.0 kB | — |
| dist/lib/helpers/module-sort.mjs | 1.0 kB | — | 593 B | — |
| dist/lib/helpers/observer-context.mjs | 2.1 kB | — | 1004 B | — |
| dist/lib/helpers/pattern-matcher.mjs | 3.0 kB | — | 1.4 kB | — |
| dist/lib/helpers/platform.mjs | 1.8 kB | — | 953 B | — |
| dist/lib/helpers/reserved-keys.mjs | 1.1 kB | +1.1 kB (+100.0%) |
612 B | +612 B |
| dist/lib/helpers/resolve-from-caller.mjs | 3.0 kB | — | 1.3 kB | — |
| dist/lib/helpers/sanitize.mjs | 7.8 kB | — | 2.3 kB | — |
| dist/lib/helpers/scheduler-context.mjs | 2.0 kB | — | 901 B | — |
| dist/lib/helpers/utilities.mjs | 1.7 kB | — | 917 B | — |
| dist/lib/i18n/translations.mjs | 5.0 kB | — | 1.8 kB | — |
| dist/lib/modes/eager.mjs | 2.1 kB | — | 1.0 kB | — |
| dist/lib/modes/lazy.mjs | 2.5 kB | — | 1.2 kB | — |
| dist/lib/processors/flatten.mjs | 11.6 kB | — | 2.6 kB | — |
| dist/lib/processors/loader.mjs | 15.5 kB | — | 4.9 kB | — |
| dist/lib/processors/type-generation-worker.mjs | 1.5 kB | — | 841 B | — |
| dist/lib/processors/type-generator.mjs | 6.5 kB | — | 2.5 kB | — |
| dist/lib/processors/typescript.mjs | 14.3 kB | — | 5.1 kB | — |
| dist/lib/runtime/runtime-asynclocalstorage.mjs | 3.0 kB | — | 1.1 kB | — |
| dist/lib/runtime/runtime-livebindings.mjs | 3.1 kB | — | 1.1 kB | — |
| dist/lib/runtime/runtime.mjs | 2.3 kB | — | 815 B | — |
| dist/lib/typegen/typegen.mjs | 2.5 kB | — | 1.1 kB | — |
| dist/slothlet.mjs | 24.3 kB | — | 6.4 kB | — |
| index.cjs | 2.5 kB | −763 B (-22.7%) ✅ | 1.2 kB | −243 B |
| index.mjs | 7.7 kB | +826 B (+11.7%) |
3.2 kB | +337 B |
| Total | 700.1 kB | +858 B | 183.7 kB | +610 B |
📊 Generated by bundle-size. Brotli sizes also measured but omitted from the table for brevity.
index.cjs wrapped index.mjs in its own async function and attached
.defaults later from a dynamic import(), so require("@cldmv/slothlet")
returned a different function than the ESM default export and
.defaults was undefined in the same tick as the require().
- index.cjs: a plain require of index.mjs, re-exporting its default,
the named slothlet alias and (through the function) .defaults, all
synchronously. Where Node.js has no require(esm) (before 20.19 /
22.12) it throws ERR_REQUIRE_ESM with a message pointing to import().
- helpers/reserved-keys: new import-free module holding the
ComponentBase.INTERNAL_KEYS and IMPL_METADATA_KEYS Sets. index.mjs
statically imports helpers/defaults, which reached helpers/platform
(top-level await) through the wrapper classes; require(esm) rejects a
graph with top-level await. The classes now serve the same Set objects
from this module, so the entry graph is index.mjs, helpers/defaults
and helpers/reserved-keys only.
- devcheck.mjs is no longer published: removed from files and the
./devcheck export, and index.mjs imports it by relative path inside
its existing try/catch (still skipped in a browser).
- tests/node/entrypoint-cjs.cjs: require() returns the ESM default with
.defaults set synchronously, and the require(esm) check fires with
--no-experimental-require-module. Runs in npm test via test:node.
@cldmv/fix-headers 2.1.0 -> 2.1.4. `npm run fix:headers` restamped the headers of 1150 files in the framed 2.1 layout (an empty ` *` line inside the opener and before the closer), refreshed @last modified, and corrected 89 @Date epochs that did not match their date text. No JSON or Markdown file was touched. types/*.d.mts.map are regenerated for the shifted lines. - tools/dev/fix-headers.mjs: pass `margin: 1`, as the shared @cldmv/configs fix-headers config does. The default margin of 2 is collapsed to 1 by prettier, so precommit's fix:headers and format steps would rewrite every file back and forth on each run. - tools/dev/analyze-errors.mjs: the header check and the stacked-header check accept empty ` *` frame lines, so the framed layout is not reported as a missing header.
Turn on fix-headers' normalizeDateFormat, as the shared @cldmv/configs config does. @last modified time was written in the space form (2026-10-03 20:02:20 -07:00) next to @Date in the ISO form, and 580 @Date values were still in the space form. Every date is now written as 2026-10-03T20:02:20-07:00; each date keeps its instant (epochs unchanged). Only header date lines change.
slothlet's fix-headers wrapper predates @cldmv/configs and fix-headers' extends support, so it hard-coded its house settings. It now passes .configs/fix-headers.json, which extends @cldmv/configs/fix-headers.json, and only sets the file set (the same lists analyze checks). The shared settings restamp 288 headers: @author and @last modified by use the signing-key name (Nate Corcoran), 4 last-modified emails move to the noreply address, and 16 @Date values move back to the file's first commit. The wrapper's --diff (and --dry-run, which implies it) now prints each changed file's header diff; before, it only listed file names.
The CJS entry set module.exports.slothlet on the ESM entry's own function
so that `const { slothlet } = require(...)` works. That wrote a property
onto the function ESM consumers import, so its own keys were
["defaults"] for an ESM-only load but ["defaults", "slothlet"] once
anything had called require().
index.mjs now sets slothlet.slothlet itself, and index.cjs no longer writes
to the shared function, so every consumer sees the same object (defaults
and slothlet) regardless of load order. The generated types declare the
property too. tests/node/entrypoint-cjs.cjs checks the ESM-only and
require() shapes match; it fails on the previous entries.
This branch has not been deployed
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.
🚀 What's Changed
💥 Breaking Changes
No breaking changes
✨ Features
No new features
🐛 Bug Fixes
fix(exports): give CJS and ESM consumers an identical slothlet function #570
fix(cjs): load the CommonJS entry synchronously through require(esm) #568
📦 Dependencies
chore: write every header date in ISO form #569
deps: bump the patch group across 1 directory with 7 updates #566
Build(deps): bump the npm_and_yarn group across 1 directory with 2 updates #565
deps: bump @cldmv/fix-headers from 1.3.12 to 2.1.0 #564
Build(deps): bump markdown-it from 14.2.0 to 14.3.2 in the npm_and_yarn group across 1 directory #561
🔧 Other Changes
fix(exports): give CJS and ESM consumers an identical slothlet function #570
chore: write every header date in ISO form #569
👥 Contributors
Avg: 99.5% ·
a7b7038· Node lts/*Co-authored-by: Shinrai Shinrai@users.noreply.github.com