@cedarjs/prerender 8.0.0-canary.3625 → 8.0.0-canary.3626

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.
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,eAAe,cAM3B,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,YAAY,MAAM,SAiC/C,CAAA;AAED,eAAO,MAAM,WAAW,GAAI,gBAAgB,MAAM,EAAE,cAAc,MAAM,SAQvE,CAAA;AAGD;;;GAGG;AACH,eAAO,MAAM,0BAA0B;;;CA0BtC,CAAA;AAED,KAAK,uBAAuB,GAAG;IAC7B,eAAe,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CACtE,CAAA;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,uBAAuB,EAC/B,OAAO,EAAE,MAAM;UAsBQ,MAAM;iBAAe,MAAM;IAkBnD"}
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,eAAe,cAM3B,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,YAAY,MAAM,SA2B/C,CAAA;AAED,eAAO,MAAM,WAAW,GAAI,gBAAgB,MAAM,EAAE,cAAc,MAAM,SAQvE,CAAA;AAGD;;;GAGG;AACH,eAAO,MAAM,0BAA0B;;;CA0BtC,CAAA;AAED,KAAK,uBAAuB,GAAG;IAC7B,eAAe,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CACtE,CAAA;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,uBAAuB,EAC/B,OAAO,EAAE,MAAM;UAsBQ,MAAM;iBAAe,MAAM;IAkBnD"}
package/dist/internal.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import fs from "node:fs";
2
2
  import path from "path";
3
- import { fetch } from "@whatwg-node/fetch";
4
3
  import { parseConfigFileTextToJson } from "typescript";
5
4
  import { getConfig, getPaths } from "@cedarjs/project-config";
6
5
  const INDEX_FILE = path.join(getPaths().web.dist, "index.html");
@@ -29,9 +28,6 @@ const registerShims = (routerPath) => {
29
28
  ...globalThis.location,
30
29
  pathname: routerPath
31
30
  };
32
- if (!globalThis.fetch) {
33
- globalThis.fetch = fetch;
34
- }
35
31
  };
36
32
  const writeToDist = (outputHtmlPath, renderOutput) => {
37
33
  const dirName = path.dirname(outputHtmlPath);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/prerender",
3
- "version": "8.0.0-canary.3625",
3
+ "version": "8.0.0-canary.3626",
4
4
  "description": "CedarJS prerender",
5
5
  "repository": {
6
6
  "type": "git",
@@ -41,15 +41,14 @@
41
41
  "@babel/parser": "7.29.12",
42
42
  "@babel/traverse": "7.29.12",
43
43
  "@babel/types": "7.29.11",
44
- "@cedarjs/project-config": "8.0.0-canary.3625",
45
- "@cedarjs/structure": "8.0.0-canary.3625",
46
- "@cedarjs/vite": "8.0.0-canary.3625",
44
+ "@cedarjs/project-config": "8.0.0-canary.3626",
45
+ "@cedarjs/structure": "8.0.0-canary.3626",
46
+ "@cedarjs/vite": "8.0.0-canary.3626",
47
47
  "@rollup/plugin-alias": "5.1.1",
48
48
  "@rollup/plugin-commonjs": "28.0.9",
49
49
  "@rollup/plugin-node-resolve": "16.0.3",
50
50
  "@rollup/plugin-replace": "6.0.3",
51
51
  "@swc/core": "1.16.21",
52
- "@whatwg-node/fetch": "0.12.1",
53
52
  "cheerio": "1.2.0",
54
53
  "graphql": "16.14.2",
55
54
  "mime-types": "2.1.35",
@@ -60,9 +59,9 @@
60
59
  "vite": "7.3.7"
61
60
  },
62
61
  "devDependencies": {
63
- "@cedarjs/framework-tools": "8.0.0-canary.3625",
64
- "@cedarjs/router": "8.0.0-canary.3625",
65
- "@cedarjs/web": "8.0.0-canary.3625",
62
+ "@cedarjs/framework-tools": "8.0.0-canary.3626",
63
+ "@cedarjs/router": "8.0.0-canary.3626",
64
+ "@cedarjs/web": "8.0.0-canary.3626",
66
65
  "@types/mime-types": "2.1.4",
67
66
  "@types/react": "^19.2.0",
68
67
  "concurrently": "9.2.5",
@@ -71,8 +70,8 @@
71
70
  "vitest": "5.0.5"
72
71
  },
73
72
  "peerDependencies": {
74
- "@cedarjs/router": "8.0.0-canary.3625",
75
- "@cedarjs/web": "8.0.0-canary.3625",
73
+ "@cedarjs/router": "8.0.0-canary.3626",
74
+ "@cedarjs/web": "8.0.0-canary.3626",
76
75
  "react": "19.3.1",
77
76
  "react-dom": "19.3.1"
78
77
  },