@cedarjs/ogimage-gen 1.0.0-canary.12661 → 1.0.0-canary.12663
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 +2 -2
- package/dist/hooks.d.ts.map +1 -1
- package/package.json +8 -8
|
@@ -45,7 +45,7 @@ class OgImageMiddleware {
|
|
|
45
45
|
options;
|
|
46
46
|
App;
|
|
47
47
|
Document;
|
|
48
|
-
// Initialized in invoke()
|
|
48
|
+
// Initialized in invoke()
|
|
49
49
|
imageProps;
|
|
50
50
|
constructor(options) {
|
|
51
51
|
this.options = options;
|
|
@@ -146,7 +146,7 @@ class OgImageMiddleware {
|
|
|
146
146
|
// as string, because the lookup is guaranteed in this case
|
|
147
147
|
import_mime_types.default.lookup(extension)
|
|
148
148
|
);
|
|
149
|
-
mwResponse.body = image;
|
|
149
|
+
mwResponse.body = new Uint8Array(image);
|
|
150
150
|
}
|
|
151
151
|
return mwResponse;
|
|
152
152
|
}
|
package/dist/hooks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../src/hooks.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,YAAY,CAAC,EAAE,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACxD,CAAA;AAED,eAAO,MAAM,gBAAgB;;;;;CAK5B,CAAA;AAED,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../src/hooks.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,YAAY,CAAC,EAAE,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACxD,CAAA;AAED,eAAO,MAAM,gBAAgB;;;;;CAK5B,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,UAAU,iBAAiB;;;;;;;;;;;;CA2DrD,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/ogimage-gen",
|
|
3
|
-
"version": "1.0.0-canary.
|
|
3
|
+
"version": "1.0.0-canary.12663+6233d3f76",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -40,26 +40,26 @@
|
|
|
40
40
|
"test:watch": "vitest watch"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@cedarjs/internal": "1.0.0-canary.
|
|
44
|
-
"@cedarjs/project-config": "1.0.0-canary.
|
|
45
|
-
"@cedarjs/router": "1.0.0-canary.
|
|
46
|
-
"@cedarjs/web": "1.0.0-canary.
|
|
43
|
+
"@cedarjs/internal": "1.0.0-canary.12663",
|
|
44
|
+
"@cedarjs/project-config": "1.0.0-canary.12663",
|
|
45
|
+
"@cedarjs/router": "1.0.0-canary.12663",
|
|
46
|
+
"@cedarjs/web": "1.0.0-canary.12663",
|
|
47
47
|
"fast-glob": "3.3.3",
|
|
48
48
|
"lodash": "4.17.21",
|
|
49
49
|
"react": "19.0.0-rc-f2df5694-20240916",
|
|
50
50
|
"react-dom": "19.0.0-rc-f2df5694-20240916"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@cedarjs/framework-tools": "1.0.0-canary.
|
|
53
|
+
"@cedarjs/framework-tools": "1.0.0-canary.12663",
|
|
54
54
|
"@playwright/test": "1.55.0",
|
|
55
55
|
"ts-toolbelt": "9.6.0",
|
|
56
56
|
"tsx": "4.20.5",
|
|
57
|
-
"typescript": "5.
|
|
57
|
+
"typescript": "5.9.2",
|
|
58
58
|
"vite": "5.4.19",
|
|
59
59
|
"vitest": "3.2.4"
|
|
60
60
|
},
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "6233d3f76bfa606588753ca17971a4ccd018f208"
|
|
65
65
|
}
|