@particle-academy/holy-sheet 2.4.0 → 2.4.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/dist/index.cjs +10 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4537,7 +4537,15 @@ var SheetOpSchema = {
|
|
|
4537
4537
|
["sheet", "mergedRegions"],
|
|
4538
4538
|
"Set every merged region of a sheet."
|
|
4539
4539
|
),
|
|
4540
|
-
|
|
4540
|
+
// An EMPTY array too, as PHP 2.3.1 declares: PHP encodes an empty map as
|
|
4541
|
+
// `[]`, which its diff emits when every width is removed. This port emits
|
|
4542
|
+
// `{}`. Both mean no widths.
|
|
4543
|
+
variant(
|
|
4544
|
+
"set_column_widths",
|
|
4545
|
+
{ sheet: sheet(), columnWidths: { type: ["object", "array"], maxItems: 0 } },
|
|
4546
|
+
["sheet", "columnWidths"],
|
|
4547
|
+
"Set every column width of a sheet (0-based column index to pixels); empty removes them."
|
|
4548
|
+
),
|
|
4541
4549
|
variant(
|
|
4542
4550
|
"set_frozen",
|
|
4543
4551
|
{ sheet: sheet(), rows: { type: "integer", minimum: 0 }, cols: { type: "integer", minimum: 0 } },
|
|
@@ -4928,7 +4936,7 @@ var holy_sheet_schema_default = {
|
|
|
4928
4936
|
};
|
|
4929
4937
|
|
|
4930
4938
|
// src/agent.ts
|
|
4931
|
-
var VERSION = "2.4.
|
|
4939
|
+
var VERSION = "2.4.1";
|
|
4932
4940
|
function toU8(input) {
|
|
4933
4941
|
return input instanceof Uint8Array ? input : new Uint8Array(input);
|
|
4934
4942
|
}
|