Skip to content

Commit a4919c1

Browse files
committed
chore: update dependencies and fix pre-push hook syntax
- Update pnpm from 10.30.1 to 10.30.2 - Update lru-cache from ^11.0.2 to ^11.2.6 - Update fast-xml-parser from ^5.3.5 to ^5.3.7 - Fix pre-push hook syntax: replace process substitution with pipe for better shell compatibility The pre-push hook now uses `git rev-list | while read` instead of `while read < <(git rev-list)` to avoid syntax errors in some shell environments.
1 parent 06e5260 commit a4919c1

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.husky/pre-push

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ while read local_ref local_sha remote_ref remote_sha; do
5656
printf "Checking commit messages for AI attribution...\n"
5757

5858
# Check each commit in the range for AI patterns.
59-
while IFS= read -r commit_sha; do
59+
git rev-list "$range" | while IFS= read -r commit_sha; do
6060
full_msg=$(git log -1 --format='%B' "$commit_sha")
6161

6262
if echo "$full_msg" | grep -qiE "(Generated with.*(Claude|AI)|Co-Authored-By: Claude|Co-Authored-By: AI|🤖 Generated|AI generated|@anthropic\.com|Assistant:|Generated by Claude|Machine generated)"; then
@@ -67,7 +67,7 @@ while read local_ref local_sha remote_ref remote_sha; do
6767
echo " - $(git log -1 --oneline "$commit_sha")"
6868
ERRORS=$((ERRORS + 1))
6969
fi
70-
done < <(git rev-list "$range")
70+
done
7171

7272
if [ $ERRORS -gt 0 ]; then
7373
printf "\n"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "socket-cli-monorepo",
33
"version": "0.0.0",
4-
"packageManager": "pnpm@10.30.1",
4+
"packageManager": "pnpm@10.30.2",
55
"private": true,
66
"engines": {
77
"node": ">=25.5.0",

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"ink": "catalog:",
108108
"ink-table": "catalog:",
109109
"ink-text-input": "catalog:",
110-
"lru-cache": "^11.0.2",
110+
"lru-cache": "^11.2.6",
111111
"micromatch": "catalog:",
112112
"nanotar": "catalog:",
113113
"npm-package-arg": "catalog:",

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ catalog:
8080
eslint-plugin-sort-destructure-keys: 2.0.0
8181
eslint-plugin-unicorn: 56.0.1
8282
fast-glob: 3.3.3
83-
fast-xml-parser: ^5.3.5
83+
fast-xml-parser: ^5.3.7
8484
function-bind: npm:@socketregistry/function-bind@^1.0.7
8585
globals: 16.4.0
8686
globalthis: npm:@socketregistry/globalthis@^1.0.8

0 commit comments

Comments
 (0)