Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1366,6 +1366,24 @@
"version": "0.2.2",
"reason": "https://github.com/debug-js/debug/issues/1005"
}
},
"chalk": {
"5.6.1": {
"version": "5.6.0",
"reason": "https://github.com/debug-js/debug/issues/1005"
}
},
Comment on lines +1370 to +1375
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Prefer redirecting to the fixed 5.6.2 instead of downgrading to 5.6.0

Chalk 5.6.2 was published today and 5.6.1 appears to have been yanked. Redirecting to 5.6.2 avoids unnecessary downgrades. (npmjs.com)

Apply this diff:

       "chalk": {
-        "5.6.1": {
-          "version": "5.6.0",
+        "5.6.1": {
+          "version": "5.6.2",
           "reason": "https://github.com/debug-js/debug/issues/1005"
         }
       },

Context: compromise documented on Sep 8, 2025. (aikido.dev)

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"chalk": {
"5.6.1": {
"version": "5.6.0",
"reason": "https://github.com/debug-js/debug/issues/1005"
}
},
"chalk": {
"5.6.1": {
"version": "5.6.2",
"reason": "https://github.com/debug-js/debug/issues/1005"
}
},
🤖 Prompt for AI Agents
In package.json around lines 1370 to 1375, the lock/resolution entry for "chalk"
points the 5.6.1 key to version "5.6.0"; update that entry to point to the fixed
published version "5.6.2" instead of downgrading to 5.6.0 (i.e., change the
"version" value to "5.6.2") and preserve or update the reason field as needed to
reference the advisory/compromise context.

"chalk-template": {
"1.1.1": {
"version": "1.1.0",
"reason": "https://github.com/debug-js/debug/issues/1005"
}
},
Comment on lines +1376 to +1381
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Use chalk-template 1.1.2 (safe) rather than 1.1.0

A clean 1.1.2 was published today; prefer upgrading the redirect target to 1.1.2. (npmjs.com)

       "chalk-template": {
-        "1.1.1": {
-          "version": "1.1.0",
+        "1.1.1": {
+          "version": "1.1.2",
           "reason": "https://github.com/debug-js/debug/issues/1005"
         }
       },
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"chalk-template": {
"1.1.1": {
"version": "1.1.0",
"reason": "https://github.com/debug-js/debug/issues/1005"
}
},
"chalk-template": {
"1.1.1": {
"version": "1.1.2",
"reason": "https://github.com/debug-js/debug/issues/1005"
}
},
🤖 Prompt for AI Agents
package.json lines 1376-1381: the shrinkwrap/lock redirect currently maps
"chalk-template" entry "1.1.1" to version "1.1.0"; update that mapping to point
to the safe published version "1.1.2" (i.e., change the "version" value to
"1.1.2") and keep or update the reason field as needed.

"supports-hyperlinks": {
"4.1.1": {
"version": "4.1.0",
"reason": "https://github.com/debug-js/debug/issues/1005"
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{
  "debug":               "4.4.2",
  "chalk":               "5.6.1",
  "ansi-styles":         "6.2.2",
  "supports-color":      "10.2.1",
  "strip-ansi":          "7.1.1",
  "ansi-regex":          "6.2.1",
  "wrap-ansi":           "9.0.1",
  "color-convert":       "3.1.1",
  "color-name":          "2.0.1",
  "is-arrayish":         "0.3.3",
  "slice-ansi":          "7.1.1",
  "color":               "5.0.1",
  "color-string":        "2.1.1",
  "simple-swizzle":      "0.2.3",
  "supports-hyperlinks": "4.1.1",
  "has-ansi":            "6.0.1",
  "chalk-template":      "1.1.1",
  "backslash":           "0.2.1",
}

Comment on lines +1369 to +1386
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Add a redirect entry for debug 4.4.2 → 4.4.1

The compromised debug 4.4.2 was published and then pulled; npm shows 4.4.1 as the latest, and the incident is tracked in issue #1005. Add a mapping to steer consumers off 4.4.2. (npmjs.com, github.com)

Add under "bug-versions":

"debug": {
  "4.4.2": {
    "version": "4.4.1",
    "reason": "https://github.com/debug-js/debug/issues/1005"
  }
}
🤖 Prompt for AI Agents
In package.json around lines 1369 to 1386, there is no redirect entry for the
compromised debug 4.4.2; add a mapping under the existing "bug-versions" object
that redirects "debug": { "4.4.2": { "version": "4.4.1", "reason":
"https://github.com/debug-js/debug/issues/1005" } } so consumers are steered off
4.4.2; insert the JSON entry with correct commas and object syntax consistent
with surrounding entries and include the referenced issue URL as the reason.

Comment on lines +1382 to +1386
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Use supports-hyperlinks 4.1.2 (safe) rather than 4.1.0

A clean 4.1.2 was published today; update the redirect accordingly. (npmjs.com)

       "supports-hyperlinks": {
-        "4.1.1": {
-          "version": "4.1.0",
+        "4.1.1": {
+          "version": "4.1.2",
           "reason": "https://github.com/debug-js/debug/issues/1005"
         }
       }
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"supports-hyperlinks": {
"4.1.1": {
"version": "4.1.0",
"reason": "https://github.com/debug-js/debug/issues/1005"
}
"supports-hyperlinks": {
"4.1.1": {
"version": "4.1.2",
"reason": "https://github.com/debug-js/debug/issues/1005"
}
}
🤖 Prompt for AI Agents
package.json around lines 1382 to 1386: the supports-hyperlinks entry currently
points to version "4.1.0" but a clean 4.1.2 is available; update the nested
"version" value from "4.1.0" to "4.1.2" so the redirect uses the safe release
(leave the "reason" field as-is).

}
}
}
Expand Down