Skip to content

deps: bump the patch group across 1 directory with 5 updates - #72

Merged
Shinrai merged 1 commit into
nextfrom
dependabot/npm_and_yarn/next/patch-7dba3475df
Oct 8, 2026
Merged

Shinrai merged 1 commit into
nextfrom
dependabot/npm_and_yarn/next/patch-7dba3475df

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 7, 2026

Copy link
Copy Markdown

Bumps the patch group with 5 updates in the / directory:

Package From To
@cldmv/eslint-plugin-jsonv 1.0.13 1.0.15
@cldmv/jsonv 1.1.1 1.1.3
@cldmv/prettier-plugin-jsonv 1.1.0 1.1.3
@cldmv/vitest-runner 1.5.1 1.5.3
@types/node 26.6.3 26.6.4

Updates @cldmv/eslint-plugin-jsonv from 1.0.13 to 1.0.15

Release notes

Sourced from @​cldmv/eslint-plugin-jsonv's releases.

v1.0.15

release: v1.0.15 - update expectations for @​cldmv/jsonv 1.1.1 behavior…

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

No bug fixes

📦 Dependencies

  • #51
    • deps: bump the minor group across 1 directory with 2 updates (e3a7e2a)

🔧 Other Changes

  • #52
    • ci: run the in-repo PR mirror job instead of skipping it (ce6fe35)

coverage

Metric Coverage
Statements 100.0%
Branches 100.0%
Functions 100.0%
Lines 100.0%

