@sheetxl/scripting 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/README.md +1 -1
- package/browser/cjs/{UzyxN3j4OvoQMXz9.cjs → 12MLcWR439OVCXwt.cjs} +1 -1
- package/browser/cjs/{DDGcQZ4hlpTNheEg.cjs → Zvz3TLLPKgPcJHB4.cjs} +650 -694
- package/browser/cjs/index.cjs +1 -1
- package/browser/cjs/stpzUglP-nPdX-Zi.cjs +29 -0
- package/browser/esm/8IBYT7vkExASLJms.mjs +162 -0
- package/browser/esm/{DiwsulR7CwM-KFcK.mjs → ChXuG8IaqC3qeOH3.mjs} +650 -694
- package/{node/esm/CZo429AzOkBwGTWk.mjs → browser/esm/DJmAxtGDsADOLRhd.mjs} +1 -1
- package/browser/esm/index.mjs +1 -1
- package/node/esm/Bj3F3BUcrLYUg3Dv.mjs +161 -0
- package/node/esm/{DyZ4_kNN_urjQyjU.mjs → DlnqsBJLAzuuPNOx.mjs} +1 -1
- package/{browser/esm/DaQ0EpmIY8CRghRW.mjs → node/esm/Dp_cerCAQ8jL3dyP.mjs} +1 -1
- package/node/esm/index.mjs +1 -1
- package/package.json +3 -3
- package/types/src/compiler/Bundler.d.ts +1 -1
- package/types/src/type/CompileOptions.d.ts +12 -9
- package/browser/cjs/CUd5aIyyU3_3B_V1.cjs +0 -29
- package/browser/esm/zGQXHcrpOlM4m6Nn.mjs +0 -197
- package/node/esm/BRuHQvNZfkRtcqXr.mjs +0 -196
- package/types/src/compiler/relaxForRun.d.ts +0 -8
package/README.md
CHANGED
|
@@ -214,7 +214,7 @@ Platform detection is automatic via conditional exports.
|
|
|
214
214
|
## Examples & Templates
|
|
215
215
|
|
|
216
216
|
Explore ready-to-use scripting templates at:
|
|
217
|
-
**[github.com/sheetxl/scripting
|
|
217
|
+
**[github.com/sheetxl/templates-scripting](https://github.com/sheetxl/templates-scripting)**
|
|
218
218
|
|
|
219
219
|
Templates include:
|
|
220
220
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
exports.TypeScriptCompiler=class{constructor(r={}){this.workerWrapper=null}async getWorkerWrapper(){if(this.workerWrapper)return this.workerWrapper;const{createCompilerWorker:r}=await Promise.resolve().then(()=>require("./
|
|
1
|
+
exports.TypeScriptCompiler=class{constructor(r={}){this.workerWrapper=null}async getWorkerWrapper(){if(this.workerWrapper)return this.workerWrapper;const{createCompilerWorker:r}=await Promise.resolve().then(()=>require("./Zvz3TLLPKgPcJHB4.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}};
|