@tramvai/module-common 1.76.2 → 1.78.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/lib/index.browser.js +2 -2
- package/lib/index.es.js +2 -2
- package/lib/index.js +1 -1
- package/package.json +15 -15
package/lib/index.browser.js
CHANGED
|
@@ -19,7 +19,7 @@ import values from '@tinkoff/utils/object/values';
|
|
|
19
19
|
import { METRICS_MODULE_TOKEN } from '@tramvai/tokens-metrics';
|
|
20
20
|
import { createChildContainer, Scope as Scope$1, createToken } from '@tinkoff/dippy';
|
|
21
21
|
import noop from '@tinkoff/utils/function/noop';
|
|
22
|
-
import {
|
|
22
|
+
import { isSilentError } from '@tinkoff/errors';
|
|
23
23
|
import { PubSub } from '@tinkoff/pubsub';
|
|
24
24
|
import identity from '@tinkoff/utils/function/identity';
|
|
25
25
|
import objectMap from '@tinkoff/utils/object/map';
|
|
@@ -457,7 +457,7 @@ class CommandLineRunner {
|
|
|
457
457
|
return Promise.resolve()
|
|
458
458
|
.then(() => instance())
|
|
459
459
|
.catch((err) => {
|
|
460
|
-
this.log[
|
|
460
|
+
this.log[isSilentError(err) ? 'debug' : 'error']({
|
|
461
461
|
event: 'line-error',
|
|
462
462
|
error: err,
|
|
463
463
|
line: line.toString(),
|
package/lib/index.es.js
CHANGED
|
@@ -19,7 +19,7 @@ import values from '@tinkoff/utils/object/values';
|
|
|
19
19
|
import { METRICS_MODULE_TOKEN } from '@tramvai/tokens-metrics';
|
|
20
20
|
import { createChildContainer, Scope as Scope$1, createToken } from '@tinkoff/dippy';
|
|
21
21
|
import noop from '@tinkoff/utils/function/noop';
|
|
22
|
-
import {
|
|
22
|
+
import { isSilentError } from '@tinkoff/errors';
|
|
23
23
|
import { PubSub } from '@tinkoff/pubsub';
|
|
24
24
|
import identity from '@tinkoff/utils/function/identity';
|
|
25
25
|
import objectMap from '@tinkoff/utils/object/map';
|
|
@@ -454,7 +454,7 @@ class CommandLineRunner {
|
|
|
454
454
|
return Promise.resolve()
|
|
455
455
|
.then(() => instance())
|
|
456
456
|
.catch((err) => {
|
|
457
|
-
this.log[
|
|
457
|
+
this.log[isSilentError(err) ? 'debug' : 'error']({
|
|
458
458
|
event: 'line-error',
|
|
459
459
|
error: err,
|
|
460
460
|
line: line.toString(),
|
package/lib/index.js
CHANGED
|
@@ -473,7 +473,7 @@ class CommandLineRunner {
|
|
|
473
473
|
return Promise.resolve()
|
|
474
474
|
.then(() => instance())
|
|
475
475
|
.catch((err) => {
|
|
476
|
-
this.log[errors.
|
|
476
|
+
this.log[errors.isSilentError(err) ? 'debug' : 'error']({
|
|
477
477
|
event: 'line-error',
|
|
478
478
|
error: err,
|
|
479
479
|
line: line.toString(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-common",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.78.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -28,28 +28,28 @@
|
|
|
28
28
|
"build-for-publish": "true"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@tinkoff/errors": "0.2.
|
|
31
|
+
"@tinkoff/errors": "0.2.19",
|
|
32
32
|
"@tinkoff/pubsub": "0.4.23",
|
|
33
33
|
"@tinkoff/url": "0.7.37",
|
|
34
|
-
"@tramvai/module-cookie": "1.
|
|
35
|
-
"@tramvai/module-environment": "1.
|
|
36
|
-
"@tramvai/module-log": "1.
|
|
37
|
-
"@tramvai/tokens-child-app": "1.
|
|
38
|
-
"@tramvai/tokens-common": "1.
|
|
39
|
-
"@tramvai/tokens-render": "1.
|
|
40
|
-
"@tramvai/experiments": "1.
|
|
34
|
+
"@tramvai/module-cookie": "1.78.1",
|
|
35
|
+
"@tramvai/module-environment": "1.78.1",
|
|
36
|
+
"@tramvai/module-log": "1.78.1",
|
|
37
|
+
"@tramvai/tokens-child-app": "1.78.1",
|
|
38
|
+
"@tramvai/tokens-common": "1.78.1",
|
|
39
|
+
"@tramvai/tokens-render": "1.78.1",
|
|
40
|
+
"@tramvai/experiments": "1.78.1",
|
|
41
41
|
"@tinkoff/hook-runner": "0.3.21",
|
|
42
42
|
"hoist-non-react-statics": "^3.3.1",
|
|
43
43
|
"lru-cache": "^6.0.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"@tinkoff/utils": "^2.1.2",
|
|
47
|
-
"@tramvai/cli": "1.
|
|
48
|
-
"@tramvai/core": "1.
|
|
49
|
-
"@tramvai/papi": "1.
|
|
50
|
-
"@tramvai/state": "1.
|
|
51
|
-
"@tramvai/tokens-metrics": "1.
|
|
52
|
-
"@tramvai/tokens-server": "1.
|
|
47
|
+
"@tramvai/cli": "1.78.1",
|
|
48
|
+
"@tramvai/core": "1.78.1",
|
|
49
|
+
"@tramvai/papi": "1.78.1",
|
|
50
|
+
"@tramvai/state": "1.78.1",
|
|
51
|
+
"@tramvai/tokens-metrics": "1.78.1",
|
|
52
|
+
"@tramvai/tokens-server": "1.78.1",
|
|
53
53
|
"@tinkoff/dippy": "0.7.38",
|
|
54
54
|
"react": ">=16.8.0",
|
|
55
55
|
"tslib": "^2.0.3"
|