@foxford/den 4.1.0 → 4.2.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/island/index.cjs CHANGED
@@ -19,7 +19,7 @@
19
19
 
20
20
 
21
21
 
22
- var _chunkQTWJTYZWcjs = require('../chunk-QTWJTYZW.cjs');
22
+ var _chunkI42ZL2FScjs = require('../chunk-I42ZL2FS.cjs');
23
23
 
24
24
 
25
25
 
@@ -30,9 +30,6 @@ var _chunkXOJ2VWX4cjs = require('../chunk-XOJ2VWX4.cjs');
30
30
  var _chunk6QV4L6R2cjs = require('../chunk-6QV4L6R2.cjs');
31
31
  require('../chunk-A6ZPAM6Z.cjs');
32
32
 
33
-
34
- var _chunkT5QVCXVBcjs = require('../chunk-T5QVCXVB.cjs');
35
-
36
33
  // src/island/errors.ts
37
34
  var ISLAND_ERRORS_KEY = "__DEN_ISLAND_ERRORS__";
38
35
  function reportIslandError(error, context) {
@@ -94,7 +91,7 @@ function notify() {
94
91
  }
95
92
  function registerIsland(record) {
96
93
  const id = nextId++;
97
- islands.set(id, _chunkT5QVCXVBcjs.__spreadValues.call(void 0, { id }, record));
94
+ islands.set(id, { id, ...record });
98
95
  notify();
99
96
  return () => {
100
97
  islands.delete(id);
@@ -180,4 +177,4 @@ function subscribeIslandsGeneration(listener) {
180
177
 
181
178
 
182
179
 
183
- exports.DOCUMENT_EVENT = DOCUMENT_EVENT; exports.ISLAND_ERRORS_KEY = ISLAND_ERRORS_KEY; exports.NAVIGATE_EVENT = NAVIGATE_EVENT; exports.RequestContextToken = _chunk6QV4L6R2cjs.RequestContextToken; exports.RuntimeExtensionsToken = _chunkQTWJTYZWcjs.RuntimeExtensionsToken; exports.ViewLayerToken = _chunkXOJ2VWX4cjs.ViewLayerToken; exports.activateIslandViewModels = _chunkQTWJTYZWcjs.activateIslandViewModels; exports.bindIslandInputs = _chunkQTWJTYZWcjs.bindIslandInputs; exports.bindRequestContext = _chunkQTWJTYZWcjs.bindRequestContext; exports.browserRequestContext = _chunkQTWJTYZWcjs.browserRequestContext; exports.collectDocumentContribution = _chunkQTWJTYZWcjs.collectDocumentContribution; exports.collectIslandState = _chunkQTWJTYZWcjs.collectIslandState; exports.createIslandContainer = _chunkQTWJTYZWcjs.createIslandContainer; exports.describeIsland = describeIsland; exports.getAppContainer = _chunkQTWJTYZWcjs.getAppContainer; exports.getIslandsGeneration = getIslandsGeneration; exports.getIslandsSnapshot = getIslandsSnapshot; exports.hydrateIslandState = _chunkQTWJTYZWcjs.hydrateIslandState; exports.installRuntime = _chunkQTWJTYZWcjs.installRuntime; exports.isDocumentSource = _chunkQTWJTYZWcjs.isDocumentSource; exports.islandInputsOf = _chunkQTWJTYZWcjs.islandInputsOf; exports.matchRoute = _chunkQTWJTYZWcjs.matchRoute; exports.navigateIsland = navigateIsland; exports.normalizeRoutes = _chunkQTWJTYZWcjs.normalizeRoutes; exports.onIslandDocument = onIslandDocument; exports.onIslandNavigate = onIslandNavigate; exports.parseCookieHeader = _chunkQTWJTYZWcjs.parseCookieHeader; exports.pathPattern = _chunkQTWJTYZWcjs.pathPattern; exports.publishIslandDocument = publishIslandDocument; exports.registerIsland = registerIsland; exports.remountIslands = remountIslands; exports.renderApp = _chunkQTWJTYZWcjs.renderApp; exports.reportIslandError = reportIslandError; exports.resolveEagerUnits = _chunkQTWJTYZWcjs.resolveEagerUnits; exports.resolveViewAdapter = _chunkXOJ2VWX4cjs.resolveViewAdapter; exports.runtimeRequiresOf = _chunkQTWJTYZWcjs.runtimeRequiresOf; exports.slotAddress = slotAddress; exports.subscribeIslands = subscribeIslands; exports.subscribeIslandsGeneration = subscribeIslandsGeneration; exports.viewAdapterOf = _chunkXOJ2VWX4cjs.viewAdapterOf;
180
+ exports.DOCUMENT_EVENT = DOCUMENT_EVENT; exports.ISLAND_ERRORS_KEY = ISLAND_ERRORS_KEY; exports.NAVIGATE_EVENT = NAVIGATE_EVENT; exports.RequestContextToken = _chunk6QV4L6R2cjs.RequestContextToken; exports.RuntimeExtensionsToken = _chunkI42ZL2FScjs.RuntimeExtensionsToken; exports.ViewLayerToken = _chunkXOJ2VWX4cjs.ViewLayerToken; exports.activateIslandViewModels = _chunkI42ZL2FScjs.activateIslandViewModels; exports.bindIslandInputs = _chunkI42ZL2FScjs.bindIslandInputs; exports.bindRequestContext = _chunkI42ZL2FScjs.bindRequestContext; exports.browserRequestContext = _chunkI42ZL2FScjs.browserRequestContext; exports.collectDocumentContribution = _chunkI42ZL2FScjs.collectDocumentContribution; exports.collectIslandState = _chunkI42ZL2FScjs.collectIslandState; exports.createIslandContainer = _chunkI42ZL2FScjs.createIslandContainer; exports.describeIsland = describeIsland; exports.getAppContainer = _chunkI42ZL2FScjs.getAppContainer; exports.getIslandsGeneration = getIslandsGeneration; exports.getIslandsSnapshot = getIslandsSnapshot; exports.hydrateIslandState = _chunkI42ZL2FScjs.hydrateIslandState; exports.installRuntime = _chunkI42ZL2FScjs.installRuntime; exports.isDocumentSource = _chunkI42ZL2FScjs.isDocumentSource; exports.islandInputsOf = _chunkI42ZL2FScjs.islandInputsOf; exports.matchRoute = _chunkI42ZL2FScjs.matchRoute; exports.navigateIsland = navigateIsland; exports.normalizeRoutes = _chunkI42ZL2FScjs.normalizeRoutes; exports.onIslandDocument = onIslandDocument; exports.onIslandNavigate = onIslandNavigate; exports.parseCookieHeader = _chunkI42ZL2FScjs.parseCookieHeader; exports.pathPattern = _chunkI42ZL2FScjs.pathPattern; exports.publishIslandDocument = publishIslandDocument; exports.registerIsland = registerIsland; exports.remountIslands = remountIslands; exports.renderApp = _chunkI42ZL2FScjs.renderApp; exports.reportIslandError = reportIslandError; exports.resolveEagerUnits = _chunkI42ZL2FScjs.resolveEagerUnits; exports.resolveViewAdapter = _chunkXOJ2VWX4cjs.resolveViewAdapter; exports.runtimeRequiresOf = _chunkI42ZL2FScjs.runtimeRequiresOf; exports.slotAddress = slotAddress; exports.subscribeIslands = subscribeIslands; exports.subscribeIslandsGeneration = subscribeIslandsGeneration; exports.viewAdapterOf = _chunkXOJ2VWX4cjs.viewAdapterOf;
package/island/index.js CHANGED
@@ -19,7 +19,7 @@ import {
19
19
  renderApp,
20
20
  resolveEagerUnits,
21
21
  runtimeRequiresOf
22
- } from "../chunk-XQ7EHXHG.js";
22
+ } from "../chunk-TEVB76QF.js";
23
23
  import {
24
24
  ViewLayerToken,
25
25
  resolveViewAdapter,
@@ -29,9 +29,6 @@ import {
29
29
  RequestContextToken
30
30
  } from "../chunk-3RX2OSUL.js";
31
31
  import "../chunk-TPBI6TOU.js";
32
- import {
33
- __spreadValues
34
- } from "../chunk-6FNC3XMI.js";
35
32
 
36
33
  // src/island/errors.ts
37
34
  var ISLAND_ERRORS_KEY = "__DEN_ISLAND_ERRORS__";
@@ -94,7 +91,7 @@ function notify() {
94
91
  }
95
92
  function registerIsland(record) {
96
93
  const id = nextId++;
97
- islands.set(id, __spreadValues({ id }, record));
94
+ islands.set(id, { id, ...record });
98
95
  notify();
99
96
  return () => {
100
97
  islands.delete(id);
package/ops/index.cjs CHANGED
@@ -5,8 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkHJFBEJT6cjs = require('../chunk-HJFBEJT6.cjs');
9
- require('../chunk-T5QVCXVB.cjs');
8
+ var _chunkWS6QCYBRcjs = require('../chunk-WS6QCYBR.cjs');
10
9
 
11
10
 
12
11
 
@@ -14,4 +13,4 @@ require('../chunk-T5QVCXVB.cjs');
14
13
 
15
14
 
16
15
 
17
- exports.ProcessMetrics = _chunkHJFBEJT6cjs.ProcessMetrics; exports.closeHttpServer = _chunkHJFBEJT6cjs.closeHttpServer; exports.clusterMetrics = _chunkHJFBEJT6cjs.clusterMetrics; exports.getProcessMetrics = _chunkHJFBEJT6cjs.getProcessMetrics; exports.isOpsPath = _chunkHJFBEJT6cjs.isOpsPath; exports.startOpsServer = _chunkHJFBEJT6cjs.startOpsServer;
16
+ exports.ProcessMetrics = _chunkWS6QCYBRcjs.ProcessMetrics; exports.closeHttpServer = _chunkWS6QCYBRcjs.closeHttpServer; exports.clusterMetrics = _chunkWS6QCYBRcjs.clusterMetrics; exports.getProcessMetrics = _chunkWS6QCYBRcjs.getProcessMetrics; exports.isOpsPath = _chunkWS6QCYBRcjs.isOpsPath; exports.startOpsServer = _chunkWS6QCYBRcjs.startOpsServer;
package/ops/index.js CHANGED
@@ -5,8 +5,7 @@ import {
5
5
  getProcessMetrics,
6
6
  isOpsPath,
7
7
  startOpsServer
8
- } from "../chunk-A2CYL5LY.js";
9
- import "../chunk-6FNC3XMI.js";
8
+ } from "../chunk-AE6GKDIG.js";
10
9
  export {
11
10
  ProcessMetrics,
12
11
  closeHttpServer,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foxford/den",
3
- "version": "4.1.0",
3
+ "version": "4.2.1",
4
4
  "description": "Den — декларативный метафреймворк Foxford (core runtime)",
5
5
  "keywords": [
6
6
  "foxford",
@@ -9,11 +9,11 @@
9
9
  "ioc",
10
10
  "lifecycle"
11
11
  ],
12
- "homepage": "https://github.com/foxford/frontend-platform",
13
- "bugs": "https://github.com/foxford/frontend-platform/issues",
12
+ "homepage": "https://gitea.foxford.org/foxford/frontend-platform",
13
+ "bugs": "https://gitea.foxford.org/foxford/frontend-platform/issues",
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "git+https://github.com/foxford/frontend-platform.git",
16
+ "url": "git+https://gitea.foxford.org/foxford/frontend-platform.git",
17
17
  "directory": "packages/den"
18
18
  },
19
19
  "license": "MIT",
@@ -32,11 +32,12 @@
32
32
  "dependencies": {
33
33
  "@prometheus-io/client": "0.16.1",
34
34
  "fastify": "^5.12.1",
35
- "@foxford/ioc": "^1.1.2",
36
- "@foxford/logger": "^1.2.2"
35
+ "@foxford/browserslist-config": "^2.0.0",
36
+ "@foxford/logger": "^1.2.3",
37
+ "@foxford/ioc": "^1.1.2"
37
38
  },
38
39
  "peerDependencies": {
39
- "vite": ">=5.0.0"
40
+ "vite": ">=5.0.0 <8.0.0"
40
41
  },
41
42
  "peerDependenciesMeta": {
42
43
  "vite": {
@@ -95,26 +96,24 @@
95
96
  "adapter.js",
96
97
  "bin",
97
98
  "builder",
99
+ "chunk-2PK3VIG2.cjs",
98
100
  "chunk-3RX2OSUL.js",
99
- "chunk-6FNC3XMI.js",
100
101
  "chunk-6QV4L6R2.cjs",
101
- "chunk-7FOG2MJV.js",
102
- "chunk-A2CYL5LY.js",
103
102
  "chunk-A6ZPAM6Z.cjs",
103
+ "chunk-AE6GKDIG.js",
104
104
  "chunk-C7BM4DGX.cjs",
105
105
  "chunk-E23E2VUC.js",
106
106
  "chunk-E56BKBQZ.js",
107
107
  "chunk-H5DKRHHQ.cjs",
108
- "chunk-HJFBEJT6.cjs",
109
- "chunk-IATA5QZ7.cjs",
108
+ "chunk-HFORUNJV.js",
109
+ "chunk-I42ZL2FS.cjs",
110
110
  "chunk-KQAB6C6Q.cjs",
111
- "chunk-QTWJTYZW.cjs",
112
111
  "chunk-RG7ZV5BD.js",
113
- "chunk-T5QVCXVB.cjs",
112
+ "chunk-TEVB76QF.js",
114
113
  "chunk-TPBI6TOU.js",
115
114
  "chunk-WBHHHICS.js",
115
+ "chunk-WS6QCYBR.cjs",
116
116
  "chunk-XOJ2VWX4.cjs",
117
- "chunk-XQ7EHXHG.js",
118
117
  "define-repository-Ck45La_2.d.ts",
119
118
  "define-repository-DAyeXF48.d.cts",
120
119
  "define-slot-BTlLQ__T.d.ts",
@@ -143,6 +142,9 @@
143
142
  "view-adapter-CrHh7CjB.d.cts",
144
143
  "view-adapter-DPDvv09J.d.ts"
145
144
  ],
146
- "sha": "c941b51",
145
+ "sha": "33c6e78",
146
+ "publishConfig": {
147
+ "registry": "https://registry.npmjs.org/"
148
+ },
147
149
  "scripts": {}
148
150
  }