jitsu-cli 1.10.0 → 1.10.1
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/.turbo/turbo-build.log +28 -28
- package/.turbo/turbo-clean.log +5 -5
- package/dist/main.js +32 -11
- package/dist/main.js.map +1 -1
- package/package.json +4 -4
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
jitsu-cli:build: cache hit, replaying output [
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
6
|
-
[
|
|
7
|
-
[
|
|
8
|
-
[
|
|
9
|
-
[
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
[
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
-
[
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
[
|
|
1
|
+
jitsu-cli:build: cache hit, replaying output [2m6d0cf7ed006a808b[0m
|
|
2
|
+
[35mjitsu-cli:build: [0m
|
|
3
|
+
[35mjitsu-cli:build: [0m> jitsu-cli@0.0.0 build /Users/ildarnurislamov/Projects/newjitsu/cli/jitsu-cli
|
|
4
|
+
[35mjitsu-cli:build: [0m> pnpm compile && webpack
|
|
5
|
+
[35mjitsu-cli:build: [0m
|
|
6
|
+
[35mjitsu-cli:build: [0m
|
|
7
|
+
[35mjitsu-cli:build: [0m> jitsu-cli@0.0.0 compile /Users/ildarnurislamov/Projects/newjitsu/cli/jitsu-cli
|
|
8
|
+
[35mjitsu-cli:build: [0m> tsc -p .
|
|
9
|
+
[35mjitsu-cli:build: [0m
|
|
10
|
+
[35mjitsu-cli:build: [0masset main.js 3.45 MiB [emitted] (name: main) 1 related asset
|
|
11
|
+
[35mjitsu-cli:build: [0masset 233.js 130 KiB [emitted] (id hint: vendors) 1 related asset
|
|
12
|
+
[35mjitsu-cli:build: [0masset 445e7f36f8a19c2bf682.js 37.3 KiB [emitted] [immutable] [from: ../../node_modules/.pnpm/@rollup+plugin-typescript@11.1.6_rollup@3.29.5_tslib@2.8.0_typescript@5.6.3/node_modules/@rollup/plugin-typescript/dist/es/index.js] (auxiliary name: main)
|
|
13
|
+
[35mjitsu-cli:build: [0masset 140.js 10 KiB [emitted] 1 related asset
|
|
14
|
+
[35mjitsu-cli:build: [0morphan modules 573 KiB [orphan] 100 modules
|
|
15
|
+
[35mjitsu-cli:build: [0mruntime modules 3.62 KiB 10 modules
|
|
16
|
+
[35mjitsu-cli:build: [0mcacheable modules 2.84 MiB (javascript) 37.3 KiB (asset)
|
|
17
|
+
[35mjitsu-cli:build: [0m javascript modules 2.49 MiB 428 modules
|
|
18
|
+
[35mjitsu-cli:build: [0m json modules 363 KiB
|
|
19
|
+
[35mjitsu-cli:build: [0m modules by path ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/ 86.7 KiB
|
|
20
|
+
[35mjitsu-cli:build: [0m ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tab...(truncated) 8.78 KiB [built] [code generated]
|
|
21
|
+
[35mjitsu-cli:build: [0m + 7 modules
|
|
22
|
+
[35mjitsu-cli:build: [0m + 4 modules
|
|
23
|
+
[35mjitsu-cli:build: [0m ../../node_modules/.pnpm/@rollup+plugin-typescript@11.1.6_rollup@3.29.5_tslib@2....(truncated) 37.3 KiB (asset) 42 bytes (javascript) [built] [code generated]
|
|
24
|
+
[35mjitsu-cli:build: [0moptional modules 84 bytes [optional]
|
|
25
|
+
[35mjitsu-cli:build: [0m external "worker_threads" 42 bytes [optional] [built] [code generated]
|
|
26
|
+
[35mjitsu-cli:build: [0m external "node:stream/web" 42 bytes [optional] [built] [code generated]
|
|
27
|
+
[35mjitsu-cli:build: [0m+ 26 modules
|
|
28
|
+
[35mjitsu-cli:build: [0mwebpack 5.99.5 compiled successfully in 3913 ms
|
package/.turbo/turbo-clean.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
jitsu-cli:clean: cache hit, replaying output [
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
1
|
+
jitsu-cli:clean: cache hit, replaying output [2m67326c3734c92c1a[0m
|
|
2
|
+
[35mjitsu-cli:clean: [0m
|
|
3
|
+
[35mjitsu-cli:clean: [0m> jitsu-cli@0.0.0 clean /Users/ildarnurislamov/Projects/newjitsu/cli/jitsu-cli
|
|
4
|
+
[35mjitsu-cli:clean: [0m> rm -rf ./dist
|
|
5
|
+
[35mjitsu-cli:clean: [0m
|
package/dist/main.js
CHANGED
|
@@ -65044,7 +65044,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
65044
65044
|
aj: () => (/* reexport */ sanitize)
|
|
65045
65045
|
});
|
|
65046
65046
|
|
|
65047
|
-
// UNUSED EXPORTS: ApiResponseError, alwaysThrottle, asArray, asFunction, asSingleton, assertFalse, checkHash, checkRawToken, createAuthorized, createHash, deepMerge, disableService, encrypt, getCached, getErrorMessage, getSingleton, getThrottle, hash, hideSensitiveInfo, hint, index, isEqual, isTruish, isValidSecret, logFormat, namedParameters, newError, noThrottle, noopLogMessageBuilder, parseNumber, parseRequiredNumber, requireDefined, rpc, setGlobalLogLevel, setServerJsonFormat, setServerLogColoring, stopwatch, transformKeys, tryJson, unrollParams, urlWithQueryString
|
|
65047
|
+
// UNUSED EXPORTS: ApiResponseError, alwaysThrottle, asArray, asFunction, asSingleton, assertFalse, checkHash, checkRawToken, createAuthorized, createHash, deepMerge, disableService, encrypt, getCached, getErrorMessage, getSingleton, getThrottle, hash, hideSensitiveInfo, hint, index, isEqual, isTruish, isValidSecret, logFormat, namedParameters, newError, noThrottle, noopLogMessageBuilder, parseNumber, parseRequiredNumber, requireDefined, rpc, setGlobalLogLevel, setServerJsonFormat, setServerLogColoring, stopwatch, transformKeys, trimEnd, trimMiddle, tryJson, unrollParams, urlWithQueryString
|
|
65048
65048
|
|
|
65049
65049
|
;// ../../libs/juava/src/security.ts
|
|
65050
65050
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
@@ -65680,14 +65680,17 @@ function getSingleton(globalName, factory) {
|
|
|
65680
65680
|
global["singletons_".concat(globalName)] = {
|
|
65681
65681
|
success: false,
|
|
65682
65682
|
error: error,
|
|
65683
|
-
debounceCleanup:
|
|
65684
|
-
return clearSingleton(globalName, opts.cleanupFunc);
|
|
65685
|
-
}, 1000 * opts.errorTtlSec) : function () {}
|
|
65683
|
+
debounceCleanup: function debounceCleanup() {}
|
|
65686
65684
|
};
|
|
65687
65685
|
if (!opts.optional && (process.env.FAIL_ON_DB_CONNECTION_ERRORS === "true" || process.env.FAIL_ON_DB_CONNECTION_ERRORS === "1")) {
|
|
65688
65686
|
log.atInfo().log("❌ ❌ ❌ Shutting down the application");
|
|
65689
65687
|
process.exit(1);
|
|
65690
65688
|
}
|
|
65689
|
+
if (opts.errorTtlSec && opts.errorTtlSec > 0) {
|
|
65690
|
+
setTimeout(function () {
|
|
65691
|
+
return clearSingleton(globalName, opts.cleanupFunc);
|
|
65692
|
+
}, 1000 * opts.errorTtlSec);
|
|
65693
|
+
}
|
|
65691
65694
|
return error;
|
|
65692
65695
|
};
|
|
65693
65696
|
var cachedValue = global["singletons_".concat(globalName)];
|
|
@@ -65725,20 +65728,36 @@ function getSingleton(globalName, factory) {
|
|
|
65725
65728
|
return _singleton;
|
|
65726
65729
|
}
|
|
65727
65730
|
if (newInstance instanceof Promise) {
|
|
65728
|
-
var
|
|
65729
|
-
return handleSuccess(instance, startedAtTs);
|
|
65730
|
-
})["catch"](handleError);
|
|
65731
|
-
var _result = function _result() {
|
|
65732
|
-
var globalInstance = requireDefined(global["singletons_".concat(globalName)], "The ".concat(globalName, " connection isn't ready yet"));
|
|
65733
|
-
globalInstance.debounceCleanup();
|
|
65731
|
+
var resultFunc = function resultFunc(globalInstance) {
|
|
65734
65732
|
if (globalInstance.success) {
|
|
65733
|
+
globalInstance.debounceCleanup();
|
|
65735
65734
|
return globalInstance.value;
|
|
65736
65735
|
} else {
|
|
65737
65736
|
throw newError("".concat(globalName, " failed during initialization: ").concat(getErrorMessage(globalInstance.error)), globalInstance.error);
|
|
65738
65737
|
}
|
|
65739
65738
|
};
|
|
65739
|
+
var _result = function _result() {
|
|
65740
|
+
var globalInstance = requireDefined(global["singletons_".concat(globalName)], "The ".concat(globalName, " connection isn't ready yet"));
|
|
65741
|
+
return resultFunc(globalInstance);
|
|
65742
|
+
};
|
|
65740
65743
|
_result.waitInit = function () {
|
|
65741
|
-
|
|
65744
|
+
var globalInstance = global["singletons_".concat(globalName)];
|
|
65745
|
+
if (globalInstance) {
|
|
65746
|
+
return Promise.resolve(resultFunc(globalInstance));
|
|
65747
|
+
} else {
|
|
65748
|
+
if (!(newInstance instanceof Promise)) {
|
|
65749
|
+
startedAtTs = Date.now();
|
|
65750
|
+
newInstance = Promise.resolve(factory());
|
|
65751
|
+
}
|
|
65752
|
+
return newInstance.then(function (instance) {
|
|
65753
|
+
return handleSuccess(instance, startedAtTs);
|
|
65754
|
+
})["catch"](function (e) {
|
|
65755
|
+
handleError(e);
|
|
65756
|
+
throw e;
|
|
65757
|
+
})["finally"](function () {
|
|
65758
|
+
newInstance = undefined;
|
|
65759
|
+
});
|
|
65760
|
+
}
|
|
65742
65761
|
};
|
|
65743
65762
|
_result.close = function () {
|
|
65744
65763
|
var globalInstance = global["singletons_".concat(globalName)];
|
|
@@ -65747,6 +65766,7 @@ function getSingleton(globalName, factory) {
|
|
|
65747
65766
|
}
|
|
65748
65767
|
return Promise.resolve();
|
|
65749
65768
|
};
|
|
65769
|
+
_result.waitInit()["catch"](function (e) {});
|
|
65750
65770
|
return _result;
|
|
65751
65771
|
} else {
|
|
65752
65772
|
handleSuccess(newInstance, startedAtTs);
|
|
@@ -65783,6 +65803,7 @@ function getSingleton(globalName, factory) {
|
|
|
65783
65803
|
|
|
65784
65804
|
|
|
65785
65805
|
|
|
65806
|
+
|
|
65786
65807
|
/***/ }),
|
|
65787
65808
|
|
|
65788
65809
|
/***/ 7830:
|