@mochabug/adaptkit 0.9.15 → 0.10.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.
|
@@ -386,6 +386,12 @@ export interface OAuth2Service {
|
|
|
386
386
|
* @generated from protobuf field: mochabugapis.adapt.plugins.v1.OAuth2Service.GrantType grant_type = 2;
|
|
387
387
|
*/
|
|
388
388
|
grantType: OAuth2Service_GrantType;
|
|
389
|
+
/**
|
|
390
|
+
* 'auth_type' specifies the authentication type to be used.
|
|
391
|
+
*
|
|
392
|
+
* @generated from protobuf field: mochabugapis.adapt.plugins.v1.OAuth2Service.AuthType auth_type = 3;
|
|
393
|
+
*/
|
|
394
|
+
authType: OAuth2Service_AuthType;
|
|
389
395
|
/**
|
|
390
396
|
* 'label' is an optional short label describing the purpose of the OAuth2
|
|
391
397
|
* service.
|
|
@@ -395,7 +401,7 @@ export interface OAuth2Service {
|
|
|
395
401
|
* Security implications:
|
|
396
402
|
* - Should not contain sensitive information.
|
|
397
403
|
*
|
|
398
|
-
* @generated from protobuf field: optional string label =
|
|
404
|
+
* @generated from protobuf field: optional string label = 4;
|
|
399
405
|
*/
|
|
400
406
|
label?: string;
|
|
401
407
|
/**
|
|
@@ -406,7 +412,7 @@ export interface OAuth2Service {
|
|
|
406
412
|
* Security implications:
|
|
407
413
|
* - Should not contain sensitive information.
|
|
408
414
|
*
|
|
409
|
-
* @generated from protobuf field: optional string description =
|
|
415
|
+
* @generated from protobuf field: optional string description = 5;
|
|
410
416
|
*/
|
|
411
417
|
description?: string;
|
|
412
418
|
}
|
|
@@ -437,6 +443,44 @@ export declare enum OAuth2Service_GrantType {
|
|
|
437
443
|
*/
|
|
438
444
|
CLIENT_CREDENTIALS = 2
|
|
439
445
|
}
|
|
446
|
+
/**
|
|
447
|
+
* The oauth2 auth type. It has to be specified in the manifest
|
|
448
|
+
* since user defined client credentials will not support changing the auth type on the fly
|
|
449
|
+
*
|
|
450
|
+
* @generated from protobuf enum mochabugapis.adapt.plugins.v1.OAuth2Service.AuthType
|
|
451
|
+
*/
|
|
452
|
+
export declare enum OAuth2Service_AuthType {
|
|
453
|
+
/**
|
|
454
|
+
* Not specified
|
|
455
|
+
*
|
|
456
|
+
* @generated from protobuf enum value: AUTH_TYPE_UNSPECIFIED = 0;
|
|
457
|
+
*/
|
|
458
|
+
UNSPECIFIED = 0,
|
|
459
|
+
/**
|
|
460
|
+
* Use basic authentication
|
|
461
|
+
*
|
|
462
|
+
* @generated from protobuf enum value: AUTH_TYPE_BASIC = 1;
|
|
463
|
+
*/
|
|
464
|
+
BASIC = 1,
|
|
465
|
+
/**
|
|
466
|
+
* Use form authentication
|
|
467
|
+
*
|
|
468
|
+
* @generated from protobuf enum value: AUTH_TYPE_FORM = 2;
|
|
469
|
+
*/
|
|
470
|
+
FORM = 2,
|
|
471
|
+
/**
|
|
472
|
+
* The private key
|
|
473
|
+
*
|
|
474
|
+
* @generated from protobuf enum value: AUTH_TYPE_PRIVATE_KEY = 3;
|
|
475
|
+
*/
|
|
476
|
+
PRIVATE_KEY = 3,
|
|
477
|
+
/**
|
|
478
|
+
* The mtls auth
|
|
479
|
+
*
|
|
480
|
+
* @generated from protobuf enum value: AUTH_TYPE_MTLS = 4;
|
|
481
|
+
*/
|
|
482
|
+
MTLS = 4
|
|
483
|
+
}
|
|
440
484
|
/**
|
|
441
485
|
* A representation of an environmental variable.
|
|
442
486
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../../../../src/genproto/mochabugapis/adapt/plugins/v1/plugins.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAs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EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,cAAc,GAAG,cAAc;IAsB9H,mBAAmB,CAAC,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAYlH;AACD;;GAEG;AACH,eAAO,MAAM,cAAc,qBAA4B,CAAC;AAExD,cAAM,WAAY,SAAQ,WAAW,CAAC,MAAM,CAAC;;IAezC,MAAM,CAAC,KAAK,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,GAAG,MAAM;IAc9C,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM;IA8C9G,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAoC1G;AACD;;GAEG;AACH,eAAO,MAAM,MAAM,aAAoB,CAAC;AACxC;;GAEG;AACH,eAAO,MAAM,aAAa,aAEsK,CAAC"}
|
package/bin/index.js
CHANGED
|
@@ -9,9 +9,9 @@ import { MessageType, reflectionMergePartial, UnknownFieldHandler, WireType } fr
|
|
|
9
9
|
import { mkdirp } from 'mkdirp';
|
|
10
10
|
import path from 'path';
|
|
11
11
|
import * as readline$1 from 'node:readline';
|
|
12
|
+
import { AsyncLocalStorage, AsyncResource } from 'node:async_hooks';
|
|
12
13
|
import require$$1 from 'stream';
|
|
13
14
|
import require$$0$2 from 'tty';
|
|
14
|
-
import { AsyncLocalStorage, AsyncResource } from 'node:async_hooks';
|
|
15
15
|
import require$$0$1 from 'node:tty';
|
|
16
16
|
import process$2 from 'node:process';
|
|
17
17
|
import { execSync } from 'child_process';
|
|
@@ -45,13 +45,17 @@ const isNumberKey = (key) => '123456789'.includes(key.name);
|
|
|
45
45
|
const isEnterKey = (key) => key.name === 'enter' || key.name === 'return';
|
|
46
46
|
|
|
47
47
|
class CancelPromptError extends Error {
|
|
48
|
+
name = 'CancelPromptError';
|
|
48
49
|
message = 'Prompt was canceled';
|
|
49
50
|
}
|
|
50
51
|
class ExitPromptError extends Error {
|
|
52
|
+
name = 'ExitPromptError';
|
|
51
53
|
}
|
|
52
54
|
class HookError extends Error {
|
|
55
|
+
name = 'HookError';
|
|
53
56
|
}
|
|
54
57
|
class ValidationError extends Error {
|
|
58
|
+
name = 'ValidationError';
|
|
55
59
|
}
|
|
56
60
|
|
|
57
61
|
/* eslint @typescript-eslint/no-explicit-any: ["off"] */
|
|
@@ -71,7 +75,14 @@ function createStore(rl) {
|
|
|
71
75
|
function withHooks(rl, cb) {
|
|
72
76
|
const store = createStore(rl);
|
|
73
77
|
return hookStorage.run(store, () => {
|
|
74
|
-
|
|
78
|
+
function cycle(render) {
|
|
79
|
+
store.handleChange = () => {
|
|
80
|
+
store.index = 0;
|
|
81
|
+
render();
|
|
82
|
+
};
|
|
83
|
+
store.handleChange();
|
|
84
|
+
}
|
|
85
|
+
cb(cycle);
|
|
75
86
|
});
|
|
76
87
|
}
|
|
77
88
|
// Safe getStore utility that'll return the store or throw if undefined.
|
|
@@ -146,6 +157,14 @@ const effectScheduler = {
|
|
|
146
157
|
store.hooksEffect.length = 0;
|
|
147
158
|
})();
|
|
148
159
|
},
|
|
160
|
+
clearAll() {
|
|
161
|
+
const store = getStore();
|
|
162
|
+
store.hooksCleanup.forEach((cleanFn) => {
|
|
163
|
+
cleanFn?.();
|
|
164
|
+
});
|
|
165
|
+
store.hooksEffect.length = 0;
|
|
166
|
+
store.hooksCleanup.length = 0;
|
|
167
|
+
},
|
|
149
168
|
};
|
|
150
169
|
|
|
151
170
|
function useState(defaultValue) {
|
|
@@ -2103,11 +2122,15 @@ function useKeypress(userHandler) {
|
|
|
2103
2122
|
const signal = useRef(userHandler);
|
|
2104
2123
|
signal.current = userHandler;
|
|
2105
2124
|
useEffect((rl) => {
|
|
2125
|
+
let ignore = false;
|
|
2106
2126
|
const handler = withUpdates((_input, event) => {
|
|
2127
|
+
if (ignore)
|
|
2128
|
+
return;
|
|
2107
2129
|
signal.current(event, rl);
|
|
2108
2130
|
});
|
|
2109
2131
|
rl.input.on('keypress', handler);
|
|
2110
2132
|
return () => {
|
|
2133
|
+
ignore = true;
|
|
2111
2134
|
rl.input.removeListener('keypress', handler);
|
|
2112
2135
|
};
|
|
2113
2136
|
}, []);
|
|
@@ -4729,7 +4752,7 @@ function createPrompt(view) {
|
|
|
4729
4752
|
const screen = new ScreenManager(rl);
|
|
4730
4753
|
let cancel = () => { };
|
|
4731
4754
|
const answer = new CancelablePromise((resolve, reject) => {
|
|
4732
|
-
withHooks(rl, (
|
|
4755
|
+
withHooks(rl, (cycle) => {
|
|
4733
4756
|
function checkCursorPos() {
|
|
4734
4757
|
screen.checkCursorPos();
|
|
4735
4758
|
}
|
|
@@ -4737,15 +4760,16 @@ function createPrompt(view) {
|
|
|
4737
4760
|
onExit$1();
|
|
4738
4761
|
reject(new ExitPromptError(`User force closed the prompt with ${code} ${signal}`));
|
|
4739
4762
|
});
|
|
4740
|
-
|
|
4763
|
+
const hooksCleanup = AsyncResource.bind(() => {
|
|
4741
4764
|
try {
|
|
4742
|
-
|
|
4743
|
-
cleanFn?.();
|
|
4744
|
-
});
|
|
4765
|
+
effectScheduler.clearAll();
|
|
4745
4766
|
}
|
|
4746
4767
|
catch (error) {
|
|
4747
4768
|
reject(error);
|
|
4748
4769
|
}
|
|
4770
|
+
});
|
|
4771
|
+
function onExit$1() {
|
|
4772
|
+
hooksCleanup();
|
|
4749
4773
|
if (context?.clearPromptOnDone) {
|
|
4750
4774
|
screen.clean();
|
|
4751
4775
|
}
|
|
@@ -4754,7 +4778,8 @@ function createPrompt(view) {
|
|
|
4754
4778
|
}
|
|
4755
4779
|
screen.done();
|
|
4756
4780
|
removeExitListener();
|
|
4757
|
-
|
|
4781
|
+
rl.input.removeListener('keypress', checkCursorPos);
|
|
4782
|
+
rl.removeListener('close', hooksCleanup);
|
|
4758
4783
|
}
|
|
4759
4784
|
cancel = () => {
|
|
4760
4785
|
onExit$1();
|
|
@@ -4768,8 +4793,7 @@ function createPrompt(view) {
|
|
|
4768
4793
|
resolve(value);
|
|
4769
4794
|
});
|
|
4770
4795
|
}
|
|
4771
|
-
|
|
4772
|
-
store.index = 0;
|
|
4796
|
+
cycle(() => {
|
|
4773
4797
|
try {
|
|
4774
4798
|
const nextView = view(config, done);
|
|
4775
4799
|
const [content, bottomContent] = typeof nextView === 'string' ? [nextView] : nextView;
|
|
@@ -4780,14 +4804,16 @@ function createPrompt(view) {
|
|
|
4780
4804
|
onExit$1();
|
|
4781
4805
|
reject(error);
|
|
4782
4806
|
}
|
|
4783
|
-
}
|
|
4784
|
-
store.handleChange = () => workLoop();
|
|
4785
|
-
workLoop();
|
|
4807
|
+
});
|
|
4786
4808
|
// Re-renders only happen when the state change; but the readline cursor could change position
|
|
4787
4809
|
// and that also requires a re-render (and a manual one because we mute the streams).
|
|
4788
4810
|
// We set the listener after the initial workLoop to avoid a double render if render triggered
|
|
4789
4811
|
// by a state change sets the cursor to the right position.
|
|
4790
|
-
|
|
4812
|
+
rl.input.on('keypress', checkCursorPos);
|
|
4813
|
+
// The close event triggers immediately when the user press ctrl+c. SignalExit on the other hand
|
|
4814
|
+
// triggers after the process is done (which happens after timeouts are done triggering.)
|
|
4815
|
+
// We triggers the hooks cleanup phase on rl `close` so active timeouts can be cleared.
|
|
4816
|
+
rl.on('close', hooksCleanup);
|
|
4791
4817
|
});
|
|
4792
4818
|
});
|
|
4793
4819
|
answer.cancel = cancel;
|
|
@@ -5291,6 +5317,9 @@ var select = createPrompt((config, done) => {
|
|
|
5291
5317
|
}, 700);
|
|
5292
5318
|
}
|
|
5293
5319
|
});
|
|
5320
|
+
useEffect(() => () => {
|
|
5321
|
+
clearTimeout(searchTimeoutRef.current);
|
|
5322
|
+
}, []);
|
|
5294
5323
|
const message = theme.style.message(config.message);
|
|
5295
5324
|
let helpTipTop = '';
|
|
5296
5325
|
let helpTipBottom = '';
|
|
@@ -5382,6 +5411,45 @@ var OAuth2Service_GrantType;
|
|
|
5382
5411
|
*/
|
|
5383
5412
|
OAuth2Service_GrantType[OAuth2Service_GrantType["CLIENT_CREDENTIALS"] = 2] = "CLIENT_CREDENTIALS";
|
|
5384
5413
|
})(OAuth2Service_GrantType || (OAuth2Service_GrantType = {}));
|
|
5414
|
+
/**
|
|
5415
|
+
* The oauth2 auth type. It has to be specified in the manifest
|
|
5416
|
+
* since user defined client credentials will not support changing the auth type on the fly
|
|
5417
|
+
*
|
|
5418
|
+
* @generated from protobuf enum mochabugapis.adapt.plugins.v1.OAuth2Service.AuthType
|
|
5419
|
+
*/
|
|
5420
|
+
var OAuth2Service_AuthType;
|
|
5421
|
+
(function (OAuth2Service_AuthType) {
|
|
5422
|
+
/**
|
|
5423
|
+
* Not specified
|
|
5424
|
+
*
|
|
5425
|
+
* @generated from protobuf enum value: AUTH_TYPE_UNSPECIFIED = 0;
|
|
5426
|
+
*/
|
|
5427
|
+
OAuth2Service_AuthType[OAuth2Service_AuthType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
5428
|
+
/**
|
|
5429
|
+
* Use basic authentication
|
|
5430
|
+
*
|
|
5431
|
+
* @generated from protobuf enum value: AUTH_TYPE_BASIC = 1;
|
|
5432
|
+
*/
|
|
5433
|
+
OAuth2Service_AuthType[OAuth2Service_AuthType["BASIC"] = 1] = "BASIC";
|
|
5434
|
+
/**
|
|
5435
|
+
* Use form authentication
|
|
5436
|
+
*
|
|
5437
|
+
* @generated from protobuf enum value: AUTH_TYPE_FORM = 2;
|
|
5438
|
+
*/
|
|
5439
|
+
OAuth2Service_AuthType[OAuth2Service_AuthType["FORM"] = 2] = "FORM";
|
|
5440
|
+
/**
|
|
5441
|
+
* The private key
|
|
5442
|
+
*
|
|
5443
|
+
* @generated from protobuf enum value: AUTH_TYPE_PRIVATE_KEY = 3;
|
|
5444
|
+
*/
|
|
5445
|
+
OAuth2Service_AuthType[OAuth2Service_AuthType["PRIVATE_KEY"] = 3] = "PRIVATE_KEY";
|
|
5446
|
+
/**
|
|
5447
|
+
* The mtls auth
|
|
5448
|
+
*
|
|
5449
|
+
* @generated from protobuf enum value: AUTH_TYPE_MTLS = 4;
|
|
5450
|
+
*/
|
|
5451
|
+
OAuth2Service_AuthType[OAuth2Service_AuthType["MTLS"] = 4] = "MTLS";
|
|
5452
|
+
})(OAuth2Service_AuthType || (OAuth2Service_AuthType = {}));
|
|
5385
5453
|
/**
|
|
5386
5454
|
* The type of variable
|
|
5387
5455
|
*
|
|
@@ -5849,14 +5917,16 @@ class OAuth2Service$Type extends MessageType {
|
|
|
5849
5917
|
super("mochabugapis.adapt.plugins.v1.OAuth2Service", [
|
|
5850
5918
|
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
5851
5919
|
{ no: 2, name: "grant_type", kind: "enum", T: () => ["mochabugapis.adapt.plugins.v1.OAuth2Service.GrantType", OAuth2Service_GrantType, "GRANT_TYPE_"] },
|
|
5852
|
-
{ no: 3, name: "
|
|
5853
|
-
{ no: 4, name: "
|
|
5920
|
+
{ no: 3, name: "auth_type", kind: "enum", T: () => ["mochabugapis.adapt.plugins.v1.OAuth2Service.AuthType", OAuth2Service_AuthType, "AUTH_TYPE_"] },
|
|
5921
|
+
{ no: 4, name: "label", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
5922
|
+
{ no: 5, name: "description", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
5854
5923
|
]);
|
|
5855
5924
|
}
|
|
5856
5925
|
create(value) {
|
|
5857
5926
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
5858
5927
|
message.name = "";
|
|
5859
5928
|
message.grantType = 0;
|
|
5929
|
+
message.authType = 0;
|
|
5860
5930
|
if (value !== undefined)
|
|
5861
5931
|
reflectionMergePartial(this, message, value);
|
|
5862
5932
|
return message;
|
|
@@ -5872,10 +5942,13 @@ class OAuth2Service$Type extends MessageType {
|
|
|
5872
5942
|
case /* mochabugapis.adapt.plugins.v1.OAuth2Service.GrantType grant_type */ 2:
|
|
5873
5943
|
message.grantType = reader.int32();
|
|
5874
5944
|
break;
|
|
5875
|
-
case /*
|
|
5945
|
+
case /* mochabugapis.adapt.plugins.v1.OAuth2Service.AuthType auth_type */ 3:
|
|
5946
|
+
message.authType = reader.int32();
|
|
5947
|
+
break;
|
|
5948
|
+
case /* optional string label */ 4:
|
|
5876
5949
|
message.label = reader.string();
|
|
5877
5950
|
break;
|
|
5878
|
-
case /* optional string description */
|
|
5951
|
+
case /* optional string description */ 5:
|
|
5879
5952
|
message.description = reader.string();
|
|
5880
5953
|
break;
|
|
5881
5954
|
default:
|
|
@@ -5896,12 +5969,15 @@ class OAuth2Service$Type extends MessageType {
|
|
|
5896
5969
|
/* mochabugapis.adapt.plugins.v1.OAuth2Service.GrantType grant_type = 2; */
|
|
5897
5970
|
if (message.grantType !== 0)
|
|
5898
5971
|
writer.tag(2, WireType.Varint).int32(message.grantType);
|
|
5899
|
-
/*
|
|
5972
|
+
/* mochabugapis.adapt.plugins.v1.OAuth2Service.AuthType auth_type = 3; */
|
|
5973
|
+
if (message.authType !== 0)
|
|
5974
|
+
writer.tag(3, WireType.Varint).int32(message.authType);
|
|
5975
|
+
/* optional string label = 4; */
|
|
5900
5976
|
if (message.label !== undefined)
|
|
5901
|
-
writer.tag(
|
|
5902
|
-
/* optional string description =
|
|
5977
|
+
writer.tag(4, WireType.LengthDelimited).string(message.label);
|
|
5978
|
+
/* optional string description = 5; */
|
|
5903
5979
|
if (message.description !== undefined)
|
|
5904
|
-
writer.tag(
|
|
5980
|
+
writer.tag(5, WireType.LengthDelimited).string(message.description);
|
|
5905
5981
|
let u = options.writeUnknownFields;
|
|
5906
5982
|
if (u !== false)
|
|
5907
5983
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -6999,7 +7075,7 @@ function printRpcError(error) {
|
|
|
6999
7075
|
}
|
|
7000
7076
|
|
|
7001
7077
|
var name = "@mochabug/adaptkit";
|
|
7002
|
-
var version = "0.
|
|
7078
|
+
var version = "0.10.0";
|
|
7003
7079
|
var description = "A cmd to create, emulate and publish Mochabug Adapt plugins";
|
|
7004
7080
|
var main$1 = "bin/index.js";
|
|
7005
7081
|
var type = "module";
|
|
@@ -7046,7 +7122,7 @@ var devDependencies = {
|
|
|
7046
7122
|
"@types/jest": "^29.5.12",
|
|
7047
7123
|
"@types/mkdirp": "^1.0.2",
|
|
7048
7124
|
"@types/mustache": "^4.2.5",
|
|
7049
|
-
"@types/node": "^
|
|
7125
|
+
"@types/node": "^22.0.0",
|
|
7050
7126
|
"@types/sharp": "^0.31.1",
|
|
7051
7127
|
"@types/update-notifier": "^6.0.8",
|
|
7052
7128
|
jest: "^29.7.0",
|
|
@@ -7059,7 +7135,7 @@ var devDependencies = {
|
|
|
7059
7135
|
};
|
|
7060
7136
|
var dependencies = {
|
|
7061
7137
|
"@grpc/grpc-js": "^1.11.1",
|
|
7062
|
-
"@inquirer/prompts": "^5.3.
|
|
7138
|
+
"@inquirer/prompts": "^5.3.6",
|
|
7063
7139
|
"@protobuf-ts/grpc-transport": "^2.9.4",
|
|
7064
7140
|
"@protobuf-ts/runtime": "^2.9.4",
|
|
7065
7141
|
"@protobuf-ts/runtime-rpc": "^2.9.4",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mochabug/adaptkit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "A cmd to create, emulate and publish Mochabug Adapt plugins",
|
|
5
5
|
"main": "bin/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@types/jest": "^29.5.12",
|
|
48
48
|
"@types/mkdirp": "^1.0.2",
|
|
49
49
|
"@types/mustache": "^4.2.5",
|
|
50
|
-
"@types/node": "^
|
|
50
|
+
"@types/node": "^22.0.0",
|
|
51
51
|
"@types/sharp": "^0.31.1",
|
|
52
52
|
"@types/update-notifier": "^6.0.8",
|
|
53
53
|
"jest": "^29.7.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@grpc/grpc-js": "^1.11.1",
|
|
63
|
-
"@inquirer/prompts": "^5.3.
|
|
63
|
+
"@inquirer/prompts": "^5.3.6",
|
|
64
64
|
"@protobuf-ts/grpc-transport": "^2.9.4",
|
|
65
65
|
"@protobuf-ts/runtime": "^2.9.4",
|
|
66
66
|
"@protobuf-ts/runtime-rpc": "^2.9.4",
|