@steipete/summarize 0.21.10 → 0.21.11

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
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.21.11 - 2026-08-10
4
+
5
+ **Highlight:** a security pass — five high-severity advisories cleared from the
6
+ dependency graph, and the two that have no upstream fix (`image-size` parser
7
+ loops) are now neutralized by a local patch with regression coverage.
8
+
9
+ ### Security
10
+
11
+ - Clear five high-severity advisories: `fast-uri` host confusion (dev-only here; the SSRF guard uses native WHATWG URL parsing and now carries backslash-authority regression coverage), `js-yaml` quadratic CPU in `!!omap` resolution (CVE-2026-59870), `brace-expansion` unbounded-expansion DoS (both major lines), and `nanoid` zero-size generator loop.
12
+ - Neutralize the two unpatched `image-size` ICNS/JXL/HEIF infinite-loop advisories (dev-only under `web-ext`/`addons-linter`) with a checked-in pnpm patch and a timeout-isolated regression test. The audit deliberately still reports the version match — the advisory is fixed locally, not silenced.
13
+
14
+ ### Dependencies and maintenance
15
+
16
+ - Migrate the build to TypeScript 7 across all workspaces, porting the import-cycle gate to an Oxc-based checker proven against static imports, re-exports, dynamic imports, import types, and a deliberately introduced cycle.
17
+ - Refresh mediabunny, markdansi, undici, and the oxc toolchain, plus the transitive Babel/acorn/postcss graph.
18
+
3
19
  ## 0.21.10 - 2026-08-09
4
20
 
5
21
  ### Fixes
@@ -1,7 +1,7 @@
1
1
  import fs from "node:fs";
2
2
  import path from "node:path";
3
3
  import { fileURLToPath } from "node:url";
4
- export const FALLBACK_VERSION = "0.21.10";
4
+ export const FALLBACK_VERSION = "0.21.11";
5
5
  export function resolvePackageVersion(importMetaUrl) {
6
6
  const injected = typeof process !== "undefined" && typeof process.env.SUMMARIZE_VERSION === "string"
7
7
  ? process.env.SUMMARIZE_VERSION.trim()
@@ -1,4 +1,4 @@
1
- export declare const FALLBACK_VERSION = "0.21.10";
1
+ export declare const FALLBACK_VERSION = "0.21.11";
2
2
  export declare function resolvePackageVersion(importMetaUrl?: string): string;
3
3
  export declare function resolveGitSha(importMetaUrl?: string): string | null;
4
4
  export declare function formatVersionLine(importMetaUrl?: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steipete/summarize",
3
- "version": "0.21.10",
3
+ "version": "0.21.11",
4
4
  "description": "Link → clean text → summary.",
5
5
  "bin": {
6
6
  "summarize": "./dist/cli.js",
@@ -38,23 +38,23 @@
38
38
  "commander": "^15.0.0",
39
39
  "file-type": "^22.0.1",
40
40
  "json5": "^2.2.3",
41
- "markdansi": "^0.3.2",
41
+ "markdansi": "^0.3.3",
42
42
  "mime": "^4.1.0",
43
43
  "osc-progress": "^0.3.2",
44
44
  "tokentally": "^0.1.3",
45
- "undici": "8.9.0",
46
- "@steipete/summarize-core": "0.21.10"
45
+ "undici": "8.10.0",
46
+ "@steipete/summarize-core": "0.21.11"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/node": "^24.13.3",
50
50
  "@types/sanitize-html": "^2.16.1",
51
- "@typescript/native-preview": "7.0.0-dev.20260707.2",
52
51
  "@vitest/coverage-v8": "^4.1.10",
53
52
  "happy-dom": "^20.11.1",
54
- "oxfmt": "0.61.0",
55
- "oxlint": "^1.76.0",
53
+ "oxc-parser": "^0.143.0",
54
+ "oxfmt": "0.62.0",
55
+ "oxlint": "^1.77.0",
56
56
  "oxlint-tsgolint": "^7.0.2001",
57
- "typescript": "^6.0.3",
57
+ "typescript": "^7.0.2",
58
58
  "vitest": "^4.1.10"
59
59
  },
60
60
  "engines": {
@@ -65,7 +65,7 @@
65
65
  "build:bun": "pnpm -C packages/core build && bun scripts/build-bun.js",
66
66
  "build:bun:test": "pnpm -C packages/core build && bun scripts/build-bun.js --test",
67
67
  "build:cli": "node scripts/build-cli.mjs",
68
- "build:lib": "tsgo -p tsconfig.build.json",
68
+ "build:lib": "tsc -p tsconfig.build.json",
69
69
  "check": "pnpm format:check && pnpm lint && pnpm typecheck && pnpm test:coverage",
70
70
  "clean": "node scripts/clean.mjs dist packages/core/dist",
71
71
  "dev:cli": "node --import ./scripts/register-typescript.mjs src/cli.ts",
@@ -83,6 +83,6 @@
83
83
  "test:coverage": "vitest run --coverage",
84
84
  "test:coverage:build": "pnpm build && pnpm test:coverage",
85
85
  "test:extension-e2e": "pnpm -C apps/chrome-extension test:e2e",
86
- "typecheck": "pnpm -C packages/core typecheck && tsgo -p tsconfig.build.json --noEmit"
86
+ "typecheck": "pnpm -C packages/core typecheck && tsc -p tsconfig.build.json --noEmit"
87
87
  }
88
88
  }