🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

patchloom

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

patchloom - npm Package Compare versions

Comparing version
0.19.0
to
0.20.0
+2
-2
npm-shrinkwrap.json

@@ -26,3 +26,3 @@ {

"name": "patchloom",
"version": "0.19.0"
"version": "0.20.0"
},

@@ -546,3 +546,3 @@ "node_modules/@isaacs/cliui": {

"requires": true,
"version": "0.19.0"
"version": "0.20.0"
}
{
"artifactDownloadUrls": [
"https://github.com/patchloom/patchloom/releases/download/patchloom-v0.19.0"
"https://github.com/patchloom/patchloom/releases/download/patchloom-v0.20.0"
],

@@ -136,3 +136,3 @@ "author": "Sebastien Tardif",

},
"version": "0.19.0",
"version": "0.20.0",
"volta": {

@@ -139,0 +139,0 @@ "node": "18.14.1",

@@ -13,3 +13,3 @@ <p align="center">

[![Tests](https://img.shields.io/badge/tests-3800%2B%20passing-brightgreen)](#)
[![Tests](https://img.shields.io/badge/tests-3900%2B%20passing-brightgreen)](#)
[![Coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/SebTardif/6a26adf6bfae45f530465f626c9154f4/raw/coverage.json)](https://github.com/patchloom/patchloom/actions/workflows/ci.yml)

@@ -336,7 +336,7 @@ [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/13097/badge)](https://www.bestpractices.dev/projects/13097)

// Sole-path text load: binary / invalid UTF-8 → EditErrorKind::InvalidInput
// Sole-path text load: binary → EditErrorKind::Binary; invalid UTF-8 → InvalidEncoding
let _text = api::load_text(Path::new("notes.md"))?;
```
All API types are `Send + Sync`. Beyond the `api` module, utility modules are also public: `containment` (workspace path guarding), `exec` (shell command execution), `files` (file-walking, `load_text_strict`, binary detection), `backup` (`restore_path_from_latest_backup` for post-Apply validate/revert), and `write` (atomic file writes with policy transformations). Library users needing temp dirs (e.g. agents) can use `PathGuard::builder(cwd).allow_temp_directory()` (handles /tmp on macOS); see the `containment` and `api` module rustdocs. Multi-doc bare keys and wrong-root merges peel to `EditErrorKind::TypeError` via `edit_error_kind`. Create/rename dest-exists peels to `EditErrorKind::AlreadyExists` (or `api::is_already_exists` / `api::error_kind_str` for CLI-stable `"already_exists"` strings). Fine-grained kinds also have bool peels (`is_not_found`, `is_conflicts`, `is_changes_detected`, `is_type_error`, `is_format_failed`, `is_guard_rejected`, `is_invalid_input`, `is_no_match`) matching `edit_error_kind`.
All API types are `Send + Sync`. Beyond the `api` module, utility modules are also public: `containment` (workspace path guarding), `exec` (shell command execution), `files` (file-walking, `load_text_strict`, binary detection), `backup` (`restore_path_from_latest_backup` for post-Apply validate/revert), and `write` (atomic file writes with policy transformations). Library users needing temp dirs (e.g. agents) can use `PathGuard::builder(cwd).allow_temp_directory()` (handles /tmp on macOS); see the `containment` and `api` module rustdocs. Multi-doc bare keys and wrong-root merges peel to `EditErrorKind::TypeError` via `edit_error_kind`. Create/rename dest-exists peels to `EditErrorKind::AlreadyExists` (or `api::is_already_exists` / `api::error_kind_str` for CLI-stable `"already_exists"` strings). Fine-grained kinds also have bool peels (`is_not_found`, `is_conflicts`, `is_changes_detected`, `is_type_error`, `is_format_failed`, `is_guard_rejected`, `is_invalid_input`, `is_no_match`, `is_ambiguous`) matching `edit_error_kind`.

@@ -478,3 +478,3 @@ Replace fail-closed / shell-token options: CLI `replace --require-change` and `--command-position` (also plan/MCP fields and `ReplaceOptions` on the library). Library-only AST mutators: `ast_rename` / `ast_replace_in_symbol` / `ast_rename_batch` (feature `ast` + `files`), and `FunctionSigEdit::parse_rust`. Full surface: [docs.rs/patchloom](https://docs.rs/patchloom).

3800+ tests across 23 commands. Tested with Grok 4.3, GPT-5.4, and Claude Opus 4.6.
3900+ tests across 23 commands. Tested with Grok 4.3, GPT-5.4, and Claude Opus 4.6.

@@ -481,0 +481,0 @@ | Component | Status |

Sorry, the diff of this file is too big to display