poe-code 4.0.46 → 4.0.47
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.js
CHANGED
|
@@ -148010,7 +148010,8 @@ var init_canonical_path = __esm({
|
|
|
148010
148010
|
import { constants as nodeFsConstants } from "node:fs";
|
|
148011
148011
|
import * as nodeFsPromises from "node:fs/promises";
|
|
148012
148012
|
import { dirname as dirname13, isAbsolute as isAbsolute10, resolve as resolve13 } from "node:path";
|
|
148013
|
-
import {
|
|
148013
|
+
import { inspect } from "node:util";
|
|
148014
|
+
import * as nodeUtil from "node:util";
|
|
148014
148015
|
function makeFsModule(options = {}) {
|
|
148015
148016
|
assertSupportedPlatform();
|
|
148016
148017
|
const implementation = options.fs ?? nodeFsPromises;
|
|
@@ -148228,7 +148229,11 @@ function createAccessDeniedError(name, path188, dest) {
|
|
|
148228
148229
|
return error3;
|
|
148229
148230
|
}
|
|
148230
148231
|
function readSystemError(code) {
|
|
148231
|
-
|
|
148232
|
+
const fallback = /* @__PURE__ */ new Map([
|
|
148233
|
+
[process.platform === "win32" ? -4092 : -13, ["EACCES", "permission denied"]]
|
|
148234
|
+
]);
|
|
148235
|
+
const systemErrors = nodeUtil.getSystemErrorMap?.() ?? fallback;
|
|
148236
|
+
for (const [errno, [name, message2]] of systemErrors) {
|
|
148232
148237
|
if (name === code) {
|
|
148233
148238
|
return [errno, message2];
|
|
148234
148239
|
}
|
|
@@ -152663,7 +152668,7 @@ var init_package2 = __esm({
|
|
|
152663
152668
|
"package.json"() {
|
|
152664
152669
|
package_default2 = {
|
|
152665
152670
|
name: "poe-code",
|
|
152666
|
-
version: "4.0.
|
|
152671
|
+
version: "4.0.47",
|
|
152667
152672
|
description: "CLI tool to configure Poe API for developer workflows.",
|
|
152668
152673
|
license: "MIT",
|
|
152669
152674
|
type: "module",
|