@sheetxl/scripting 0.7.23 → 0.7.25
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/README.md +25 -2
- package/browser/cjs/{CShrycXagCsrhyME.cjs → BGeSK0Lk4Xw-j83g.cjs} +2 -2
- package/browser/cjs/{FOIXxvmqvNm2Ed4B.cjs → Cadxc7ddcs0UDAuJ.cjs} +1 -1
- package/browser/cjs/{CtjpyrhMvnMoSf9_.cjs → DCJ8MiyLit0dGFJR.cjs} +3 -3
- package/browser/cjs/{BUf1tdk0B_mTUmGd.cjs → T4FtcFfkPcRK5Rlj.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{C20Ff8j9vP0krR67.cjs → vxiXCbaW7W6XWtzG.cjs} +4 -4
- package/browser/esm/{B-JtS4RbGUTBG1jc.mjs → 5gCrO_OaNAFTC1ub.mjs} +3 -3
- package/browser/esm/{DHF3lqDKT7Ee1EGe.mjs → BouHmmJcohnhRkeB.mjs} +1 -1
- package/browser/esm/{D5Xp35M-Yk7Q7Hu-.mjs → DH5A_uI2EirF8uIl.mjs} +1 -1
- package/{node/esm/CzeXjDr8qF2U6KrQ.mjs → browser/esm/P2Nodu9Xj6AjjRWb.mjs} +2 -2
- package/browser/esm/{BuowWyjSVKsr8H5b.mjs → W3SZY-RNFIrtwp44.mjs} +4 -4
- package/browser/esm/index.mjs +2 -2
- package/node/esm/{WOl2mP9qGwcrVhp5.mjs → CQl3XmDslhfxDddm.mjs} +3 -3
- package/node/esm/{G76kmT1XS0D7becC.mjs → CXRtvmdDzv40x9XW.mjs} +4 -4
- package/{browser/esm/BbYnTNuvE6r2UxHt.mjs → node/esm/CfQNtic8nGXfJYcB.mjs} +2 -2
- package/node/esm/{BokJMOv4MdvINCZO.mjs → D4C2JcKf6wcW1WJt.mjs} +1 -1
- package/node/esm/{CTkRFYwgZIPVcECE.mjs → WWFs53gXGGgDDMbF.mjs} +1 -1
- package/node/esm/index.mjs +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
|
|
18
18
|
If you like SheetXL **[give us a star ⭐](https://github.com/sheetxl/sheetxl)** and help others find us!
|
|
19
19
|
|
|
20
|
-
Whether you're building a custom UI, adding live scripting, or integrating spreadsheet logic into your app, SheetXL
|
|
20
|
+
Whether you're building a custom UI, adding live scripting, or integrating spreadsheet logic into your app, SheetXL
|
|
21
|
+
gives you full control with zero platform lock-in.
|
|
21
22
|
|
|
22
23
|

|
|
23
|
-
*Headless API. Live Scripting. Built for developers.*
|
|
24
|
+
*Headless API. Live Scripting. CLI Tools. Built for developers.*
|
|
24
25
|
|
|
25
26
|
### Try it now — Complete Excel-compatible App
|
|
26
27
|
|
|
@@ -133,6 +134,28 @@ SheetXL is built on four core pillars: extreme performance, deep Excel compatibi
|
|
|
133
134
|
|
|
134
135
|
Built with TypeScript and a flexible plugin model, including a fully open-sourced MIT-licensed MUI design system.
|
|
135
136
|
|
|
137
|
+
## 🔥 Power Features
|
|
138
|
+
|
|
139
|
+
### Live Scripting Engine
|
|
140
|
+
|
|
141
|
+
Write and execute TypeScript/JavaScript directly inside your spreadsheet. Perfect for complex data transformations, custom validation, and real-time calculations.
|
|
142
|
+
|
|
143
|
+

|
|
144
|
+
|
|
145
|
+
### Command-Line Interface
|
|
146
|
+
|
|
147
|
+
Automate spreadsheet operations, run batch processes, and integrate SheetXL into your build pipeline with our full-featured CLI.
|
|
148
|
+
|
|
149
|
+

|
|
150
|
+
|
|
151
|
+
```bash
|
|
152
|
+
# Extract data from any Excel file
|
|
153
|
+
sheetxl extract data.xlsx A1:Z100
|
|
154
|
+
|
|
155
|
+
# Run custom scripts
|
|
156
|
+
sheetxl run process-data.ts --workbook sales.xlsx
|
|
157
|
+
```
|
|
158
|
+
|
|
136
159
|
### 🏷️ User Features
|
|
137
160
|
|
|
138
161
|
* 17B+ cells (The same as Excel)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.
|
|
2
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.TypeScriptCompiler=class{constructor(r={}){this.workerWrapper=null}async getWorkerWrapper(){if(this.workerWrapper)return this.workerWrapper;const{createCompilerWorker:r}=await Promise.resolve().then(()=>require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.TypeScriptCompiler=class{constructor(r={}){this.workerWrapper=null}async getWorkerWrapper(){if(this.workerWrapper)return this.workerWrapper;const{createCompilerWorker:r}=await Promise.resolve().then(()=>require("./vxiXCbaW7W6XWtzG.cjs"));return this.workerWrapper=await r(),this.workerWrapper}async compileModule(r){try{return(await this.getWorkerWrapper()).execute(r)}catch(e){throw console.error("Failed to compile using worker:",e),e}}terminate(){this.workerWrapper?.terminate(),this.workerWrapper=null}};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.
|
|
2
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.
|
|
2
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("@sheetxl/primitives"),le=require("@sheetxl/utils");let L=null,q=null;const se={compilerOptions:{target:"esnext"}};async function ce(h,x,b="/script.js",w="__SHEETXL"){try{const K=await(async function(){if(L)return L;if(q){if(await q,!L)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return L}let p,T;q=new Promise((a,S)=>{p=a,T=S});try{const{initialize:a}=await Promise.resolve().then(()=>require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("@sheetxl/primitives"),le=require("@sheetxl/utils");let L=null,q=null;const se={compilerOptions:{target:"esnext"}};async function ce(h,x,b="/script.js",w="__SHEETXL"){try{const K=await(async function(){if(L)return L;if(q){if(await q,!L)throw new Error("ESBuild initialization promise resolved, but instance is not available.");return L}let p,T;q=new Promise((a,S)=>{p=a,T=S});try{const{initialize:a}=await Promise.resolve().then(()=>require("./Cadxc7ddcs0UDAuJ.cjs"));return L=await a(),p(),L}catch(a){throw console.error("Failed to import or initialize esbuild:",a),q=null,T(a),a}})(),O="@sheetxl/primitives",n=`
|
|
7
7
|
export const FormulaContext = globalThis.${w}?.FormulaContext;
|
|
8
8
|
export const ScalarType = globalThis.${w}?.ScalarType;
|
|
9
9
|
export const Observable = globalThis.${w}?.Observable;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
interface FirstTest {
|
|
16
16
|
isTrue?: boolean;
|
|
17
17
|
}
|
|
18
|
-
`,ee=new Map([["IReferenceRange","r"],["IRange","l"]]),te=new Map([["IWorkbook","workbook"],["ISheet","sheet"],["ICellRanges","ranges"],["ICellRange","range"],["IFormulaContext","context"]]),X=(h,x)=>{Array.from(x.keys()).forEach(b=>{const w=x.get(b);x.set(`${h}.${b}`,w)})},ue=new Map([["Scalar","*"],["FormulaError.Known",F.ScalarType.Error],["Date","Date"],["JSON","JSON"]]),pe=new Map([]),_="SheetXL";X(_,ee),X(_,te),X(_,pe);const me=new Map([["Promise",()=>({async:!0})],["Observable",()=>({stream:!0})]]);let B=null;async function fe(){if(B)return B;try{return await(await Promise.resolve().then(()=>require("./
|
|
18
|
+
`,ee=new Map([["IReferenceRange","r"],["IRange","l"]]),te=new Map([["IWorkbook","workbook"],["ISheet","sheet"],["ICellRanges","ranges"],["ICellRange","range"],["IFormulaContext","context"]]),X=(h,x)=>{Array.from(x.keys()).forEach(b=>{const w=x.get(b);x.set(`${h}.${b}`,w)})},ue=new Map([["Scalar","*"],["FormulaError.Known",F.ScalarType.Error],["Date","Date"],["JSON","JSON"]]),pe=new Map([]),_="SheetXL";X(_,ee),X(_,te),X(_,pe);const me=new Map([["Promise",()=>({async:!0})],["Observable",()=>({stream:!0})]]);let B=null;async function fe(){if(B)return B;try{return await(await Promise.resolve().then(()=>require("./T4FtcFfkPcRK5Rlj.cjs"))).initialize()}catch(h){throw B=null,h}finally{B=null}}exports.compileModule=async function(h){const x=h?.source??null;if(!x)return null;const b=(h.disableBundle||h.declarationsOnly)??!1,w=[de(),fe()],K=await Promise.all(w),O=K[0],n=K[1];let C="",y=null;const p=[],T={allowJs:!0,declaration:!1,sourceMap:!1,inlineSourceMap:!1,inlineSources:!1,isolatedModules:!0,preserveConstEnums:!1,module:99,noResolve:!0,emitDeclarationOnly:!1,target:n.ScriptTarget.ES2020},a="script",S=`${a}.ts`,H="lib.d.ts",W="global.d.ts",M={[S]:x,[H]:`
|
|
19
19
|
/**
|
|
20
20
|
* Represents the completion of an asynchronous operation
|
|
21
21
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.
|
|
2
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
package/browser/cjs/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.
|
|
2
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("@sheetxl/utils");let l=null,n=null,t=null;const c=Object.freeze({compileTypescript:async function(e){if(!(e?.source??null))return null;if(n&&u.CommonUtils.deepEqual(n,e))return l;const i=await(async function(){if(t)return t;const{TypeScriptCompiler:o}=await Promise.resolve().then(()=>require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("@sheetxl/utils");let l=null,n=null,t=null;const c=Object.freeze({compileTypescript:async function(e){if(!(e?.source??null))return null;if(n&&u.CommonUtils.deepEqual(n,e))return l;const i=await(async function(){if(t)return t;const{TypeScriptCompiler:o}=await Promise.resolve().then(()=>require("./BGeSK0Lk4Xw-j83g.cjs"));return t=new o,t})(),r=await i.compileModule(e);return l=r,n=e,r}});exports.ScriptingUtils=c;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.
|
|
2
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let c=class{constructor(e){this._worker=null,this._nextId=1,this._pendingRequests=new Map,this._workerFactory=e}start(){if(typeof Worker>"u")throw new Error("Web Workers are not supported in this environment.");return this._worker||(this._worker=this._workerFactory(),this._worker.onmessage=e=>{const{id:n,result:t,error:r}=e.data,o=this._pendingRequests.get(n);if(o)if(this._pendingRequests.delete(n),r){const a=new Error(r.message);a.stack=r.stack,r.cause&&(a.cause=r.cause),o.reject(a)}else o.resolve(t)},this._worker.onerror=e=>{console.error("Worker error:",e),this._pendingRequests.forEach(n=>{n.reject(new Error(`Worker failed: ${e.message}`))}),this._pendingRequests.clear(),this._worker=null}),Promise.resolve()}execute(e){if(!this._worker)throw new Error("Worker is not initialized. Call start() first.");const n=this._nextId++;return new Promise((t,r)=>{this._pendingRequests.set(n,{resolve:t,reject:r}),this._worker.postMessage({id:n,params:e})})}terminate(){this._worker&&(this._worker.terminate(),this._worker=null)}};class u{constructor(n){this._onExecute=n}execute(n){return this._onExecute(n)}start(){return Promise.resolve()}terminate(){}}const s=`/**
|
|
7
|
-
* @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.7.
|
|
7
|
+
* @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.7.25
|
|
8
8
|
*
|
|
9
9
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
10
10
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -223,7 +223,7 @@ var v;
|
|
|
223
223
|
return r = typeof e == "string" ? it.get(e) : lt.get(e), r || (r = v.Unknown), new r(t, n);
|
|
224
224
|
}, v.getBuiltInById = (e) => Ie.get(e) || Tt;
|
|
225
225
|
/**
|
|
226
|
-
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.7.
|
|
226
|
+
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.7.25
|
|
227
227
|
*
|
|
228
228
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
229
229
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1510,4 +1510,4 @@ var cn = /* @__PURE__ */ Object.freeze({
|
|
|
1510
1510
|
__proto__: null,
|
|
1511
1511
|
initialize: sn
|
|
1512
1512
|
});
|
|
1513
|
-
`,i=typeof self<"u"&&self.Blob&&new Blob(["URL.revokeObjectURL(import.meta.url);",s],{type:"text/javascript;charset=utf-8"});function d(e){let n;try{if(n=i&&(self.URL||self.webkitURL).createObjectURL(i),!n)throw"";const t=new Worker(n,{type:"module",name:e?.name});return t.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(n)}),t}catch{return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(s),{type:"module",name:e?.name})}}const l=async()=>{const{compileModule:e}=await Promise.resolve().then(()=>require("./
|
|
1513
|
+
`,i=typeof self<"u"&&self.Blob&&new Blob(["URL.revokeObjectURL(import.meta.url);",s],{type:"text/javascript;charset=utf-8"});function d(e){let n;try{if(n=i&&(self.URL||self.webkitURL).createObjectURL(i),!n)throw"";const t=new Worker(n,{type:"module",name:e?.name});return t.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(n)}),t}catch{return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(s),{type:"module",name:e?.name})}}const l=async()=>{const{compileModule:e}=await Promise.resolve().then(()=>require("./DCJ8MiyLit0dGFJR.cjs")),n=new u(t=>e(t));return await n.start(),n};exports.createCompilerWorker=async function(){if(typeof process<"u"&&process.versions?.node&&typeof Worker>"u")return await l();if(typeof Worker<"u"){const e=new c(()=>new d);try{return await e.start(),e}catch(n){console.error("Failed to start TypescriptCompiler worker reverting to fallback:",n)}}return await l()};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ScalarType as F } from "@sheetxl/primitives";
|
|
2
2
|
import { CommonUtils as le } from "@sheetxl/utils";
|
|
3
3
|
/**
|
|
4
|
-
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.
|
|
4
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.25
|
|
5
5
|
*
|
|
6
6
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
7
7
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -21,7 +21,7 @@ async function ce(h, x, S = "/script.js", w = "__SHEETXL") {
|
|
|
21
21
|
p = o, b = T;
|
|
22
22
|
});
|
|
23
23
|
try {
|
|
24
|
-
const { initialize: o } = await import("./
|
|
24
|
+
const { initialize: o } = await import("./BouHmmJcohnhRkeB.mjs");
|
|
25
25
|
return L = await o(), p(), L;
|
|
26
26
|
} catch (o) {
|
|
27
27
|
throw console.error("Failed to import or initialize esbuild:", o), B = null, b(o), o;
|
|
@@ -70,7 +70,7 @@ let J = null;
|
|
|
70
70
|
async function fe() {
|
|
71
71
|
if (J) return J;
|
|
72
72
|
try {
|
|
73
|
-
return await (await import("./
|
|
73
|
+
return await (await import("./DH5A_uI2EirF8uIl.mjs")).initialize();
|
|
74
74
|
} catch (h) {
|
|
75
75
|
throw J = null, h;
|
|
76
76
|
} finally {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.
|
|
2
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.
|
|
2
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.
|
|
2
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -10,7 +10,7 @@ class o {
|
|
|
10
10
|
}
|
|
11
11
|
async getWorkerWrapper() {
|
|
12
12
|
if (this.workerWrapper) return this.workerWrapper;
|
|
13
|
-
const { createCompilerWorker: r } = await import("./
|
|
13
|
+
const { createCompilerWorker: r } = await import("./W3SZY-RNFIrtwp44.mjs");
|
|
14
14
|
return this.workerWrapper = await r(), this.workerWrapper;
|
|
15
15
|
}
|
|
16
16
|
async compileModule(r) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.
|
|
2
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -47,7 +47,7 @@ class u {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
const s = `/**
|
|
50
|
-
* @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.7.
|
|
50
|
+
* @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.7.25
|
|
51
51
|
*
|
|
52
52
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
53
53
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -266,7 +266,7 @@ var v;
|
|
|
266
266
|
return r = typeof e == "string" ? it.get(e) : lt.get(e), r || (r = v.Unknown), new r(t, n);
|
|
267
267
|
}, v.getBuiltInById = (e) => Ie.get(e) || Tt;
|
|
268
268
|
/**
|
|
269
|
-
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.7.
|
|
269
|
+
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.7.25
|
|
270
270
|
*
|
|
271
271
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
272
272
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1580,7 +1580,7 @@ async function p() {
|
|
|
1580
1580
|
return await l();
|
|
1581
1581
|
}
|
|
1582
1582
|
const l = async () => {
|
|
1583
|
-
const { compileModule: e } = await import("./
|
|
1583
|
+
const { compileModule: e } = await import("./5gCrO_OaNAFTC1ub.mjs"), n = new u((t) => e(t));
|
|
1584
1584
|
return await n.start(), n;
|
|
1585
1585
|
};
|
|
1586
1586
|
export {
|
package/browser/esm/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CommonUtils as u } from "@sheetxl/utils";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.
|
|
3
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.25
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -11,7 +11,7 @@ const p = Object.freeze({ compileTypescript: async function(t) {
|
|
|
11
11
|
if (n && u.deepEqual(n, t)) return i;
|
|
12
12
|
const l = await (async function() {
|
|
13
13
|
if (e) return e;
|
|
14
|
-
const { TypeScriptCompiler: o } = await import("./
|
|
14
|
+
const { TypeScriptCompiler: o } = await import("./P2Nodu9Xj6AjjRWb.mjs");
|
|
15
15
|
return e = new o(), e;
|
|
16
16
|
})(), r = await l.compileModule(t);
|
|
17
17
|
return i = r, n = t, r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ScalarType as F } from "@sheetxl/primitives";
|
|
2
2
|
import { CommonUtils as le } from "@sheetxl/utils";
|
|
3
3
|
/**
|
|
4
|
-
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.
|
|
4
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.25
|
|
5
5
|
*
|
|
6
6
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
7
7
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -21,7 +21,7 @@ async function ce(h, x, S = "/script.js", w = "__SHEETXL") {
|
|
|
21
21
|
p = o, b = T;
|
|
22
22
|
});
|
|
23
23
|
try {
|
|
24
|
-
const { initialize: o } = await import("./
|
|
24
|
+
const { initialize: o } = await import("./WWFs53gXGGgDDMbF.mjs");
|
|
25
25
|
return L = await o(), p(), L;
|
|
26
26
|
} catch (o) {
|
|
27
27
|
throw console.error("Failed to import or initialize esbuild:", o), B = null, b(o), o;
|
|
@@ -70,7 +70,7 @@ let J = null;
|
|
|
70
70
|
async function fe() {
|
|
71
71
|
if (J) return J;
|
|
72
72
|
try {
|
|
73
|
-
return await (await import("./
|
|
73
|
+
return await (await import("./D4C2JcKf6wcW1WJt.mjs")).initialize();
|
|
74
74
|
} catch (h) {
|
|
75
75
|
throw J = null, h;
|
|
76
76
|
} finally {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.
|
|
2
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -47,7 +47,7 @@ class u {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
const s = `/**
|
|
50
|
-
* @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.7.
|
|
50
|
+
* @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.7.25
|
|
51
51
|
*
|
|
52
52
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
53
53
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -266,7 +266,7 @@ var v;
|
|
|
266
266
|
return r = typeof e == "string" ? it.get(e) : lt.get(e), r || (r = v.Unknown), new r(t, n);
|
|
267
267
|
}, v.getBuiltInById = (e) => Ie.get(e) || Tt;
|
|
268
268
|
/**
|
|
269
|
-
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.7.
|
|
269
|
+
* @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.7.25
|
|
270
270
|
*
|
|
271
271
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
272
272
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1580,7 +1580,7 @@ async function p() {
|
|
|
1580
1580
|
return await l();
|
|
1581
1581
|
}
|
|
1582
1582
|
const l = async () => {
|
|
1583
|
-
const { compileModule: e } = await import("./
|
|
1583
|
+
const { compileModule: e } = await import("./CQl3XmDslhfxDddm.mjs"), n = new u((t) => e(t));
|
|
1584
1584
|
return await n.start(), n;
|
|
1585
1585
|
};
|
|
1586
1586
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.
|
|
2
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -10,7 +10,7 @@ class o {
|
|
|
10
10
|
}
|
|
11
11
|
async getWorkerWrapper() {
|
|
12
12
|
if (this.workerWrapper) return this.workerWrapper;
|
|
13
|
-
const { createCompilerWorker: r } = await import("./
|
|
13
|
+
const { createCompilerWorker: r } = await import("./CXRtvmdDzv40x9XW.mjs");
|
|
14
14
|
return this.workerWrapper = await r(), this.workerWrapper;
|
|
15
15
|
}
|
|
16
16
|
async compileModule(r) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.
|
|
2
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.25
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as s from "esbuild-wasm";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.
|
|
3
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.25
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
package/node/esm/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CommonUtils as u } from "@sheetxl/utils";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.
|
|
3
|
+
* @license @sheetxl/scripting - Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild. - v0.7.25
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -11,7 +11,7 @@ const p = Object.freeze({ compileTypescript: async function(t) {
|
|
|
11
11
|
if (n && u.deepEqual(n, t)) return i;
|
|
12
12
|
const l = await (async function() {
|
|
13
13
|
if (e) return e;
|
|
14
|
-
const { TypeScriptCompiler: o } = await import("./
|
|
14
|
+
const { TypeScriptCompiler: o } = await import("./CfQNtic8nGXfJYcB.mjs");
|
|
15
15
|
return e = new o(), e;
|
|
16
16
|
})(), r = await l.compileModule(t);
|
|
17
17
|
return i = r, n = t, r;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/scripting",
|
|
3
3
|
"description": "Scripting - Scripting engine for Macros and formulas; includes TypeScript and EsBuild.",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.25",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"scripting"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@sheetxl/primitives": "^0.7.
|
|
44
|
-
"@sheetxl/utils": "^0.7.
|
|
43
|
+
"@sheetxl/primitives": "^0.7.25",
|
|
44
|
+
"@sheetxl/utils": "^0.7.25",
|
|
45
45
|
"path-browserify": "^1.0.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|