@tramvai/module-common 1.77.0 → 1.78.2

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.
@@ -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 { isHttpError } from '@tinkoff/errors';
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[isHttpError(err) ? 'debug' : 'error']({
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 { isHttpError } from '@tinkoff/errors';
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[isHttpError(err) ? 'debug' : 'error']({
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.isHttpError(err) ? 'debug' : 'error']({
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.77.0",
3
+ "version": "1.78.2",
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.18",
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.77.0",
35
- "@tramvai/module-environment": "1.77.0",
36
- "@tramvai/module-log": "1.77.0",
37
- "@tramvai/tokens-child-app": "1.77.0",
38
- "@tramvai/tokens-common": "1.77.0",
39
- "@tramvai/tokens-render": "1.77.0",
40
- "@tramvai/experiments": "1.77.0",
34
+ "@tramvai/module-cookie": "1.78.2",
35
+ "@tramvai/module-environment": "1.78.2",
36
+ "@tramvai/module-log": "1.78.2",
37
+ "@tramvai/tokens-child-app": "1.78.2",
38
+ "@tramvai/tokens-common": "1.78.2",
39
+ "@tramvai/tokens-render": "1.78.2",
40
+ "@tramvai/experiments": "1.78.2",
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.77.0",
48
- "@tramvai/core": "1.77.0",
49
- "@tramvai/papi": "1.77.0",
50
- "@tramvai/state": "1.77.0",
51
- "@tramvai/tokens-metrics": "1.77.0",
52
- "@tramvai/tokens-server": "1.77.0",
47
+ "@tramvai/cli": "1.78.2",
48
+ "@tramvai/core": "1.78.2",
49
+ "@tramvai/papi": "1.78.2",
50
+ "@tramvai/state": "1.78.2",
51
+ "@tramvai/tokens-metrics": "1.78.2",
52
+ "@tramvai/tokens-server": "1.78.2",
53
53
  "@tinkoff/dippy": "0.7.38",
54
54
  "react": ">=16.8.0",
55
55
  "tslib": "^2.0.3"