@wrongstack/techstack 0.316.2 → 0.317.0

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.
Files changed (2) hide show
  1. package/dist/index.js +11 -3
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -2164,10 +2164,18 @@ function diffSnapshots(oldSnapshot, newSnapshot) {
2164
2164
  added.push(newDep);
2165
2165
  continue;
2166
2166
  }
2167
- const fields = ["locked", "requested", "status", "latestStable"];
2167
+ const fields = [
2168
+ "locked",
2169
+ "requested",
2170
+ "status",
2171
+ "latestStable"
2172
+ ];
2168
2173
  for (const field of fields) {
2169
- const oldVal = String(oldDep[field] ?? "");
2170
- const newVal = String(newDep[field] ?? "");
2174
+ const rawOld = oldDep[field];
2175
+ const rawNew = newDep[field];
2176
+ if (rawOld === rawNew) continue;
2177
+ const oldVal = rawOld != null ? String(rawOld) : "";
2178
+ const newVal = rawNew != null ? String(rawNew) : "";
2171
2179
  if (oldVal !== newVal) {
2172
2180
  changed.push({
2173
2181
  name: newDep.name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrongstack/techstack",
3
- "version": "0.316.2",
3
+ "version": "0.317.0",
4
4
  "license": "MIT",
5
5
  "description": "WrongStack TechStack — cross-language dependency intelligence for the active target project: discover, inventory, enrich, analyze, and report.",
6
6
  "repository": {
@@ -26,9 +26,9 @@
26
26
  "!dist/**/*.map"
27
27
  ],
28
28
  "dependencies": {
29
- "@wrongstack/core": "0.316.2",
30
- "@wrongstack/persistence": "0.316.2",
31
- "@wrongstack/tools": "0.316.2"
29
+ "@wrongstack/core": "0.317.0",
30
+ "@wrongstack/persistence": "0.317.0",
31
+ "@wrongstack/tools": "0.317.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/node": "^26.2.0",