rapier-html 1.1.73 → 1.1.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.
package/BUILD.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "package": "rapier-html",
3
- "version": "1.1.73",
3
+ "version": "1.1.74",
4
4
  "path": "dist/rapier.html",
5
- "bytes": 1927231,
6
- "sha256": "6767b227a2914fc95939e08872c42edbd029133d060ae75105a2c4c5b184f591",
7
- "builtAt": "2026-10-06T11:37:49.473Z",
5
+ "bytes": 1929942,
6
+ "sha256": "da381feda471d451f73375d64c4a0f1211d0a03c664e3db7720970ca19c4741f",
7
+ "builtAt": "2026-10-06T13:28:24.777Z",
8
8
  "node": "v22.22.2",
9
9
  "canonical": true,
10
10
  "packing": "zopfli",
package/README.md CHANGED
@@ -14,14 +14,14 @@ editor, offline, with the document inside.
14
14
  Node 22 or newer.
15
15
 
16
16
  ```sh
17
- npx -- rapier-html@1.1.73 notes.md # the editor, notes.md inside it, written beside the file
18
- npx -- rapier-html@1.1.73 notes.md --view draw # opens on Draw: sketch and paint, the document behind it
19
- npx -- rapier-html@1.1.73 notes.md --view notes # opens the Notes library
20
- npx -- rapier-html@1.1.73 notes.md --drawing sketch.svg # carries a drawing, opened on Draw over the document
21
- npx -- rapier-html@1.1.73 proposal.md --base original.md # opens on the diff of a proposed change
22
- npx -- rapier-html@1.1.73 notes.md --return "$RETURN_URL" --return-expires-at "$RETURN_EXPIRES_AT" # Send back
23
- npx -- rapier-html@1.1.73 notes.md out.html # a named output
24
- npm install rapier-html@1.1.73 # as a library: wrap, unwrap
17
+ npx -- rapier-html@1.1.74 notes.md # the editor, notes.md inside it, written beside the file
18
+ npx -- rapier-html@1.1.74 notes.md --view draw # opens on Draw: sketch and paint, the document behind it
19
+ npx -- rapier-html@1.1.74 notes.md --view notes # opens the Notes library
20
+ npx -- rapier-html@1.1.74 notes.md --drawing sketch.svg # carries a drawing, opened on Draw over the document
21
+ npx -- rapier-html@1.1.74 proposal.md --base original.md # opens on the diff of a proposed change
22
+ npx -- rapier-html@1.1.74 notes.md --return "$RETURN_URL" --return-expires-at "$RETURN_EXPIRES_AT" # Send back
23
+ npx -- rapier-html@1.1.74 notes.md out.html # a named output
24
+ npm install rapier-html@1.1.74 # as a library: wrap, unwrap
25
25
  ```
26
26
 
27
27
  The first `--` is for npm, so `--help` reaches the command. It never overwrites a file.
@@ -76,7 +76,7 @@ export function readBase(value) {
76
76
  throw fault('proposal base SHA-256 differs from its text');
77
77
  if (typeof value.revision !== 'string' || !value.revision || value.revision.length > 256 || /[\u0000-\u001f\u007f]/.test(value.revision))
78
78
  throw fault('invalid proposal base revision');
79
- if (typeof value.name !== 'string' || !value.name || value.name.length > 255 || /[\\/\u0000-\u001f\u007f]/.test(value.name))
79
+ if (typeof value.name !== 'string' || !value.name || [...value.name].length > 256 || /[\\/\u0000-\u001f\u007f]/.test(value.name))
80
80
  throw fault('invalid proposal base name');
81
81
  if (typeof value.by !== 'string' || !value.by.trim() || value.by.length > 96 || /[\u0000-\u001f\u007f]/.test(value.by))
82
82
  throw fault('a proposal needs its proposer name');