tnp-core 16.444.15 → 16.444.16
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/assets/shared/shared_folder_info.txt +1 -1
- package/browser/esm2022/lib/core-imports.mjs +20 -15
- package/browser/esm2022/lib/core-models.mjs +1 -1
- package/browser/esm2022/lib/helpers.mjs +1 -2
- package/browser/fesm2022/tnp-core.mjs +56 -73
- package/browser/fesm2022/tnp-core.mjs.map +1 -1
- package/browser/lib/core-models.d.ts +1 -0
- package/browser/lib/helpers.d.ts +1 -1
- package/cli.backend.js +3 -3
- package/client/esm2022/lib/core-imports.mjs +20 -15
- package/client/esm2022/lib/core-models.mjs +1 -1
- package/client/esm2022/lib/helpers.mjs +1 -2
- package/client/fesm2022/tnp-core.mjs +56 -73
- package/client/fesm2022/tnp-core.mjs.map +1 -1
- package/client/lib/core-models.d.ts +1 -0
- package/client/lib/helpers.d.ts +1 -1
- package/client/package.json +30 -29
- package/lib/core-imports.d.ts +10 -10
- package/lib/core-imports.js +44 -24
- package/lib/core-imports.js.map +1 -1
- package/lib/core-models.d.ts +1 -0
- package/lib/core-models.js.map +1 -1
- package/lib/helpers.d.ts +1 -1
- package/lib/helpers.js +2 -3
- package/lib/helpers.js.map +1 -1
- package/lib/node-chalk-mock.js +3 -3
- package/lib/node-path-mock.js +3 -3
- package/package.json +2 -2
- package/tmp-environment.json +34 -33
- package/websql/esm2022/lib/core-imports.mjs +20 -15
- package/websql/esm2022/lib/core-models.mjs +1 -1
- package/websql/esm2022/lib/helpers.mjs +1 -2
- package/websql/fesm2022/tnp-core.mjs +56 -73
- package/websql/fesm2022/tnp-core.mjs.map +1 -1
- package/websql/lib/core-models.d.ts +1 -0
- package/websql/lib/helpers.d.ts +1 -1
@@ -20,6 +20,7 @@ export declare namespace CoreModels {
|
|
20
20
|
export const InstalationTypeArr: string[];
|
21
21
|
export type LibraryType = 'angular' | 'typescript';
|
22
22
|
export type ReleaseType = 'major' | 'minor' | 'patch';
|
23
|
+
export type PreReleaseType = 'alpha' | 'beta' | 'rc';
|
23
24
|
export type PROGRESS_DATA_TYPE = 'info' | 'error' | 'warning' | 'event';
|
24
25
|
export type EnvironmentName = 'local' | 'static' | 'dev' | 'stage' | 'prod' | 'online' | 'test' | 'qa' | 'custom';
|
25
26
|
export type PUSHTYPE = 'feat' | 'chore' | 'feature' | 'refactor' | 'perf' | 'styles' | 'ci' | 'build' | 'fix' | 'bugfix' | 'release' | 'docs';
|
package/client/lib/helpers.d.ts
CHANGED
@@ -10,7 +10,7 @@ export interface RunSyncOrAsyncOptions {
|
|
10
10
|
}
|
11
11
|
export interface CommandOutputOptions {
|
12
12
|
biggerBuffer?: boolean;
|
13
|
-
|
13
|
+
showOnlyLastLine?: boolean;
|
14
14
|
showStder?: boolean;
|
15
15
|
gatherColors?: boolean;
|
16
16
|
showErrorWarning?: boolean;
|
package/client/package.json
CHANGED
@@ -116,6 +116,7 @@
|
|
116
116
|
"@compodoc/compodoc": "1.1.23",
|
117
117
|
"@iconify/icons-fa-solid": "1.2.2",
|
118
118
|
"@iconify/icons-mdi": "1.2.1",
|
119
|
+
"@inquirer/prompts": "5.3.2",
|
119
120
|
"@mdi/js": "7.2.96",
|
120
121
|
"@ng-matero/extensions": "16.0.0",
|
121
122
|
"@ngneat/falso": "6.4.0",
|
@@ -221,12 +222,12 @@
|
|
221
222
|
"file-saver": "2.0.5",
|
222
223
|
"file-type": "18.5.0",
|
223
224
|
"firedev": "^16",
|
224
|
-
"firedev-crud": "~16.444.
|
225
|
-
"firedev-crud-deamon": "~16.444.
|
226
|
-
"firedev-ports": "~16.444.
|
227
|
-
"firedev-storage": "~16.444.
|
228
|
-
"firedev-type-sql": "~16.444.
|
229
|
-
"firedev-typeorm": "~16.444.
|
225
|
+
"firedev-crud": "~16.444.13",
|
226
|
+
"firedev-crud-deamon": "~16.444.13",
|
227
|
+
"firedev-ports": "~16.444.13",
|
228
|
+
"firedev-storage": "~16.444.9",
|
229
|
+
"firedev-type-sql": "~16.444.13",
|
230
|
+
"firedev-typeorm": "~16.444.9",
|
230
231
|
"firedev-ui": "16.444.1",
|
231
232
|
"font-awesome": "4.7.0",
|
232
233
|
"form-data": "4.0.0",
|
@@ -242,10 +243,10 @@
|
|
242
243
|
"image-focus": "1.2.1",
|
243
244
|
"immer": "10.0.2",
|
244
245
|
"immutable": "4.3.0",
|
245
|
-
"incremental-compiler": "~16.444.
|
246
|
+
"incremental-compiler": "~16.444.14",
|
246
247
|
"inquirer": "7.3.3",
|
247
248
|
"inquirer-autocomplete-prompt": "1.3.0",
|
248
|
-
"isomorphic-region-loader": "~16.444.
|
249
|
+
"isomorphic-region-loader": "~16.444.13",
|
249
250
|
"istanbul-instrumenter-loader": "2.0.0",
|
250
251
|
"jest": "29.5.0",
|
251
252
|
"jest-date-mock": "1.0.8",
|
@@ -256,17 +257,17 @@
|
|
256
257
|
"joi": "17.9.2",
|
257
258
|
"jscodeshift": "0.6.3",
|
258
259
|
"json-stringify-safe": "5.0.1",
|
259
|
-
"json10": "~16.444.
|
260
|
-
"json10-writer": "~16.444.
|
260
|
+
"json10": "~16.444.13",
|
261
|
+
"json10-writer": "~16.444.13",
|
261
262
|
"json5-writer": "0.2.0",
|
262
263
|
"jszip": "3.10.1",
|
263
264
|
"karma-cli": "1.0.1",
|
264
265
|
"lnk": "1.0.1",
|
265
266
|
"localforage": "1.10.0",
|
266
267
|
"lockfile": "1.0.4",
|
267
|
-
"lodash-walk-object": "~16.444.
|
268
|
+
"lodash-walk-object": "~16.444.12",
|
268
269
|
"lowdb": "7.0.1",
|
269
|
-
"magic-renamer": "~16.444.
|
270
|
+
"magic-renamer": "~16.444.12",
|
270
271
|
"material-design-icons": "3.0.1",
|
271
272
|
"method-override": "2.3.10",
|
272
273
|
"minimist": "1.2.0",
|
@@ -275,10 +276,10 @@
|
|
275
276
|
"ng-in-viewport": "15.0.2",
|
276
277
|
"ng-lock": "16.0.1",
|
277
278
|
"ng-packagr": "16.0.1",
|
278
|
-
"ng-talkback": "~16.444.
|
279
|
-
"ng2-logger": "~16.444.
|
279
|
+
"ng-talkback": "~16.444.5",
|
280
|
+
"ng2-logger": "~16.444.13",
|
280
281
|
"ng2-pdfjs-viewer": "16.0.4",
|
281
|
-
"ng2-rest": "~16.444.
|
282
|
+
"ng2-rest": "~16.444.12",
|
282
283
|
"ngx-ace-wrapper": "14.0.0",
|
283
284
|
"ngx-editor": "15.3.0",
|
284
285
|
"ngx-highlightjs": "9.0.0",
|
@@ -291,7 +292,7 @@
|
|
291
292
|
"ngx-scrolltop": "6.0.0",
|
292
293
|
"ngx-store": "3.1.1",
|
293
294
|
"ngx-typed-js": "2.1.1",
|
294
|
-
"node-cli-tester": "~16.444.
|
295
|
+
"node-cli-tester": "~16.444.5",
|
295
296
|
"node-localstorage": "2.1.6",
|
296
297
|
"node-notifier": "6.0.0",
|
297
298
|
"node-polyfill-webpack-plugin": "2.0.1",
|
@@ -316,18 +317,18 @@
|
|
316
317
|
"prompts": "0.1.8",
|
317
318
|
"rallax.js": "2.0.4",
|
318
319
|
"randomcolor": "0.5.3",
|
319
|
-
"record-replay-req-res-scenario": "~16.444.
|
320
|
+
"record-replay-req-res-scenario": "~16.444.5",
|
320
321
|
"reflect-metadata": "0.1.10",
|
321
322
|
"rxjs": "~7.8.0",
|
322
323
|
"semver": "6.3.0",
|
323
|
-
"simple-git": "
|
324
|
+
"simple-git": "3.25.0",
|
324
325
|
"sinon": "15.2.0",
|
325
326
|
"sloc": "0.2.0",
|
326
327
|
"socket.io": "4.7.5",
|
327
328
|
"socket.io-client": "4.7.5",
|
328
329
|
"sort-package-json": "1.11.0",
|
329
330
|
"sql.js": "1.8.0",
|
330
|
-
"static-columns": "~16.444.
|
331
|
+
"static-columns": "~16.444.8",
|
331
332
|
"string-similarity": "4.0.2",
|
332
333
|
"sudo-block": "3.0.0",
|
333
334
|
"supertest": "6.3.3",
|
@@ -335,12 +336,12 @@
|
|
335
336
|
"systeminformation": "3.45.7",
|
336
337
|
"task.js": "0.1.5",
|
337
338
|
"threads": "1.7.0",
|
338
|
-
"tnp-cli": "~16.444.
|
339
|
-
"tnp-config": "~16.444.
|
340
|
-
"tnp-core": "~16.444.
|
341
|
-
"tnp-db": "~16.444.
|
342
|
-
"tnp-helpers": "~16.444.
|
343
|
-
"tnp-models": "~16.444.
|
339
|
+
"tnp-cli": "~16.444.5",
|
340
|
+
"tnp-config": "~16.444.13",
|
341
|
+
"tnp-core": "~16.444.15",
|
342
|
+
"tnp-db": "~16.444.12",
|
343
|
+
"tnp-helpers": "~16.444.20",
|
344
|
+
"tnp-models": "~16.444.13",
|
344
345
|
"ts-debug": "1.3.0",
|
345
346
|
"ts-json-schema-generator": "2.1.1",
|
346
347
|
"ts-loader": "2.3.1",
|
@@ -351,13 +352,13 @@
|
|
351
352
|
"typedoc": "0.25.13",
|
352
353
|
"typedoc-plugin-markdown": "4.0.3",
|
353
354
|
"typescript": "~5.0.2",
|
354
|
-
"typescript-class-helpers": "~16.444.
|
355
|
+
"typescript-class-helpers": "~16.444.13",
|
355
356
|
"typescript-formatter": "~7.2.2",
|
356
357
|
"underscore": "1.9.1",
|
357
358
|
"uuid": "8.3.2",
|
358
359
|
"validator": "9.2.0",
|
359
360
|
"video.js": "8.3.0",
|
360
|
-
"vpn-split": "~16.444.
|
361
|
+
"vpn-split": "~16.444.5",
|
361
362
|
"vscode": "1.1.37",
|
362
363
|
"wait-on": "7.0.1",
|
363
364
|
"watch": "1.0.2",
|
@@ -370,7 +371,7 @@
|
|
370
371
|
"license": "MIT",
|
371
372
|
"private": false,
|
372
373
|
"name": "tnp-core",
|
373
|
-
"version": "16.444.
|
374
|
-
"lastBuildTagHash": "
|
374
|
+
"version": "16.444.16",
|
375
|
+
"lastBuildTagHash": "fc83c1f73e5d7a12562ae56cc244953e94cdf60a",
|
375
376
|
"main": "dist/app.electron.js"
|
376
377
|
}
|
package/lib/core-imports.d.ts
CHANGED
@@ -1,12 +1,5 @@
|
|
1
1
|
/// <reference types="node" />
|
2
|
-
import * as
|
3
|
-
import * as q from 'q';
|
4
|
-
import * as moment from 'moment';
|
5
|
-
import * as dateformat from 'dateformat';
|
6
|
-
import { Chalk } from 'chalk';
|
7
|
-
import * as json5 from 'json5';
|
8
|
-
import type jQueryType from 'jquery';
|
9
|
-
import type * as pathBaseType from 'path';
|
2
|
+
import * as pathBase from 'path';
|
10
3
|
import * as os from 'os';
|
11
4
|
import * as child_process from 'child_process';
|
12
5
|
import * as http from 'http';
|
@@ -23,10 +16,17 @@ import * as ps from 'ps-node';
|
|
23
16
|
import * as psList from 'ps-list';
|
24
17
|
import * as fkill from 'fkill';
|
25
18
|
import * as portfinder from 'portfinder';
|
26
|
-
|
19
|
+
import * as _ from 'lodash';
|
20
|
+
import * as q from 'q';
|
21
|
+
import * as moment from 'moment';
|
22
|
+
import * as dateformat from 'dateformat';
|
23
|
+
import { Chalk } from 'chalk';
|
24
|
+
import * as json5 from 'json5';
|
25
|
+
import type jQueryType from 'jquery';
|
27
26
|
declare let $: jQueryType;
|
28
|
-
declare let path:
|
27
|
+
declare let path: pathBase.PlatformPath;
|
29
28
|
declare let chalk: Chalk;
|
29
|
+
declare function isElevated(): Promise<boolean>;
|
30
30
|
/**
|
31
31
|
* transform unix path to win32 path
|
32
32
|
*/
|
package/lib/core-imports.js
CHANGED
@@ -2,16 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.psList = exports.portfinder = exports.fkill = exports.ps = exports.net = exports.rimraf = exports.https = exports.http = exports.child_process = exports.os = exports.fse = exports.ncp = exports.mkdirp = exports.chokidar = exports.isElevated = exports.glob = exports.spawn = exports.$ = exports.json5 = exports.chalk = exports.path = exports.win32Path = exports.crossPlatformPath = exports.dateformat = exports.moment = exports.q = exports._ = void 0;
|
4
4
|
var tslib_1 = require("tslib");
|
5
|
-
|
6
|
-
|
7
|
-
var q = require("q");
|
8
|
-
exports.q = q;
|
9
|
-
var moment = require("moment");
|
10
|
-
exports.moment = moment;
|
11
|
-
var dateformat = require("dateformat");
|
12
|
-
exports.dateformat = dateformat;
|
13
|
-
var json5 = require("json5");
|
14
|
-
exports.json5 = json5;
|
5
|
+
//#region imports
|
6
|
+
var forceTrace = false;
|
15
7
|
//#region @backend
|
16
8
|
var cheerio = require("cheerio");
|
17
9
|
var pathBase = require("path");
|
@@ -50,15 +42,25 @@ var portfinder = require("portfinder");
|
|
50
42
|
exports.portfinder = portfinder;
|
51
43
|
var isRoot = require('is-root');
|
52
44
|
var isAdmin = require('is-admin');
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
exports.
|
45
|
+
forceTrace = global.hideLog === false;
|
46
|
+
//#endregion
|
47
|
+
/* */
|
48
|
+
/* */
|
49
|
+
/* */
|
50
|
+
/* */
|
51
|
+
var _ = require("lodash");
|
52
|
+
exports._ = _;
|
53
|
+
var q = require("q");
|
54
|
+
exports.q = q;
|
55
|
+
var moment = require("moment");
|
56
|
+
exports.moment = moment;
|
57
|
+
var dateformat = require("dateformat");
|
58
|
+
exports.dateformat = dateformat;
|
59
|
+
var json5 = require("json5");
|
60
|
+
exports.json5 = json5;
|
61
61
|
//#endregion
|
62
|
+
//#region set up browser mocks
|
63
|
+
//#region mock jquery
|
62
64
|
var $;
|
63
65
|
exports.$ = $;
|
64
66
|
/* */
|
@@ -66,9 +68,8 @@ exports.$ = $;
|
|
66
68
|
//#region @backend
|
67
69
|
exports.$ = $ = cheerio;
|
68
70
|
//#endregion
|
71
|
+
//#endregion
|
69
72
|
//#region mock path
|
70
|
-
/* */
|
71
|
-
/* */
|
72
73
|
var path = void 0;
|
73
74
|
exports.path = path;
|
74
75
|
// #region @backend
|
@@ -79,8 +80,6 @@ exports.path = path = pathBase;
|
|
79
80
|
/* */
|
80
81
|
//#endregion
|
81
82
|
//#region mock chalk
|
82
|
-
/* */
|
83
|
-
/* */
|
84
83
|
var chalk = void 0;
|
85
84
|
exports.chalk = chalk;
|
86
85
|
// #region @backend
|
@@ -90,6 +89,20 @@ exports.chalk = chalk = chalk_1.default;
|
|
90
89
|
/* */
|
91
90
|
/* */
|
92
91
|
//#endregion
|
92
|
+
//#endregion
|
93
|
+
//#region is elevated
|
94
|
+
//#region @backend
|
95
|
+
function isElevated() {
|
96
|
+
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
97
|
+
return tslib_1.__generator(this, function (_a) {
|
98
|
+
return [2 /*return*/, process.platform === 'win32' ? isAdmin() : isRoot()];
|
99
|
+
});
|
100
|
+
});
|
101
|
+
}
|
102
|
+
exports.isElevated = isElevated;
|
103
|
+
//#endregion
|
104
|
+
//#endregion
|
105
|
+
//#region transform unix path to win32 path
|
93
106
|
/**
|
94
107
|
* transform unix path to win32 path
|
95
108
|
*/
|
@@ -105,6 +118,8 @@ var win32Path = function (p) {
|
|
105
118
|
return path.win32.normalize(p);
|
106
119
|
};
|
107
120
|
exports.win32Path = win32Path;
|
121
|
+
//#endregion
|
122
|
+
//#region crossPlatformPath
|
108
123
|
/**
|
109
124
|
* This funciton will replace // to /
|
110
125
|
*/
|
@@ -124,11 +139,15 @@ var crossPlatformPath = function (pathStringOrPathParts) {
|
|
124
139
|
var hasNonAscii = /[^\u0000-\u0080]+/.test(pathStringOrPathParts); // eslint-disable-line no-control-regex
|
125
140
|
if (isExtendedLengthPath) {
|
126
141
|
console.warn("[firedev-core][crossPlatformPath]: Path starts with \\\\,\n this is not supported in crossPlatformPath");
|
127
|
-
|
142
|
+
if (forceTrace) {
|
143
|
+
console.trace("path: \"".concat(pathStringOrPathParts, "\""));
|
144
|
+
}
|
128
145
|
}
|
129
146
|
if (hasNonAscii) {
|
130
147
|
console.warn("[firedev-core][crossPlatformPath]: Path contains non-ascii characters");
|
131
|
-
|
148
|
+
if (forceTrace) {
|
149
|
+
console.trace("path: \"".concat(pathStringOrPathParts, "\""));
|
150
|
+
}
|
132
151
|
}
|
133
152
|
pathStringOrPathParts = (pathStringOrPathParts || '')
|
134
153
|
.replace(/\\/g, '/')
|
@@ -158,4 +177,5 @@ var crossPlatformPath = function (pathStringOrPathParts) {
|
|
158
177
|
};
|
159
178
|
exports.crossPlatformPath = crossPlatformPath;
|
160
179
|
//#endregion
|
180
|
+
//#endregion
|
161
181
|
//# sourceMappingURL=core-imports.js.map
|
package/lib/core-imports.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"core-imports.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;;AAAA,
|
1
|
+
{"version":3,"file":"core-imports.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;;AAAA,iBAAiB;AACjB,IAAI,UAAU,GAAG,KAAK,CAAC;AACvB,kBAAkB;AAClB,iCAAmC;AACnC,+BAAiC;AACjC,uBAAyB;AAyMvB,gBAAE;AAxMJ,6CAA+C;AAyM7C,sCAAa;AAxMf,2BAA6B;AAyM3B,oBAAI;AAxMN,6BAA+B;AAyM7B,sBAAK;AAxMP,yBAA2B;AA0MzB,kBAAG;AAzML,+BAA8B;AAC9B,mCAAqC;AA4LnC,sBAAK;AA3LP,2BAA6B;AA4L3B,oBAAI;AA3LN,8BAAgC;AAgM9B,kBAAG;AA/LL,+BAAiC;AAoM/B,wBAAM;AAnMR,mCAAqC;AA2LnC,4BAAQ;AA1LV,+BAAiC;AA2L/B,wBAAM;AA1LR,gCAAkC;AA2LhC,kBAAG;AA1LL,4BAA8B;AAkM5B,gBAAE;AAjMJ,gCAAkC;AAoMhC,wBAAM;AAnMR,6BAA+B;AAiM7B,sBAAK;AAhMP,uCAAyC;AAiMvC,gCAAU;AAhMZ,IAAM,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;AAClC,IAAM,OAAO,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AACpC,UAAU,GAAG,MAAM,CAAC,OAAO,KAAK,KAAK,CAAC;AACtC,YAAY;AACZ,KAAK;AACL,KAAK;AACL,KAAK;AACL,KAAK;AAEL,0BAA4B;AA0J1B,cAAC;A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ACrB,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC,2BAA2B;IAErD,IAAI,SAAS,GAAG,KAAK,CAAC;IACtB,kBAAkB;IAClB,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;QAChC,SAAS,GAAG,IAAI,CAAC;KAClB;IACD,YAAY;IAEZ,IAAM,aAAa,GAAG,iBAAiB,CAAC;IACxC,gCAAgC;IAChC,kDAAkD;IAClD,IAAI,SAAS,IAAI,aAAa,CAAC,IAAI,CAAC,qBAAqB,CAAC,EAAE;QAC1D,qBAAqB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KACxD;IAED,+BAA+B;IAE/B,2CAA2C;IAC3C,iEAAiE;IACjE,kBAAkB;IAClB,+EAA+E;IAC/E,OAAO;IACP,uDAAuD;IACvD,IAAI;IAEJ,OAAO,qBAAqB,CAAC;AAC/B,CAAC,CAAC;AASA,8CAAiB;AA4BnB,YAAY;AACZ,YAAY"}
|
package/lib/core-models.d.ts
CHANGED
@@ -20,6 +20,7 @@ export declare namespace CoreModels {
|
|
20
20
|
export const InstalationTypeArr: string[];
|
21
21
|
export type LibraryType = 'angular' | 'typescript';
|
22
22
|
export type ReleaseType = 'major' | 'minor' | 'patch';
|
23
|
+
export type PreReleaseType = 'alpha' | 'beta' | 'rc';
|
23
24
|
export type PROGRESS_DATA_TYPE = 'info' | 'error' | 'warning' | 'event';
|
24
25
|
export type EnvironmentName = 'local' | 'static' | 'dev' | 'stage' | 'prod' | 'online' | 'test' | 'qa' | 'custom';
|
25
26
|
export type PUSHTYPE = 'feat' | 'chore' | 'feature' | 'refactor' | 'perf' | 'styles' | 'ci' | 'build' | 'fix' | 'bugfix' | 'release' | 'docs';
|
package/lib/core-models.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"core-models.js","sourceRoot":"","sources":[""],"names":[],"mappings":";;;AAAA,IAAiB,UAAU,
|
1
|
+
{"version":3,"file":"core-models.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,SAAS,CAAC;IA8GtC,YAAY;AACd,CAAC,EA1fgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QA0f1B"}
|
package/lib/helpers.d.ts
CHANGED
@@ -13,7 +13,7 @@ export interface RunSyncOrAsyncOptions {
|
|
13
13
|
}
|
14
14
|
export interface CommandOutputOptions {
|
15
15
|
biggerBuffer?: boolean;
|
16
|
-
|
16
|
+
showOnlyLastLine?: boolean;
|
17
17
|
showStder?: boolean;
|
18
18
|
gatherColors?: boolean;
|
19
19
|
showErrorWarning?: boolean;
|
package/lib/helpers.js
CHANGED
@@ -887,8 +887,7 @@ var HelpersCore = /** @class */ (function (_super) {
|
|
887
887
|
// output
|
888
888
|
// })
|
889
889
|
// @ts-ignore
|
890
|
-
if (opt.
|
891
|
-
// console.log('SHHOW WOLE', output)
|
890
|
+
if (!opt.showOnlyLastLine) {
|
892
891
|
return [2 /*return*/, output.replace(/[^\x00-\xFF]/g, '')];
|
893
892
|
}
|
894
893
|
splited = (output || '').split('\n');
|
@@ -931,7 +930,7 @@ var HelpersCore = /** @class */ (function (_super) {
|
|
931
930
|
// output
|
932
931
|
// })
|
933
932
|
// @ts-ignore
|
934
|
-
if (opt.
|
933
|
+
if (!opt.showOnlyLastLine) {
|
935
934
|
return output.replace(/[^\x00-\xFF]/g, '');
|
936
935
|
}
|
937
936
|
var splited = (output || '').split('\n');
|