@swc/wasm 1.15.10 → 1.15.11
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/package.json +1 -1
- package/wasm.d.ts +7 -7
- package/wasm.js +2 -2
- package/wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/wasm.d.ts
CHANGED
|
@@ -426,27 +426,27 @@ export interface Options extends Config {
|
|
|
426
426
|
*
|
|
427
427
|
* "root" - Passes the "root" value through as unchanged.
|
|
428
428
|
* "upward" - Walks upward from the "root" directory, looking for a directory
|
|
429
|
-
* containing a
|
|
429
|
+
* containing a .swcrc file, and throws an error if a .swcrc
|
|
430
430
|
* is not found.
|
|
431
431
|
* "upward-optional" - Walk upward from the "root" directory, looking for
|
|
432
|
-
* a directory containing a
|
|
433
|
-
* if a
|
|
432
|
+
* a directory containing a .swcrc file, and falls back to "root"
|
|
433
|
+
* if a .swcrc is not found.
|
|
434
434
|
*
|
|
435
435
|
*
|
|
436
436
|
* "root" is the default mode because it avoids the risk that Swc
|
|
437
|
-
* will accidentally load a
|
|
437
|
+
* will accidentally load a .swcrc that is entirely outside
|
|
438
438
|
* of the current project folder. If you use "upward-optional",
|
|
439
439
|
* be aware that it will walk up the directory structure all the
|
|
440
440
|
* way to the filesystem root, and it is always possible that someone
|
|
441
|
-
* will have a forgotten
|
|
441
|
+
* will have a forgotten .swcrc in their home directory,
|
|
442
442
|
* which could cause unexpected errors in your builds.
|
|
443
443
|
*
|
|
444
444
|
*
|
|
445
445
|
* Users with monorepo project structures that run builds/tests on a
|
|
446
446
|
* per-package basis may well want to use "upward" since monorepos
|
|
447
|
-
* often have a
|
|
447
|
+
* often have a .swcrc in the project root. Running Swc
|
|
448
448
|
* in a monorepo subdirectory without "upward", will cause Swc
|
|
449
|
-
* to skip loading any
|
|
449
|
+
* to skip loading any .swcrc files in the project root,
|
|
450
450
|
* which can lead to unexpected errors and compilation failure.
|
|
451
451
|
*/
|
|
452
452
|
rootMode?: "root" | "upward" | "upward-optional";
|
package/wasm.js
CHANGED
|
@@ -653,8 +653,8 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
|
653
653
|
return ret;
|
|
654
654
|
};
|
|
655
655
|
|
|
656
|
-
module.exports.
|
|
657
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
656
|
+
module.exports.__wbindgen_closure_wrapper13284 = function(arg0, arg1, arg2) {
|
|
657
|
+
const ret = makeMutClosure(arg0, arg1, 586, __wbg_adapter_52);
|
|
658
658
|
return addHeapObject(ret);
|
|
659
659
|
};
|
|
660
660
|
|
package/wasm_bg.wasm
CHANGED
|
Binary file
|