@awsless/cli 0.1.15 → 0.1.17
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/app.json +1 -1
- package/dist/app.stage.json +1 -1
- package/dist/bin.js +99739 -61428
- package/dist/handlers/icon.js +79 -34
- package/dist/handlers/pubsub-publisher.js +4573 -984
- package/dist/handlers/pubsub-server.js +79984 -51283
- package/dist/handlers/rpc.js +6 -6
- package/dist/stack.json +1 -1
- package/dist/stack.stage.json +1 -1
- package/package.json +77 -76
package/dist/handlers/rpc.js
CHANGED
|
@@ -7,7 +7,7 @@ import { randomUUID } from "node:crypto";
|
|
|
7
7
|
import { toSeconds } from "@awsless/duration";
|
|
8
8
|
import { WeakCache } from "@awsless/weak-cache";
|
|
9
9
|
|
|
10
|
-
// ../../node_modules/.pnpm/date-fns@4.
|
|
10
|
+
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js
|
|
11
11
|
var daysInYear = 365.2425;
|
|
12
12
|
var maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1000;
|
|
13
13
|
var minTime = -maxTime;
|
|
@@ -19,7 +19,7 @@ var secondsInMonth = secondsInYear / 12;
|
|
|
19
19
|
var secondsInQuarter = secondsInMonth * 3;
|
|
20
20
|
var constructFromSymbol = Symbol.for("constructDateFrom");
|
|
21
21
|
|
|
22
|
-
// ../../node_modules/.pnpm/date-fns@4.
|
|
22
|
+
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js
|
|
23
23
|
function constructFrom(date, value) {
|
|
24
24
|
if (typeof date === "function")
|
|
25
25
|
return date(value);
|
|
@@ -30,22 +30,22 @@ function constructFrom(date, value) {
|
|
|
30
30
|
return new Date(value);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
// ../../node_modules/.pnpm/date-fns@4.
|
|
33
|
+
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js
|
|
34
34
|
function toDate(argument, context) {
|
|
35
35
|
return constructFrom(context || argument, argument);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
// ../../node_modules/.pnpm/date-fns@4.
|
|
38
|
+
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/addMilliseconds.js
|
|
39
39
|
function addMilliseconds(date, amount, options) {
|
|
40
40
|
return constructFrom(options?.in || date, +toDate(date) + amount);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
// ../../node_modules/.pnpm/date-fns@4.
|
|
43
|
+
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/addSeconds.js
|
|
44
44
|
function addSeconds(date, amount, options) {
|
|
45
45
|
return addMilliseconds(date, amount * 1000, options);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
// ../../node_modules/.pnpm/date-fns@4.
|
|
48
|
+
// ../../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isFuture.js
|
|
49
49
|
function isFuture(date) {
|
|
50
50
|
return +toDate(date) > Date.now();
|
|
51
51
|
}
|