@pipelab/plugin-filesystem 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,11 +1,11 @@
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 { createRequire } from "node:module";
3
3
  import { hostname } from "os";
4
4
  import { normalize } from "path";
5
5
  import { formatWithOptions, types } from "util";
6
6
  import path, { basename, dirname, join } from "node:path";
7
- import { constants, platform } from "node:os";
8
7
  import { fileURLToPath } from "node:url";
8
+ import { constants, platform } from "node:os";
9
9
  import { appendFileSync, createReadStream, createWriteStream, existsSync, readFileSync, statSync, writeFileSync } from "node:fs";
10
10
  import http from "node:http";
11
11
  import { webcrypto } from "node:crypto";
@@ -45184,7 +45184,16 @@ object({
45184
45184
  pipelines: optional(array(SaveLocationValidator), [])
45185
45185
  });
45186
45186
  //#endregion
45187
+ //#region ../../node_modules/tsdown/esm-shims.js
45188
+ var getFilename, getDirname, __dirname;
45189
+ var init_esm_shims = __esmMin((() => {
45190
+ getFilename = () => fileURLToPath(import.meta.url);
45191
+ getDirname = () => path.dirname(getFilename());
45192
+ __dirname = /* @__PURE__ */ getDirname();
45193
+ }));
45194
+ //#endregion
45187
45195
  //#region ../../packages/core-node/src/context.ts
45196
+ init_esm_shims();
45188
45197
  const _dirname = typeof __dirname !== "undefined" ? __dirname : typeof import.meta !== "undefined" && import.meta.url ? dirname(fileURLToPath(import.meta.url)) : process.cwd();
45189
45198
  process.env.NODE_ENV;
45190
45199
  /**
@@ -110894,6 +110903,7 @@ var require_lib$9 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
110894
110903
  //#endregion
110895
110904
  //#region ../../node_modules/@npmcli/run-script/lib/set-path.js
110896
110905
  var require_set_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
110906
+ init_esm_shims();
110897
110907
  const { log } = require_lib$29();
110898
110908
  const { resolve: resolve$4, dirname: dirname$2, delimiter } = __require("path");
110899
110909
  const nodeGypPath = resolve$4(__dirname, "../lib/node-gyp-bin");