@unbound-app/rollup-plugin-hermes 3.0.0 → 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 CHANGED
@@ -1,4 +1,4 @@
1
- import { chmod, mkdir, mkdtemp, readFile, readdir, rename, rm, writeFile } from "node:fs/promises";
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 rename(join(extracted, platform), destination);
163
+ await cp(join(extracted, platform), destination, { recursive: true });
164
164
  }
165
165
  } finally {
166
166
  await rm(work, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unbound-app/rollup-plugin-hermes",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "Compiles rollup and rolldown bundles to Hermes bytecode with every hermesc version Discord may run.",
5
5
  "author": {
6
6
  "name": "Mario P.",