@tramvai/module-common 4.41.111 → 4.41.123

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.
@@ -136,10 +136,6 @@ class CommandLineRunner {
136
136
  }
137
137
  // eslint-disable-next-line class-methods-use-this
138
138
  throwError(err, di) {
139
- if (process.env.NODE_ENV === 'development' && typeof err === 'object') {
140
- // eslint-disable-next-line no-param-reassign
141
- err.di = di;
142
- }
143
139
  throw err;
144
140
  }
145
141
  }
@@ -136,10 +136,6 @@ class CommandLineRunner {
136
136
  }
137
137
  // eslint-disable-next-line class-methods-use-this
138
138
  throwError(err, di) {
139
- if (process.env.NODE_ENV === 'development' && typeof err === 'object') {
140
- // eslint-disable-next-line no-param-reassign
141
- err.di = di;
142
- }
143
139
  throw err;
144
140
  }
145
141
  }
@@ -140,10 +140,6 @@ class CommandLineRunner {
140
140
  }
141
141
  // eslint-disable-next-line class-methods-use-this
142
142
  throwError(err, di) {
143
- if (process.env.NODE_ENV === 'development' && typeof err === 'object') {
144
- // eslint-disable-next-line no-param-reassign
145
- err.di = di;
146
- }
147
143
  throw err;
148
144
  }
149
145
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-common",
3
- "version": "4.41.111",
3
+ "version": "4.41.123",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -11,14 +11,14 @@
11
11
  "browser": {
12
12
  "./lib/actions/actionPageRunner.js": "./lib/actions/actionPageRunner.browser.js",
13
13
  "./lib/actions/deferred/providers.js": "./lib/actions/deferred/providers.browser.js",
14
- "./lib/cache/serverProviders.js": "./lib/cache/clientProviders.js",
14
+ "./lib/async-local-storage/server.js": "./lib/async-local-storage/browser.js",
15
15
  "./lib/cache/cacheFactory.js": "./lib/cache/cacheFactory.browser.js",
16
+ "./lib/cache/serverProviders.js": "./lib/cache/clientProviders.js",
17
+ "./lib/child-app/serverProviders.js": "./lib/child-app/clientProviders.js",
16
18
  "./lib/index.es.js": "./lib/index.browser.js",
17
19
  "./lib/providers/serverProviders.js": "./lib/providers/clientProviders.js",
18
- "./lib/child-app/serverProviders.js": "./lib/child-app/clientProviders.js",
19
20
  "./lib/requestManager/RequestManagerModule.js": "./lib/requestManager/RequestManagerModule.browser.js",
20
- "./lib/responseManager/ResponseManagerModule.js": "./lib/responseManager/ResponseManagerModule.browser.js",
21
- "./lib/async-local-storage/server.js": "./lib/async-local-storage/browser.js"
21
+ "./lib/responseManager/ResponseManagerModule.js": "./lib/responseManager/ResponseManagerModule.browser.js"
22
22
  },
23
23
  "sideEffects": false,
24
24
  "repository": {
@@ -36,30 +36,30 @@
36
36
  "@tinkoff/lru-cache-nano": "^7.9.0",
37
37
  "@tinkoff/pubsub": "0.7.3",
38
38
  "@tinkoff/url": "0.10.3",
39
- "@tramvai/experiments": "4.41.111",
40
- "@tramvai/module-cookie": "4.41.111",
41
- "@tramvai/module-environment": "4.41.111",
42
- "@tramvai/module-log": "4.41.111",
39
+ "@tramvai/experiments": "4.41.123",
40
+ "@tramvai/module-cookie": "4.41.123",
41
+ "@tramvai/module-environment": "4.41.123",
42
+ "@tramvai/module-log": "4.41.123",
43
43
  "@tramvai/safe-strings": "0.7.9",
44
- "@tramvai/tokens-child-app": "4.41.111",
45
- "@tramvai/tokens-common": "4.41.111",
46
- "@tramvai/tokens-core-private": "4.41.111",
47
- "@tramvai/tokens-metrics": "4.41.111",
48
- "@tramvai/tokens-render": "4.41.111",
49
- "@tramvai/tokens-router": "4.41.111",
50
- "@tramvai/tokens-server-private": "4.41.111",
51
- "@tramvai/types-actions-state-context": "4.41.111",
44
+ "@tramvai/tokens-child-app": "4.41.123",
45
+ "@tramvai/tokens-common": "4.41.123",
46
+ "@tramvai/tokens-core-private": "4.41.123",
47
+ "@tramvai/tokens-metrics": "4.41.123",
48
+ "@tramvai/tokens-render": "4.41.123",
49
+ "@tramvai/tokens-router": "4.41.123",
50
+ "@tramvai/tokens-server-private": "4.41.123",
51
+ "@tramvai/types-actions-state-context": "4.41.123",
52
52
  "hoist-non-react-statics": "^3.3.1"
53
53
  },
54
54
  "peerDependencies": {
55
- "@tinkoff/dippy": "0.10.12",
55
+ "@tinkoff/dippy": "0.10.13",
56
56
  "@tinkoff/utils": "^2.1.2",
57
- "@tramvai/cli": "4.41.111",
58
- "@tramvai/core": "4.41.111",
59
- "@tramvai/papi": "4.41.111",
60
- "@tramvai/react": "4.41.111",
61
- "@tramvai/state": "4.41.111",
62
- "@tramvai/tokens-server": "4.41.111",
57
+ "@tramvai/cli": "4.41.123",
58
+ "@tramvai/core": "4.41.123",
59
+ "@tramvai/papi": "4.41.123",
60
+ "@tramvai/react": "4.41.123",
61
+ "@tramvai/state": "4.41.123",
62
+ "@tramvai/tokens-server": "4.41.123",
63
63
  "react": ">=16.14.0",
64
64
  "tslib": "^2.4.0"
65
65
  },