@unbound-app/rollup-plugin-hermes 3.0.1 → 3.0.2
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/dist/manifest.mjs +2 -2
- package/package.json +1 -1
package/dist/manifest.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { chmod, mkdir, mkdtemp, readFile, readdir,
|
|
1
|
+
import { chmod, cp, mkdir, mkdtemp, readFile, readdir, rm, writeFile } from "node:fs/promises";
|
|
2
2
|
import { execFileSync } from "node:child_process";
|
|
3
3
|
import { existsSync } from "node:fs";
|
|
4
4
|
import { tmpdir } from "node:os";
|
|
@@ -160,7 +160,7 @@ async function downloadVersion(npmVersion, root) {
|
|
|
160
160
|
recursive: true,
|
|
161
161
|
force: true
|
|
162
162
|
});
|
|
163
|
-
await
|
|
163
|
+
await cp(join(extracted, platform), destination, { recursive: true });
|
|
164
164
|
}
|
|
165
165
|
} finally {
|
|
166
166
|
await rm(work, {
|
package/package.json
CHANGED