Skip to content

chore(deps-dev): bump the npm_and_yarn group across 1 directory with 2 updates - #105

Closed
cldmv-bot[bot] wants to merge 1 commit into
hotfixesfrom
hotfix-redirect/pr-104
Closed

cldmv-bot[bot] wants to merge 1 commit into
hotfixesfrom
hotfix-redirect/pr-104

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Supersedes #104. Cherry-picked cleanly onto hotfixes' own tip instead of merging Dependabot's branch as-is — that branch forks from next, and merging it directly would carry forward any of next's pooled work that isn't on hotfixes yet. See Auto-redirected PR base: on #104.


Bumps the npm_and_yarn group with 2 updates in the / directory: source-map-js and vite.

Updates source-map-js from 1.2.1 to 1.2.2

Release notes

Sourced from source-map-js's releases.

v1.2.2

Changelog

Sourced from source-map-js's changelog.

1.2.2

Commits

Updates vite from 8.3.2 to 8.3.5

Release notes

Sourced from vite's releases.

v8.3.5

Bug Fixes

  • build: handle missing chunk import maps (#23777) (8d7623d)
  • build: include preload dependencies to chunk import map hashing (#23793) (4d16e7c)
  • bundled-dev: apply server.origin to asset URLs (#23683) (52ba877)
  • bundled-dev: declare utf-8 charset in fallback page (#23846) (197daf6)
  • bundled-dev: ignore build.chunkImportMap (#23685) (cfe917d)
  • bundled-dev: include user import.meta.env.* defines in the import.meta.env object (#23713) (6019aa7)
  • bundled-dev: map forwarded error stacks through the bundle source maps (#23741) (11fe1e4)
  • bundled-dev: normalize served output files (#23684) (df4e02c)
  • bundled-dev: stop hmr propagation at modules that are no longer imported (#23839) (7471e8c)
  • css: don't fail on a literal % in url() (#23676) (50b382d)
  • deps: update all non-major dependencies (#23731) (cf80aa5)
  • deps: update all non-major dependencies (#23826) (77d8373)
  • deps: update rolldown-related dependencies (#23733) (43f0d05)
  • deps: update rolldown-related dependencies (#23827) (c2e0418)
  • optimizer: fall back to yarn.lock for lockfile hash (#23667) (f206096)
  • optimizer: scan oxc.jsxInject imports (#23758) (38f3cb4)
  • optimizer: skip patches dir check for yarn.lock fallback (#23725) (8e890e1)
  • optimizer: skip patches dir hash for nub lockfile (#23761) (a7d5696)
  • resolve: support subpath imports with multiple # (#23631) (0d86b34)
  • resolve: update resolve.exports to 2.0.4 (#23739) (4ea708a)
  • server: handle socket errors on upgrade requests not taken by the HMR server (#23728) (c2c9ef4)
  • server: only strip base when path matches a full segment (#23641) (3dfde87)

Performance Improvements

  • ssr: extract inline source maps without a regexp (#23775) (6a02780)

Miscellaneous Chores

Code Refactoring

  • deps: replace @vercel/detect-agent with std-env (#23744) (ce4293f)
  • dev: consolidate moduleURL to file path utilities (#23828) (df7b40e)
  • dev: separate import resolution from URL conversion (#23791) (6116689)
  • dev: share ModuleURL and BrowserURL conversions (#23790) (446954c)
  • dev: use ModuleURLs throughout HTML transforms (#23815) (a162990)

v8.3.4

Features

  • bundled-dev: support import.meta.hot.acceptExports (#23463) (bc0f21c)

Bug Fixes

... (truncated)

Changelog

Sourced from vite's changelog.

8.3.5 (2026-10-21)

Bug Fixes

  • build: handle missing chunk import maps (#23777) (8d7623d)
  • build: include preload dependencies to chunk import map hashing (#23793) (4d16e7c)
  • bundled-dev: apply server.origin to asset URLs (#23683) (52ba877)
  • bundled-dev: declare utf-8 charset in fallback page (#23846) (197daf6)
  • bundled-dev: ignore build.chunkImportMap (#23685) (cfe917d)
  • bundled-dev: include user import.meta.env.* defines in the import.meta.env object (#23713) (6019aa7)
  • bundled-dev: map forwarded error stacks through the bundle source maps (#23741) (11fe1e4)
  • bundled-dev: normalize served output files (#23684) (df4e02c)
  • bundled-dev: stop hmr propagation at modules that are no longer imported (#23839) (7471e8c)
  • css: don't fail on a literal % in url() (#23676) (50b382d)
  • deps: update all non-major dependencies (#23731) (cf80aa5)
  • deps: update all non-major dependencies (#23826) (77d8373)
  • deps: update rolldown-related dependencies (#23733) (43f0d05)
  • deps: update rolldown-related dependencies (#23827) (c2e0418)
  • optimizer: fall back to yarn.lock for lockfile hash (#23667) (f206096)
  • optimizer: scan oxc.jsxInject imports (#23758) (38f3cb4)
  • optimizer: skip patches dir check for yarn.lock fallback (#23725) (8e890e1)
  • optimizer: skip patches dir hash for nub lockfile (#23761) (a7d5696)
  • resolve: support subpath imports with multiple # (#23631) (0d86b34)
  • resolve: update resolve.exports to 2.0.4 (#23739) (4ea708a)
  • server: handle socket errors on upgrade requests not taken by the HMR server (#23728) (c2c9ef4)
  • server: only strip base when path matches a full segment (#23641) (3dfde87)

Performance Improvements

  • ssr: extract inline source maps without a regexp (#23775) (6a02780)

Miscellaneous Chores

Code Refactoring

  • deps: replace @vercel/detect-agent with std-env (#23744) (ce4293f)
  • dev: consolidate moduleURL to file path utilities (#23828) (df7b40e)
  • dev: separate import resolution from URL conversion (#23791) (6116689)
  • dev: share ModuleURL and BrowserURL conversions (#23790) (446954c)
  • dev: use ModuleURLs throughout HTML transforms (#23815) (a162990)

8.3.4 (2026-10-08)

Features

  • bundled-dev: support import.meta.hot.acceptExports (#23463) (bc0f21c)

Bug Fixes

... (truncated)

Commits
  • 981f07f release: v8.3.5 (#23856)
  • 0d86b34 fix(resolve): support subpath imports with multiple # (#23631)
  • 6a02780 perf(ssr): extract inline source maps without a regexp (#23775)
  • 8e890e1 fix(optimizer): skip patches dir check for yarn.lock fallback (#23725)
  • 197daf6 fix(bundled-dev): declare utf-8 charset in fallback page (#23846)
  • 4d16e7c fix(build): include preload dependencies to chunk import map hashing (#23793)
  • df7b40e refactor(dev): consolidate moduleURL to file path utilities (#23828)
  • a162990 refactor(dev): use ModuleURLs throughout HTML transforms (#23815)
  • 6116689 refactor(dev): separate import resolution from URL conversion (#23791)
  • 446954c refactor(dev): share ModuleURL and BrowserURL conversions (#23790)
  • Additional commits viewable 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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

…2 updates

Bumps the npm_and_yarn group with 2 updates in the / directory: [source-map-js](https://github.com/7rulnik/source-map-js) and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).

Updates `source-map-js` from 1.2.1 to 1.2.2
- [Release notes](https://github.com/7rulnik/source-map-js/releases)
- [Changelog](https://github.com/7rulnik/source-map-js/blob/main/CHANGELOG.md)
- [Commits](7rulnik/source-map-js@v1.2.1...v1.2.2)

Updates `vite` from 8.3.2 to 8.3.5
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.3.5/packages/vite)

---
updated-dependencies:
- dependency-name: source-map-js
  dependency-version: 1.2.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: vite
  dependency-version: 8.3.5
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <[email protected]>
(cherry picked from commit edca27b)
@cldmv-bot cldmv-bot Bot added dependencies type: dependencies Relates to dependency updates, version bumps, or package management labels Oct 21, 2026
@Shinrai

Shinrai commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Superseded by #114, which bumps these to newer versions.

@Shinrai Shinrai closed this Nov 1, 2026
cldmv-bot Bot added a commit that referenced this pull request Nov 2, 2026
# `@cldmv/jsonv` v1.2.0 Changelog

**Release Date**: November 2026
**Release Type**: Minor
**Branch**: `release/1.2.0`

---

## Overview

jsonv moves to the CLDMV library layout. The build switches from `tsc` plus a separate CommonJS wrapper script to tsup, the CommonJS wrappers now sit beside the ESM files they load instead of in a `dist/cjs/` folder, and the broken `json-dev` export condition is replaced by a working `jsonv-dev` condition. Every public specifier (`@cldmv/jsonv`, `@cldmv/jsonv/parser`, `@cldmv/jsonv/<year>`, `@cldmv/jsonv/loader`, `@cldmv/jsonv/year-resolver`) resolves to the same API as before, through both `import` and `require()`. The parser source did not change.

The package now declares `engines.node` `>=22.22.0`, up from `>=18.0.0`. That is a real requirement change for anyone still on Node.js 18 or 20; see the upgrade notes.

---

## ✨ Features

### CLDMV library layout ([#112](#112), closes [#110](#110))

- **tsup build.** tsup compiles `src/**/*.mts` file by file into `dist/` with no bundling, so every year module stays its own file and all entries share one copy of the parser and the error classes. Output keeps the `es2022` target the `tsc` build used (jsonv also runs in browsers) and is now minified with function and class names kept. `generate:years` reads `PUBLISHED_YEARS` from the source now that the built resolver is minified.
- **CommonJS wrappers beside their ESM files.** The root CommonJS entry is a hand-written `src/index.cjs`, copied verbatim to `dist/index.cjs` next to `dist/index.mjs`. The generated per-module wrappers are `dist/years/<name>.cjs` beside each `dist/years/<name>.mjs`. `dist/cjs/` and `dist/types/cjs/` are gone; `main` and every `require` export point at the new files, and `require` type resolution for the year subpaths now uses the same `dist/types/years/*.d.mts` declarations as `import`.
- **`jsonv-dev` export condition.** The old `json-dev` condition pointed `import` at a `src/index.mjs` and `require` at `src/cjs/*.cjs` files that don't exist, so it could not load. It is renamed `jsonv-dev` and maps only `import` to the TypeScript source in `src/`; the test suite runs with it, so tests exercise `src/` without a build. `require()` always resolves to `dist/`, with or without the condition, because there is no `src/index.mjs` for a CommonJS wrapper to load.
- `prepack` now builds the package, and sourcemaps are generated for local debugging but left out of the published tarball.

---

## 🐛 Bug Fixes

### Broken `./test/*` export and `dev` script removed ([#112](#112), fixes [#113](#113))

The `./test/*` export pointed at `./test-dynamic.mjs`, a file that is neither in the repository nor in the package, so any import through it failed. The `dev` script ran plain `node` with the dev condition, which loads `src/*.mts` and fails on its sibling imports outside a TypeScript-aware tool. Both are removed.

---

## 🔧 CI & tooling

- **Node.js floor raised to 22.22.0** ([#112](#112)). The dev toolchain (`tsup` 9 and its `chokidar` 6 dependency) needs Node.js 22.22, so nothing older can be built or tested. `engines.node`, the CommonJS guard message and the CI and publish matrix floors (previously 22.12.0) move together. The layout work first set `^20.19.0 || >=22.13.0`; that never shipped.
- CI's coverage legs run `build:ci`, and the bundle-size check measures the `.mjs` and `.cjs` files in `dist/`.
- `tests/cjs/entry.test.cjs` runs with `--conditions=jsonv-dev` and covers `dist/index.cjs`, a year wrapper, the verbatim copy of `src/index.cjs`, where the wrappers sit, and `require()` by package name with and without the condition.
- TypeScript stays on 6.x, because `typescript-eslint`'s peer range stops below 6.1 ([#114](#114)).

---

## 📚 Documentation

- **NEW:** [docs/changelog/v1/v1.2.0.md](./v1.2.0.md) — this changelog.
- README: the Node.js requirement, a **Build layout** note and a description of what the `jsonv-dev` condition does in a checkout; **What's New** now leads with v1.2.0.
- [docs/versioning-and-exports.md](../../versioning-and-exports.md): the `require()` Node.js requirement.

---

## 🔧 Dependencies

jsonv has no runtime dependencies. Everything below is development-only.

- **Security overrides** ([#115](#115)): `katex` `>=0.19.1 <1.0.0` (0.16.47 → 0.19.1) and `minimatch` `^11.0.3` (10.2.6 → 11.0.3), clearing dev-only advisories that come in through `eslint` and `@eslint/markdown`. Neither package is installed by consumers of jsonv.
- **Toolchain bumps** ([#114](#114)): `@cldmv/configs` 1.2.4 → 1.3.0, `@cldmv/eslint-plugin-jsonv` 1.0.15 → 1.0.17, `@cldmv/fix-headers` 2.2.0 → 2.2.4, `@cldmv/vitest-runner` 1.5.3 → 1.5.6, `@eslint/css` 2.0.0 → 2.0.1, `@eslint/json` 2.1.0 → 2.1.1, `@html-eslint/eslint-plugin` and `@html-eslint/parser` 0.66.1 → 0.67.0, `@types/node` 26.6.4 → 26.6.6, `vitest` and `@vitest/coverage-v8` 5.0.3 → 5.0.5, `eslint` 10.12.0 → 10.14.0, `globals` 17.13.0 → 17.14.0, `typescript-eslint` 8.71.0 → 8.72.1. The lockfile now resolves `vite` 8.3.5 and `source-map-js` 1.2.2, clearing the open Dependabot alerts for both; this supersedes [#111](#111) and the redirected bumps [#100](#100), [#103](#103), [#105](#105), [#107](#107) and [#109](#109).
- `prettier` 3.9.9 → 3.9.10 ([#97](#97)) and `source-map-js` 1.2.1 → 1.2.2 ([#95](#95)).
- **Added:** `tsup` 9.0.0 for the new build.

---

## Upgrade notes

- **Node.js 22.22.0 or later is now required.** v1.1.5 declared `>=18.0.0` for `import` and needed ^20.19.0 or >=22.12.0 for `require()`. On an older Node.js, npm warns with `EBADENGINE` on install (or refuses, with `engine-strict`), those versions are no longer built or tested, and the CommonJS entry's guard message now names `>=22.22.0`. Browser use is unaffected.
- All public specifiers keep their names and exports, through `import` and `require()`. Code that reached into `dist/cjs/` by file path, bypassing `exports`, needs to use the package specifiers instead.
- The `json-dev` condition is gone. It never resolved to existing files; use `jsonv-dev` (ESM only) in a checkout.



<details>
<summary>👥 Contributors</summary>

- @Shinrai

</details>

---

<!-- coverage-start -->

![coverage](https://img.shields.io/badge/coverage-98.7%25-brightgreen?style=for-the-badge&logo=vitest&logoColor=white)

| Metric | Coverage |
|--------|----------|
| Statements | 98.7% |
| Branches   | 97.3% |
| Functions  | 100.0% |
| Lines      | 98.8% |

*Avg: **98.7%** · `332cc1e` · Node lts/**

<!-- coverage-end -->

<!-- co-authors -->

Co-authored-by: Shinrai <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: dependencies Relates to dependency updates, version bumps, or package management

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant