cc-cream 0.1.3 → 0.1.4

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/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@ All notable changes to cc-cream are documented here. Format follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versions follow
5
5
  [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.1.4] — 2026-05-29
8
+
9
+ ### Fixed
10
+ - **Node DEP0190 deprecation warning during setup.** `resolveNodePath()` called `execFileSync('command', ['-v', 'node'], { shell: true })`, which Node warns about because args are concatenated rather than escaped when `shell` is true. Switched to `execSync('command -v node')` — no behavior change, warning gone.
11
+
7
12
  ## [0.1.3] — 2026-05-29
8
13
 
9
14
  ### Fixed
@@ -64,6 +69,7 @@ line and prints a colored ≤3-row bar — zero tokens, the model never sees it.
64
69
  - Supports **macOS and Linux**; Windows is a planned fast-follow.
65
70
  - Requires Claude Code **2.1.132+** (`effort` / `thinking` need 2.1.145+).
66
71
 
72
+ [0.1.4]: https://github.com/bart-turczynski/cc-cream/compare/v0.1.3...v0.1.4
67
73
  [0.1.3]: https://github.com/bart-turczynski/cc-cream/compare/v0.1.2...v0.1.3
68
74
  [0.1.2]: https://github.com/bart-turczynski/cc-cream/compare/v0.1.1...v0.1.2
69
75
  [0.1.1]: https://github.com/bart-turczynski/cc-cream/compare/v0.1.0...v0.1.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-cream",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Claude Code cache/context/cost status-line tool",
5
5
  "directories": {
6
6
  "doc": "docs"
package/src/install.js CHANGED
@@ -8,7 +8,7 @@
8
8
  // The pure `plan()` function does all the decision-making (no I/O) so it is
9
9
  // testable; the CLI wrapper at the bottom handles reading/prompting/writing.
10
10
 
11
- import { execFileSync } from 'node:child_process';
11
+ import { execSync } from 'node:child_process';
12
12
  import fs from 'node:fs';
13
13
  import os from 'node:os';
14
14
  import path from 'node:path';
@@ -188,10 +188,7 @@ function copyRuntimeFiles(sourceFile, destDir) {
188
188
  // process.execPath (the node currently running setup) if that fails.
189
189
  function resolveNodePath() {
190
190
  try {
191
- const found = execFileSync('command', ['-v', 'node'], {
192
- shell: true,
193
- encoding: 'utf8',
194
- }).trim();
191
+ const found = execSync('command -v node', { encoding: 'utf8' }).trim();
195
192
  if (found) return found;
196
193
  } catch {
197
194
  // fall through