@cloudflare/workers-utils 0.33.1 → 0.34.0
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/browser.d.mts +1 -1
- package/dist/browser.mjs +1 -1
- package/dist/chunk-QFKPUV4H.mjs +13 -13
- package/dist/{chunk-IV7UMGT2.mjs → chunk-QKX75RGI.mjs} +1 -1
- package/dist/{config-CRUFg2tu.d.mts → config-BnUbzrPY.d.mts} +28 -6
- package/dist/index.d.mts +156 -7
- package/dist/index.mjs +271 -70
- package/dist/metafile-esm.json +1 -1
- package/dist/open-PBXRGS4R.mjs +3 -3
- package/dist/test-helpers/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/open-PBXRGS4R.mjs
CHANGED
|
@@ -306,8 +306,8 @@ var is_in_ssh_default = isInSsh;
|
|
|
306
306
|
|
|
307
307
|
// ../../node_modules/.pnpm/open@11.0.0/node_modules/open/index.js
|
|
308
308
|
var fallbackAttemptSymbol = Symbol("fallbackAttempt");
|
|
309
|
-
var __dirname = import.meta.url ? path.dirname(fileURLToPath(import.meta.url)) : "";
|
|
310
|
-
var localXdgOpenPath = path.join(__dirname, "xdg-open");
|
|
309
|
+
var __dirname$1 = import.meta.url ? path.dirname(fileURLToPath(import.meta.url)) : "";
|
|
310
|
+
var localXdgOpenPath = path.join(__dirname$1, "xdg-open");
|
|
311
311
|
var { platform, arch } = process5;
|
|
312
312
|
var tryEachApp = /* @__PURE__ */ __name(async (apps2, opener) => {
|
|
313
313
|
if (apps2.length === 0) {
|
|
@@ -452,7 +452,7 @@ var baseOpen = /* @__PURE__ */ __name(async (options) => {
|
|
|
452
452
|
if (app) {
|
|
453
453
|
command = app;
|
|
454
454
|
} else {
|
|
455
|
-
const isBundled = !__dirname || __dirname === "/";
|
|
455
|
+
const isBundled = !__dirname$1 || __dirname$1 === "/";
|
|
456
456
|
let exeLocalXdgOpen = false;
|
|
457
457
|
try {
|
|
458
458
|
await fs4.access(localXdgOpenPath, constants.X_OK);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/workers-utils",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.0",
|
|
4
4
|
"description": "Internal utility package for workers-sdk. Not intended for external use — APIs may change without notice.",
|
|
5
5
|
"homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/workers-utils#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"zod": "4.4.3",
|
|
68
68
|
"@cloudflare/workers-shared": "0.19.9",
|
|
69
69
|
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
70
|
-
"@cloudflare/workflows-shared": "0.
|
|
70
|
+
"@cloudflare/workflows-shared": "0.13.0"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"vitest": "^4.1.0"
|