@tramvai/module-common 1.95.1 → 1.95.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.
- package/lib/index.browser.js +2 -2
- package/lib/index.es.js +2 -2
- package/lib/index.js +2 -2
- package/package.json +14 -14
package/lib/index.browser.js
CHANGED
|
@@ -429,8 +429,8 @@ class CommandLineRunner {
|
|
|
429
429
|
}
|
|
430
430
|
instanceExecute(instance, line, di) {
|
|
431
431
|
if (!(instance instanceof Function)) {
|
|
432
|
-
const error = new TypeError(
|
|
433
|
-
|
|
432
|
+
const error = new TypeError(`Expected function in line processing "commandLineListTokens.${line.toString()}", received "${instance}".
|
|
433
|
+
Check that all commandLineListTokens subscribers return functions`);
|
|
434
434
|
if (process.env.NODE_ENV !== 'production') {
|
|
435
435
|
const instances = di.get(line);
|
|
436
436
|
const record = di.getRecord(line.toString());
|
package/lib/index.es.js
CHANGED
|
@@ -426,8 +426,8 @@ class CommandLineRunner {
|
|
|
426
426
|
}
|
|
427
427
|
instanceExecute(instance, line, di) {
|
|
428
428
|
if (!(instance instanceof Function)) {
|
|
429
|
-
const error = new TypeError(
|
|
430
|
-
|
|
429
|
+
const error = new TypeError(`Expected function in line processing "commandLineListTokens.${line.toString()}", received "${instance}".
|
|
430
|
+
Check that all commandLineListTokens subscribers return functions`);
|
|
431
431
|
if (process.env.NODE_ENV !== 'production') {
|
|
432
432
|
const instances = di.get(line);
|
|
433
433
|
const record = di.getRecord(line.toString());
|
package/lib/index.js
CHANGED
|
@@ -444,8 +444,8 @@ class CommandLineRunner {
|
|
|
444
444
|
}
|
|
445
445
|
instanceExecute(instance, line, di) {
|
|
446
446
|
if (!(instance instanceof Function)) {
|
|
447
|
-
const error = new TypeError(
|
|
448
|
-
|
|
447
|
+
const error = new TypeError(`Expected function in line processing "commandLineListTokens.${line.toString()}", received "${instance}".
|
|
448
|
+
Check that all commandLineListTokens subscribers return functions`);
|
|
449
449
|
if (process.env.NODE_ENV !== 'production') {
|
|
450
450
|
const instances = di.get(line);
|
|
451
451
|
const record = di.getRecord(line.toString());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-common",
|
|
3
|
-
"version": "1.95.
|
|
3
|
+
"version": "1.95.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -31,25 +31,25 @@
|
|
|
31
31
|
"@tinkoff/errors": "0.2.20",
|
|
32
32
|
"@tinkoff/pubsub": "0.4.23",
|
|
33
33
|
"@tinkoff/url": "0.7.37",
|
|
34
|
-
"@tramvai/module-cookie": "1.95.
|
|
35
|
-
"@tramvai/module-environment": "1.95.
|
|
36
|
-
"@tramvai/module-log": "1.95.
|
|
37
|
-
"@tramvai/tokens-child-app": "1.95.
|
|
38
|
-
"@tramvai/tokens-common": "1.95.
|
|
39
|
-
"@tramvai/tokens-render": "1.95.
|
|
40
|
-
"@tramvai/experiments": "1.95.
|
|
34
|
+
"@tramvai/module-cookie": "1.95.2",
|
|
35
|
+
"@tramvai/module-environment": "1.95.2",
|
|
36
|
+
"@tramvai/module-log": "1.95.2",
|
|
37
|
+
"@tramvai/tokens-child-app": "1.95.2",
|
|
38
|
+
"@tramvai/tokens-common": "1.95.2",
|
|
39
|
+
"@tramvai/tokens-render": "1.95.2",
|
|
40
|
+
"@tramvai/experiments": "1.95.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.95.
|
|
48
|
-
"@tramvai/core": "1.95.
|
|
49
|
-
"@tramvai/papi": "1.95.
|
|
50
|
-
"@tramvai/state": "1.95.
|
|
51
|
-
"@tramvai/tokens-metrics": "1.95.
|
|
52
|
-
"@tramvai/tokens-server": "1.95.
|
|
47
|
+
"@tramvai/cli": "1.95.2",
|
|
48
|
+
"@tramvai/core": "1.95.2",
|
|
49
|
+
"@tramvai/papi": "1.95.2",
|
|
50
|
+
"@tramvai/state": "1.95.2",
|
|
51
|
+
"@tramvai/tokens-metrics": "1.95.2",
|
|
52
|
+
"@tramvai/tokens-server": "1.95.2",
|
|
53
53
|
"@tinkoff/dippy": "0.7.39",
|
|
54
54
|
"react": ">=16.8.0",
|
|
55
55
|
"tslib": "^2.0.3"
|