Avg: 100.0% · 813a790 · Node lts/*

v1.0.14

No release notes provided.

... (truncated)

Commits
  • f883d44 release: v1.0.15 - update expectations for @​cldmv/jsonv 1.1.1 behavior…
  • 8ec2524 release: v1.0.14 - adopt the shared CLDMV fix-headers config and stamp…
  • See full diff in compare view

Updates @cldmv/jsonv from 1.1.1 to 1.1.3

Release notes

Sourced from @​cldmv/jsonv's releases.

v1.1.3

release: v1.1.3 - run the in-repo PR mirror job instead of skipping it

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

No bug fixes

📦 Dependencies

  • #76
    • deps: bump @​cldmv/eslint-plugin-jsonv (9d20391)

🔧 Other Changes

  • #78
    • ci: run the in-repo PR mirror job instead of skipping it (cce6008)

coverage

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

Avg: 98.7% · 47d2ad9 · Node lts/*

v1.1.2

release: v1.1.2 - bump @​types/node from 26.6.2 to 26.6.3 in the patch…

... (truncated)

Commits
  • f5e9543 release: v1.1.3 - run the in-repo PR mirror job instead of skipping it
  • e9d6ce1 release: v1.1.2 - bump @​types/node from 26.6.2 to 26.6.3 in the patch…
  • See full diff in compare view

Updates @cldmv/prettier-plugin-jsonv from 1.1.0 to 1.1.3

Release notes

Sourced from @​cldmv/prettier-plugin-jsonv's releases.

v1.1.3

release: v1.1.3 - run the in-repo PR mirror job instead of skipping it

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

No bug fixes

📦 Dependencies

No dependency updates

🔧 Other Changes

  • #49
    • ci: run the in-repo PR mirror job instead of skipping it (bcc672e)

coverage

Metric Coverage
Statements 100.0%
Branches 100.0%
Functions 100.0%
Lines 100.0%

Avg: 100.0% · 18d9583 · Node lts/*

v1.1.2

release: v1.1.2 - bump the patch group across 1 directory with 2 updates

... (truncated)

Commits

Updates @cldmv/vitest-runner from 1.5.1 to 1.5.3

Release notes

Sourced from @​cldmv/vitest-runner's releases.

v1.5.3

release: v1.5.3 - fail clearly on Node without require(esm)

vitest-runner v1.5.3 Changelog

Release Date: October 2026 Release Type: Patch Branch: release/1.5.3


Overview

This release changes how dist/index.cjs loads the ES module build. The CommonJS entry no longer goes through createRequire, which kept bundlers from seeing the dependency, and it now fails with a clear, actionable error on a Node.js version that cannot require() an ES module. New node:test checks run the built CommonJS entry point on every test and coverage run.

The ES module build, the CLI and the run() API are unchanged, and on Node.js versions with require(esm) (20.19+ and 22.12+), require("@cldmv/vitest-runner") returns the same named exports as before.

It also raises engines.node to >=22.12.0 (#73). The old >=20.19.0 floor was never true: the runtime dependency chalk 6 needs Node.js 22, the current vitest 5 peer needs ^22.12.0, and CI only ever tested 22.12 and later.


💥 Breaking Changes

Node.js 20 is no longer supported (#73, fixes #72)

engines.node moves from >=20.19.0 to >=22.12.0, despite this being a patch release. In practice Node.js 20 already stopped working cleanly in v1.5.2: chalk 6.0.1 declares Node.js 22 or later, so Node.js 20 installs printed an EBADENGINE warning and failed outright under engine-strict, and vitest 5 does not install on Node.js 20 at all. The floor now says what the package actually needs.

🐛 Bug Fixes

The CommonJS entry uses a plain require() (#69)

src/cjs-shim.cjs, which the build copies verbatim to dist/index.cjs, loaded ./index.mjs through createRequire(__filename). A .cjs file already has require, so createRequire added nothing, and it hid the dependency from bundlers such as esbuild and webpack, which detect dependencies from static require("…") calls. The shim now calls require("./index.mjs") directly and exports its result.

require() fails clearly on Node.js without require(esm) (#69)

On a Node.js version without synchronous require(esm) (before 20.19 on the 20.x line, or before 22.12), the shim's require() threw a generic ERR_REQUIRE_ESM that pointed at the package's internals. The shim now checks process.features.require_module first and, when it is missing, throws an error with the same ERR_REQUIRE_ESM code and a message naming the package, the required versions and the running version:

@cldmv/vitest-runner: require() needs Node.js ^20.19.0 or >=22.12.0 (this is v20.18.0). On older Node.js, load the package with import() instead.

Code that catches ERR_REQUIRE_ESM by code keeps working.

🧪 Tests

  • New tests/cjs/entry.test.cjs, run with node --test by a new test:cjs script after a fresh npm run build. It checks that require() of the built package returns the same named exports as import, and that the version check throws the new error when require(esm) is unavailable.
  • npm test, npm run test:coverage and npm run ci:coverage now run test:cjs after Vitest, so CI exercises the published CommonJS entry point.

📄 License

... (truncated)

Commits
  • a554cdb release: v1.5.3 - fail clearly on Node without require(esm)
  • fed1e56 release: v1.5.2 - bump @​types/node from 25.3.0 to 26.6.3
  • See full diff in compare view

Updates @types/node from 26.6.3 to 26.6.4

Commits

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

Bumps the patch group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@cldmv/eslint-plugin-jsonv](https://github.com/CLDMV/jsonv-eslint-plugin-jsonv) | `1.0.13` | `1.0.15` |
| [@cldmv/jsonv](https://github.com/CLDMV/jsonv) | `1.1.1` | `1.1.3` |
| [@cldmv/prettier-plugin-jsonv](https://github.com/CLDMV/jsonv-prettier-plugin-jsonv) | `1.1.0` | `1.1.3` |
| [@cldmv/vitest-runner](https://github.com/CLDMV/vitest-runner) | `1.5.1` | `1.5.3` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `26.6.3` | `26.6.4` |



Updates `@cldmv/eslint-plugin-jsonv` from 1.0.13 to 1.0.15
- [Release notes](https://github.com/CLDMV/jsonv-eslint-plugin-jsonv/releases)
- [Commits](CLDMV/jsonv-eslint-plugin-jsonv@v1.0.13...v1.0.15)

Updates `@cldmv/jsonv` from 1.1.1 to 1.1.3
- [Release notes](https://github.com/CLDMV/jsonv/releases)
- [Changelog](https://github.com/CLDMV/jsonv/blob/master/CHANGELOG.md)
- [Commits](CLDMV/jsonv@v1.1.1...v1.1.3)

Updates `@cldmv/prettier-plugin-jsonv` from 1.1.0 to 1.1.3
- [Release notes](https://github.com/CLDMV/jsonv-prettier-plugin-jsonv/releases)
- [Commits](CLDMV/jsonv-prettier-plugin-jsonv@v1.1...v1.1.3)

Updates `@cldmv/vitest-runner` from 1.5.1 to 1.5.3
- [Release notes](https://github.com/CLDMV/vitest-runner/releases)
- [Commits](CLDMV/vitest-runner@v1.5.1...v1.5.3)

Updates `@types/node` from 26.6.3 to 26.6.4
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@cldmv/eslint-plugin-jsonv"
  dependency-version: 1.0.15
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: "@cldmv/jsonv"
  dependency-version: 1.1.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: "@cldmv/prettier-plugin-jsonv"
  dependency-version: 1.1.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: "@cldmv/vitest-runner"
  dependency-version: 1.5.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: "@types/node"
  dependency-version: 26.6.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@cldmv-bot cldmv-bot Bot added the type: dependencies Relates to dependency updates, version bumps, or package management label Oct 7, 2026
@Shinrai
Shinrai merged commit dcf6fa1 into next Oct 8, 2026
29 checks passed
cldmv-bot Bot added a commit that referenced this pull request Oct 9, 2026
# DroidSock v2.1.0 Changelog

**Release Date**: October 2026
**Release Type**: Minor

---

## Overview

v2.1.0 gives a device a connection lifecycle. A dropped connection used to go unnoticed until the next call threw "Device not connected", and nothing reconnected it. Each device now emits lifecycle events, can reconnect on its own with exponential backoff, enables TCP keepalive, and can optionally probe the device with a heartbeat to catch a hung `adbd`. All of it is opt-in or additive: existing code that never passes the new options behaves as before, apart from TCP keepalive now being switched on by the `keepAlive` config value that was previously ignored.

The release also raises `engines.node` to `>=22.15.0` to match `@cldmv/slothlet` 3.22, and carries the dependency bumps queued since v2.0.3 and a development-toolchain security fix.

---

## ✨ Features

### Lifecycle events ([#75](#75))

Every device emits `connecting`, `connected`, `disconnected`, `reconnecting`, `reconnected`, `error` and `gave-up`, subscribed to with `on(event, listener)`, `once(event, listener)` and `off(event, listener)` (each returns the device, so calls chain). Every payload carries `deviceId`, `host` and `port`. `disconnected` also reports whether the close was `intentional` (a `disconnect()` or `remove()` call) and a `reason` of `"requested"`, `"closed"` or `"heartbeat"`. The events honour the existing `emitEvents` config option, a throwing listener is logged without affecting the connection, and `error` is only emitted when a listener is attached.

### Opt-in auto-reconnect with backoff ([#75](#75))

`device.connect(host, port, { autoReconnect })` reconnects after an unexpected drop. `true` uses the defaults; an object overrides them: `initialDelay` (default: the `retryDelay` config value, 1000 ms), `factor` (2), `maxDelay` (30000 ms), `jitter` (0.2) and `maxAttempts` (unlimited). An explicit `disconnect()` or `remove()` never triggers it, an explicit `reconnect()` cancels a pending automatic attempt, and a device that rejects authentication stops the retries with `gave-up` (reason `"auth"`). After `maxAttempts` consecutive failures the device emits `gave-up` (reason `"max-attempts"`).

### TCP keepalive ([#75](#75))

The `keepAlive` and `keepAliveInterval` config values, which were defined but never read, now enable TCP keepalive on each connection socket (default on, 30 s). A silently dead link is eventually closed by the operating system and reported as a drop.

### Optional heartbeat

ADB has no ping message, so `device.connect(host, port, { heartbeat })` runs a trivial shell command on a timer (`true` means every 15 s with a 5 s timeout; an object sets `interval` and `timeout`). A probe that fails or times out closes the socket: the device emits `error`, then `disconnected` with reason `"heartbeat"`, and `autoReconnect` takes over when enabled. Probes never overlap and stop on any disconnect.

`docs/API.md` documents the options and the event table under "Lifecycle events".

---

## 🐛 Bug Fixes

### A failed handshake no longer leaks its socket ([#75](#75))

When the handshake failed (authentication rejected, or an unexpected reply), the connection was rejected but its socket stayed open. With auto-reconnect, every failed retry would have left one behind. The socket is now destroyed on a failed handshake.

### `engines.node` now matches `@cldmv/slothlet` 3.22 ([#74](#74))

`@cldmv/slothlet` 3.22 requires Node.js `>=22.15.0`, but the package declared `>=22.12.0`, so installs on Node.js 22.12 to 22.14 resolved with an engines warning for a dependency the package cannot run on. `engines.node`, the CI minimum-Node default and the README requirement are now `>=22.15.0`.

---

## 🔒 Security

### `brace-expansion` 5.0.9 → 5.0.12 ([#66](#66))

Fixes GHSA-q2hr-2g5m-vwhr (CVE-2026-102277), a medium-severity (CVSS 5.3) denial of service: expanding input shaped like `{a},b}` takes time quadratic in the number of literal `}` characters. `brace-expansion` is a transitive dependency of `minimatch`, which only the development tooling pulls in, and the lockfile records it as development-only, so it is not part of the installed package. The repository's Dependabot alert for it ([alert 3](https://github.com/CLDMV/droidsock/security/dependabot/3)) closes once this release reaches `master`.

---

## 🔧 Dependencies

Runtime:

- `@cldmv/slothlet`: the lockfile moves from 3.21.0 to 3.22.0 ([#70](#70)). The declared range stays `^3.15.0`. The 3.22.0 release adds `api.slothlet.restart()`, an `around` hook type and per-instance helper modules, and raises the minimum Node.js version to 22.15.0 (reflected in `engines.node` above).

Dev-only:

- **Patch group** ([#72](#72)): `@cldmv/vitest-runner` 1.5.1 → 1.5.3, `@cldmv/jsonv` 1.1.1 → 1.1.3, `@cldmv/eslint-plugin-jsonv` 1.0.13 → 1.0.15, `@cldmv/prettier-plugin-jsonv` 1.1.0 → 1.1.3 and `@types/node` 26.6.3 → 26.6.4.
- **Minor group** ([#70](#70)): `globals` 17.12.0 → 17.13.0, alongside the `@cldmv/slothlet` bump above.
- **ESLint** ([#68](#68)): `eslint` 10.11.0 → 10.12.0.
- **Vitest group** ([#67](#67)): `vitest`, `@vitest/coverage-v8`, `@vitest/mocker` and `@vitest/spy` 5.0.2 → 5.0.3, with `vite` 8.3.1 → 8.3.2 and `rolldown` 1.2.11 → 1.2.12.
- **Security** ([#66](#66)): `brace-expansion`, described above.

---

## 📚 Documentation

- **NEW:** [docs/changelog/v2/v2.1.0.md](./v2.1.0.md): this changelog.
- `docs/API.md`: the `autoReconnect` and `heartbeat` options and the lifecycle event table.
- README **✨ What's New** updated for v2.1.0.

---

## Upgrade notes

- No breaking changes. Without the new options a device behaves as before; the one default-on difference is TCP keepalive, driven by the `keepAlive` config value.
- Use Node.js 22.15 or later (any Node.js 24 or 26 release qualifies). `engines.node` now says so, matching what `@cldmv/slothlet` 3.22 already required.
- To keep a long-lived device connected, pass `{ autoReconnect: true, heartbeat: true }` to `device.connect()` and listen for `reconnecting`, `reconnected` and `gave-up`.



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

- @Shinrai

</details>

---

<!-- coverage-start -->

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

| Metric | Coverage |
|--------|----------|
| Statements | 93.4% |
| Branches   | 85.8% |
| Functions  | 94.7% |
| Lines      | 95.0% |

*Avg: **92.2%** · `f8bb7ec` · 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