@tramvai/module-common 7.2.3 → 7.3.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.
@@ -35,12 +35,6 @@ class ActionPageRunner {
35
35
  message: `An error occurred during "${parameters?.name ?? 'unknown'}" action execution`,
36
36
  });
37
37
  if (stopRunAtError(error)) {
38
- if (process.env.NODE_ENV === 'development') {
39
- if (this.isChildAppRunner) {
40
- // eslint-disable-next-line no-console
41
- console.error(`Throwing error ${error.errorName} is not supported in Child Apps, host application command line will not be aborted!`);
42
- }
43
- }
44
38
  throw error;
45
39
  }
46
40
  });
@@ -123,11 +123,6 @@ Also, the necessary network accesses may not be present.`,
123
123
  })
124
124
  .catch((error) => {
125
125
  const isStopCommandLineError = stopRunAtError(error);
126
- if (process.env.NODE_ENV === 'development') {
127
- if (isStopCommandLineError && this.isChildAppRunner) {
128
- console.error(`Throwing error ${error.errorName} is not supported in Child Apps, host application command line will not be aborted!`);
129
- }
130
- }
131
126
  const parameters = isTramvaiAction(action) ? action : action[ACTION_PARAMETERS];
132
127
  this.log[isSilentError(error) ? 'info' : 'error']({
133
128
  error,
@@ -127,11 +127,6 @@ Also, the necessary network accesses may not be present.`,
127
127
  })
128
128
  .catch((error) => {
129
129
  const isStopCommandLineError = stopRunAtError(error);
130
- if (process.env.NODE_ENV === 'development') {
131
- if (isStopCommandLineError && this.isChildAppRunner) {
132
- console.error(`Throwing error ${error.errorName} is not supported in Child Apps, host application command line will not be aborted!`);
133
- }
134
- }
135
130
  const parameters = core.isTramvaiAction(action) ? action : action[core.ACTION_PARAMETERS];
136
131
  this.log[errors.isSilentError(error) ? 'info' : 'error']({
137
132
  error,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-common",
3
- "version": "7.2.3",
3
+ "version": "7.3.1",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -36,30 +36,30 @@
36
36
  "@tinkoff/lru-cache-nano": "^7.9.0",
37
37
  "@tinkoff/pubsub": "0.10.1",
38
38
  "@tinkoff/url": "0.13.1",
39
- "@tramvai/experiments": "7.2.3",
40
- "@tramvai/module-cookie": "7.2.3",
41
- "@tramvai/module-environment": "7.2.3",
42
- "@tramvai/module-log": "7.2.3",
39
+ "@tramvai/experiments": "7.3.1",
40
+ "@tramvai/module-cookie": "7.3.1",
41
+ "@tramvai/module-environment": "7.3.1",
42
+ "@tramvai/module-log": "7.3.1",
43
43
  "@tramvai/safe-strings": "0.10.1",
44
- "@tramvai/tokens-child-app": "7.2.3",
45
- "@tramvai/tokens-common": "7.2.3",
46
- "@tramvai/tokens-core-private": "7.2.3",
47
- "@tramvai/tokens-metrics": "7.2.3",
48
- "@tramvai/tokens-render": "7.2.3",
49
- "@tramvai/tokens-router": "7.2.3",
50
- "@tramvai/tokens-server-private": "7.2.3",
51
- "@tramvai/types-actions-state-context": "7.2.3",
44
+ "@tramvai/tokens-child-app": "7.3.1",
45
+ "@tramvai/tokens-common": "7.3.1",
46
+ "@tramvai/tokens-core-private": "7.3.1",
47
+ "@tramvai/tokens-metrics": "7.3.1",
48
+ "@tramvai/tokens-render": "7.3.1",
49
+ "@tramvai/tokens-router": "7.3.1",
50
+ "@tramvai/tokens-server-private": "7.3.1",
51
+ "@tramvai/types-actions-state-context": "7.3.1",
52
52
  "hoist-non-react-statics": "^3.3.1"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "@tinkoff/dippy": "0.13.1",
56
56
  "@tinkoff/utils": "^2.1.2",
57
- "@tramvai/cli": "7.2.3",
58
- "@tramvai/core": "7.2.3",
59
- "@tramvai/papi": "7.2.3",
60
- "@tramvai/react": "7.2.3",
61
- "@tramvai/state": "7.2.3",
62
- "@tramvai/tokens-server": "7.2.3",
57
+ "@tramvai/cli": "7.3.1",
58
+ "@tramvai/core": "7.3.1",
59
+ "@tramvai/papi": "7.3.1",
60
+ "@tramvai/react": "7.3.1",
61
+ "@tramvai/state": "7.3.1",
62
+ "@tramvai/tokens-server": "7.3.1",
63
63
  "react": ">=16.14.0",
64
64
  "tslib": "^2.4.0"
65
65
  },