create-comity
Advanced tools
+1
-1
| { | ||
| "name": "create-comity", | ||
| "version": "0.4.0", | ||
| "version": "0.4.1", | ||
| "description": "Starter for Comity", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -12,3 +12,3 @@ { | ||
| "dependencies": { | ||
| "@comity/islands": "^0.4.0", | ||
| "@comity/islands": "^0.4.1", | ||
| "alpinejs": "^3.14.9", | ||
@@ -15,0 +15,0 @@ "hono": "^4.7.5" |
@@ -10,3 +10,3 @@ { | ||
| "dependencies": { | ||
| "@comity/graphql": "^0.4.0", | ||
| "@comity/graphql": "^0.4.1", | ||
| "@envelop/core": "^5.2.3", | ||
@@ -13,0 +13,0 @@ "graphql": "^16.10.0", |
@@ -12,3 +12,3 @@ { | ||
| "dependencies": { | ||
| "@comity/islands": "^0.4.0", | ||
| "@comity/islands": "^0.4.1", | ||
| "hono": "^4.7.5" | ||
@@ -15,0 +15,0 @@ }, |
@@ -12,4 +12,4 @@ { | ||
| "dependencies": { | ||
| "@comity/islands": "^0.4.0", | ||
| "@comity/preact": "^0.4.0", | ||
| "@comity/islands": "^0.4.1", | ||
| "@comity/preact": "^0.4.1", | ||
| "@nanostores/preact": "^0.5.2", | ||
@@ -16,0 +16,0 @@ "hono": "^4.7.5", |
@@ -12,4 +12,4 @@ { | ||
| "dependencies": { | ||
| "@comity/islands": "^0.4.0", | ||
| "@comity/react": "^0.4.0", | ||
| "@comity/islands": "^0.4.1", | ||
| "@comity/react": "^0.4.1", | ||
| "@nanostores/react": "^0.8.4", | ||
@@ -28,4 +28,4 @@ "hono": "^4.7.5", | ||
| "vite": "^6.2.3", | ||
| "wrangler": "^3.114.3" | ||
| "wrangler": "^4.6.0" | ||
| } | ||
| } |
| import { reactRenderer } from '@comity/react'; | ||
| import { renderToStream } from '@comity/react/streaming'; | ||
@@ -19,3 +20,12 @@ export const renderer = reactRenderer( | ||
| }, | ||
| { stream: true } | ||
| { | ||
| stream: { | ||
| renderToStream, | ||
| options: { | ||
| onError(error) { | ||
| console.error('Error rendering to stream:', error); | ||
| }, | ||
| }, | ||
| }, | ||
| } | ||
| ); |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
57827
0.37%1715
0.59%