mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 21:19:43 -08:00
20 lines
820 B
Diff
20 lines
820 B
Diff
|
diff --git a/pyodide.d.ts b/pyodide.d.ts
|
||
|
index d5ed46f6345855a75ec6f2b7ef73237a0af64a7e..e0087c83792558ca30713e9d07a9a37625f68d8d 100644
|
||
|
--- a/pyodide.d.ts
|
||
|
+++ b/pyodide.d.ts
|
||
|
@@ -1118,6 +1118,15 @@ export declare function loadPyodide(options?: {
|
||
|
* (``pyodide.js`` or ``pyodide.mjs``) removed.
|
||
|
*/
|
||
|
indexURL?: string;
|
||
|
+ /**
|
||
|
+ * The file path where packages will be cached in `node.js`. If a package
|
||
|
+ * exists in `packageCacheDir` it is loaded from there, otherwise it is
|
||
|
+ * downloaded from the JsDelivr CDN and then cached into `packageCacheDir`.
|
||
|
+ * Only applies when running in node.js. Ignored in browsers.
|
||
|
+ *
|
||
|
+ * Default: same as indexURL
|
||
|
+ */
|
||
|
+ packageCacheDir?: string;
|
||
|
/**
|
||
|
* file. You can produce custom lock files with :py:func:`micropip.freeze`.
|
||
|
* Default: ```${indexURL}/repodata.json```
|