@cldmv/node-android-tv-remote 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -7
- package/dist/index.cjs +2 -2
- package/package.json +9 -2
package/README.md
CHANGED
|
@@ -14,19 +14,17 @@ Every remote is an event source: operations report through structured `log` even
|
|
|
14
14
|
|
|
15
15
|
## ✨ What's New
|
|
16
16
|
|
|
17
|
-
### Latest: v2.2.
|
|
17
|
+
### Latest: v2.2.1 (November 2026)
|
|
18
18
|
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
- **Fixes** — `waitBootComplete(timeout)` now rejects at its timeout (60 seconds by default) instead of waiting indefinitely, and `screencap()` with a `filepath` reports the file saved only once it is fully written ([#84](https://github.com/CLDMV/node-android-tv-remote/pull/84)).
|
|
22
|
-
- [View full v2.2.0 Changelog](https://github.com/CLDMV/node-android-tv-remote/blob/master/docs/changelog/v2/v2.2.0.md)
|
|
19
|
+
- **`engines.node` is now `>=22.12.0` ([#89](https://github.com/CLDMV/node-android-tv-remote/pull/89))** — v2.2.0 declared `>=22.22.0`, the floor of the development toolchain rather than of the package. The runtime floor is now the one `@devicefarmer/adbkit` 4 and `commander` 15 declare; `require()` needs Node.js 22.13.0 or later. The 22.22.0 toolchain floor moves to `devEngines`, so it only applies when working on this repository. The exported API and behavior are unchanged.
|
|
20
|
+
- [View full v2.2.1 Changelog](https://github.com/CLDMV/node-android-tv-remote/blob/master/docs/changelog/v2/v2.2.1.md)
|
|
23
21
|
|
|
24
22
|
### Recent Releases
|
|
25
23
|
|
|
24
|
+
- **v2.2.0** (November 2026) — library layout with a tsup build into `dist/`, `@devicefarmer/adbkit` 4, `waitBootComplete(timeout)` rejects at its timeout, and `screencap()` reports the file saved only once written; declared Node.js `>=22.22.0` ([Changelog](https://github.com/CLDMV/node-android-tv-remote/blob/master/docs/changelog/v2/v2.2.0.md))
|
|
26
25
|
- **v2.1.9** (October 2026) — `brace-expansion` security fix in the dev toolchain and dev-tooling bumps; no runtime change ([Changelog](https://github.com/CLDMV/node-android-tv-remote/blob/master/docs/changelog/v2/v2.1.9.md))
|
|
27
26
|
- **v2.1.8** (October 2026) — independent event emitters per remote, an unheard `error` no longer crashes the process, `npm run setup-device` works again, relicensed under Apache-2.0 ([Changelog](https://github.com/CLDMV/node-android-tv-remote/blob/master/docs/changelog/v2/v2.1.8.md))
|
|
28
27
|
- **v2.1.7** (October 2026) — CommonJS entry loads the ESM build directly, fails clearly without `require(esm)`, and exports `createAndroidTVRemote` ([Changelog](https://github.com/CLDMV/node-android-tv-remote/blob/master/docs/changelog/v2/v2.1.7.md))
|
|
29
|
-
- **v2.1.6** (October 2026) — CI only: the in-repo PR mirror job runs instead of being skipped; `sharp` lockfile and `@cldmv/vitest-runner` bumps ([Changelog](https://github.com/CLDMV/node-android-tv-remote/blob/master/docs/changelog/v2/v2.1.6.md))
|
|
30
28
|
|
|
31
29
|
> **Note:** v2.1.1 through v2.1.6 were released on GitHub but never published to npm; npm went from v2.1.0 straight to v2.1.7. See the changelogs for what changed in between, including the Node.js 20.9.0 floor from v2.1.1.
|
|
32
30
|
|
|
@@ -54,7 +52,8 @@ Every remote is an event source: operations report through structured `log` even
|
|
|
54
52
|
|
|
55
53
|
### Requirements
|
|
56
54
|
|
|
57
|
-
- **Node.js >=22.
|
|
55
|
+
- **Node.js >=22.12.0** (the package's `engines` floor; adbkit 4 and its `commander` 15 dependency need it). `require()` loads the ESM build through Node's `require(esm)`, so `require()` needs Node.js >=22.13.0, where `require(esm)` runs without warnings.
|
|
56
|
+
- Developing this package needs Node.js 22.22.0 or later (`devEngines`).
|
|
58
57
|
- The **Android Debug Bridge (ADB)** binary installed and available in your system PATH (see below). A `postinstall` check prints install instructions when `adb` is missing.
|
|
59
58
|
- `sharp` installs a platform-specific prebuilt binary; the install environment must be able to fetch it.
|
|
60
59
|
|
package/dist/index.cjs
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @Email: <Shinrai@users.noreply.github.com>
|
|
8
8
|
* -----
|
|
9
9
|
* @Last modified by: Nate Corcoran <CLDMV> (Shinrai@users.noreply.github.com)
|
|
10
|
-
* @Last modified time: 2026-11-
|
|
10
|
+
* @Last modified time: 2026-11-01T16:31:25-08:00 (1793579485)
|
|
11
11
|
* -----
|
|
12
12
|
* @Copyright: Copyright (c) 2013-2026 Catalyzed Motivation Inc. All rights reserved.
|
|
13
13
|
*
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
// early with a message that says what to do instead.
|
|
33
33
|
if (!process.features?.require_module) {
|
|
34
34
|
const error = new Error(
|
|
35
|
-
`@cldmv/node-android-tv-remote: require() needs Node.js >=22.
|
|
35
|
+
`@cldmv/node-android-tv-remote: require() needs Node.js >=22.13.0 (this is ${process.version}). On older Node.js, load the package with import() instead.`
|
|
36
36
|
);
|
|
37
37
|
error.code = "ERR_REQUIRE_ESM";
|
|
38
38
|
throw error;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cldmv/node-android-tv-remote",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"description": "A Node.js library for controlling Android TV devices via ADB keycodes and text input.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -75,7 +75,14 @@
|
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|
|
78
|
-
"node": ">=22.
|
|
78
|
+
"node": ">=22.12.0"
|
|
79
|
+
},
|
|
80
|
+
"devEngines": {
|
|
81
|
+
"runtime": {
|
|
82
|
+
"name": "node",
|
|
83
|
+
"version": ">=22.22.0",
|
|
84
|
+
"onFail": "error"
|
|
85
|
+
}
|
|
79
86
|
},
|
|
80
87
|
"overrides": {
|
|
81
88
|
"katex": ">=0.19.1 <1.0.0",
|