@absolutejs/absolute 0.20.0-beta.162 → 0.20.0-beta.163
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/CHANGELOG.md +7 -0
- package/changelog.json +11 -0
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/cli/{index-f82hvr9c.js → index-vkba3289.js} +5 -0
- package/dist/cli/index.js +3 -3
- package/dist/cli/{mobile-2f54v4by.js → mobile-41sev6v0.js} +1 -1
- package/dist/cli/{start-0bx1rkx4.js → start-0ebxkwga.js} +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,13 @@ This file is generated by `absolute-changelog` from the entries in
|
|
|
6
6
|
`changelog/`. Edit an entry, not this file — and add new ones under
|
|
7
7
|
`changelog/unreleased/`.
|
|
8
8
|
|
|
9
|
+
## 0.20.0-beta.163 — 2026-11-02
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **Stopping `absolute start` also stops the server it started**
|
|
14
|
+
Stopping an `absolute start` that had built (not `--prebuilt`) with SIGTERM left the server it spawned running and holding its port. The build directory lock handles SIGTERM by releasing its locks and exiting, and its handler is registered while the build runs, before `absolute start` installs the one that stops the server, so the process exited first. `absolute start` now also stops its server from an `exit` listener, which runs on any exit, `process.exit` included, as `absolute dev` already does for its child.
|
|
15
|
+
|
|
9
16
|
## 0.20.0-beta.162 — 2026-11-02
|
|
10
17
|
|
|
11
18
|
### Fixed
|
package/changelog.json
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
"contract": 1,
|
|
3
3
|
"name": "@absolutejs/absolute",
|
|
4
4
|
"releases": [
|
|
5
|
+
{
|
|
6
|
+
"changes": [
|
|
7
|
+
{
|
|
8
|
+
"detail": "Stopping an `absolute start` that had built (not `--prebuilt`) with SIGTERM left the server it spawned running and holding its port. The build directory lock handles SIGTERM by releasing its locks and exiting, and its handler is registered while the build runs, before `absolute start` installs the one that stops the server, so the process exited first. `absolute start` now also stops its server from an `exit` listener, which runs on any exit, `process.exit` included, as `absolute dev` already does for its child.",
|
|
9
|
+
"kind": "fixed",
|
|
10
|
+
"summary": "Stopping `absolute start` also stops the server it started"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"date": "2026-11-02",
|
|
14
|
+
"version": "0.20.0-beta.163"
|
|
15
|
+
},
|
|
5
16
|
{
|
|
6
17
|
"changes": [
|
|
7
18
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
// .angular-partial-tmp-
|
|
2
|
+
// .angular-partial-tmp-IZlOYE/src/core/streamingSlotRegistrar.ts
|
|
3
3
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
4
4
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
5
5
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
// .angular-partial-tmp-
|
|
2
|
+
// .angular-partial-tmp-IZlOYE/src/core/streamingSlotRegistrar.ts
|
|
3
3
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
4
4
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
5
5
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -46,7 +46,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
|
|
|
46
46
|
getWarningController()?.maybeWarn(primitiveName);
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
-
// .angular-partial-tmp-
|
|
49
|
+
// .angular-partial-tmp-IZlOYE/src/core/streamingSlotRegistry.ts
|
|
50
50
|
var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
|
|
51
51
|
var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
|
|
52
52
|
var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
|
|
@@ -282,6 +282,11 @@ var runPreparedServer = async ({
|
|
|
282
282
|
};
|
|
283
283
|
process.on("SIGINT", () => cleanup(0));
|
|
284
284
|
process.on("SIGTERM", () => cleanup(0));
|
|
285
|
+
process.on("exit", () => {
|
|
286
|
+
try {
|
|
287
|
+
serverProcess.kill();
|
|
288
|
+
} catch {}
|
|
289
|
+
});
|
|
285
290
|
const exitCode = await serverProcess.exited;
|
|
286
291
|
if (cleaning)
|
|
287
292
|
return;
|
package/dist/cli/index.js
CHANGED
|
@@ -70,7 +70,7 @@ if (command === "dev") {
|
|
|
70
70
|
const configPath = parseNamedArg("--config");
|
|
71
71
|
const positionalArgs = stripNamedArgs("--outdir", "--config").filter((arg) => arg !== "--prebuilt");
|
|
72
72
|
const serverEntry = positionalArgs[0] ?? DEFAULT_SERVER_ENTRY;
|
|
73
|
-
const { start } = await import("./start-
|
|
73
|
+
const { start } = await import("./start-0ebxkwga.js");
|
|
74
74
|
await start(serverEntry, outdir, configPath, {
|
|
75
75
|
prebuilt: args.includes("--prebuilt")
|
|
76
76
|
});
|
|
@@ -80,7 +80,7 @@ if (command === "dev") {
|
|
|
80
80
|
const configPath = parseNamedArg("--config");
|
|
81
81
|
const positionalArgs = stripNamedArgs("--outdir", "--config");
|
|
82
82
|
const serverEntry = positionalArgs[0] ?? DEFAULT_SERVER_ENTRY;
|
|
83
|
-
const { start } = await import("./start-
|
|
83
|
+
const { start } = await import("./start-0ebxkwga.js");
|
|
84
84
|
await start(serverEntry, outdir, configPath, { prepareOnly: true });
|
|
85
85
|
} else if (command === "build") {
|
|
86
86
|
sendTelemetryEvent("cli:command", { command });
|
|
@@ -211,7 +211,7 @@ if (command === "dev") {
|
|
|
211
211
|
sendTelemetryEvent("cli:command", {
|
|
212
212
|
command: `mobile:${workspaceCommand ?? "unknown"}`
|
|
213
213
|
});
|
|
214
|
-
const { runMobile } = await import("./mobile-
|
|
214
|
+
const { runMobile } = await import("./mobile-41sev6v0.js");
|
|
215
215
|
try {
|
|
216
216
|
await runMobile(args);
|
|
217
217
|
} catch (error) {
|