nitro-nightly 3.0.1-20251106-162352-5419b335 → 3.0.1-20251106-162906-9faec44f
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,7 +1,7 @@
|
|
|
1
1
|
import "#nitro-internal-pollyfills";
|
|
2
2
|
import { serve } from "srvx/bun";
|
|
3
3
|
import { useNitroApp } from "nitro/runtime";
|
|
4
|
-
import { trapUnhandledErrors } from "nitro/runtime/internal";
|
|
4
|
+
import { trapUnhandledErrors, startScheduleRunner } from "nitro/runtime/internal";
|
|
5
5
|
const port = Number.parseInt(process.env.NITRO_PORT || process.env.PORT || "") || 3e3;
|
|
6
6
|
const host = process.env.NITRO_HOST || process.env.HOST;
|
|
7
7
|
const cert = process.env.NITRO_SSL_CERT;
|
|
@@ -21,7 +21,6 @@ serve({
|
|
|
21
21
|
trapUnhandledErrors();
|
|
22
22
|
// Scheduled tasks
|
|
23
23
|
if (import.meta._tasks) {
|
|
24
|
-
const { startScheduleRunner } = await import("nitro/runtime/internal");
|
|
25
24
|
startScheduleRunner();
|
|
26
25
|
}
|
|
27
26
|
export default {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "#nitro-internal-pollyfills";
|
|
2
2
|
import { serve } from "srvx/deno";
|
|
3
3
|
import { useNitroApp } from "nitro/runtime";
|
|
4
|
-
import { trapUnhandledErrors } from "nitro/runtime/internal";
|
|
4
|
+
import { trapUnhandledErrors, startScheduleRunner } from "nitro/runtime/internal";
|
|
5
5
|
const port = Number.parseInt(process.env.NITRO_PORT || process.env.PORT || "") || 3e3;
|
|
6
6
|
const host = process.env.NITRO_HOST || process.env.HOST;
|
|
7
7
|
const cert = process.env.NITRO_SSL_CERT;
|
|
@@ -21,7 +21,6 @@ serve({
|
|
|
21
21
|
trapUnhandledErrors();
|
|
22
22
|
// Scheduled tasks
|
|
23
23
|
if (import.meta._tasks) {
|
|
24
|
-
const { startScheduleRunner } = await import("nitro/runtime/internal");
|
|
25
24
|
startScheduleRunner();
|
|
26
25
|
}
|
|
27
26
|
export default {};
|
|
@@ -2,7 +2,7 @@ import "#nitro-internal-pollyfills";
|
|
|
2
2
|
import cluster from "node:cluster";
|
|
3
3
|
import { serve } from "srvx/node";
|
|
4
4
|
import { useNitroApp } from "nitro/runtime";
|
|
5
|
-
import { trapUnhandledErrors } from "nitro/runtime/internal";
|
|
5
|
+
import { trapUnhandledErrors, startScheduleRunner } from "nitro/runtime/internal";
|
|
6
6
|
const port = Number.parseInt(process.env.NITRO_PORT || process.env.PORT || "") || 3e3;
|
|
7
7
|
const host = process.env.NITRO_HOST || process.env.HOST;
|
|
8
8
|
const cert = process.env.NITRO_SSL_CERT;
|
|
@@ -28,7 +28,6 @@ serve({
|
|
|
28
28
|
trapUnhandledErrors();
|
|
29
29
|
// Scheduled tasks
|
|
30
30
|
if (import.meta._tasks) {
|
|
31
|
-
const { startScheduleRunner } = await import("nitro/runtime/internal");
|
|
32
31
|
startScheduleRunner();
|
|
33
32
|
}
|
|
34
33
|
export default {};
|
package/package.json
CHANGED