@pipelab/plugin-discord 1.0.0-beta.10 → 1.0.0-beta.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/dist/index.mjs CHANGED
@@ -1,10 +1,10 @@
1
- import { a as __require, i as __reExport, o as __toESM, r as __exportAll, t as __commonJSMin } from "./chunk-kImr3pkf.mjs";
1
+ import { a as __require, i as __reExport, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./chunk-kImr3pkf.mjs";
2
2
  import { hostname } from "os";
3
3
  import { basename, join, normalize } from "path";
4
4
  import { formatWithOptions, types } from "util";
5
5
  import path$1, { basename as basename$1, delimiter, dirname, join as join$1, sep } from "node:path";
6
- import { constants, tmpdir } from "node:os";
7
6
  import { fileURLToPath } from "node:url";
7
+ import { constants, tmpdir } from "node:os";
8
8
  import { appendFileSync, createReadStream, createWriteStream, existsSync, readFileSync, readdirSync, statSync, writeFileSync } from "node:fs";
9
9
  import http from "node:http";
10
10
  import { webcrypto } from "node:crypto";
@@ -45185,7 +45185,16 @@ object({
45185
45185
  pipelines: optional(array(SaveLocationValidator), [])
45186
45186
  });
45187
45187
  //#endregion
45188
+ //#region ../../node_modules/tsdown/esm-shims.js
45189
+ var getFilename, getDirname, __dirname;
45190
+ var init_esm_shims = __esmMin((() => {
45191
+ getFilename = () => fileURLToPath(import.meta.url);
45192
+ getDirname = () => path$1.dirname(getFilename());
45193
+ __dirname = /* @__PURE__ */ getDirname();
45194
+ }));
45195
+ //#endregion
45188
45196
  //#region ../../packages/core-node/src/context.ts
45197
+ init_esm_shims();
45189
45198
  const _dirname = typeof __dirname !== "undefined" ? __dirname : typeof import.meta !== "undefined" && import.meta.url ? dirname(fileURLToPath(import.meta.url)) : process.cwd();
45190
45199
  const isDev = process.env.NODE_ENV === "development";
45191
45200
  /**
@@ -111029,6 +111038,7 @@ var require_lib$9 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
111029
111038
  //#endregion
111030
111039
  //#region ../../node_modules/@npmcli/run-script/lib/set-path.js
111031
111040
  var require_set_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
111041
+ init_esm_shims();
111032
111042
  const { log } = require_lib$29();
111033
111043
  const { resolve: resolve$4, dirname: dirname$2, delimiter: delimiter$1 } = __require("path");
111034
111044
  const nodeGypPath = resolve$4(__dirname, "../lib/node-gyp-bin");