nextjs-server-modules
Advanced tools
Comparing version 2.0.2 to 2.1.0
@@ -109,3 +109,11 @@ import routes from "./generated_routes" | ||
}) | ||
server.listen(port) | ||
await new Promise<void>((resolve, reject) => { | ||
server.once('error', (err) => { | ||
if (err) reject(err) | ||
}) | ||
server.listen(port, () => { | ||
resolve() | ||
}) | ||
}) | ||
return server | ||
@@ -112,0 +120,0 @@ } |
{ | ||
"name": "nextjs-server-modules", | ||
"version": "2.0.2", | ||
"version": "2.1.0", | ||
"main": "bin.js", | ||
@@ -5,0 +5,0 @@ "repository": "git@github.com:hello-seam/nextjs-server-modules.git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59749
1737