@awsless/cli 0.1.9 → 0.1.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/bin.js +124 -62
- package/dist/handlers/icon.js +15 -1
- package/dist/handlers/pubsub-publisher.js +17 -3
- package/dist/handlers/pubsub-server.js +48 -26
- package/dist/test-global-setup.js +5 -1
- package/package.json +17 -17
package/dist/bin.js
CHANGED
|
@@ -6,39 +6,60 @@ var __defProp = Object.defineProperty;
|
|
|
6
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
7
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
8
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
function __accessProp(key) {
|
|
10
|
+
return this[key];
|
|
11
|
+
}
|
|
12
|
+
var __toESMCache_node;
|
|
13
|
+
var __toESMCache_esm;
|
|
9
14
|
var __toESM = (mod, isNodeMode, target) => {
|
|
15
|
+
var canCache = mod != null && typeof mod === "object";
|
|
16
|
+
if (canCache) {
|
|
17
|
+
var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
|
|
18
|
+
var cached = cache.get(mod);
|
|
19
|
+
if (cached)
|
|
20
|
+
return cached;
|
|
21
|
+
}
|
|
10
22
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
11
23
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
12
24
|
for (let key of __getOwnPropNames(mod))
|
|
13
25
|
if (!__hasOwnProp.call(to, key))
|
|
14
26
|
__defProp(to, key, {
|
|
15
|
-
get: (
|
|
27
|
+
get: __accessProp.bind(mod, key),
|
|
16
28
|
enumerable: true
|
|
17
29
|
});
|
|
30
|
+
if (canCache)
|
|
31
|
+
cache.set(mod, to);
|
|
18
32
|
return to;
|
|
19
33
|
};
|
|
20
|
-
var __moduleCache = /* @__PURE__ */ new WeakMap;
|
|
21
34
|
var __toCommonJS = (from) => {
|
|
22
|
-
var entry = __moduleCache.get(from), desc;
|
|
35
|
+
var entry = (__moduleCache ??= new WeakMap).get(from), desc;
|
|
23
36
|
if (entry)
|
|
24
37
|
return entry;
|
|
25
38
|
entry = __defProp({}, "__esModule", { value: true });
|
|
26
|
-
if (from && typeof from === "object" || typeof from === "function")
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
39
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
40
|
+
for (var key of __getOwnPropNames(from))
|
|
41
|
+
if (!__hasOwnProp.call(entry, key))
|
|
42
|
+
__defProp(entry, key, {
|
|
43
|
+
get: __accessProp.bind(from, key),
|
|
44
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
45
|
+
});
|
|
46
|
+
}
|
|
31
47
|
__moduleCache.set(from, entry);
|
|
32
48
|
return entry;
|
|
33
49
|
};
|
|
50
|
+
var __moduleCache;
|
|
34
51
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
52
|
+
var __returnValue = (v) => v;
|
|
53
|
+
function __exportSetter(name, newValue) {
|
|
54
|
+
this[name] = __returnValue.bind(null, newValue);
|
|
55
|
+
}
|
|
35
56
|
var __export = (target, all) => {
|
|
36
57
|
for (var name in all)
|
|
37
58
|
__defProp(target, name, {
|
|
38
59
|
get: all[name],
|
|
39
60
|
enumerable: true,
|
|
40
61
|
configurable: true,
|
|
41
|
-
set: (
|
|
62
|
+
set: __exportSetter.bind(all, name)
|
|
42
63
|
});
|
|
43
64
|
};
|
|
44
65
|
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
@@ -832,7 +853,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
832
853
|
this._exitCallback = (err) => {
|
|
833
854
|
if (err.code !== "commander.executeSubCommandAsync") {
|
|
834
855
|
throw err;
|
|
835
|
-
}
|
|
856
|
+
}
|
|
836
857
|
};
|
|
837
858
|
}
|
|
838
859
|
return this;
|
|
@@ -3069,7 +3090,7 @@ var require_cell = __commonJS((exports, module) => {
|
|
|
3069
3090
|
let content = utils.truncate(this.content, 10, this.truncate);
|
|
3070
3091
|
if (!lineNum) {
|
|
3071
3092
|
info(`${this.y}-${this.x}: ${this.rowSpan - lineNum}x${this.colSpan} Cell ${content}`);
|
|
3072
|
-
}
|
|
3093
|
+
}
|
|
3073
3094
|
let padLen = Math.max(this.height - this.lines.length, 0);
|
|
3074
3095
|
let padTop;
|
|
3075
3096
|
switch (this.vAlign) {
|
|
@@ -26838,7 +26859,7 @@ var require_node_gyp_build_optional_packages = __commonJS((exports, module) => {
|
|
|
26838
26859
|
|
|
26839
26860
|
// ../../node_modules/.pnpm/msgpackr-extract@3.0.4/node_modules/msgpackr-extract/index.js
|
|
26840
26861
|
var require_msgpackr_extract = __commonJS((exports, module) => {
|
|
26841
|
-
var __dirname = "/Users/
|
|
26862
|
+
var __dirname = "/Users/work/Code/awsless/node_modules/.pnpm/msgpackr-extract@3.0.4/node_modules/msgpackr-extract";
|
|
26842
26863
|
module.exports = require_node_gyp_build_optional_packages()(__dirname);
|
|
26843
26864
|
});
|
|
26844
26865
|
|
|
@@ -39706,7 +39727,7 @@ var require_src3 = __commonJS((exports) => {
|
|
|
39706
39727
|
|
|
39707
39728
|
// ../../node_modules/.pnpm/@grpc+grpc-js@1.12.6/node_modules/@grpc/grpc-js/build/src/channelz.js
|
|
39708
39729
|
var require_channelz = __commonJS((exports) => {
|
|
39709
|
-
var __dirname = "/Users/
|
|
39730
|
+
var __dirname = "/Users/work/Code/awsless/node_modules/.pnpm/@grpc+grpc-js@1.12.6/node_modules/@grpc/grpc-js/build/src";
|
|
39710
39731
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39711
39732
|
exports.registerChannelzSocket = exports.registerChannelzServer = exports.registerChannelzSubchannel = exports.registerChannelzChannel = exports.ChannelzCallTrackerStub = exports.ChannelzCallTracker = exports.ChannelzChildrenTrackerStub = exports.ChannelzChildrenTracker = exports.ChannelzTrace = exports.ChannelzTraceStub = undefined;
|
|
39712
39733
|
exports.unregisterChannelzRef = unregisterChannelzRef;
|
|
@@ -57210,7 +57231,7 @@ var require_zipEntries = __commonJS((exports, module) => {
|
|
|
57210
57231
|
if (this.centralDirRecords !== this.files.length) {
|
|
57211
57232
|
if (this.centralDirRecords !== 0 && this.files.length === 0) {
|
|
57212
57233
|
throw new Error("Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length);
|
|
57213
|
-
}
|
|
57234
|
+
}
|
|
57214
57235
|
}
|
|
57215
57236
|
},
|
|
57216
57237
|
readEndOfCentral: function() {
|
|
@@ -74431,7 +74452,7 @@ WD9f
|
|
|
74431
74452
|
|
|
74432
74453
|
// ../../node_modules/.pnpm/ioredis@5.10.1_supports-color@8.1.1/node_modules/ioredis/built/utils/index.js
|
|
74433
74454
|
var require_utils5 = __commonJS((exports) => {
|
|
74434
|
-
var __dirname = "/Users/
|
|
74455
|
+
var __dirname = "/Users/work/Code/awsless/node_modules/.pnpm/ioredis@5.10.1_supports-color@8.1.1/node_modules/ioredis/built/utils";
|
|
74435
74456
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
74436
74457
|
exports.noop = exports.defaults = exports.Debug = exports.getPackageMeta = exports.zipMap = exports.CONNECTION_CLOSED_ERROR_MSG = exports.shuffle = exports.sample = exports.resolveTLSProfile = exports.parseURL = exports.optimizeErrorStack = exports.toArg = exports.convertMapToArray = exports.convertObjectToArray = exports.timeout = exports.packObject = exports.isInt = exports.wrapMultiResult = exports.convertBufferToString = undefined;
|
|
74437
74458
|
var fs_1 = __require("fs");
|
|
@@ -74717,7 +74738,7 @@ var require_argumentParsers = __commonJS((exports) => {
|
|
|
74717
74738
|
|
|
74718
74739
|
// ../../node_modules/.pnpm/ioredis@5.10.1_supports-color@8.1.1/node_modules/ioredis/built/Command.js
|
|
74719
74740
|
var require_Command = __commonJS((exports) => {
|
|
74720
|
-
var __dirname = "/Users/
|
|
74741
|
+
var __dirname = "/Users/work/Code/awsless/node_modules/.pnpm/ioredis@5.10.1_supports-color@8.1.1/node_modules/ioredis/built";
|
|
74721
74742
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
74722
74743
|
var commands_1 = require_built();
|
|
74723
74744
|
var calculateSlot = require_lib4();
|
|
@@ -95364,7 +95385,7 @@ var require_db_util = __commonJS((exports) => {
|
|
|
95364
95385
|
|
|
95365
95386
|
// ../../node_modules/.pnpm/redis-memory-server@0.16.1_supports-color@8.1.1/node_modules/redis-memory-server/lib/util/RedisInstance.js
|
|
95366
95387
|
var require_RedisInstance = __commonJS((exports) => {
|
|
95367
|
-
var __dirname = "/Users/
|
|
95388
|
+
var __dirname = "/Users/work/Code/awsless/node_modules/.pnpm/redis-memory-server@0.16.1_supports-color@8.1.1/node_modules/redis-memory-server/lib/util";
|
|
95368
95389
|
var __awaiter = exports && exports.__awaiter || function(thisArg, _arguments, P3, generator) {
|
|
95369
95390
|
function adopt(value) {
|
|
95370
95391
|
return value instanceof P3 ? value : new P3(function(resolve3) {
|
|
@@ -101278,7 +101299,7 @@ var require_unbzip2_stream = __commonJS((exports, module) => {
|
|
|
101278
101299
|
stream2.queue(d5);
|
|
101279
101300
|
if (d5 !== null) {
|
|
101280
101301
|
outlength += d5.length;
|
|
101281
|
-
}
|
|
101302
|
+
}
|
|
101282
101303
|
});
|
|
101283
101304
|
} catch (e4) {
|
|
101284
101305
|
stream2.emit("error", e4);
|
|
@@ -114494,7 +114515,7 @@ var getSanitizedDevTypeScriptVersion = (version2 = "") => {
|
|
|
114494
114515
|
};
|
|
114495
114516
|
|
|
114496
114517
|
// ../../node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.973.14_aws-crt@1.30.0_supports-color@8.1.1_/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js
|
|
114497
|
-
var __dirname = "/Users/
|
|
114518
|
+
var __dirname = "/Users/work/Code/awsless/node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.973.14_aws-crt@1.30.0_supports-color@8.1.1_/node_modules/@aws-sdk/util-user-agent-node/dist-es";
|
|
114498
114519
|
var tscVersion;
|
|
114499
114520
|
var TS_PACKAGE_JSON = join7("node_modules", "typescript", "package.json");
|
|
114500
114521
|
var getTypeScriptUserAgentPair = async () => {
|
|
@@ -131571,6 +131592,17 @@ var $forEachNodeInTopologicalOrder = sort.forEachNodeInTopologicalOrder;
|
|
|
131571
131592
|
var $topologicalSort = sort.topologicalSort;
|
|
131572
131593
|
var $topologicalGenerations = sort.topologicalGenerations;
|
|
131573
131594
|
var $forEachTopologicalGeneration = sort.forEachTopologicalGeneration;
|
|
131595
|
+
// ../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm/sha1.js
|
|
131596
|
+
import { createHash as createHash3 } from "crypto";
|
|
131597
|
+
function sha1(bytes) {
|
|
131598
|
+
if (Array.isArray(bytes)) {
|
|
131599
|
+
bytes = Buffer.from(bytes);
|
|
131600
|
+
} else if (typeof bytes === "string") {
|
|
131601
|
+
bytes = Buffer.from(bytes, "utf8");
|
|
131602
|
+
}
|
|
131603
|
+
return createHash3("sha1").update(bytes).digest();
|
|
131604
|
+
}
|
|
131605
|
+
var sha1_default = sha1;
|
|
131574
131606
|
|
|
131575
131607
|
// ../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm/regex.js
|
|
131576
131608
|
var regex_default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;
|
|
@@ -131636,18 +131668,6 @@ function v35(version2, hash, value, namespace, buf, offset) {
|
|
|
131636
131668
|
return unsafeStringify(bytes);
|
|
131637
131669
|
}
|
|
131638
131670
|
|
|
131639
|
-
// ../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm/sha1.js
|
|
131640
|
-
import { createHash as createHash3 } from "crypto";
|
|
131641
|
-
function sha1(bytes) {
|
|
131642
|
-
if (Array.isArray(bytes)) {
|
|
131643
|
-
bytes = Buffer.from(bytes);
|
|
131644
|
-
} else if (typeof bytes === "string") {
|
|
131645
|
-
bytes = Buffer.from(bytes, "utf8");
|
|
131646
|
-
}
|
|
131647
|
-
return createHash3("sha1").update(bytes).digest();
|
|
131648
|
-
}
|
|
131649
|
-
var sha1_default = sha1;
|
|
131650
|
-
|
|
131651
131671
|
// ../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm/v5.js
|
|
131652
131672
|
function v5(value, namespace, buf, offset) {
|
|
131653
131673
|
return v35(80, sha1_default, value, namespace, buf, offset);
|
|
@@ -141113,8 +141133,6 @@ if (!nativeAccelerationDisabled) {
|
|
|
141113
141133
|
try {
|
|
141114
141134
|
if (true)
|
|
141115
141135
|
extractor = require_msgpackr_extract();
|
|
141116
|
-
else
|
|
141117
|
-
;
|
|
141118
141136
|
if (extractor)
|
|
141119
141137
|
setExtractor(extractor.extractStrings);
|
|
141120
141138
|
} catch (error3) {}
|
|
@@ -156210,9 +156228,24 @@ var createLambdaFunction = (ctx, id, local) => {
|
|
|
156210
156228
|
for (const [key, value] of Object.entries(props.environment ?? {})) {
|
|
156211
156229
|
variables[key] = value;
|
|
156212
156230
|
}
|
|
156213
|
-
|
|
156214
|
-
|
|
156215
|
-
|
|
156231
|
+
ctx.onEnv(build2.addEnv);
|
|
156232
|
+
ctx.onBind(build2.addEnv);
|
|
156233
|
+
if (sandboxed) {
|
|
156234
|
+
const configs = typeof local.sandbox === "object" && local.sandbox.configs || [];
|
|
156235
|
+
variables.CONFIGS = configs.join(",");
|
|
156236
|
+
if (configs.length > 0) {
|
|
156237
|
+
addPermission({
|
|
156238
|
+
actions: [
|
|
156239
|
+
"ssm:GetParameter",
|
|
156240
|
+
"ssm:GetParameters",
|
|
156241
|
+
"ssm:GetParametersByPath",
|
|
156242
|
+
"ssm:GetParameterHistory"
|
|
156243
|
+
],
|
|
156244
|
+
resources: configs.map((configName) => {
|
|
156245
|
+
return `arn:aws:ssm:${ctx.appConfig.region}:${ctx.accountId}:parameter${configParameterPrefix(ctx.app.name)}/${configName}`;
|
|
156246
|
+
})
|
|
156247
|
+
});
|
|
156248
|
+
}
|
|
156216
156249
|
}
|
|
156217
156250
|
if (typeof local.sandbox === "object") {
|
|
156218
156251
|
const routes = [
|
|
@@ -156258,21 +156291,6 @@ var createLambdaFunction = (ctx, id, local) => {
|
|
|
156258
156291
|
resources: [proxy.lambda.arn.pipe((arn) => `${arn}:*`)]
|
|
156259
156292
|
});
|
|
156260
156293
|
}
|
|
156261
|
-
const configs = local.sandbox.configs ?? [];
|
|
156262
|
-
if (configs.length > 0) {
|
|
156263
|
-
variables.CONFIGS = configs.join(",");
|
|
156264
|
-
addPermission({
|
|
156265
|
-
actions: [
|
|
156266
|
-
"ssm:GetParameter",
|
|
156267
|
-
"ssm:GetParameters",
|
|
156268
|
-
"ssm:GetParametersByPath",
|
|
156269
|
-
"ssm:GetParameterHistory"
|
|
156270
|
-
],
|
|
156271
|
-
resources: configs.map((configName) => {
|
|
156272
|
-
return `arn:aws:ssm:${ctx.appConfig.region}:${ctx.accountId}:parameter${configParameterPrefix(ctx.app.name)}/${configName}`;
|
|
156273
|
-
})
|
|
156274
|
-
});
|
|
156275
|
-
}
|
|
156276
156294
|
}
|
|
156277
156295
|
if (props.log.retention.value > 0n) {
|
|
156278
156296
|
const logGroup = new aws2.cloudwatch.LogGroup(group4, "log", {
|
|
@@ -159314,9 +159332,6 @@ ${(errors3.trim() || output.trim()).slice(-2000)}`);
|
|
|
159314
159332
|
}
|
|
159315
159333
|
if (props.ssr && ctx.dev && props.dev) {} else if (props.ssr && isStandaloneFunction(props.ssr) && !ctx.dev) {
|
|
159316
159334
|
const fn = createLambdaFunction(ctx, `${id}-ssr`, props.ssr);
|
|
159317
|
-
if (ctx.shared.has("router", "endpoint", props.router)) {
|
|
159318
|
-
fn.setEnvironment(`ROUTER_${constantCase(props.router)}_ENDPOINT`, ctx.shared.entry("router", "endpoint", props.router));
|
|
159319
|
-
}
|
|
159320
159335
|
const deployment = new FunctionDeployment(group4, "ssr-deployment", {
|
|
159321
159336
|
functionName: fn.lambda.functionName,
|
|
159322
159337
|
id: ctx.deploymentId ?? "local-0",
|
|
@@ -164730,6 +164745,7 @@ var startTest = async (props) => {
|
|
|
164730
164745
|
for (const error3 of module.errors()) {
|
|
164731
164746
|
const stack = error3.stacks?.[0];
|
|
164732
164747
|
const { code, syscall, address, port } = error3;
|
|
164748
|
+
const { name: _n, message: _m2, stack: _s3, stacks: _ss, diff: _d2, cause, ...rest } = error3;
|
|
164733
164749
|
errors3.push({
|
|
164734
164750
|
type: error3.name,
|
|
164735
164751
|
message: error3.message,
|
|
@@ -164738,7 +164754,9 @@ var startTest = async (props) => {
|
|
|
164738
164754
|
code,
|
|
164739
164755
|
syscall,
|
|
164740
164756
|
address,
|
|
164741
|
-
port
|
|
164757
|
+
port,
|
|
164758
|
+
cause,
|
|
164759
|
+
props: Object.keys(rest).length > 0 ? rest : undefined
|
|
164742
164760
|
});
|
|
164743
164761
|
}
|
|
164744
164762
|
}
|
|
@@ -164836,7 +164854,20 @@ var logTestErrors = (event) => {
|
|
|
164836
164854
|
};
|
|
164837
164855
|
var formatModuleError = (error3) => {
|
|
164838
164856
|
const syscall = [error3.syscall, error3.address, error3.port && `port ${error3.port}`].filter(Boolean).join(" ");
|
|
164839
|
-
|
|
164857
|
+
const extra = [];
|
|
164858
|
+
if (error3.props) {
|
|
164859
|
+
try {
|
|
164860
|
+
extra.push(`props: ${JSON.stringify(error3.props)}`);
|
|
164861
|
+
} catch (_4) {}
|
|
164862
|
+
}
|
|
164863
|
+
if (error3.cause) {
|
|
164864
|
+
try {
|
|
164865
|
+
extra.push(`cause: ${JSON.stringify(error3.cause, Object.getOwnPropertyNames(error3.cause))}`);
|
|
164866
|
+
} catch (_4) {
|
|
164867
|
+
extra.push(`cause: ${String(error3.cause)}`);
|
|
164868
|
+
}
|
|
164869
|
+
}
|
|
164870
|
+
return [error3.message, syscall && `(${syscall})`, ...extra, `
|
|
164840
164871
|
`, error3.stack ?? "(no stack captured)"].filter(Boolean).join(" ");
|
|
164841
164872
|
};
|
|
164842
164873
|
var runTest = async (stack, dir, filters, workspace, opts) => {
|
|
@@ -167758,6 +167789,26 @@ var dashboardHtml = `<!doctype html>
|
|
|
167758
167789
|
.health .chip.down { border-color: var(--bad); }
|
|
167759
167790
|
.health .chip.down .dot { background: var(--bad); }
|
|
167760
167791
|
.health .chip .detail-text { color: var(--muted); }
|
|
167792
|
+
.home-cols {
|
|
167793
|
+
display: grid;
|
|
167794
|
+
grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
|
|
167795
|
+
gap: 0 20px;
|
|
167796
|
+
align-items: start;
|
|
167797
|
+
}
|
|
167798
|
+
/* The activity feed reads like the log cards. */
|
|
167799
|
+
.activity-card {
|
|
167800
|
+
background: var(--panel);
|
|
167801
|
+
border: 1px solid var(--border);
|
|
167802
|
+
border-radius: 6px;
|
|
167803
|
+
padding: 8px;
|
|
167804
|
+
margin-top: 8px;
|
|
167805
|
+
max-height: 420px;
|
|
167806
|
+
overflow-y: auto;
|
|
167807
|
+
font-size: 12px;
|
|
167808
|
+
}
|
|
167809
|
+
.activity-card .rows { grid-template-columns: fit-content(110px) 1fr auto; }
|
|
167810
|
+
.activity-card .row { padding: 3px 4px; gap: 8px; }
|
|
167811
|
+
.activity-card .empty { padding: 4px; }
|
|
167761
167812
|
.row.problem .id { color: var(--bad); }
|
|
167762
167813
|
.empty.good { color: var(--good); }
|
|
167763
167814
|
.row .stack {
|
|
@@ -169296,11 +169347,22 @@ const renderHome = main => {
|
|
|
169296
169347
|
// ----------------------------------------------------------------
|
|
169297
169348
|
// Activity: every dispatch through the bundle, newest first.
|
|
169298
169349
|
|
|
169299
|
-
|
|
169350
|
+
// Activity & the handler logs sit side by side, both as cards.
|
|
169351
|
+
const cols = $('div', { className: 'home-cols' })
|
|
169352
|
+
const activityCol = $('div', {})
|
|
169353
|
+
const logsCol = $('div', {})
|
|
169354
|
+
|
|
169355
|
+
cols.append(activityCol, logsCol)
|
|
169356
|
+
main.append(cols)
|
|
169357
|
+
|
|
169358
|
+
activityCol.append($('h3', {}, 'Activity'))
|
|
169300
169359
|
|
|
169360
|
+
const card = $('div', { className: 'activity-card' })
|
|
169301
169361
|
const activity = $('div', { className: 'rows' })
|
|
169302
169362
|
const idle = $('p', { className: 'empty' }, 'Nothing ran yet.')
|
|
169303
|
-
|
|
169363
|
+
|
|
169364
|
+
card.append(idle, activity)
|
|
169365
|
+
activityCol.append(card)
|
|
169304
169366
|
|
|
169305
169367
|
const activityRows = []
|
|
169306
169368
|
|
|
@@ -169310,8 +169372,8 @@ const renderHome = main => {
|
|
|
169310
169372
|
const resource = state.resources.find(r => r.routeKey === data.route)
|
|
169311
169373
|
const row = $('button', { className: 'row' + (data.ok ? '' : ' problem') }, [
|
|
169312
169374
|
$('span', { className: 'stack' }, new Date(data.date).toLocaleTimeString()),
|
|
169313
|
-
$('span', { className: 'id' }, (data.ok ? '' : '\\u2717 ') + data.route),
|
|
169314
|
-
$('span', { className: 'info' }, data.ok ? data.ms + 'ms' : (data.error ?? 'failed').slice(0, 80)),
|
|
169375
|
+
$('span', { className: 'id', title: data.route }, (data.ok ? '' : '\\u2717 ') + data.route),
|
|
169376
|
+
$('span', { className: 'info', title: data.ok ? '' : (data.error ?? '') }, data.ok ? data.ms + 'ms' : (data.error ?? 'failed').slice(0, 80)),
|
|
169315
169377
|
])
|
|
169316
169378
|
|
|
169317
169379
|
if (resource) {
|
|
@@ -169337,7 +169399,7 @@ const renderHome = main => {
|
|
|
169337
169399
|
// Logs: the handlers' own console output, live - the full feed
|
|
169338
169400
|
// (incl. the dev server stream) lives on the Logs tab.
|
|
169339
169401
|
|
|
169340
|
-
const logsFeed = attachLogFeed(
|
|
169402
|
+
const logsFeed = attachLogFeed(logsCol, 'worker', undefined, 'Logs')
|
|
169341
169403
|
|
|
169342
169404
|
cleanupPanel = () => {
|
|
169343
169405
|
clearInterval(uptimeTimer)
|
|
@@ -177650,7 +177712,7 @@ ${job.error.stack.split(`
|
|
|
177650
177712
|
stream2.shift();
|
|
177651
177713
|
} else if (stream2.length > 0) {
|
|
177652
177714
|
this._BOMseen = true;
|
|
177653
|
-
}
|
|
177715
|
+
}
|
|
177654
177716
|
}
|
|
177655
177717
|
return codePointsToString(stream2);
|
|
177656
177718
|
}
|
package/dist/handlers/icon.js
CHANGED
|
@@ -3,15 +3,29 @@ var __getProtoOf = Object.getPrototypeOf;
|
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
function __accessProp(key) {
|
|
7
|
+
return this[key];
|
|
8
|
+
}
|
|
9
|
+
var __toESMCache_node;
|
|
10
|
+
var __toESMCache_esm;
|
|
6
11
|
var __toESM = (mod, isNodeMode, target) => {
|
|
12
|
+
var canCache = mod != null && typeof mod === "object";
|
|
13
|
+
if (canCache) {
|
|
14
|
+
var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
|
|
15
|
+
var cached = cache.get(mod);
|
|
16
|
+
if (cached)
|
|
17
|
+
return cached;
|
|
18
|
+
}
|
|
7
19
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
8
20
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
9
21
|
for (let key of __getOwnPropNames(mod))
|
|
10
22
|
if (!__hasOwnProp.call(to, key))
|
|
11
23
|
__defProp(to, key, {
|
|
12
|
-
get: (
|
|
24
|
+
get: __accessProp.bind(mod, key),
|
|
13
25
|
enumerable: true
|
|
14
26
|
});
|
|
27
|
+
if (canCache)
|
|
28
|
+
cache.set(mod, to);
|
|
15
29
|
return to;
|
|
16
30
|
};
|
|
17
31
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
@@ -4,15 +4,29 @@ var __getProtoOf = Object.getPrototypeOf;
|
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
function __accessProp(key) {
|
|
8
|
+
return this[key];
|
|
9
|
+
}
|
|
10
|
+
var __toESMCache_node;
|
|
11
|
+
var __toESMCache_esm;
|
|
7
12
|
var __toESM = (mod, isNodeMode, target) => {
|
|
13
|
+
var canCache = mod != null && typeof mod === "object";
|
|
14
|
+
if (canCache) {
|
|
15
|
+
var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
|
|
16
|
+
var cached = cache.get(mod);
|
|
17
|
+
if (cached)
|
|
18
|
+
return cached;
|
|
19
|
+
}
|
|
8
20
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
9
21
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
10
22
|
for (let key of __getOwnPropNames(mod))
|
|
11
23
|
if (!__hasOwnProp.call(to, key))
|
|
12
24
|
__defProp(to, key, {
|
|
13
|
-
get: (
|
|
25
|
+
get: __accessProp.bind(mod, key),
|
|
14
26
|
enumerable: true
|
|
15
27
|
});
|
|
28
|
+
if (canCache)
|
|
29
|
+
cache.set(mod, to);
|
|
16
30
|
return to;
|
|
17
31
|
};
|
|
18
32
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
@@ -4527,7 +4541,7 @@ WD9f
|
|
|
4527
4541
|
|
|
4528
4542
|
// ../../node_modules/.pnpm/ioredis@5.10.1_supports-color@8.1.1/node_modules/ioredis/built/utils/index.js
|
|
4529
4543
|
var require_utils2 = __commonJS((exports) => {
|
|
4530
|
-
var __dirname = "/Users/
|
|
4544
|
+
var __dirname = "/Users/work/Code/awsless/node_modules/.pnpm/ioredis@5.10.1_supports-color@8.1.1/node_modules/ioredis/built/utils";
|
|
4531
4545
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4532
4546
|
exports.noop = exports.defaults = exports.Debug = exports.getPackageMeta = exports.zipMap = exports.CONNECTION_CLOSED_ERROR_MSG = exports.shuffle = exports.sample = exports.resolveTLSProfile = exports.parseURL = exports.optimizeErrorStack = exports.toArg = exports.convertMapToArray = exports.convertObjectToArray = exports.timeout = exports.packObject = exports.isInt = exports.wrapMultiResult = exports.convertBufferToString = undefined;
|
|
4533
4547
|
var fs_1 = __require("fs");
|
|
@@ -4813,7 +4827,7 @@ var require_argumentParsers = __commonJS((exports) => {
|
|
|
4813
4827
|
|
|
4814
4828
|
// ../../node_modules/.pnpm/ioredis@5.10.1_supports-color@8.1.1/node_modules/ioredis/built/Command.js
|
|
4815
4829
|
var require_Command = __commonJS((exports) => {
|
|
4816
|
-
var __dirname = "/Users/
|
|
4830
|
+
var __dirname = "/Users/work/Code/awsless/node_modules/.pnpm/ioredis@5.10.1_supports-color@8.1.1/node_modules/ioredis/built";
|
|
4817
4831
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4818
4832
|
var commands_1 = require_built();
|
|
4819
4833
|
var calculateSlot = require_lib();
|
|
@@ -5,56 +5,78 @@ var __defProp = Object.defineProperty;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
function __accessProp(key) {
|
|
9
|
+
return this[key];
|
|
10
|
+
}
|
|
8
11
|
var __reExport = (target, mod, secondTarget) => {
|
|
9
|
-
|
|
12
|
+
var keys = __getOwnPropNames(mod);
|
|
13
|
+
for (let key of keys)
|
|
10
14
|
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
11
15
|
__defProp(target, key, {
|
|
12
|
-
get: (
|
|
16
|
+
get: __accessProp.bind(mod, key),
|
|
13
17
|
enumerable: true
|
|
14
18
|
});
|
|
15
19
|
if (secondTarget) {
|
|
16
|
-
for (let key of
|
|
20
|
+
for (let key of keys)
|
|
17
21
|
if (!__hasOwnProp.call(secondTarget, key) && key !== "default")
|
|
18
22
|
__defProp(secondTarget, key, {
|
|
19
|
-
get: (
|
|
23
|
+
get: __accessProp.bind(mod, key),
|
|
20
24
|
enumerable: true
|
|
21
25
|
});
|
|
22
26
|
return secondTarget;
|
|
23
27
|
}
|
|
24
28
|
};
|
|
29
|
+
var __toESMCache_node;
|
|
30
|
+
var __toESMCache_esm;
|
|
25
31
|
var __toESM = (mod, isNodeMode, target) => {
|
|
32
|
+
var canCache = mod != null && typeof mod === "object";
|
|
33
|
+
if (canCache) {
|
|
34
|
+
var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
|
|
35
|
+
var cached = cache.get(mod);
|
|
36
|
+
if (cached)
|
|
37
|
+
return cached;
|
|
38
|
+
}
|
|
26
39
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
27
40
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
28
41
|
for (let key of __getOwnPropNames(mod))
|
|
29
42
|
if (!__hasOwnProp.call(to, key))
|
|
30
43
|
__defProp(to, key, {
|
|
31
|
-
get: (
|
|
44
|
+
get: __accessProp.bind(mod, key),
|
|
32
45
|
enumerable: true
|
|
33
46
|
});
|
|
47
|
+
if (canCache)
|
|
48
|
+
cache.set(mod, to);
|
|
34
49
|
return to;
|
|
35
50
|
};
|
|
36
|
-
var __moduleCache = /* @__PURE__ */ new WeakMap;
|
|
37
51
|
var __toCommonJS = (from) => {
|
|
38
|
-
var entry = __moduleCache.get(from), desc;
|
|
52
|
+
var entry = (__moduleCache ??= new WeakMap).get(from), desc;
|
|
39
53
|
if (entry)
|
|
40
54
|
return entry;
|
|
41
55
|
entry = __defProp({}, "__esModule", { value: true });
|
|
42
|
-
if (from && typeof from === "object" || typeof from === "function")
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
56
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
57
|
+
for (var key of __getOwnPropNames(from))
|
|
58
|
+
if (!__hasOwnProp.call(entry, key))
|
|
59
|
+
__defProp(entry, key, {
|
|
60
|
+
get: __accessProp.bind(from, key),
|
|
61
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
62
|
+
});
|
|
63
|
+
}
|
|
47
64
|
__moduleCache.set(from, entry);
|
|
48
65
|
return entry;
|
|
49
66
|
};
|
|
67
|
+
var __moduleCache;
|
|
50
68
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
69
|
+
var __returnValue = (v) => v;
|
|
70
|
+
function __exportSetter(name, newValue) {
|
|
71
|
+
this[name] = __returnValue.bind(null, newValue);
|
|
72
|
+
}
|
|
51
73
|
var __export = (target, all) => {
|
|
52
74
|
for (var name in all)
|
|
53
75
|
__defProp(target, name, {
|
|
54
76
|
get: all[name],
|
|
55
77
|
enumerable: true,
|
|
56
78
|
configurable: true,
|
|
57
|
-
set: (
|
|
79
|
+
set: __exportSetter.bind(all, name)
|
|
58
80
|
});
|
|
59
81
|
};
|
|
60
82
|
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
@@ -26611,9 +26633,9 @@ var init_getSanitizedDevTypeScriptVersion = __esm(() => {
|
|
|
26611
26633
|
});
|
|
26612
26634
|
|
|
26613
26635
|
// ../../node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.973.14_aws-crt@1.30.0_supports-color@8.1.1_/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js
|
|
26614
|
-
import { readFile as
|
|
26636
|
+
import { readFile as readFile4 } from "fs/promises";
|
|
26615
26637
|
import { join as join5 } from "path";
|
|
26616
|
-
var __dirname = "/Users/
|
|
26638
|
+
var __dirname = "/Users/work/Code/awsless/node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.973.14_aws-crt@1.30.0_supports-color@8.1.1_/node_modules/@aws-sdk/util-user-agent-node/dist-es", tscVersion, TS_PACKAGE_JSON, getTypeScriptUserAgentPair = async () => {
|
|
26617
26639
|
if (tscVersion === null) {
|
|
26618
26640
|
return;
|
|
26619
26641
|
} else if (typeof tscVersion === "string") {
|
|
@@ -26633,7 +26655,7 @@ var __dirname = "/Users/ivandasilveira/Sites/@awsless/node_modules/.pnpm/@aws-sd
|
|
|
26633
26655
|
for (const nodeModulesParentDir of nodeModulesParentDirs) {
|
|
26634
26656
|
try {
|
|
26635
26657
|
const appPackageJsonPath = join5(nodeModulesParentDir, "package.json");
|
|
26636
|
-
const packageJson = await
|
|
26658
|
+
const packageJson = await readFile4(appPackageJsonPath, "utf-8");
|
|
26637
26659
|
const { dependencies, devDependencies } = JSON.parse(packageJson);
|
|
26638
26660
|
const version2 = devDependencies?.typescript ?? dependencies?.typescript;
|
|
26639
26661
|
if (typeof version2 !== "string") {
|
|
@@ -26651,7 +26673,7 @@ var __dirname = "/Users/ivandasilveira/Sites/@awsless/node_modules/.pnpm/@aws-sd
|
|
|
26651
26673
|
for (const nodeModulesParentDir of nodeModulesParentDirs) {
|
|
26652
26674
|
try {
|
|
26653
26675
|
const tsPackageJsonPath = join5(nodeModulesParentDir, TS_PACKAGE_JSON);
|
|
26654
|
-
const packageJson = await
|
|
26676
|
+
const packageJson = await readFile4(tsPackageJsonPath, "utf-8");
|
|
26655
26677
|
const { version: version2 } = JSON.parse(packageJson);
|
|
26656
26678
|
const sanitizedVersion2 = getSanitizedTypeScriptVersion(version2);
|
|
26657
26679
|
if (typeof sanitizedVersion2 !== "string") {
|
|
@@ -37023,7 +37045,7 @@ ${job.error.stack.split(`
|
|
|
37023
37045
|
stream2.shift();
|
|
37024
37046
|
} else if (stream2.length > 0) {
|
|
37025
37047
|
this._BOMseen = true;
|
|
37026
|
-
}
|
|
37048
|
+
}
|
|
37027
37049
|
}
|
|
37028
37050
|
return codePointsToString(stream2);
|
|
37029
37051
|
}
|
|
@@ -937715,8 +937737,8 @@ GFS4: `);
|
|
|
937715
937737
|
fs4.createReadStream = createReadStream;
|
|
937716
937738
|
fs4.createWriteStream = createWriteStream;
|
|
937717
937739
|
var fs$readFile = fs4.readFile;
|
|
937718
|
-
fs4.readFile =
|
|
937719
|
-
function
|
|
937740
|
+
fs4.readFile = readFile5;
|
|
937741
|
+
function readFile5(path, options, cb) {
|
|
937720
937742
|
if (typeof options === "function")
|
|
937721
937743
|
cb = options, options = null;
|
|
937722
937744
|
return go$readFile(path, options, cb);
|
|
@@ -945836,7 +945858,7 @@ var require_unbzip2_stream = __commonJS((exports, module) => {
|
|
|
945836
945858
|
stream2.queue(d4);
|
|
945837
945859
|
if (d4 !== null) {
|
|
945838
945860
|
outlength += d4.length;
|
|
945839
|
-
}
|
|
945861
|
+
}
|
|
945840
945862
|
});
|
|
945841
945863
|
} catch (e5) {
|
|
945842
945864
|
stream2.emit("error", e5);
|
|
@@ -955604,7 +955626,7 @@ var require_spawn = __commonJS((exports) => {
|
|
|
955604
955626
|
|
|
955605
955627
|
// ../../node_modules/.pnpm/dynamo-db-local@10.3.0/node_modules/dynamo-db-local/build/node/module.js
|
|
955606
955628
|
var require_module = __commonJS((exports) => {
|
|
955607
|
-
var __dirname = "/Users/
|
|
955629
|
+
var __dirname = "/Users/work/Code/awsless/node_modules/.pnpm/dynamo-db-local@10.3.0/node_modules/dynamo-db-local/build/node";
|
|
955608
955630
|
Object.defineProperty(exports, "__esModule", {
|
|
955609
955631
|
value: true
|
|
955610
955632
|
});
|
|
@@ -981532,7 +981554,7 @@ WD9f
|
|
|
981532
981554
|
|
|
981533
981555
|
// ../../node_modules/.pnpm/ioredis@5.10.1_supports-color@8.1.1/node_modules/ioredis/built/utils/index.js
|
|
981534
981556
|
var require_utils4 = __commonJS((exports) => {
|
|
981535
|
-
var __dirname = "/Users/
|
|
981557
|
+
var __dirname = "/Users/work/Code/awsless/node_modules/.pnpm/ioredis@5.10.1_supports-color@8.1.1/node_modules/ioredis/built/utils";
|
|
981536
981558
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
981537
981559
|
exports.noop = exports.defaults = exports.Debug = exports.getPackageMeta = exports.zipMap = exports.CONNECTION_CLOSED_ERROR_MSG = exports.shuffle = exports.sample = exports.resolveTLSProfile = exports.parseURL = exports.optimizeErrorStack = exports.toArg = exports.convertMapToArray = exports.convertObjectToArray = exports.timeout = exports.packObject = exports.isInt = exports.wrapMultiResult = exports.convertBufferToString = undefined;
|
|
981538
981560
|
var fs_1 = __require("fs");
|
|
@@ -981818,7 +981840,7 @@ var require_argumentParsers = __commonJS((exports) => {
|
|
|
981818
981840
|
|
|
981819
981841
|
// ../../node_modules/.pnpm/ioredis@5.10.1_supports-color@8.1.1/node_modules/ioredis/built/Command.js
|
|
981820
981842
|
var require_Command = __commonJS((exports) => {
|
|
981821
|
-
var __dirname = "/Users/
|
|
981843
|
+
var __dirname = "/Users/work/Code/awsless/node_modules/.pnpm/ioredis@5.10.1_supports-color@8.1.1/node_modules/ioredis/built";
|
|
981822
981844
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
981823
981845
|
var commands_1 = require_built();
|
|
981824
981846
|
var calculateSlot = require_lib3();
|
|
@@ -1001183,7 +1001205,7 @@ var require_db_util = __commonJS((exports) => {
|
|
|
1001183
1001205
|
|
|
1001184
1001206
|
// ../../node_modules/.pnpm/redis-memory-server@0.16.1_supports-color@8.1.1/node_modules/redis-memory-server/lib/util/RedisInstance.js
|
|
1001185
1001207
|
var require_RedisInstance = __commonJS((exports) => {
|
|
1001186
|
-
var __dirname = "/Users/
|
|
1001208
|
+
var __dirname = "/Users/work/Code/awsless/node_modules/.pnpm/redis-memory-server@0.16.1_supports-color@8.1.1/node_modules/redis-memory-server/lib/util";
|
|
1001187
1001209
|
var __awaiter2 = exports && exports.__awaiter || function(thisArg, _arguments, P4, generator) {
|
|
1001188
1001210
|
function adopt(value) {
|
|
1001189
1001211
|
return value instanceof P4 ? value : new P4(function(resolve) {
|
|
@@ -1015614,7 +1015636,7 @@ ${job.error.stack.split(`
|
|
|
1015614
1015636
|
stream3.shift();
|
|
1015615
1015637
|
} else if (stream3.length > 0) {
|
|
1015616
1015638
|
this._BOMseen = true;
|
|
1015617
|
-
}
|
|
1015639
|
+
}
|
|
1015618
1015640
|
}
|
|
1015619
1015641
|
return codePointsToString(stream3);
|
|
1015620
1015642
|
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
+
var __returnValue = (v) => v;
|
|
4
|
+
function __exportSetter(name, newValue) {
|
|
5
|
+
this[name] = __returnValue.bind(null, newValue);
|
|
6
|
+
}
|
|
3
7
|
var __export = (target, all) => {
|
|
4
8
|
for (var name in all)
|
|
5
9
|
__defProp(target, name, {
|
|
6
10
|
get: all[name],
|
|
7
11
|
enumerable: true,
|
|
8
12
|
configurable: true,
|
|
9
|
-
set: (
|
|
13
|
+
set: __exportSetter.bind(all, name)
|
|
10
14
|
});
|
|
11
15
|
};
|
|
12
16
|
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awsless/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
"@opensearch-project/opensearch": "^2.13.0",
|
|
39
39
|
"rolldown": "1.2.1",
|
|
40
40
|
"vitest": "4.1.10",
|
|
41
|
-
"@awsless/dynamodb-server": "^0.1.
|
|
41
|
+
"@awsless/dynamodb-server": "^0.1.9",
|
|
42
42
|
"@awsless/ts-file-cache": "^0.0.16"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@awsless/big-float": "^0.1.7",
|
|
46
|
-
"@awsless/dynamodb": "^0.3.
|
|
47
|
-
"@awsless/json": "^0.0.11",
|
|
46
|
+
"@awsless/dynamodb": "^0.3.24",
|
|
48
47
|
"@awsless/lambda": "^0.0.48",
|
|
48
|
+
"@awsless/json": "^0.0.11",
|
|
49
49
|
"@awsless/duration": "^0.0.4",
|
|
50
|
-
"@awsless/
|
|
50
|
+
"@awsless/validate": "^0.2.0",
|
|
51
51
|
"@awsless/s3": "^0.0.22",
|
|
52
|
-
"awsless": "^0.1
|
|
53
|
-
"
|
|
52
|
+
"@awsless/weak-cache": "^0.0.1",
|
|
53
|
+
"awsless": "^0.1.4"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@aws-sdk/client-cloudformation": "^3.369.0",
|
|
@@ -109,24 +109,24 @@
|
|
|
109
109
|
"zod": "^3.24.2",
|
|
110
110
|
"zod-to-json-schema": "^3.24.3",
|
|
111
111
|
"@awsless/big-float": "^0.1.7",
|
|
112
|
-
"@awsless/clui": "^0.0.9",
|
|
113
|
-
"@awsless/cloudwatch": "^0.0.1",
|
|
114
112
|
"@awsless/duration": "^0.0.4",
|
|
115
|
-
"@awsless/
|
|
116
|
-
"@awsless/
|
|
113
|
+
"@awsless/cloudwatch": "^0.0.1",
|
|
114
|
+
"@awsless/dynamodb": "^0.3.24",
|
|
117
115
|
"@awsless/json": "^0.0.11",
|
|
118
|
-
"@awsless/
|
|
116
|
+
"@awsless/iot": "^0.0.5",
|
|
119
117
|
"@awsless/lambda": "^0.0.48",
|
|
118
|
+
"@awsless/clui": "^0.0.9",
|
|
120
119
|
"@awsless/s3": "^0.0.22",
|
|
121
|
-
"@awsless/redis": "^0.1.13",
|
|
122
|
-
"@awsless/scheduler": "^0.0.5",
|
|
123
120
|
"@awsless/size": "^0.0.2",
|
|
124
|
-
"@awsless/
|
|
121
|
+
"@awsless/redis": "^0.1.13",
|
|
125
122
|
"@awsless/sqs": "^0.0.24",
|
|
126
123
|
"@awsless/ssm": "^0.0.8",
|
|
124
|
+
"@awsless/scheduler": "^0.0.5",
|
|
127
125
|
"@awsless/validate": "^0.2.0",
|
|
128
|
-
"awsless": "^0.
|
|
129
|
-
"@awsless/weak-cache": "^0.0.1"
|
|
126
|
+
"@awsless/open-search": "^0.0.28",
|
|
127
|
+
"@awsless/weak-cache": "^0.0.1",
|
|
128
|
+
"@awsless/sns": "^0.0.11",
|
|
129
|
+
"awsless": "^0.1.4"
|
|
130
130
|
},
|
|
131
131
|
"scripts": {
|
|
132
132
|
"test": "bun cli/build-handlers.ts && pnpm vitest",
|