@absolutejs/absolute 0.19.0-beta.1117 → 0.19.0-beta.1118
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
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-9g0PhY/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-9g0PhY/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -48,7 +48,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
|
|
|
48
48
|
getWarningController()?.maybeWarn(primitiveName);
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
-
// .angular-partial-tmp-
|
|
51
|
+
// .angular-partial-tmp-9g0PhY/src/core/streamingSlotRegistry.ts
|
|
52
52
|
var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
|
|
53
53
|
var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
|
|
54
54
|
var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
|
package/dist/cli/index.js
CHANGED
|
@@ -171660,7 +171660,7 @@ import {
|
|
|
171660
171660
|
writeFileSync as writeFileSync7
|
|
171661
171661
|
} from "fs";
|
|
171662
171662
|
import { tmpdir as tmpdir2 } from "os";
|
|
171663
|
-
import { dirname as dirname5, relative as relative2, resolve as resolve11 } from "path";
|
|
171663
|
+
import { delimiter, dirname as dirname5, relative as relative2, resolve as resolve11 } from "path";
|
|
171664
171664
|
var DEFAULT_PROOF_LOCATION = ".absolutejs/lint-proof.json", PROOF_CONTRACT_VERSION = 1, runGit = (args, options) => {
|
|
171665
171665
|
const proc = Bun.spawnSync(["git", ...args], {
|
|
171666
171666
|
cwd: options.cwd,
|
|
@@ -171682,7 +171682,19 @@ var DEFAULT_PROOF_LOCATION = ".absolutejs/lint-proof.json", PROOF_CONTRACT_VERSI
|
|
|
171682
171682
|
}
|
|
171683
171683
|
const temporaryDirectory = mkdtempSync(resolve11(tmpdir2(), "absolute-lint-proof-"));
|
|
171684
171684
|
const temporaryIndex = resolve11(temporaryDirectory, "index");
|
|
171685
|
-
const
|
|
171685
|
+
const temporaryObjects = resolve11(temporaryDirectory, "objects");
|
|
171686
|
+
mkdirSync8(temporaryObjects, { recursive: true });
|
|
171687
|
+
const repositoryObjectsPath = runGit(["rev-parse", "--git-path", "objects"], { cwd: root });
|
|
171688
|
+
const repositoryObjects = resolve11(root, repositoryObjectsPath);
|
|
171689
|
+
const existingAlternates = process.env.GIT_ALTERNATE_OBJECT_DIRECTORIES?.trim();
|
|
171690
|
+
const env3 = {
|
|
171691
|
+
GIT_ALTERNATE_OBJECT_DIRECTORIES: [
|
|
171692
|
+
repositoryObjects,
|
|
171693
|
+
...existingAlternates ? [existingAlternates] : []
|
|
171694
|
+
].join(delimiter),
|
|
171695
|
+
GIT_INDEX_FILE: temporaryIndex,
|
|
171696
|
+
GIT_OBJECT_DIRECTORY: temporaryObjects
|
|
171697
|
+
};
|
|
171686
171698
|
try {
|
|
171687
171699
|
runGit(["read-tree", "--empty"], { cwd: root, env: env3 });
|
|
171688
171700
|
const files = runGit(["ls-files", "--cached", "--others", "--exclude-standard", "-z"], { cwd: root }).split("\x00").filter((path) => {
|