@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/README.mdx +13 -0
- package/adapter.cjs +0 -1
- package/adapter.js +0 -1
- package/bin/den.cjs +27 -32
- package/bin/den.js +27 -32
- package/builder/index.cjs +2 -3
- package/builder/index.d.cts +3 -2
- package/builder/index.d.ts +3 -2
- package/builder/index.js +1 -2
- package/{chunk-IATA5QZ7.cjs → chunk-2PK3VIG2.cjs} +174 -181
- package/{chunk-A2CYL5LY.js → chunk-AE6GKDIG.js} +47 -55
- package/{chunk-7FOG2MJV.js → chunk-HFORUNJV.js} +175 -182
- package/{chunk-QTWJTYZW.cjs → chunk-I42ZL2FS.cjs} +43 -51
- package/{chunk-XQ7EHXHG.js → chunk-TEVB76QF.js} +44 -52
- package/{chunk-HJFBEJT6.cjs → chunk-WS6QCYBR.cjs} +48 -56
- package/define.cjs +0 -1
- package/define.js +0 -1
- package/index.cjs +50 -67
- package/index.js +51 -68
- package/island/index.cjs +3 -6
- package/island/index.js +2 -5
- package/ops/index.cjs +2 -3
- package/ops/index.js +1 -2
- package/package.json +18 -16
- package/serve/index.cjs +257 -270
- package/serve/index.js +254 -267
- package/chunk-6FNC3XMI.js +0 -45
- package/chunk-T5QVCXVB.cjs +0 -45
package/island/index.cjs
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
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,
|
|
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 =
|
|
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-
|
|
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,
|
|
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
|
|
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 =
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foxford/den",
|
|
3
|
-
"version": "4.1
|
|
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://
|
|
13
|
-
"bugs": "https://
|
|
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://
|
|
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/
|
|
36
|
-
"@foxford/logger": "^1.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-
|
|
109
|
-
"chunk-
|
|
108
|
+
"chunk-HFORUNJV.js",
|
|
109
|
+
"chunk-I42ZL2FS.cjs",
|
|
110
110
|
"chunk-KQAB6C6Q.cjs",
|
|
111
|
-
"chunk-QTWJTYZW.cjs",
|
|
112
111
|
"chunk-RG7ZV5BD.js",
|
|
113
|
-
"chunk-
|
|
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": "
|
|
145
|
+
"sha": "33c6e78",
|
|
146
|
+
"publishConfig": {
|
|
147
|
+
"registry": "https://registry.npmjs.org/"
|
|
148
|
+
},
|
|
147
149
|
"scripts": {}
|
|
148
150
|
}
|