@fullstackunicorn/webapp 2.0.0 → 2.0.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.
package/load/resources.js CHANGED
@@ -58,7 +58,7 @@ class Resources {
58
58
  const changed = [...(preload.replace || []), ...(preload.new || [])]
59
59
  const resources = changed.filter(item => item.kind === 'resource')
60
60
  await this.queue(resources, settings.concurrency, async item => {
61
- if (!/^(data|page|site|lookup)\//.test(item.path || '') || item.path.includes('..')) throw new Error('Invalid load resource: ' + item.path)
61
+ if (!/^(data|page|site|lookup|menu)\//.test(item.path || '') || item.path.includes('..')) throw new Error('Invalid load resource: ' + item.path)
62
62
  await client.cacheDataSet({ endpoint: resource.url(item.path), value: item.value, version: item.sha256 })
63
63
  next[item.key] = item
64
64
  })
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.0",
2
+ "version": "2.0.1",
3
3
  "name": "@fullstackunicorn/webapp",
4
4
  "author": "lucanigido (https://fullstackunicorn.dev/author/lucanigido)",
5
5
  "description": "Shared Web and Native runtime engines and core components for Fullstack Unicorn applications",