@sheetxl/sdk 0.8.0-beta.6 → 0.8.0-beta.7
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/browser/cjs/{DFKGFVvoELb8_p_B.cjs → CrcmEew-dr51xpf9.cjs} +1 -1
- package/browser/cjs/CwzIjMpnMKeypivl.cjs +1 -0
- package/browser/cjs/{-wfVn4ubg563jjqj.cjs → D3Vlh9UOBKtvlXBL.cjs} +5 -5
- package/browser/cjs/{CMrcyRRWS0gjwpr2.cjs → E08wpSuqr-UadjSZ.cjs} +1 -1
- package/browser/cjs/{KMBs7XyoINajcR-L.cjs → O6F5xVsoF2hTiprv.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/esm/{CfoNUsKHL7SzfO8c.mjs → B7v0PdbyuBlceMLG.mjs} +2 -2
- package/browser/esm/{DBjWjEUK9qrHG5VD.mjs → BADV_AABAw-3U9iO.mjs} +1 -1
- package/browser/esm/{iLZfKwfSx5bQgCOp.mjs → CFDfAmU2o5HFRTu4.mjs} +2 -2
- package/browser/esm/{CEk-nufZXNFx5jDl.mjs → DRpWwH6CWI0QaNlp.mjs} +7744 -7703
- package/browser/esm/{J1egfq2ajlXPw3Ki.mjs → DkHfJEJlvjDJnXEU.mjs} +2 -2
- package/browser/esm/{DRsp6JAObqXYGvhz.mjs → bSQdR4WlmM40WWFR.mjs} +2 -2
- package/browser/esm/index.mjs +8 -7
- package/browser/esm/{7_M82_Otn5kHQ0qd.mjs → tBEZ_r7Bkp7CrFLF.mjs} +2 -2
- package/node/esm/{DYRjFZ75QYgmgEWF.mjs → BShIHUY7pxerJVT8.mjs} +1 -1
- package/node/esm/{BMtLBfP7JzIsG9_G.mjs → CWJELJxqO-1z0tJU.mjs} +1 -1
- package/node/esm/{DpyQm1VnGyCmRRKJ.mjs → DbAKZ-Ythj1VwgyS.mjs} +1 -1
- package/node/esm/{CynxiHhVY9UGe_h6.mjs → HMR0po5avaUU1XUZ.mjs} +1 -1
- package/node/esm/index.mjs +9556 -9532
- package/package.json +6 -6
- package/types/scripting-api.json +6891 -6890
- package/types/scripting.d.ts +12 -9
- package/browser/cjs/B2GVAGA-CBeu_7U4.cjs +0 -1
package/types/scripting.d.ts
CHANGED
|
@@ -1058,6 +1058,14 @@ declare global {
|
|
|
1058
1058
|
* This is useful for validation
|
|
1059
1059
|
*/
|
|
1060
1060
|
disableBundle?: boolean;
|
|
1061
|
+
/**
|
|
1062
|
+
* If true, the bundle is minified. For a module that is stored (a workbook's scripts, a `.sxlm`).
|
|
1063
|
+
*
|
|
1064
|
+
* @remarks
|
|
1065
|
+
* Off by default: code that is only run keeps its own names, so a runtime error reads as the
|
|
1066
|
+
* author wrote it (`wb.getSheet is not a function`, not `a.getSheet`).
|
|
1067
|
+
*/
|
|
1068
|
+
minify?: boolean;
|
|
1061
1069
|
/**
|
|
1062
1070
|
* If true, this will not include the source map in the compiled module.
|
|
1063
1071
|
*/
|
|
@@ -1116,16 +1124,11 @@ declare global {
|
|
|
1116
1124
|
* Check the source as code that runs once, not as code kept to be run again.
|
|
1117
1125
|
*
|
|
1118
1126
|
* @remarks
|
|
1119
|
-
* For an
|
|
1120
|
-
*
|
|
1121
|
-
*
|
|
1122
|
-
* - Annotations are not required: an untyped parameter is `any` (no `noImplicitAny`), and a
|
|
1123
|
-
* missing type on an entry is not reported.
|
|
1124
|
-
* - A member the receiver does not have, read where a missing member is expected - `r.getFormat?.()`,
|
|
1125
|
-
* `r.getFormulas ? … : …`, `typeof r.x` - is a probe, and a warning: it reads `undefined`.
|
|
1126
|
-
* - A condition on a function that is never called (TS2774) is a warning.
|
|
1127
|
+
* For an ad hoc run (`sheetxl -e`, the MCP `run` tool). Annotations are not required: a default
|
|
1128
|
+
* export's untyped first parameter is the script context, and a missing type is not reported.
|
|
1127
1129
|
*
|
|
1128
|
-
*
|
|
1130
|
+
* A run is not type-checked before it executes - leave {@link ambientTypes} out. The types are
|
|
1131
|
+
* there to explain a run that went wrong, which is `diagnoseRun` in `@sheetxl/runner`.
|
|
1129
1132
|
*/
|
|
1130
1133
|
lenient?: boolean;
|
|
1131
1134
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./-wfVn4ubg563jjqj.cjs");exports.initializeFunctions=e.R;
|