@inerrata-corporation/errata 2.0.22-dev.4164 → 2.0.22-dev.4173
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/errata.mjs
CHANGED
|
@@ -1168,6 +1168,11 @@ function versionlessPurl(purl) {
|
|
|
1168
1168
|
const lastAt = purl.lastIndexOf("@");
|
|
1169
1169
|
return lastAt > lastSlash ? purl.slice(0, lastAt) : purl;
|
|
1170
1170
|
}
|
|
1171
|
+
function splitNameAtVersion(slug2) {
|
|
1172
|
+
const at = slug2.lastIndexOf("@");
|
|
1173
|
+
if (at <= 0) return { name: slug2.trim(), version: null };
|
|
1174
|
+
return { name: slug2.slice(0, at).trim(), version: slug2.slice(at + 1).trim() || null };
|
|
1175
|
+
}
|
|
1171
1176
|
function parsePackageRef(ref) {
|
|
1172
1177
|
let rest2 = ref.trim();
|
|
1173
1178
|
if (rest2.startsWith("pkg:")) {
|
|
@@ -1177,9 +1182,7 @@ function parsePackageRef(ref) {
|
|
|
1177
1182
|
const q = rest2.search(/[?#]/);
|
|
1178
1183
|
if (q !== -1) rest2 = rest2.slice(0, q);
|
|
1179
1184
|
}
|
|
1180
|
-
const
|
|
1181
|
-
const name2 = at > 0 ? rest2.slice(0, at) : rest2;
|
|
1182
|
-
const version3 = at > 0 ? rest2.slice(at + 1) || null : null;
|
|
1185
|
+
const { name: name2, version: version3 } = splitNameAtVersion(rest2);
|
|
1183
1186
|
const slug2 = (version3 ? `${name2}@${version3}` : name2).toLowerCase();
|
|
1184
1187
|
return { name: name2, version: version3, slug: slug2 };
|
|
1185
1188
|
}
|
|
@@ -17746,6 +17749,7 @@ __export(src_exports, {
|
|
|
17746
17749
|
sha256Short: () => sha256Short,
|
|
17747
17750
|
sidecarDropBucket: () => sidecarDropBucket,
|
|
17748
17751
|
spineDeps: () => spineDeps,
|
|
17752
|
+
splitNameAtVersion: () => splitNameAtVersion,
|
|
17749
17753
|
splitPnpmKey: () => splitPnpmKey,
|
|
17750
17754
|
stripAnchorLabels: () => stripAnchorLabels,
|
|
17751
17755
|
substituteSymbolSummaries: () => substituteSymbolSummaries,
|
|
@@ -85832,7 +85836,7 @@ function createWatchBreaker(deps) {
|
|
|
85832
85836
|
}
|
|
85833
85837
|
|
|
85834
85838
|
// src/engine.ts
|
|
85835
|
-
var DAEMON_VERSION = true ? "2.0.22-dev.
|
|
85839
|
+
var DAEMON_VERSION = true ? "2.0.22-dev.4173" : "2.0.0-alpha.0";
|
|
85836
85840
|
var IGNORED_PATH = /[\\/](?:\.git|node_modules|\.errata|\.claude|\.codex|\.cursor|\.turbo|\.next|dist|coverage|test-results|playwright-report|__pycache__)(?:[\\/]|$)/;
|
|
85837
85841
|
var IGNORED_NOISE = /castalia\.db|eventlog\.sqlite|turn-cursors/;
|
|
85838
85842
|
var GIT_OP_MUTE_MS = 4e3;
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
43b3c654071e6c4abeaa0d49cc279d846fec01d0d38972ac2df4a1617076f727 .codex-plugin/plugin.json
|
|
2
2
|
a7bebae9fb01c838d6c75fc784129e28be571233fa66ff5ee8039b574f35ccf7 assets/icon.png
|
|
3
3
|
fc38b64e4df1e0b72c35764bef6c4c05430d97c9009ad0ecc8a9e75b4deab232 configure-local.mjs
|
|
4
4
|
73dc6028b3b070257c7c31f252d11e55a9e096f4aed0f187f10cb21716e1e6d7 dist/client.js
|