@cldmv/holdmytask 2.1.1 → 2.1.2

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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -16,17 +16,17 @@ Use it with callbacks or promises, from ESM or CommonJS, with full TypeScript de
16
16
 
17
17
  ## ✨ What's New
18
18
 
19
- ### Latest: v2.1.1 (November 2026)
19
+ ### Latest: v2.1.2 (November 2026)
20
20
 
21
- - **`engines.node` is the runtime floor again** — `engines.node` is back to `>=18.12.0`, the version the package actually needs for `import`, instead of v2.1.0's `>=22.22.0`, so installs on older Node.js no longer get an engine warning. The 22.22.0 development toolchain floor moves to `devEngines`, which only applies to work on this repository. `require()` needs Node.js `^20.19.0 || >=22.13.0`, and its error message now says so ([#94](https://github.com/CLDMV/holdmytask/pull/94)).
22
- - [View full v2.1.1 Changelog](https://github.com/CLDMV/holdmytask/blob/master/docs/changelog/v2/v2.1.1.md)
21
+ - **Tooling release, no library changes** — the vitest config now uses `devCondition()` from `@cldmv/configs`, so tests really run against `src/` through the `holdmytask-dev` export condition, and the type scripts are renamed to the fleet names `types:check` and `types:build` ([#99](https://github.com/CLDMV/holdmytask/pull/99), [#101](https://github.com/CLDMV/holdmytask/pull/101)).
22
+ - [View full v2.1.2 Changelog](https://github.com/CLDMV/holdmytask/blob/master/docs/changelog/v2/v2.1.2.md)
23
23
 
24
24
  ### Recent Releases
25
25
 
26
+ - **v2.1.1** (November 2026) — `engines.node` is the runtime floor again (`>=18.12.0`); the 22.22.0 toolchain floor moves to `devEngines` ([Changelog](https://github.com/CLDMV/holdmytask/blob/master/docs/changelog/v2/v2.1.1.md))
26
27
  - **v2.1.0** (November 2026) — Built with tsup from `src/` into `dist/`, `@cldmv/holdmytask/main` becomes a deprecated alias of the root, and `engines.node` went to `>=22.22.0` ([Changelog](https://github.com/CLDMV/holdmytask/blob/master/docs/changelog/v2/v2.1.0.md))
27
28
  - **v2.0.6** (October 2026) — Development dependency updates only (`eslint`, `globals`, `@cldmv/vitest-runner`, `@types/node`); the published package is unchanged ([Changelog](https://github.com/CLDMV/holdmytask/blob/master/docs/changelog/v2/v2.0.6.md))
28
29
  - **v2.0.5** (October 2026) — Task-level `postDelay` / `startDelay` honored, failing callback tasks no longer crash the process, and header tooling on fix-headers 2.2.0 ([Changelog](https://github.com/CLDMV/holdmytask/blob/master/docs/changelog/v2/v2.0.5.md))
29
- - **v2.0.4** (October 2026) — Clearer `require()` error on Node.js without `require(esm)`; `brace-expansion` security patch in development tooling ([Changelog](https://github.com/CLDMV/holdmytask/blob/master/docs/changelog/v2/v2.0.4.md))
30
30
 
31
31
  📚 **For complete version history and detailed release notes, see the [docs/changelog/](https://github.com/CLDMV/holdmytask/tree/master/docs/changelog/) folder.**
32
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cldmv/holdmytask",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "A tiny task queue that waits until your task is ready",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -39,7 +39,7 @@
39
39
  "test": "node tests/run-vitest.mjs && npm run test:cjs",
40
40
  "test:cjs": "npm run build && node --conditions=holdmytask-dev --test tests/cjs/entry.test.cjs",
41
41
  "test:watch": "vitest --config .configs/vitest.config.mjs",
42
- "test:types": "tsc --noEmit --project .configs/tsconfig.dts.jsonc",
42
+ "types:check": "tsc --noEmit --project .configs/tsconfig.dts.jsonc",
43
43
  "coverage": "node tests/run-vitest.mjs --coverage-quiet && npm run test:cjs",
44
44
  "ci:coverage": "npm run coverage",
45
45
  "lint": "eslint --config .configs/eslint.config.mjs .",
@@ -47,10 +47,10 @@
47
47
  "format": "prettier --config .configs/.prettierrc --write .",
48
48
  "format:check": "prettier --config .configs/.prettierrc --check .",
49
49
  "build": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\" && tsup",
50
- "build:types": "tsc --project .configs/tsconfig.dts.jsonc",
51
- "build:ci": "npm run lint && npm run format:check && npm run build:types && npm run test:types && npm run build",
50
+ "types:build": "tsc --project .configs/tsconfig.dts.jsonc",
51
+ "build:ci": "npm run lint && npm run format:check && npm run types:build && npm run types:check && npm run build",
52
52
  "prepack": "npm run build",
53
- "precommit": "npm run build:types && npm run test:types && npm run lint && npm run test",
53
+ "precommit": "npm run types:build && npm run types:check && npm run lint && npm run test",
54
54
  "fix:headers": "fix-headers --config .configs/fix-headers.json"
55
55
  },
56
56
  "keywords": [
@@ -97,7 +97,7 @@
97
97
  "minimatch": "^11.0.3"
98
98
  },
99
99
  "devDependencies": {
100
- "@cldmv/configs": "^1.3.0",
100
+ "@cldmv/configs": "^1.4.0",
101
101
  "@cldmv/fix-headers": "^2.2.4",
102
102
  "@cldmv/vitest-runner": "^1.5.6",
103
103
  "@eslint/css": "^2.0.1",