{"full_name":"prh/prh","owner":"prh","name":"prh","shard":"1","url":"https://github.com/prh/prh","description":"proofreading helper","homepage":null,"topics":[],"tag_pages":[],"language":"TypeScript","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/22939997?v=4","created_at":"2014-12-18T15:38:59Z","pushed_at":"2026-11-14T18:13:06Z","metrics":{"stars":300,"forks":23,"watchers":11,"issues":22,"prs":114,"releases":9,"issues_open":6,"issues_closed":16,"prs_open":2,"prs_closed":24,"prs_merged":88,"discussions":0},"growth":{"day":{"stars":1,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[299,299,299,299,299,299,300],"forks":[23,23,23,23,23,23,23],"watchers":[null,11,11,11,11,11,11],"issues_open":[null,6,6,6,6,6,6],"prs_open":[null,1,1,1,1,2,2]},"boards":{},"same_owner":[],"issues":[{"number":29,"title":"ファイルパスに依存しないAPIが欲しい","comments":2,"created_at":"2017-08-25T01:22:11Z"},{"number":50,"title":"prhのメンテナンスについて","comments":1,"created_at":"2025-08-20T01:01:22Z"},{"number":40,"title":"$1参照で余計な文字削除が行われているように見える事例","comments":1,"created_at":"2020-10-31T09:18:56Z"},{"number":33,"title":"is there any documentation in English?","comments":1,"created_at":"2019-04-01T17:10:56Z"},{"number":32,"title":"patternsが配列 かつ キャプチャーを使う場合に $1 の参照先がずれる","comments":1,"created_at":"2018-11-08T06:08:40Z"},{"number":49,"title":"ブラウザ環境で、fromYAMLでpathのshimが必要","comments":0,"created_at":"2025-08-18T12:05:08Z"}],"discussions":[],"latest_release":{"name":"v7.0.0","tag":"v7.0.0","published_at":"2026-11-07T10:05:51Z","body":"## 破壊的変更\r\n\r\n- パッケージを ESM のみにしました（#132）。CommonJS からは、Node.js 22.12 以上なら `require(\"prh\")` で引き続き読み込めます。`prh/lib/rule` のような内部ファイルの直接 import も使えます。Jest の CommonJS モードなど、require(esm) に対応していない環境からは読み込めません。\r\n- Node.js 22.12.0 以上が必要になりました（#131）。\r\n- YAML の読み込みに js-yaml 5 を使い、YAML 1.2 の Core スキーマで解釈するようになりました（#117）。マージキー（`<<`）は引き続き使えます（#131）。日付（timestamp）などの YAML 1.1 固有の型は、文字列として読み込まれます。\r\n- `pattern` の `/.../` 形式で、フラグ `s` と `u` を解釈するようになりました（#93）。これまでリテラルとして扱われていた `/usr/local/su` のような文字列は正規表現として扱われ、`/usr/bin/ss` のように同じフラグが重なる文字列はエラーになります。\r\n- `--rules-yaml` の出力の書式が変わることがあります。\r\n\r\n\r\n## What's Changed\r\n* chore(deps): bump commander from 14.0.3 to 15.0.0 by @dependabot[bot] in https://github.com/prh/prh/pull/116\r\n* chore(deps): bump js-yaml from 4.3.2 to 5.4.0 by @dependabot[bot] in https://github.com/prh/prh/pull/117\r\n* chore(deps-dev): bump @types/node from 25.9.5 to 26.3.0 by @dependabot[bot] in https://github.com/prh/prh/pull/118\r\n* feat(regexp): update parseRegExpString to support modern regex flags (u, s) by @myakura in https://github.com/prh/prh/pull/93\r\n* chore(deps): bump the minor-and-patch group across 1 directory with 5 updates by @dependabot[bot] in https://github.com/prh/prh/pull/121\r\n* chore(deps): bump actions/setup-node from 7.0.0 to 7.1.0 in the minor-and-patch group by @dependabot[bot] in https://github.com/prh/prh/pull/123\r\n* chore(deps-dev): bump source-map-js from 1.2.1 to 1.2.2 by @dependabot[bot] in https://github.com/prh/prh/pull/124\r\n* chore(deps-dev): bump vite from 8.2.2 to 8.3.4 by @dependabot[bot] in https://github.com/prh/prh/pull/125\r\n* chore(deps-dev): bump brace-expansion from 5.0.9 to 5.0.12 by @dependabot[bot] in https://github.com/prh/prh/pull/129\r\n* chore(deps): bump @vitest/mocker and vitest by @dependabot[bot] in https://github.com/prh/prh/pull/126\r\n* feat(regexp): modernize jpKanji surrogate pairs with code point escapes by @myakura in https://github.com/prh/prh/pull/127\r\n* docs: use native negative lookbehind in examples by @myakura in https://github.com/prh/prh/pull/128\r\n* docs: 正規表現まわりの説明の誤りを修正し、使えるフラグを明記 by @vvakame in https://github.com/prh/prh/pull/130\r\n* fix: YAML のマージキーを復元し、engines を Node.js 22.12 以上にする by @vvakame in https://github.com/prh/prh/pull/131\r\n* feat!: ESM に移行する by @vvakame in https://github.com/prh/prh/pull/132\r\n\r\n\r\n**Full Changelog**: https://github.com/prh/prh/compare/v6.1.0...v7.0.0","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}