braid-text 0.2.73 → 0.2.74

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.
@@ -2,7 +2,9 @@
2
2
  "permissions": {
3
3
  "allow": [
4
4
  "Bash(node test/test.js:*)",
5
- "Bash(node:*)"
5
+ "Bash(node:*)",
6
+ "Bash(git add:*)",
7
+ "Bash(git commit -m \"$(cat <<''EOF''\n0.2.74 - updates url-file-db to 0.0.19\n\nšŸ¤– Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude <noreply@anthropic.com>\nEOF\n)\")"
6
8
  ],
7
9
  "deny": [],
8
10
  "ask": []
package/index.js CHANGED
@@ -2216,7 +2216,7 @@ function create_braid_text() {
2216
2216
  }
2217
2217
 
2218
2218
  var {
2219
- encode_file_path_component, ensure_unique_case_insensitive_path_component
2219
+ encode_file_path_component, encode_to_avoid_icase_collision
2220
2220
  } = require('url-file-db/canonical_path')
2221
2221
 
2222
2222
  // Mapping between keys and their encoded filenames
@@ -2237,7 +2237,7 @@ function create_braid_text() {
2237
2237
  var encoded = encode_file_path_component(swapped)
2238
2238
 
2239
2239
  // Resolve case collisions for case-insensitive filesystems (Mac/Windows)
2240
- encoded = ensure_unique_case_insensitive_path_component(encoded, ifilenames)
2240
+ encoded = encode_to_avoid_icase_collision(encoded, ifilenames)
2241
2241
 
2242
2242
  // Cache the mapping
2243
2243
  key_to_filename.set(key, encoded)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braid-text",
3
- "version": "0.2.73",
3
+ "version": "0.2.74",
4
4
  "description": "Library for collaborative text over http using braid.",
5
5
  "author": "Braid Working Group",
6
6
  "repository": "braid-org/braid-text",
@@ -8,6 +8,6 @@
8
8
  "dependencies": {
9
9
  "@braid.org/diamond-types-node": "^2.0.0",
10
10
  "braid-http": "~1.3.83",
11
- "url-file-db": "^0.0.10"
11
+ "url-file-db": "^0.0.19"
12
12
  }
13
13
  }