Claude Bot
28bfafbf13
Address CodeRabbit review comments for publishConfig.directory
...
- Fixed --dry-run crash by passing edited_package.json.len instead of 0
when publishConfig.directory is set (addresses comment #2427922588 )
- Refactored pack_dir_path to be computed once and reused throughout
the function, eliminating duplicate computation (addresses comment
#2428128412 )
- Added 3 additional test cases (addresses comment #2428128423 ):
1. Verifies lifecycle scripts run from workspace root, not subdirectory
2. Rejects parent directory traversal (../)
3. Rejects absolute paths
- Added validation to reject invalid publishConfig.directory values:
* Absolute paths are rejected with clear error message
* Parent directory traversal (..) is rejected with clear error message
* Added Output.flush() calls to ensure error messages are displayed
All 9 publishConfig.directory tests now passing.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-10-14 07:37:59 +00:00
..
2025-10-08 18:00:38 -07:00
2025-09-24 02:42:57 -07:00
2025-10-04 05:56:21 -07:00
2025-10-04 02:59:47 -07:00
2025-08-12 17:07:46 -07:00
2024-09-11 16:47:38 -07:00
2025-10-07 08:17:13 -07:00
2023-03-07 12:22:34 -08:00
2023-03-07 12:22:34 -08:00
2023-03-07 12:22:34 -08:00
2023-10-10 20:05:58 -07:00
2025-10-08 18:00:38 -07:00
2025-08-14 16:36:44 -07:00
2025-07-14 00:47:53 -07:00
2025-09-22 05:30:34 -07:00
2025-10-08 18:00:38 -07:00
2024-09-03 21:32:52 -07:00
2025-07-25 16:17:50 -07:00
2025-10-08 18:00:38 -07:00
2024-09-03 21:32:52 -07:00
2025-09-25 19:03:22 -07:00
2025-09-27 00:45:29 -07:00
2025-07-14 00:47:53 -07:00
2025-10-08 18:00:38 -07:00
2025-10-08 18:00:38 -07:00
2025-10-08 18:00:38 -07:00
2025-09-27 00:45:29 -07:00
2025-09-27 00:45:29 -07:00
2025-10-14 07:37:59 +00:00
2025-10-08 18:00:38 -07:00
2025-07-15 22:14:00 -07:00
2025-09-09 21:42:01 -07:00
2025-07-07 11:21:36 -07:00
2025-09-22 05:30:34 -07:00
2025-10-08 18:00:38 -07:00
2025-09-30 13:25:50 -07:00
2025-07-14 00:47:53 -07:00
2025-09-26 15:23:32 -07:00
2025-10-08 12:13:06 -07:00
2025-08-27 06:39:11 -07:00
2025-08-27 06:39:11 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-10-08 18:00:38 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-10-08 18:00:38 -07:00
2025-07-14 00:47:53 -07:00
2025-10-04 00:31:47 -07:00
2025-01-20 23:17:52 -08:00
2025-08-12 17:07:46 -07:00
2025-09-27 00:45:29 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-09-22 03:27:09 -07:00
2025-08-21 14:53:50 -07:00
2025-10-08 18:00:38 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-10-08 18:00:38 -07:00
2025-09-09 21:42:01 -07:00
2023-10-12 15:17:03 -07:00
2025-10-08 18:00:38 -07:00
2025-09-24 02:42:57 -07:00
2025-10-06 02:58:04 -07:00
2025-01-03 08:21:00 -08:00
2025-08-21 14:53:50 -07:00
2023-03-29 20:38:19 -07:00
2023-10-13 20:37:48 -07:00
2025-08-12 17:07:46 -07:00
2025-08-12 17:07:46 -07:00
2025-07-14 00:47:53 -07:00
2025-07-14 00:47:53 -07:00
2023-10-10 20:05:58 -07:00
2023-10-10 20:05:58 -07:00
2024-10-12 02:37:51 -07:00
2024-06-12 16:50:57 -07:00
2023-12-11 22:08:25 -08:00
2025-05-08 23:22:16 -07:00
2025-08-12 17:07:46 -07:00
2024-03-06 20:38:49 -08:00
2024-05-27 02:17:43 -07:00
2025-10-08 01:51:25 -07:00
2025-09-09 21:42:01 -07:00
2025-07-16 01:01:10 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2025-09-09 21:42:01 -07:00
2024-02-19 22:50:24 -08:00