@tramvai/react 5.41.1 → 5.41.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/lazy/lazy.es.js +1 -0
- package/lib/lazy/lazy.js +1 -0
- package/package.json +3 -3
package/lib/lazy/lazy.es.js
CHANGED
|
@@ -45,6 +45,7 @@ const __lazyErrorHandler = (error, load) => {
|
|
|
45
45
|
const lazy = (load, options = {}) => {
|
|
46
46
|
if (process.env.NODE_ENV === 'development') {
|
|
47
47
|
if (!('requireAsync' in load)) {
|
|
48
|
+
// eslint-disable-next-line no-console
|
|
48
49
|
console.error(`Lazy import was not processed by lazy-component babel plugin.
|
|
49
50
|
Check lazy helper usage, expected signature is "lazy(() => import('./path/to/component'))",
|
|
50
51
|
the first argument should be transformed into a special object, but the current value is
|
package/lib/lazy/lazy.js
CHANGED
|
@@ -54,6 +54,7 @@ const __lazyErrorHandler = (error, load) => {
|
|
|
54
54
|
const lazy = (load, options = {}) => {
|
|
55
55
|
if (process.env.NODE_ENV === 'development') {
|
|
56
56
|
if (!('requireAsync' in load)) {
|
|
57
|
+
// eslint-disable-next-line no-console
|
|
57
58
|
console.error(`Lazy import was not processed by lazy-component babel plugin.
|
|
58
59
|
Check lazy helper usage, expected signature is "lazy(() => import('./path/to/component'))",
|
|
59
60
|
the first argument should be transformed into a special object, but the current value is
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/react",
|
|
3
|
-
"version": "5.41.
|
|
3
|
+
"version": "5.41.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/react.js",
|
|
6
6
|
"typings": "lib/react.d.ts",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@loadable/component": "^5.15.2",
|
|
21
21
|
"@types/loadable__component": "^5.13.4",
|
|
22
|
-
"@tramvai/types-actions-state-context": "5.41.
|
|
22
|
+
"@tramvai/types-actions-state-context": "5.41.2",
|
|
23
23
|
"hoist-non-react-statics": "^3.3.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@tinkoff/dippy": "0.11.
|
|
26
|
+
"@tinkoff/dippy": "0.11.4",
|
|
27
27
|
"@tinkoff/utils": "^2.1.2",
|
|
28
28
|
"@tinkoff/url": "0.11.2",
|
|
29
29
|
"react": ">=16.14.0",
|