@cedarjs/ogimage-gen 6.0.0-canary.2773 → 6.0.0-canary.2774
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/dist/OgImageMiddleware.js +32 -62
- package/dist/getRoutesList.js +6 -40
- package/dist/hooks.js +4 -29
- package/dist/vite-plugin-ogimage-gen.js +12 -42
- package/package.json +13 -16
- package/cjsWrappers/hooks.js +0 -3
- package/cjsWrappers/middleware.js +0 -3
- package/cjsWrappers/plugin.js +0 -3
|
@@ -1,45 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var OgImageMiddleware_exports = {};
|
|
30
|
-
__export(OgImageMiddleware_exports, {
|
|
31
|
-
default: () => OgImageMiddleware
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(OgImageMiddleware_exports);
|
|
34
|
-
var import_node_path = __toESM(require("node:path"));
|
|
35
|
-
var import_react = require("react");
|
|
36
|
-
var import_memoize = __toESM(require("lodash/memoize.js"));
|
|
37
|
-
var import_mime_types = __toESM(require("mime-types"));
|
|
38
|
-
var import_server = require("react-dom/server");
|
|
39
|
-
var import_project_config = require("@cedarjs/project-config");
|
|
40
|
-
var import_router = require("@cedarjs/router");
|
|
41
|
-
var import_getRoutesList = require("./getRoutesList.js");
|
|
42
|
-
var import_hooks = require("./hooks.js");
|
|
1
|
+
import path from "node:path";
|
|
2
|
+
import { createElement } from "react";
|
|
3
|
+
import memoize from "lodash/memoize.js";
|
|
4
|
+
import mime from "mime-types";
|
|
5
|
+
import { renderToString } from "react-dom/server";
|
|
6
|
+
import { getPaths } from "@cedarjs/project-config";
|
|
7
|
+
import { LocationProvider, matchPath } from "@cedarjs/router";
|
|
8
|
+
import { getRoutesList } from "./getRoutesList.js";
|
|
9
|
+
import { OGIMAGE_DEFAULTS } from "./hooks.js";
|
|
43
10
|
const supportedExtensions = ["jpg", "png"];
|
|
44
11
|
class OgImageMiddleware {
|
|
45
12
|
options;
|
|
@@ -78,9 +45,9 @@ class OgImageMiddleware {
|
|
|
78
45
|
...parsedParams.params || {}
|
|
79
46
|
};
|
|
80
47
|
this.imageProps = {
|
|
81
|
-
width: mergedParams.width ? parseInt(mergedParams.width) :
|
|
82
|
-
height: mergedParams.height ? parseInt(mergedParams.height) :
|
|
83
|
-
quality: mergedParams.quality ? parseInt(mergedParams.quality) :
|
|
48
|
+
width: mergedParams.width ? parseInt(mergedParams.width) : OGIMAGE_DEFAULTS.width,
|
|
49
|
+
height: mergedParams.height ? parseInt(mergedParams.height) : OGIMAGE_DEFAULTS.height,
|
|
50
|
+
quality: mergedParams.quality ? parseInt(mergedParams.quality) : OGIMAGE_DEFAULTS.quality
|
|
84
51
|
};
|
|
85
52
|
const debug = !!mergedParams.debug;
|
|
86
53
|
const screenshotOptionsByFormat = {
|
|
@@ -107,19 +74,19 @@ class OgImageMiddleware {
|
|
|
107
74
|
const browser = await chromium.launch();
|
|
108
75
|
const page = await browser.newPage({ viewport: pageViewPort });
|
|
109
76
|
const cssPathsToUse = this.options.cssPaths || invokeOptions.cssPaths || [];
|
|
110
|
-
const htmlOutput =
|
|
111
|
-
|
|
112
|
-
|
|
77
|
+
const htmlOutput = renderToString(
|
|
78
|
+
createElement(
|
|
79
|
+
LocationProvider,
|
|
113
80
|
{
|
|
114
81
|
location: url
|
|
115
82
|
},
|
|
116
|
-
|
|
83
|
+
createElement(
|
|
117
84
|
this.Document,
|
|
118
85
|
{
|
|
119
86
|
css: cssPathsToUse,
|
|
120
87
|
meta: []
|
|
121
88
|
},
|
|
122
|
-
|
|
89
|
+
createElement(
|
|
123
90
|
this.App,
|
|
124
91
|
{},
|
|
125
92
|
this.componentElements({
|
|
@@ -144,18 +111,18 @@ class OgImageMiddleware {
|
|
|
144
111
|
mwResponse.headers.append(
|
|
145
112
|
"Content-Type",
|
|
146
113
|
// as string, because the lookup is guaranteed in this case
|
|
147
|
-
|
|
114
|
+
mime.lookup(extension)
|
|
148
115
|
);
|
|
149
116
|
mwResponse.body = new Uint8Array(image);
|
|
150
117
|
}
|
|
151
118
|
return mwResponse;
|
|
152
119
|
}
|
|
153
|
-
matchRoute = (
|
|
120
|
+
matchRoute = memoize(
|
|
154
121
|
async (routePathname, parsedParams) => {
|
|
155
122
|
let currentRoute;
|
|
156
|
-
const routes = await
|
|
123
|
+
const routes = await getRoutesList();
|
|
157
124
|
for (const route of routes) {
|
|
158
|
-
const { match, ...rest } =
|
|
125
|
+
const { match, ...rest } = matchPath(
|
|
159
126
|
route.pathDefinition,
|
|
160
127
|
routePathname
|
|
161
128
|
);
|
|
@@ -170,20 +137,20 @@ class OgImageMiddleware {
|
|
|
170
137
|
);
|
|
171
138
|
getOgComponentPath(currentRoute) {
|
|
172
139
|
if (process.env.NODE_ENV === "development") {
|
|
173
|
-
return
|
|
174
|
-
|
|
140
|
+
return path.join(
|
|
141
|
+
getPaths().web.src,
|
|
175
142
|
currentRoute.relativeFilePath.replace(/\.([jt]sx)/, `.og.$1`)
|
|
176
143
|
);
|
|
177
144
|
} else {
|
|
178
|
-
return `${
|
|
179
|
-
|
|
145
|
+
return `${path.join(
|
|
146
|
+
getPaths().web.distSsr,
|
|
180
147
|
"ogImage",
|
|
181
148
|
currentRoute.relativeFilePath.replace(/\.([jt]sx)/, "")
|
|
182
149
|
)}.og.mjs`;
|
|
183
150
|
}
|
|
184
151
|
}
|
|
185
152
|
get debugElement() {
|
|
186
|
-
return
|
|
153
|
+
return createElement(
|
|
187
154
|
"div",
|
|
188
155
|
{
|
|
189
156
|
style: {
|
|
@@ -196,7 +163,7 @@ class OgImageMiddleware {
|
|
|
196
163
|
height: this.imageProps?.height
|
|
197
164
|
}
|
|
198
165
|
},
|
|
199
|
-
|
|
166
|
+
createElement(
|
|
200
167
|
"div",
|
|
201
168
|
{
|
|
202
169
|
style: {
|
|
@@ -219,13 +186,13 @@ class OgImageMiddleware {
|
|
|
219
186
|
routeParams,
|
|
220
187
|
debug
|
|
221
188
|
}) {
|
|
222
|
-
const element =
|
|
189
|
+
const element = createElement(Component, {
|
|
223
190
|
data,
|
|
224
191
|
...routeParams
|
|
225
192
|
});
|
|
226
193
|
if (debug) {
|
|
227
194
|
return [
|
|
228
|
-
|
|
195
|
+
createElement(
|
|
229
196
|
"div",
|
|
230
197
|
{
|
|
231
198
|
style: { width: this.imageProps?.width }
|
|
@@ -256,3 +223,6 @@ class OgImageMiddleware {
|
|
|
256
223
|
}
|
|
257
224
|
}
|
|
258
225
|
}
|
|
226
|
+
export {
|
|
227
|
+
OgImageMiddleware as default
|
|
228
|
+
};
|
package/dist/getRoutesList.js
CHANGED
|
@@ -1,50 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var getRoutesList_exports = {};
|
|
30
|
-
__export(getRoutesList_exports, {
|
|
31
|
-
getRoutesList: () => getRoutesList
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(getRoutesList_exports);
|
|
34
|
-
var import_node_url = __toESM(require("node:url"));
|
|
35
|
-
var import_project_config = require("@cedarjs/project-config");
|
|
1
|
+
import url from "node:url";
|
|
2
|
+
import { getPaths } from "@cedarjs/project-config";
|
|
36
3
|
const getRoutesList = async () => {
|
|
37
|
-
const rwPaths =
|
|
4
|
+
const rwPaths = getPaths();
|
|
38
5
|
if (process.env.NODE_ENV === "development") {
|
|
39
6
|
const { getProjectRoutes } = await import("@cedarjs/internal/dist/routes.js");
|
|
40
7
|
return getProjectRoutes();
|
|
41
8
|
} else {
|
|
42
|
-
const routeManifestUrl =
|
|
9
|
+
const routeManifestUrl = url.pathToFileURL(rwPaths.web.routeManifest).href;
|
|
43
10
|
const routeManifest = (await import(routeManifestUrl, { with: { type: "json" } })).default;
|
|
44
11
|
return Object.values(routeManifest);
|
|
45
12
|
}
|
|
46
13
|
};
|
|
47
|
-
|
|
48
|
-
0 && (module.exports = {
|
|
14
|
+
export {
|
|
49
15
|
getRoutesList
|
|
50
|
-
}
|
|
16
|
+
};
|
package/dist/hooks.js
CHANGED
|
@@ -1,28 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var hooks_exports = {};
|
|
20
|
-
__export(hooks_exports, {
|
|
21
|
-
OGIMAGE_DEFAULTS: () => OGIMAGE_DEFAULTS,
|
|
22
|
-
useOgImage: () => useOgImage
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(hooks_exports);
|
|
25
|
-
var import_router = require("@cedarjs/router");
|
|
1
|
+
import { useLocation } from "@cedarjs/router";
|
|
26
2
|
const OGIMAGE_DEFAULTS = {
|
|
27
3
|
extension: "png",
|
|
28
4
|
width: 1200,
|
|
@@ -30,7 +6,7 @@ const OGIMAGE_DEFAULTS = {
|
|
|
30
6
|
quality: 100
|
|
31
7
|
};
|
|
32
8
|
const useOgImage = (options) => {
|
|
33
|
-
const { origin, pathname, searchParams: locationSearchParams } =
|
|
9
|
+
const { origin, pathname, searchParams: locationSearchParams } = useLocation();
|
|
34
10
|
const ext = options?.extension || OGIMAGE_DEFAULTS.extension;
|
|
35
11
|
const width = options?.width;
|
|
36
12
|
const height = options?.height;
|
|
@@ -78,8 +54,7 @@ const useOgImage = (options) => {
|
|
|
78
54
|
}
|
|
79
55
|
};
|
|
80
56
|
};
|
|
81
|
-
|
|
82
|
-
0 && (module.exports = {
|
|
57
|
+
export {
|
|
83
58
|
OGIMAGE_DEFAULTS,
|
|
84
59
|
useOgImage
|
|
85
|
-
}
|
|
60
|
+
};
|
|
@@ -1,52 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var vite_plugin_ogimage_gen_exports = {};
|
|
30
|
-
__export(vite_plugin_ogimage_gen_exports, {
|
|
31
|
-
default: () => vite_plugin_ogimage_gen_default
|
|
32
|
-
});
|
|
33
|
-
module.exports = __toCommonJS(vite_plugin_ogimage_gen_exports);
|
|
34
|
-
var import_node_fs = __toESM(require("node:fs"));
|
|
35
|
-
var import_node_path = __toESM(require("node:path"));
|
|
36
|
-
var import_fast_glob = __toESM(require("fast-glob"));
|
|
37
|
-
var import_project_config = require("@cedarjs/project-config");
|
|
1
|
+
import fs from "node:fs";
|
|
2
|
+
import path from "node:path";
|
|
3
|
+
import fg from "fast-glob";
|
|
4
|
+
import { ensurePosixPath, getPaths } from "@cedarjs/project-config";
|
|
38
5
|
function vitePluginOgImageGen() {
|
|
39
|
-
const rwPaths =
|
|
40
|
-
const allOgComponents =
|
|
6
|
+
const rwPaths = getPaths();
|
|
7
|
+
const allOgComponents = fg.sync("pages/**/*.og.{jsx,tsx}", {
|
|
41
8
|
cwd: rwPaths.web.src,
|
|
42
9
|
absolute: true,
|
|
43
10
|
// @MARK This allows us to mock the fs module in tests
|
|
44
|
-
fs
|
|
11
|
+
fs
|
|
45
12
|
});
|
|
46
13
|
const ogComponentInput = {};
|
|
47
14
|
allOgComponents.forEach((ogComponentPath) => {
|
|
48
|
-
const pathKey =
|
|
49
|
-
ogComponentInput[`ogImage/${
|
|
15
|
+
const pathKey = path.relative(rwPaths.web.src, ogComponentPath).replace(/\.[jt]sx?$/, "");
|
|
16
|
+
ogComponentInput[`ogImage/${ensurePosixPath(pathKey)}`] = ogComponentPath;
|
|
50
17
|
});
|
|
51
18
|
return {
|
|
52
19
|
name: "rw-vite-plugin-ogimage-gen",
|
|
@@ -68,3 +35,6 @@ function vitePluginOgImageGen() {
|
|
|
68
35
|
};
|
|
69
36
|
}
|
|
70
37
|
var vite_plugin_ogimage_gen_default = vitePluginOgImageGen;
|
|
38
|
+
export {
|
|
39
|
+
vite_plugin_ogimage_gen_default as default
|
|
40
|
+
};
|
package/package.json
CHANGED
|
@@ -1,55 +1,52 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/ogimage-gen",
|
|
3
|
-
"version": "6.0.0-canary.
|
|
3
|
+
"version": "6.0.0-canary.2774",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
7
7
|
"directory": "packages/ogimage-gen"
|
|
8
8
|
},
|
|
9
9
|
"license": "MIT",
|
|
10
|
-
"type": "
|
|
10
|
+
"type": "module",
|
|
11
11
|
"exports": {
|
|
12
12
|
"./plugin": {
|
|
13
13
|
"types": "./dist/vite-plugin-ogimage-gen.d.ts",
|
|
14
|
-
"
|
|
15
|
-
"default": "./cjsWrappers/plugin.js"
|
|
14
|
+
"default": "./dist/vite-plugin-ogimage-gen.js"
|
|
16
15
|
},
|
|
17
16
|
"./middleware": {
|
|
18
17
|
"types": "./dist/OgImageMiddleware.d.ts",
|
|
19
|
-
"import": "./dist/OgImageMiddleware.js",
|
|
20
18
|
"react-server": "./empty.js",
|
|
21
|
-
"default": "./
|
|
19
|
+
"default": "./dist/OgImageMiddleware.js"
|
|
22
20
|
},
|
|
23
21
|
"./hooks": {
|
|
24
22
|
"types": "./dist/hooks.d.ts",
|
|
25
|
-
"
|
|
26
|
-
"default": "./cjsWrappers/hooks.js"
|
|
23
|
+
"default": "./dist/hooks.js"
|
|
27
24
|
}
|
|
28
25
|
},
|
|
29
26
|
"files": [
|
|
30
27
|
"dist",
|
|
31
|
-
"cjsWrappers",
|
|
32
28
|
"empty.js"
|
|
33
29
|
],
|
|
34
30
|
"scripts": {
|
|
35
|
-
"build": "node ./build.mts
|
|
31
|
+
"build": "node ./build.mts",
|
|
36
32
|
"build:pack": "yarn pack -o cedarjs-ogimage-gen.tgz",
|
|
37
|
-
"build:types": "tsc --build --verbose",
|
|
33
|
+
"build:types": "tsc --build --verbose ./tsconfig.build.json",
|
|
38
34
|
"prepublishOnly": "NODE_ENV=production yarn build",
|
|
39
35
|
"test": "vitest run",
|
|
40
36
|
"test:watch": "vitest watch"
|
|
41
37
|
},
|
|
42
38
|
"dependencies": {
|
|
43
|
-
"@cedarjs/internal": "6.0.0-canary.
|
|
44
|
-
"@cedarjs/project-config": "6.0.0-canary.
|
|
39
|
+
"@cedarjs/internal": "6.0.0-canary.2774",
|
|
40
|
+
"@cedarjs/project-config": "6.0.0-canary.2774",
|
|
45
41
|
"fast-glob": "3.3.3",
|
|
46
42
|
"lodash": "4.18.1",
|
|
47
43
|
"react": "19.2.3",
|
|
48
44
|
"react-dom": "19.2.3"
|
|
49
45
|
},
|
|
50
46
|
"devDependencies": {
|
|
51
|
-
"@cedarjs/framework-tools": "6.0.0-canary.
|
|
52
|
-
"@cedarjs/router": "6.0.0-canary.
|
|
47
|
+
"@cedarjs/framework-tools": "6.0.0-canary.2774",
|
|
48
|
+
"@cedarjs/router": "6.0.0-canary.2774",
|
|
49
|
+
"@cedarjs/web": "6.0.0-canary.2774",
|
|
53
50
|
"@playwright/test": "1.61.1",
|
|
54
51
|
"ts-toolbelt": "9.6.0",
|
|
55
52
|
"typescript": "5.9.3",
|
|
@@ -57,7 +54,7 @@
|
|
|
57
54
|
"vitest": "4.1.10"
|
|
58
55
|
},
|
|
59
56
|
"peerDependencies": {
|
|
60
|
-
"@cedarjs/router": "6.0.0-canary.
|
|
57
|
+
"@cedarjs/router": "6.0.0-canary.2774"
|
|
61
58
|
},
|
|
62
59
|
"engines": {
|
|
63
60
|
"node": ">=24"
|
package/cjsWrappers/hooks.js
DELETED
package/cjsWrappers/plugin.js
DELETED