@tramvai/module-render 2.39.0 → 2.39.3

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/server.es.js CHANGED
@@ -206,10 +206,10 @@ class ResourcesInliner {
206
206
  return false;
207
207
  }
208
208
  const url = getResourceUrl(resource);
209
- const filesCache = this.getFilesCache(url);
210
209
  if (isUndefined(url) || this.resourcesRegistryCache.disabledUrlsCache.has(url)) {
211
210
  return false;
212
211
  }
212
+ const filesCache = this.getFilesCache(url);
213
213
  if (filesCache.has(url)) {
214
214
  return true;
215
215
  }
package/lib/server.js CHANGED
@@ -242,10 +242,10 @@ class ResourcesInliner {
242
242
  return false;
243
243
  }
244
244
  const url = getResourceUrl(resource);
245
- const filesCache = this.getFilesCache(url);
246
245
  if (isUndefined__default["default"](url) || this.resourcesRegistryCache.disabledUrlsCache.has(url)) {
247
246
  return false;
248
247
  }
248
+ const filesCache = this.getFilesCache(url);
249
249
  if (filesCache.has(url)) {
250
250
  return true;
251
251
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-render",
3
- "version": "2.39.0",
3
+ "version": "2.39.3",
4
4
  "description": "",
5
5
  "browser": "lib/browser.js",
6
6
  "main": "lib/server.js",
@@ -26,13 +26,13 @@
26
26
  "@tinkoff/htmlpagebuilder": "0.5.5",
27
27
  "@tinkoff/layout-factory": "0.3.4",
28
28
  "@tinkoff/url": "0.8.4",
29
- "@tinkoff/user-agent": "0.4.86",
30
- "@tramvai/module-client-hints": "2.39.0",
31
- "@tramvai/module-router": "2.39.0",
32
- "@tramvai/react": "2.39.0",
29
+ "@tinkoff/user-agent": "0.4.89",
30
+ "@tramvai/module-client-hints": "2.39.3",
31
+ "@tramvai/module-router": "2.39.3",
32
+ "@tramvai/react": "2.39.3",
33
33
  "@tramvai/safe-strings": "0.5.5",
34
- "@tramvai/tokens-render": "2.39.0",
35
- "@tramvai/experiments": "2.39.0",
34
+ "@tramvai/tokens-render": "2.39.3",
35
+ "@tramvai/experiments": "2.39.3",
36
36
  "@types/loadable__server": "^5.12.6",
37
37
  "node-fetch": "^2.6.1"
38
38
  },
@@ -40,14 +40,14 @@
40
40
  "@tinkoff/dippy": "0.8.9",
41
41
  "@tinkoff/utils": "^2.1.2",
42
42
  "@tinkoff/react-hooks": "0.1.4",
43
- "@tramvai/cli": "2.39.0",
44
- "@tramvai/core": "2.39.0",
45
- "@tramvai/module-common": "2.39.0",
46
- "@tramvai/state": "2.39.0",
47
- "@tramvai/test-helpers": "2.39.0",
48
- "@tramvai/tokens-common": "2.39.0",
49
- "@tramvai/tokens-router": "2.39.0",
50
- "@tramvai/tokens-server-private": "2.39.0",
43
+ "@tramvai/cli": "2.39.3",
44
+ "@tramvai/core": "2.39.3",
45
+ "@tramvai/module-common": "2.39.3",
46
+ "@tramvai/state": "2.39.3",
47
+ "@tramvai/test-helpers": "2.39.3",
48
+ "@tramvai/tokens-common": "2.39.3",
49
+ "@tramvai/tokens-router": "2.39.3",
50
+ "@tramvai/tokens-server-private": "2.39.3",
51
51
  "express": "^4.17.1",
52
52
  "prop-types": "^15.6.2",
53
53
  "react": ">=16.14.0",