@upstash/workflow 0.1.4 → 0.2.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/astro.d.mts +1 -1
- package/astro.d.ts +1 -1
- package/astro.js +348 -191
- package/astro.mjs +1 -1
- package/{chunk-HO2SB246.mjs → chunk-5R2BFC3N.mjs} +419 -194
- package/cloudflare.d.mts +1 -1
- package/cloudflare.d.ts +1 -1
- package/cloudflare.js +348 -191
- package/cloudflare.mjs +1 -1
- package/express.d.mts +1 -1
- package/express.d.ts +1 -1
- package/express.js +369 -189
- package/express.mjs +17 -4
- package/h3.d.mts +1 -1
- package/h3.d.ts +1 -1
- package/h3.js +348 -191
- package/h3.mjs +1 -1
- package/hono.d.mts +1 -1
- package/hono.d.ts +1 -1
- package/hono.js +348 -191
- package/hono.mjs +1 -1
- package/index.d.mts +74 -21
- package/index.d.ts +74 -21
- package/index.js +426 -211
- package/index.mjs +5 -5
- package/nextjs.d.mts +1 -1
- package/nextjs.d.ts +1 -1
- package/nextjs.js +348 -191
- package/nextjs.mjs +1 -1
- package/package.json +1 -1
- package/solidjs.d.mts +1 -1
- package/solidjs.d.ts +1 -1
- package/solidjs.js +348 -191
- package/solidjs.mjs +1 -1
- package/svelte.d.mts +1 -1
- package/svelte.d.ts +1 -1
- package/svelte.js +348 -191
- package/svelte.mjs +1 -1
- package/{types-CQuc-j8n.d.mts → types-Cki_MHrh.d.mts} +85 -31
- package/{types-CQuc-j8n.d.ts → types-Cki_MHrh.d.ts} +85 -31
package/express.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
__require,
|
|
4
4
|
__toESM,
|
|
5
5
|
serve
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5R2BFC3N.mjs";
|
|
7
7
|
|
|
8
8
|
// node_modules/depd/index.js
|
|
9
9
|
var require_depd = __commonJS({
|
|
@@ -15291,9 +15291,19 @@ var require_object_inspect = __commonJS({
|
|
|
15291
15291
|
var utilInspect = require_util_inspect();
|
|
15292
15292
|
var inspectCustom = utilInspect.custom;
|
|
15293
15293
|
var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;
|
|
15294
|
+
var quotes = {
|
|
15295
|
+
__proto__: null,
|
|
15296
|
+
"double": '"',
|
|
15297
|
+
single: "'"
|
|
15298
|
+
};
|
|
15299
|
+
var quoteREs = {
|
|
15300
|
+
__proto__: null,
|
|
15301
|
+
"double": /(["\\])/g,
|
|
15302
|
+
single: /(['\\])/g
|
|
15303
|
+
};
|
|
15294
15304
|
module.exports = function inspect_(obj, options, depth, seen) {
|
|
15295
15305
|
var opts = options || {};
|
|
15296
|
-
if (has(opts, "quoteStyle") && (
|
|
15306
|
+
if (has(opts, "quoteStyle") && !has(quotes, opts.quoteStyle)) {
|
|
15297
15307
|
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
15298
15308
|
}
|
|
15299
15309
|
if (has(opts, "maxStringLength") && (typeof opts.maxStringLength === "number" ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity : opts.maxStringLength !== null)) {
|
|
@@ -15474,7 +15484,8 @@ var require_object_inspect = __commonJS({
|
|
|
15474
15484
|
return String(obj);
|
|
15475
15485
|
};
|
|
15476
15486
|
function wrapQuotes(s, defaultStyle, opts) {
|
|
15477
|
-
var
|
|
15487
|
+
var style = opts.quoteStyle || defaultStyle;
|
|
15488
|
+
var quoteChar = quotes[style];
|
|
15478
15489
|
return quoteChar + s + quoteChar;
|
|
15479
15490
|
}
|
|
15480
15491
|
function quote(s) {
|
|
@@ -15649,7 +15660,9 @@ var require_object_inspect = __commonJS({
|
|
|
15649
15660
|
var trailer = "... " + remaining + " more character" + (remaining > 1 ? "s" : "");
|
|
15650
15661
|
return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
|
|
15651
15662
|
}
|
|
15652
|
-
var
|
|
15663
|
+
var quoteRE = quoteREs[opts.quoteStyle || "single"];
|
|
15664
|
+
quoteRE.lastIndex = 0;
|
|
15665
|
+
var s = $replace.call($replace.call(str, quoteRE, "\\$1"), /[\x00-\x1f]/g, lowbyte);
|
|
15653
15666
|
return wrapQuotes(s, "single", opts);
|
|
15654
15667
|
}
|
|
15655
15668
|
function lowbyte(c) {
|
package/h3.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as h3 from 'h3';
|
|
2
|
-
import { R as RouteFunction, W as WorkflowServeOptions } from './types-
|
|
2
|
+
import { R as RouteFunction, W as WorkflowServeOptions } from './types-Cki_MHrh.mjs';
|
|
3
3
|
import '@upstash/qstash';
|
|
4
4
|
|
|
5
5
|
declare const serve: <TInitialPayload = unknown>(routeFunction: RouteFunction<TInitialPayload>, options?: Omit<WorkflowServeOptions<Response, TInitialPayload>, "onStepFinish">) => {
|
package/h3.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as h3 from 'h3';
|
|
2
|
-
import { R as RouteFunction, W as WorkflowServeOptions } from './types-
|
|
2
|
+
import { R as RouteFunction, W as WorkflowServeOptions } from './types-Cki_MHrh.js';
|
|
3
3
|
import '@upstash/qstash';
|
|
4
4
|
|
|
5
5
|
declare const serve: <TInitialPayload = unknown>(routeFunction: RouteFunction<TInitialPayload>, options?: Omit<WorkflowServeOptions<Response, TInitialPayload>, "onStepFinish">) => {
|