@cedarjs/ogimage-gen 1.0.0-canary.12749 → 1.0.0

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.
@@ -240,8 +240,8 @@ class OgImageMiddleware {
240
240
  }
241
241
  async importComponent(filePath, invokeOptions) {
242
242
  try {
243
- if (invokeOptions.viteSsrDevServer) {
244
- const { data, output } = await invokeOptions.viteSsrDevServer.ssrLoadModule(filePath);
243
+ if (invokeOptions.viteDevServer) {
244
+ const { data, output } = await invokeOptions.viteDevServer.ssrLoadModule(filePath);
245
245
  return { data, Component: output };
246
246
  } else {
247
247
  const { data, output } = await import(filePath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/ogimage-gen",
3
- "version": "1.0.0-canary.12749+b56167a72",
3
+ "version": "1.0.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cedarjs/cedar.git",
@@ -40,17 +40,17 @@
40
40
  "test:watch": "vitest watch"
41
41
  },
42
42
  "dependencies": {
43
- "@cedarjs/internal": "1.0.0-canary.12749",
44
- "@cedarjs/project-config": "1.0.0-canary.12749",
45
- "@cedarjs/router": "1.0.0-canary.12749",
46
- "@cedarjs/web": "1.0.0-canary.12749",
43
+ "@cedarjs/internal": "1.0.0",
44
+ "@cedarjs/project-config": "1.0.0",
45
+ "@cedarjs/router": "1.0.0",
46
+ "@cedarjs/web": "1.0.0",
47
47
  "fast-glob": "3.3.3",
48
48
  "lodash": "4.17.21",
49
- "react": "19.0.0-rc-f2df5694-20240916",
50
- "react-dom": "19.0.0-rc-f2df5694-20240916"
49
+ "react": "18.3.1",
50
+ "react-dom": "18.3.1"
51
51
  },
52
52
  "devDependencies": {
53
- "@cedarjs/framework-tools": "1.0.0-canary.12749",
53
+ "@cedarjs/framework-tools": "1.0.0",
54
54
  "@playwright/test": "1.55.0",
55
55
  "ts-toolbelt": "9.6.0",
56
56
  "tsx": "4.20.5",
@@ -61,5 +61,5 @@
61
61
  "publishConfig": {
62
62
  "access": "public"
63
63
  },
64
- "gitHead": "b56167a72490d585fd4ce0ecb34235c9a39fa4f5"
64
+ "gitHead": "218be19197bf0f883896bc229b973afe9448a3ce"
65
65
  }