braid-text 0.2.73 ā 0.2.75
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.
- package/.claude/settings.local.json +3 -1
- package/AI-README.md +4 -3
- package/index.js +2 -2
- package/package.json +2 -2
|
@@ -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/AI-README.md
CHANGED
|
@@ -12,7 +12,7 @@ Follow these steps to create a new release:
|
|
|
12
12
|
|
|
13
13
|
2. **Run Tests**
|
|
14
14
|
- Run `node test/test.js` - should show all 74 tests passing
|
|
15
|
-
- Run `node test/fuzz-test.js` - should
|
|
15
|
+
- Run `node test/fuzz-test.js` - runs 10,000 iterations (takes ~5-10 minutes), should complete with `best_n = Infinity @ NaN` indicating success
|
|
16
16
|
- Both tests must pass before proceeding
|
|
17
17
|
|
|
18
18
|
3. **Commit Changes**
|
|
@@ -38,9 +38,10 @@ Follow these steps to create a new release:
|
|
|
38
38
|
### test/fuzz-test.js
|
|
39
39
|
- Fuzz testing suite that generates random edits and verifies correctness
|
|
40
40
|
- Tests diamond-types integration and merge operations
|
|
41
|
-
- Runs 10,000 iterations by default
|
|
42
|
-
- Success indicated by `best_n = Infinity @ NaN` (no failures found)
|
|
41
|
+
- Runs 10,000 iterations by default (takes approximately 5-10 minutes)
|
|
42
|
+
- Success indicated by `best_n = Infinity @ NaN` at completion (no failures found)
|
|
43
43
|
- Run with: `node test/fuzz-test.js`
|
|
44
|
+
- Let it run to completion - do not interrupt
|
|
44
45
|
|
|
45
46
|
## Project Structure
|
|
46
47
|
|
package/index.js
CHANGED
|
@@ -2216,7 +2216,7 @@ function create_braid_text() {
|
|
|
2216
2216
|
}
|
|
2217
2217
|
|
|
2218
2218
|
var {
|
|
2219
|
-
encode_file_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 =
|
|
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.
|
|
3
|
+
"version": "0.2.75",
|
|
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.
|
|
11
|
+
"url-file-db": "^0.0.19"
|
|
12
12
|
}
|
|
13
13
|
}
|