@n24q02m/workspace 0.9.0 → 0.9.1-beta.1
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/NOTICE +11 -5
- package/bin/cli.mjs +52 -52
- package/build/src/cli/tools.integration.test.js +26 -5
- package/build/src/cli/tools.integration.test.js.map +1 -1
- package/build/src/docs/docs.md +5 -1
- package/build/src/docs/overview.md +14 -0
- package/build/src/services/FormsService.d.ts +4 -4
- package/build/src/services/FormsService.js +4 -4
- package/build/src/services/FormsService.test.js +3 -3
- package/build/src/services/FormsService.test.js.map +1 -1
- package/build/src/tools/domains/error-payload.test.d.ts +2 -0
- package/build/src/tools/domains/error-payload.test.d.ts.map +1 -0
- package/build/src/tools/domains/error-payload.test.js +94 -0
- package/build/src/tools/domains/error-payload.test.js.map +1 -0
- package/build/src/tools/domains/factory.d.ts.map +1 -1
- package/build/src/tools/domains/factory.js +27 -1
- package/build/src/tools/domains/factory.js.map +1 -1
- package/build/src/tools/domains/factory.test.js +41 -0
- package/build/src/tools/domains/factory.test.js.map +1 -1
- package/build/src/vendored/services/CalendarService.d.ts.map +1 -1
- package/build/src/vendored/services/CalendarService.js +19 -15
- package/build/src/vendored/services/CalendarService.js.map +1 -1
- package/build/src/vendored/services/CalendarService.test.d.ts +2 -0
- package/build/src/vendored/services/CalendarService.test.d.ts.map +1 -0
- package/build/src/vendored/services/CalendarService.test.js +1227 -0
- package/build/src/vendored/services/CalendarService.test.js.map +1 -0
- package/build/src/vendored/services/CalendarValidation.test.d.ts +2 -0
- package/build/src/vendored/services/CalendarValidation.test.d.ts.map +1 -0
- package/build/src/vendored/services/CalendarValidation.test.js +312 -0
- package/build/src/vendored/services/CalendarValidation.test.js.map +1 -0
- package/build/src/vendored/services/ChatService.test.d.ts +2 -0
- package/build/src/vendored/services/ChatService.test.d.ts.map +1 -0
- package/build/src/vendored/services/ChatService.test.js +505 -0
- package/build/src/vendored/services/ChatService.test.js.map +1 -0
- package/build/src/vendored/services/DocsService.d.ts.map +1 -1
- package/build/src/vendored/services/DocsService.js +6 -1
- package/build/src/vendored/services/DocsService.js.map +1 -1
- package/build/src/vendored/services/DocsService.test.js +943 -5
- package/build/src/vendored/services/DocsService.test.js.map +1 -1
- package/build/src/vendored/services/DriveService.test.js +797 -9
- package/build/src/vendored/services/DriveService.test.js.map +1 -1
- package/build/src/vendored/services/SheetsService.test.js +328 -0
- package/build/src/vendored/services/SheetsService.test.js.map +1 -1
- package/build/src/vendored/utils/MimeHelper.test.js +329 -0
- package/build/src/vendored/utils/MimeHelper.test.js.map +1 -1
- package/build/src/vendored/utils/validation.d.ts.map +1 -1
- package/build/src/vendored/utils/validation.js +10 -1
- package/build/src/vendored/utils/validation.js.map +1 -1
- package/build/src/vendored/utils/validation.test.d.ts +2 -0
- package/build/src/vendored/utils/validation.test.d.ts.map +1 -0
- package/build/src/vendored/utils/validation.test.js +260 -0
- package/build/src/vendored/utils/validation.test.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/NOTICE
CHANGED
|
@@ -11,9 +11,9 @@ src/vendored/ is listed in exactly one section (a test enforces it). The script
|
|
|
11
11
|
list is unparseable or names a file that is not on disk -- an empty list would otherwise read as
|
|
12
12
|
"nothing is protected" and overwrite every fork in silence.
|
|
13
13
|
|
|
14
|
-
`vitest.config.ts` reads the same lists: the files that are ours (the last two
|
|
15
|
-
toward the 95% coverage gate; byte-identical
|
|
16
|
-
|
|
14
|
+
`vitest.config.ts` reads the same lists: forked files and the files that are ours (the last two
|
|
15
|
+
sections) count toward the 95% coverage gate; byte-identical files do not, since every sync
|
|
16
|
+
overwrites them.
|
|
17
17
|
|
|
18
18
|
## Files kept byte-identical with upstream
|
|
19
19
|
|
|
@@ -36,11 +36,15 @@ as CONFLICT and leaves them alone; whoever syncs merges them by hand:
|
|
|
36
36
|
|
|
37
37
|
- src/vendored/services/DocsService.ts — BOUNDS: `getText` caps the returned text
|
|
38
38
|
(20,000 characters by default, 1–100,000 via `limit`, 2,000 via `preview`) and ends a cut body with the
|
|
39
|
-
shared truncation marker that names its true size.
|
|
39
|
+
shared truncation marker that names its true size. FIX: `formatText` looked the style up in
|
|
40
|
+
lower case, so the `normalText` key never matched and `normalText` was silently ignored;
|
|
41
|
+
`replaceText` rejects an empty `findText`, which matched at every index and never advanced.
|
|
40
42
|
- src/vendored/services/DriveService.ts — SECURITY: Prevent path traversal in relative localPath; BOUNDS:
|
|
41
43
|
`getComments` takes `pageSize`/`pageToken` and returns `nextPageToken` instead of a bare array that
|
|
42
44
|
dropped the cursor.
|
|
43
45
|
- src/vendored/services/CalendarService.ts — PERFORMANCE: Using Date.parse() instead of new Date().getTime() skips object allocation and reduces GC pressure; BOUNDS: `listEvents` takes `maxResults`/`pageToken` and returns `{events, nextPageToken}` instead of a bare array that dropped the cursor.
|
|
46
|
+
FIX: Google error text no longer prints `undefined` for a field error without a message, and
|
|
47
|
+
keeps the top-level message when no field error carries any text.
|
|
44
48
|
- src/vendored/utils/MimeHelper.ts — the multipart boundary suffix could be empty
|
|
45
49
|
(`.substring(7)` on a short `Math.random().toString(36)`, e.g. 0.5 -> "0.i"), so two messages
|
|
46
50
|
built in the same millisecond collided on their boundary. Now a randomUUID-derived suffix.
|
|
@@ -48,7 +52,9 @@ as CONFLICT and leaves them alone; whoever syncs merges them by hand:
|
|
|
48
52
|
- src/vendored/services/SheetsService.ts — getText read N tabs in N `values.get` calls; now one
|
|
49
53
|
`values.batchGet` with a per-range fallback that preserves partial success. Sheet names are
|
|
50
54
|
also quote-escaped so a tab named `It's here` yields a parseable A1 range.
|
|
51
|
-
- src/vendored/utils/validation.ts — optimization: Date.parse vs new Date().getTime()
|
|
55
|
+
- src/vendored/utils/validation.ts — optimization: Date.parse vs new Date().getTime(); FIX:
|
|
56
|
+
`iso8601DateTimeSchema` rejects a day past the end of its month (`2026-02-30`), which
|
|
57
|
+
Date.parse rolled over into the next month.
|
|
52
58
|
- src/vendored/services/ChatService.ts — BOUNDS: `listSpaces` takes `pageSize`/`pageToken` and returns
|
|
53
59
|
`{spaces, nextPageToken}` instead of a bare array that dropped the cursor.
|
|
54
60
|
|