Add the Update dependencies skill

AI Assisted
This commit is contained in:
jparkerweb committed 2026-11-13 23:28:59 -08:00
1 parent 5679101487
commit de8a05b958
99 files changed
+9496 -12

No files matched your search

+2 -2
View File
@@ -76,7 +76,7 @@ export function check(srcDir) {
if (!note) problems.push(`${file}: names no <D>/notes/<workflow>.md file`);
else if (!fs.existsSync(path.join(notesDir, `${note[1]}.md`))) problems.push(`${file}: notes file ${note[1]}.md is not in src/web-console/notes/`);
}
if (seen !== 20) problems.push(`expected 20 skills with a console opening, found ${seen}`);
if (seen !== 21) problems.push(`expected 21 skills with a console opening, found ${seen}`);
return problems;
}
@@ -87,5 +87,5 @@ if (process.argv[1] && path.resolve(process.argv[1]) === fileURLToPath(import.me
for (const p of problems) console.error(` FAIL ${p}`);
process.exit(1);
}
console.log("All 20 console openings share their sentences.");
console.log("All 21 console openings share their sentences.");
}
@@ -0,0 +1 @@
{"database":{"advisory-count":1012,"last-commit":"4f2c9a1e7b3d5c8f0a6e2b9d1c4f7a3e5b8d0c2f","last-updated":"2026-11-12T18:04:11Z"},"lockfile":{"dependency-count":5},"settings":{"target_arch":[],"target_os":[],"severity":null,"ignore":[],"informational_warnings":["unmaintained","unsound","notice"]},"vulnerabilities":{"found":true,"count":1,"list":[{"advisory":{"id":"RUSTSEC-2099-0001","package":"itoa","title":"Fixture advisory: out-of-bounds write when formatting i128::MIN","description":"Hand-written fixture advisory (not a real RustSec entry). Versions of itoa before 1.0.11 could write past the end of the buffer when formatting i128::MIN.","date":"2099-01-01","aliases":["CVE-2099-0001"],"related":[],"collection":"crates","categories":["memory-corruption"],"keywords":["buffer-overflow"],"cvss":null,"informational":null,"references":[],"source":null,"url":"https://example.invalid/RUSTSEC-2099-0001","withdrawn":null,"license":"CC0-1.0","expect-deleted":false},"versions":{"patched":[">=1.0.11"],"unaffected":[]},"affected":null,"package":{"name":"itoa","version":"1.0.9","source":"registry+https://github.com/rust-lang/crates.io-index","checksum":"af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38","replace":null}}]},"warnings":{}}
@@ -0,0 +1,8 @@
Updating crates.io index
Locking 2 packages to highest compatible versions
Unchanged bitflags v1.3.2 (available: v2.13.2)
Unchanged cfg-if v0.1.10 (available: v1.0.5)
Updating hex v0.4.2 -> v0.4.3
Updating itoa v1.0.9 -> v1.0.19
note: to see how you depend on a package, run `cargo tree --invert <dep>@<ver>`
warning: not updating lockfile due to dry run
@@ -0,0 +1,37 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "bitflags"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "cfg-if"
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
[[package]]
name = "fixture"
version = "0.1.0"
dependencies = [
"bitflags",
"cfg-if",
"hex",
"itoa",
]
[[package]]
name = "hex"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "644f9158b2f133fd50f5fb3242878846d9eb792e445c893805ff0e3824006e35"
[[package]]
name = "itoa"
version = "1.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
@@ -0,0 +1 @@
{"packages":[{"name":"a","version":"0.1.0","id":"path+file:///C:/fixture/cargo/workspace/crates/a#0.1.0","license":null,"license_file":null,"description":null,"source":null,"dependencies":[{"name":"itoa","source":"registry+https://github.com/rust-lang/crates.io-index","req":"^1.0","kind":null,"rename":null,"optional":false,"uses_default_features":true,"features":[],"target":null,"registry":null}],"targets":[{"kind":["lib"],"crate_types":["lib"],"name":"a","src_path":"C:\\fixture\\cargo\\workspace\\crates\\a\\src\\lib.rs","edition":"2021","doc":true,"doctest":true,"test":true}],"features":{},"manifest_path":"C:\\fixture\\cargo\\workspace\\crates\\a\\Cargo.toml","metadata":null,"publish":null,"authors":[],"categories":[],"keywords":[],"readme":null,"repository":null,"homepage":null,"documentation":null,"edition":"2021","links":null,"default_run":null,"rust_version":null},{"name":"b","version":"0.1.0","id":"path+file:///C:/fixture/cargo/workspace/crates/b#0.1.0","license":null,"license_file":null,"description":null,"source":null,"dependencies":[{"name":"bitflags","source":"registry+https://github.com/rust-lang/crates.io-index","req":"^1","kind":null,"rename":null,"optional":false,"uses_default_features":true,"features":[],"target":null,"registry":null}],"targets":[{"kind":["lib"],"crate_types":["lib"],"name":"b","src_path":"C:\\fixture\\cargo\\workspace\\crates\\b\\src\\lib.rs","edition":"2021","doc":true,"doctest":true,"test":true}],"features":{},"manifest_path":"C:\\fixture\\cargo\\workspace\\crates\\b\\Cargo.toml","metadata":null,"publish":null,"authors":[],"categories":[],"keywords":[],"readme":null,"repository":null,"homepage":null,"documentation":null,"edition":"2021","links":null,"default_run":null,"rust_version":null}],"workspace_members":["path+file:///C:/fixture/cargo/workspace/crates/a#0.1.0","path+file:///C:/fixture/cargo/workspace/crates/b#0.1.0"],"workspace_default_members":["path+file:///C:/fixture/cargo/workspace/crates/a#0.1.0","path+file:///C:/fixture/cargo/workspace/crates/b#0.1.0"],"resolve":null,"target_directory":"C:\\fixture\\cargo\\workspace\\target","build_directory":"C:\\fixture\\cargo\\workspace\\target","version":1,"workspace_root":"C:\\fixture\\cargo\\workspace","metadata":null}
@@ -0,0 +1 @@
{"packages":[{"name":"fixture","version":"0.1.0","id":"path+file:///C:/fixture/cargo/fixture#0.1.0","license":null,"license_file":null,"description":null,"source":null,"dependencies":[{"name":"bitflags","source":"registry+https://github.com/rust-lang/crates.io-index","req":"^1","kind":null,"rename":null,"optional":false,"uses_default_features":true,"features":[],"target":null,"registry":null},{"name":"cfg-if","source":"registry+https://github.com/rust-lang/crates.io-index","req":"^0.1","kind":null,"rename":null,"optional":false,"uses_default_features":true,"features":[],"target":null,"registry":null},{"name":"hex","source":"registry+https://github.com/rust-lang/crates.io-index","req":"^0.4","kind":null,"rename":null,"optional":false,"uses_default_features":true,"features":[],"target":null,"registry":null},{"name":"itoa","source":"registry+https://github.com/rust-lang/crates.io-index","req":"^1.0","kind":null,"rename":null,"optional":false,"uses_default_features":true,"features":[],"target":null,"registry":null}],"targets":[{"kind":["bin"],"crate_types":["bin"],"name":"fixture","src_path":"C:\\fixture\\cargo\\fixture\\src\\main.rs","edition":"2021","doc":true,"doctest":false,"test":true}],"features":{},"manifest_path":"C:\\fixture\\cargo\\fixture\\Cargo.toml","metadata":null,"publish":null,"authors":[],"categories":[],"keywords":[],"readme":null,"repository":null,"homepage":null,"documentation":null,"edition":"2021","links":null,"default_run":null,"rust_version":null}],"workspace_members":["path+file:///C:/fixture/cargo/fixture#0.1.0"],"workspace_default_members":["path+file:///C:/fixture/cargo/fixture#0.1.0"],"resolve":null,"target_directory":"C:\\fixture\\cargo\\fixture\\target","build_directory":"C:\\fixture\\cargo\\fixture\\target","version":1,"workspace_root":"C:\\fixture\\cargo\\fixture","metadata":null}
@@ -0,0 +1 @@
{"crate_name":"fixture","dependencies":[{"name":"bitflags","project":"1.3.2","compat":"---","latest":"2.13.2","kind":"Normal","platform":null},{"name":"cfg-if","project":"0.1.10","compat":"---","latest":"1.0.5","kind":"Normal","platform":null},{"name":"hex","project":"0.4.2","compat":"0.4.3","latest":"0.4.3","kind":"Normal","platform":null},{"name":"itoa","project":"1.0.9","compat":"1.0.19","latest":"1.0.19","kind":"Normal","platform":null}]}
+37
View File
@@ -0,0 +1,37 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "bitflags"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "cfg-if"
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
[[package]]
name = "fixture"
version = "0.1.0"
dependencies = [
"bitflags",
"cfg-if",
"hex",
"itoa",
]
[[package]]
name = "hex"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "644f9158b2f133fd50f5fb3242878846d9eb792e445c893805ff0e3824006e35"
[[package]]
name = "itoa"
version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38"
@@ -0,0 +1,10 @@
[package]
name = "fixture"
version = "0.1.0"
edition = "2021"
[dependencies]
itoa = "1.0"
bitflags = "1"
cfg-if = "0.1"
hex = "0.4"
@@ -0,0 +1 @@
fn main() {}
@@ -0,0 +1 @@
rustc 1.99.1 (58cf8f9c3 2026-10-13)
+29
View File
@@ -0,0 +1,29 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "a"
version = "0.1.0"
dependencies = [
"itoa",
]
[[package]]
name = "b"
version = "0.1.0"
dependencies = [
"bitflags",
]
[[package]]
name = "bitflags"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
name = "itoa"
version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38"
@@ -0,0 +1,3 @@
[workspace]
members = ["crates/a", "crates/b"]
resolver = "2"
@@ -0,0 +1,7 @@
[package]
name = "a"
version = "0.1.0"
edition = "2021"
[dependencies]
itoa = "1.0"
@@ -0,0 +1 @@
pub fn a() {}
@@ -0,0 +1,7 @@
[package]
name = "b"
version = "0.1.0"
edition = "2021"
[dependencies]
bitflags = "1"
@@ -0,0 +1 @@
pub fn b() {}
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
<PackageReference Include="Serilog" Version="3.1.1" />
</ItemGroup>
</Project>
@@ -0,0 +1,3 @@
# .NET fixtures (from documentation)
No .NET SDK was installed on the recording machine, so these files follow the JSON shape `dotnet list package --format json` prints per the .NET docs and NuGet.Client's `ListPackageJsonRenderer.cs`, not a recorded run. Re-record them from a real SDK when one is available.
@@ -0,0 +1,38 @@
{
"version": 1,
"parameters": "--outdated",
"sources": [
"https://api.nuget.org/v3/index.json"
],
"projects": [
{
"path": "C:\\work\\fixture\\App.csproj",
"frameworks": [
{
"framework": "net8.0",
"topLevelPackages": [
{
"id": "Microsoft.NET.ILLink.Tasks",
"requestedVersion": "[8.0.11, )",
"resolvedVersion": "8.0.11",
"autoReferenced": "true",
"latestVersion": "10.0.0"
},
{
"id": "Newtonsoft.Json",
"requestedVersion": "13.0.1",
"resolvedVersion": "13.0.1",
"latestVersion": "13.0.4"
},
{
"id": "Serilog",
"requestedVersion": "3.1.1",
"resolvedVersion": "3.1.1",
"latestVersion": "4.3.0"
}
]
}
]
}
]
}
@@ -0,0 +1,19 @@
{
"version": 1,
"dependencies": {
"net8.0": {
"Newtonsoft.Json": {
"type": "Direct",
"requested": "[13.0.4, )",
"resolved": "13.0.4",
"contentHash": "pdgNNMai3zv51W5aq268sujXUyx7SNdE2bj1wZcWjAQrKMFZV260lbqYop1d2GM67JI1huLRwxo9ZqnfF/lC6A=="
},
"Serilog": {
"type": "Direct",
"requested": "[3.1.1, )",
"resolved": "3.1.1",
"contentHash": "P6G4/4Kt9bT635bhuwdXlJ2SCqqn2nhh4gqFqQueCOr9bK/e7W9ll/IoX1Ter948cV2Z/5+5v8pAfJYUISY03A=="
}
}
}
}
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Serilog" Version="3.1.1" />
</ItemGroup>
</Project>
@@ -0,0 +1,19 @@
{
"version": 1,
"dependencies": {
"net8.0": {
"Newtonsoft.Json": {
"type": "Direct",
"requested": "[13.0.1, )",
"resolved": "13.0.1",
"contentHash": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A=="
},
"Serilog": {
"type": "Direct",
"requested": "[3.1.1, )",
"resolved": "3.1.1",
"contentHash": "P6G4/4Kt9bT635bhuwdXlJ2SCqqn2nhh4gqFqQueCOr9bK/e7W9ll/IoX1Ter948cV2Z/5+5v8pAfJYUISY03A=="
}
}
}
}
@@ -0,0 +1,42 @@
{
"version": 1,
"parameters": "--vulnerable --include-transitive",
"sources": [
"https://api.nuget.org/v3/index.json"
],
"projects": [
{
"path": "C:\\work\\fixture\\App.csproj",
"frameworks": [
{
"framework": "net8.0",
"topLevelPackages": [
{
"id": "Newtonsoft.Json",
"requestedVersion": "13.0.1",
"resolvedVersion": "13.0.1",
"vulnerabilities": [
{
"severity": "High",
"advisoryurl": "https://github.com/advisories/GHSA-0000-fixture-0001"
}
]
}
],
"transitivePackages": [
{
"id": "System.Text.RegularExpressions",
"resolvedVersion": "4.3.0",
"vulnerabilities": [
{
"severity": "Moderate",
"advisoryurl": "https://github.com/advisories/GHSA-0000-fixture-0002"
}
]
}
]
}
]
}
]
}
@@ -0,0 +1 @@
go version go1.27.3 windows/amd64
@@ -0,0 +1,10 @@
module example.com/fixture
go 1.26.0
require golang.org/x/mod v0.43.0
require (
golang.org/x/net v0.20.0
golang.org/x/text v0.14.0 // indirect
)
@@ -0,0 +1,10 @@
module example.com/fixture
go 1.22
require golang.org/x/mod v0.17.0
require (
golang.org/x/net v0.21.0
golang.org/x/text v0.14.0 // indirect
)
@@ -0,0 +1,6 @@
golang.org/x/mod v0.43.0 h1:MFuq5J6s35W9D3IjkwyWc9vHh0nENOrt5K8Iof4ofmg=
golang.org/x/mod v0.43.0/go.mod h1:4ec1JnuyBz5+FIVhg86UsA39YG8BpnrZdJYSNHmGzHY=
golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo=
golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
@@ -0,0 +1,6 @@
golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA=
golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4=
golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
@@ -0,0 +1,7 @@
{"config":{"protocol_version":"v1.0.0","scanner_name":"govulncheck","scanner_version":"v1.9.0","db":"https://vuln.go.dev","go_version":"go1.27.3","scan_level":"symbol"}}
{"progress":{"message":"Scanning your code and 4 packages across 3 dependent modules for known vulnerabilities..."}}
{"osv":{"schema_version":"1.3.1","id":"GO-2099-0001","summary":"Fixture advisory in golang.org/x/net","affected":[{"package":{"name":"golang.org/x/net","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.23.0"}]}]}]}}
{"osv":{"schema_version":"1.3.1","id":"GO-2099-0002","summary":"Fixture advisory in golang.org/x/text with no fix","affected":[{"package":{"name":"golang.org/x/text","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}
{"finding":{"osv":"GO-2099-0001","fixed_version":"v0.23.0","trace":[{"module":"golang.org/x/net","version":"v0.20.0","package":"golang.org/x/net/idna","function":"ToASCII"},{"module":"example.com/fixture","package":"example.com/fixture","function":"main"}]}}
{"finding":{"osv":"GO-2099-0001","fixed_version":"v0.23.0","trace":[{"module":"golang.org/x/net","version":"v0.20.0","package":"golang.org/x/net/idna"}]}}
{"finding":{"osv":"GO-2099-0002","trace":[{"module":"golang.org/x/text","version":"v0.14.0","package":"golang.org/x/text/unicode/norm"}]}}
@@ -0,0 +1,97 @@
{
"Path": "example.com/fixture",
"Main": true,
"Dir": "C:\\work\\fixture",
"GoMod": "C:\\work\\fixture\\go.mod",
"GoVersion": "1.22"
}
{
"Path": "golang.org/x/crypto",
"Version": "v0.18.0",
"Time": "2024-01-08T16:44:29Z",
"Update": {
"Path": "golang.org/x/crypto",
"Version": "v0.59.0",
"Time": "2026-11-11T07:23:42Z"
},
"Indirect": true
}
{
"Path": "golang.org/x/mod",
"Version": "v0.17.0",
"Time": "2024-03-15T15:59:16Z",
"Update": {
"Path": "golang.org/x/mod",
"Version": "v0.43.0",
"Time": "2026-11-09T16:29:06Z"
},
"Dir": "C:\\Users\\dev\\go\\pkg\\mod\\golang.org\\x\\mod@v0.17.0",
"GoMod": "C:\\Users\\dev\\go\\pkg\\mod\\cache\\download\\golang.org\\x\\mod\\@v\\v0.17.0.mod",
"GoVersion": "1.18",
"Sum": "h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA=",
"GoModSum": "h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c="
}
{
"Path": "golang.org/x/net",
"Version": "v0.20.0",
"Time": "2024-01-08T18:08:52Z",
"Update": {
"Path": "golang.org/x/net",
"Version": "v0.62.0",
"Time": "2026-10-27T19:00:16Z"
},
"Dir": "C:\\Users\\dev\\go\\pkg\\mod\\golang.org\\x\\net@v0.20.0",
"GoMod": "C:\\Users\\dev\\go\\pkg\\mod\\cache\\download\\golang.org\\x\\net\\@v\\v0.20.0.mod",
"GoVersion": "1.18",
"Sum": "h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo=",
"GoModSum": "h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY="
}
{
"Path": "golang.org/x/sys",
"Version": "v0.16.0",
"Time": "2024-01-03T06:57:32Z",
"Update": {
"Path": "golang.org/x/sys",
"Version": "v0.50.0",
"Time": "2026-11-06T19:57:40Z"
},
"Indirect": true
}
{
"Path": "golang.org/x/term",
"Version": "v0.16.0",
"Time": "2024-01-04T15:06:34Z",
"Update": {
"Path": "golang.org/x/term",
"Version": "v0.48.0",
"Time": "2026-11-09T16:29:12Z"
},
"Indirect": true
}
{
"Path": "golang.org/x/text",
"Version": "v0.14.0",
"Time": "2023-10-11T21:58:48Z",
"Update": {
"Path": "golang.org/x/text",
"Version": "v0.44.0",
"Time": "2026-11-09T16:29:39Z"
},
"Indirect": true,
"Dir": "C:\\Users\\dev\\go\\pkg\\mod\\golang.org\\x\\text@v0.14.0",
"GoMod": "C:\\Users\\dev\\go\\pkg\\mod\\cache\\download\\golang.org\\x\\text\\@v\\v0.14.0.mod",
"GoVersion": "1.18",
"Sum": "h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=",
"GoModSum": "h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU="
}
{
"Path": "golang.org/x/tools",
"Version": "v0.13.0",
"Time": "2023-09-05T16:59:35Z",
"Update": {
"Path": "golang.org/x/tools",
"Version": "v0.52.0",
"Time": "2026-10-10T19:29:17Z"
},
"Indirect": true
}
@@ -0,0 +1,10 @@
module example.com/fixture
go 1.22
require golang.org/x/mod v0.17.0
require (
golang.org/x/net v0.20.0
golang.org/x/text v0.14.0 // indirect
)
@@ -0,0 +1,6 @@
golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA=
golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo=
golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
@@ -0,0 +1,13 @@
package main
import (
"fmt"
"golang.org/x/mod/semver"
"golang.org/x/net/idna"
)
func main() {
s, _ := idna.ToASCII("example.com")
fmt.Println(semver.IsValid("v1.0.0"), s)
}
@@ -0,0 +1,32 @@
# Changelog
All notable changes to this project are written here.
## [Unreleased]
- Nothing yet.
## [1.3.0] - 2018-04-13
### Changed
- Pads with any string, not only one character.
## [1.2.0] - 2017-11-30
### Added
- TypeScript types.
```md
## 9.9.9
A heading inside a code block is not a version.
```
## [1.1.3] - 2016-11-10
- Fixes padding with a zero.
## 1.1.0
- First release with a changelog.
@@ -0,0 +1,10 @@
{
"crate": {
"id": "serde",
"name": "serde",
"max_version": "1.0.210",
"repository": "https://github.com/serde-rs/serde",
"homepage": "https://serde.rs",
"documentation": "https://docs.rs/serde"
}
}
@@ -0,0 +1,12 @@
{
"info": {
"name": "requests",
"version": "2.32.3",
"home_page": "https://requests.readthedocs.io",
"project_urls": {
"Documentation": "https://requests.readthedocs.io",
"Homepage": "https://requests.readthedocs.io",
"Source": "https://github.com/psf/requests"
}
}
}
@@ -0,0 +1,74 @@
[
{
"tag_name": "v5.4.0",
"name": "v5.4.0",
"draft": false,
"prerelease": false,
"html_url": "https://github.com/chalk/chalk/releases/tag/v5.4.0",
"body": "- Adds a level option."
},
{
"tag_name": "v5.3.0",
"name": "v5.3.0",
"draft": false,
"prerelease": false,
"html_url": "https://github.com/chalk/chalk/releases/tag/v5.3.0",
"body": "- Adds the overline style."
},
{
"tag_name": "v5.2.0",
"name": "v5.2.0",
"draft": false,
"prerelease": false,
"html_url": "https://github.com/chalk/chalk/releases/tag/v5.2.0",
"body": "- Adds supportsColorStderr."
},
{
"tag_name": "v5.1.0",
"name": "v5.1.0",
"draft": true,
"prerelease": false,
"html_url": "https://github.com/chalk/chalk/releases/tag/v5.1.0",
"body": "- Not published yet."
},
{
"tag_name": "chalk-template@1.0.0",
"name": "chalk-template 1.0.0",
"draft": false,
"prerelease": false,
"html_url": "https://github.com/chalk/chalk/releases/tag/chalk-template@1.0.0",
"body": "- Another package in the same repository."
},
{
"tag_name": "v5.0.0",
"name": "Chalk 5",
"draft": false,
"prerelease": false,
"html_url": "https://github.com/chalk/chalk/releases/tag/v5.0.0",
"body": "### Breaking\n\n- Chalk is now ESM only. Use chalk 4 from CommonJS."
},
{
"tag_name": "v4.1.2",
"name": "v4.1.2",
"draft": false,
"prerelease": false,
"html_url": "https://github.com/chalk/chalk/releases/tag/v4.1.2",
"body": "- Fixes a TypeScript definition."
},
{
"tag_name": "v4.1.0",
"name": "v4.1.0",
"draft": false,
"prerelease": false,
"html_url": "https://github.com/chalk/chalk/releases/tag/v4.1.0",
"body": "- Adds hex colors."
},
{
"tag_name": "nightly",
"name": "Nightly build",
"draft": false,
"prerelease": false,
"html_url": "https://github.com/chalk/chalk/releases/tag/nightly",
"body": "- Not a version."
}
]
+17
View File
@@ -0,0 +1,17 @@
[
{ "id": "r1", "notes": "read", "source": "GitHub releases", "breaking": [], "files": 2, "calls": [] },
{ "id": "r2", "notes": "read", "source": "GitHub releases", "breaking": ["Removed the legacy() export."], "files": 1, "calls": [] },
{ "id": "r3", "notes": "read", "source": "CHANGELOG.md", "breaking": [], "files": 1, "calls": [] },
{ "id": "r4", "notes": "read", "source": "GitHub releases", "breaking": ["Drops Node 18 support."], "files": 2, "calls": [] },
{ "id": "r5", "notes": "read", "source": "GitHub releases", "breaking": ["Drops CommonJS."], "files": 14, "calls": [{ "file": "src/log.js", "line": 3, "api": "require('chalk')" }] },
{ "id": "r6", "notes": "could not read", "source": "none", "breaking": [], "files": 7, "calls": [] },
{ "id": "r7", "notes": "could not read", "source": "none", "breaking": [], "files": 3, "calls": [] },
{ "id": "r9", "notes": "could not read", "source": "none", "breaking": [], "files": 1, "calls": [] },
{ "id": "r10", "notes": "read", "source": "GitHub releases", "breaking": [], "files": 1, "calls": [] },
{ "id": "r11", "notes": "read", "source": "GitHub releases", "breaking": [], "files": 4, "calls": [] },
{ "id": "r12", "notes": "read", "source": "GitHub releases", "breaking": [], "files": 1, "calls": [] },
{ "id": "r13", "notes": "read", "source": "GitHub releases", "breaking": [], "files": 9, "calls": [] },
{ "id": "r15", "notes": "read", "source": "GitHub releases", "breaking": [], "files": 1, "calls": [] },
{ "id": "r16", "notes": "read", "source": "GitHub releases", "breaking": [], "files": 1, "calls": [] },
{ "id": "r20", "notes": "read", "source": "GitHub releases", "breaking": [], "files": 1, "calls": [] }
]
+36
View File
@@ -0,0 +1,36 @@
{
"noChecks": false,
"lockfiles": [
{
"lockfile": "package-lock.json",
"ecosystem": "npm",
"checks": { "rows": ["Root"], "discovered": [] },
"rows": [
{ "id": "r1", "package": "patch-clean", "current": "1.2.3", "target": "1.2.9", "jump": "patch", "inRange": true, "range": null, "pinned": false, "security": null },
{ "id": "r2", "package": "minor-breaking", "current": "2.1.0", "target": "2.4.0", "jump": "minor", "inRange": true, "range": null, "pinned": false, "security": null },
{ "id": "r3", "package": "zero-minor", "current": "0.8.2", "target": "0.9.0", "inRange": false, "range": { "from": "^0.8.2", "to": "^0.9.0" }, "pinned": false, "security": null },
{ "id": "r4", "package": "major-clean", "current": "9.6.1", "target": "10.2.1", "jump": "major", "inRange": false, "range": { "from": "^9.6.1", "to": "^10.2.1" }, "pinned": false, "security": null },
{ "id": "r5", "package": "major-called", "current": "5.6.2", "target": "6.0.1", "jump": "major", "inRange": false, "range": { "from": "^5.6.2", "to": "^6.0.1" }, "pinned": false, "security": null },
{ "id": "r6", "package": "major-unread-wide", "current": "3.0.0", "target": "4.0.0", "jump": "major", "inRange": false, "range": { "from": "^3.0.0", "to": "^4.0.0" }, "pinned": false, "security": null },
{ "id": "r7", "package": "major-unread-narrow", "current": "3.0.0", "target": "4.0.0", "jump": "major", "inRange": false, "range": { "from": "^3.0.0", "to": "^4.0.0" }, "pinned": false, "security": null },
{ "id": "r8", "package": "no-record", "current": "1.0.0", "target": "1.1.0", "jump": "minor", "inRange": true, "range": null, "pinned": false, "security": null },
{ "id": "r9", "package": "minor-unread", "current": "1.0.0", "target": "1.1.0", "jump": "minor", "inRange": true, "range": null, "pinned": false, "security": null },
{ "id": "r10", "package": "hand-written", "current": "3.9.0", "target": "4.1.0", "jump": "major", "inRange": false, "range": { "from": ">=2 <4", "to": null }, "pinned": false, "security": null },
{ "id": "r11", "package": "pinned-minor", "current": "1.64.1", "target": "1.66.0", "jump": "minor", "inRange": false, "range": { "from": "1.64.1", "to": "1.66.0" }, "pinned": true, "security": null },
{ "id": "r12", "package": "pinned-major", "current": "6.0.0", "target": "7.0.0", "jump": "major", "inRange": false, "range": { "from": "6.0.0", "to": "7.0.0" }, "pinned": true, "security": null },
{ "id": "r13", "package": "security-patch", "current": "4.17.20", "target": "4.17.21", "jump": "patch", "inRange": true, "range": null, "pinned": false, "security": { "severity": "high", "ids": ["GHSA-aaaa-bbbb-cccc"] } },
{ "id": "r14", "package": "security-major", "current": "1.9.0", "target": "2.0.0", "jump": "major", "inRange": false, "range": { "from": "^1.9.0", "to": "^2.0.0" }, "pinned": false, "security": { "severity": null, "ids": ["GHSA-dddd-eeee-ffff"] } },
{ "id": "r15", "package": "unreadable-output", "current": "1.0.0", "target": "1.0.1", "jump": "patch", "inRange": true, "range": null, "pinned": false, "security": null, "unreadable": "npm audit" },
{ "id": "r16", "package": "minor-out-of-range", "current": "1.2.0", "target": "1.3.0", "jump": "minor", "inRange": false, "range": { "from": "~1.2.0", "to": "~1.3.0" }, "pinned": false, "security": null }
]
},
{
"lockfile": "tools/package-lock.json",
"ecosystem": "npm",
"checks": { "rows": [], "discovered": [] },
"rows": [
{ "id": "r20", "package": "uncovered-patch", "current": "2.0.0", "target": "2.0.1", "jump": "patch", "inRange": true, "range": null, "pinned": false, "security": null }
]
}
]
}
@@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Serilog" Version="3.1.1" />
</ItemGroup>
</Project>
@@ -0,0 +1,18 @@
[package]
name = "fixture"
version = "0.1.0"
rust-version = "1.75"
[dependencies]
serde = { version = "1.0.200", features = ["derive"] }
toml = "0.8.2"
[[bin]]
name = "fixture"
rust-version = "9.99"
[patch.crates-io]
tokio = { git = "https://github.com/tokio-rs/tokio" }
[patch."https://github.com/example/repo"]
foo = { path = "../foo" }
+10
View File
@@ -0,0 +1,10 @@
module example.com/fixture
go 1.22
toolchain go1.22.4
require (
github.com/spf13/cobra v1.8.0
golang.org/x/mod v0.17.0 // indirect
)
@@ -0,0 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;net6.0</TargetFrameworks>
</PropertyGroup>
</Project>
@@ -0,0 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>
net8.0
</TargetFramework>
</PropertyGroup>
</Project>
@@ -0,0 +1,3 @@
[package]
name = "fixture"
rust-version = { workspace = true }
@@ -0,0 +1,5 @@
[project]
name = "fixture"
requires-python = """
>=3.9
"""
@@ -0,0 +1,13 @@
{
"name": "fixture-app",
"version": "1.0.0",
"engines": { "node": ">=18" },
"dependencies": {
"chalk": "^5.6.2",
"chalk-template": "^5.6.2",
"playwright-core": "1.64.1"
},
"devDependencies": {
"execa": "^9.6.1"
}
}
@@ -0,0 +1,10 @@
[project]
name = "fixture"
requires-python = ">=3.9"
dependencies = [
"requests>=2.31.0",
"rich==13.7.1",
]
[tool.other]
requires-python = ">=9.0"
@@ -0,0 +1,5 @@
[workspace]
members = ["app", "core"]
[workspace.package]
rust-version = "1.80"
@@ -0,0 +1,81 @@
{
"auditReportVersion": 2,
"vulnerabilities": {
"minimist": {
"name": "minimist",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1097678,
"name": "minimist",
"dependency": "minimist",
"title": "Prototype Pollution in minimist",
"url": "https://github.com/advisories/GHSA-xvch-5gv4-984h",
"severity": "critical",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 9.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
"range": ">=1.0.0 <1.2.6"
}
],
"effects": [],
"range": "1.0.0 - 1.2.5",
"nodes": [
"node_modules/minimist"
],
"fixAvailable": true
},
"semver": {
"name": "semver",
"severity": "high",
"isDirect": true,
"via": [
{
"source": 1112921,
"name": "semver",
"dependency": "semver",
"title": "semver vulnerable to Regular Expression Denial of Service",
"url": "https://github.com/advisories/GHSA-c2qf-rxjj-qqgw",
"severity": "high",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": ">=7.0.0 <7.5.2"
}
],
"effects": [],
"range": "7.0.0 - 7.5.1",
"nodes": [
"node_modules/semver"
],
"fixAvailable": true
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 1,
"critical": 1,
"total": 2
},
"dependencies": {
"prod": 17,
"dev": 0,
"optional": 0,
"peer": 0,
"peerOptional": 0,
"total": 16
}
}
}
@@ -0,0 +1,179 @@
{
"name": "fixture-root",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "fixture-root",
"version": "1.0.0",
"workspaces": [
"packages/*"
],
"dependencies": {
"chalk": "^4.1.0",
"left-pad": "1.1.0",
"mkdirp": "^0.5.5",
"semver": "^7.5.0"
},
"engines": {
"node": ">=12"
}
},
"node_modules/ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
},
"engines": {
"node": ">=8"
},
"funding": {
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
"node_modules/chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
},
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://github.com/chalk/chalk?sponsor=1"
}
},
"node_modules/color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
},
"engines": {
"node": ">=7.0.0"
}
},
"node_modules/color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"license": "MIT"
},
"node_modules/fixture-app": {
"resolved": "packages/app",
"link": true
},
"node_modules/has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"license": "MIT",
"engines": {
"node": ">=8"
}
},
"node_modules/is-number": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-6.0.0.tgz",
"integrity": "sha512-Wu1VHeILBK8KAWJUAiSZQX94GmOE45Rg6/538fKwiloUu21KncEkYGPqob2oSZ5mUT73vLGrHQjKw3KMPwfDzg==",
"license": "MIT",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/left-pad": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/left-pad/-/left-pad-1.1.0.tgz",
"integrity": "sha512-C8cw/7VpfXLj8Yjlmux8lqb3mfIe3vEXTdik/cXTuzZ8FXJnu45UAWp94XlWWmcW7Yxl74wvHw8w10wIHNGHRQ==",
"deprecated": "use String.prototype.padStart()",
"license": "WTFPL"
},
"node_modules/lru-cache": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
"integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
"license": "ISC",
"dependencies": {
"yallist": "^4.0.0"
},
"engines": {
"node": ">=10"
}
},
"node_modules/minimist": {
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
"license": "MIT"
},
"node_modules/mkdirp": {
"version": "0.5.5",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
"integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
"license": "MIT",
"dependencies": {
"minimist": "^1.2.5"
},
"bin": {
"mkdirp": "bin/cmd.js"
}
},
"node_modules/ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
"license": "MIT"
},
"node_modules/semver": {
"version": "7.5.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.5.0.tgz",
"integrity": "sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==",
"license": "ISC",
"dependencies": {
"lru-cache": "^6.0.0"
},
"bin": {
"semver": "bin/semver.js"
},
"engines": {
"node": ">=10"
}
},
"node_modules/supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"license": "MIT",
"dependencies": {
"has-flag": "^4.0.0"
},
"engines": {
"node": ">=8"
}
},
"node_modules/yallist": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
"license": "ISC"
},
"packages/app": {
"name": "fixture-app",
"version": "1.0.0",
"dependencies": {
"is-number": "^6.0.0",
"ms": "^2.1.1"
}
}
}
}
@@ -0,0 +1,62 @@
{
"chalk": {
"current": "4.1.0",
"wanted": "4.1.2",
"latest": "6.0.1",
"dependent": "fixture",
"location": "/fixture/node_modules/chalk",
"type": "dependencies",
"homepage": "https://github.com/chalk/chalk#readme",
"dependedByLocation": ""
},
"is-number": {
"current": "6.0.0",
"wanted": "6.0.0",
"latest": "7.0.0",
"dependent": "app",
"location": "/fixture/node_modules/is-number",
"type": "dependencies",
"homepage": "https://github.com/jonschlinkert/is-number",
"dependedByLocation": "packages/app"
},
"left-pad": {
"current": "1.1.0",
"wanted": "1.1.0",
"latest": "1.3.0",
"dependent": "fixture",
"location": "/fixture/node_modules/left-pad",
"type": "dependencies",
"homepage": "https://github.com/stevemao/left-pad#readme",
"dependedByLocation": ""
},
"mkdirp": {
"current": "0.5.5",
"wanted": "0.5.6",
"latest": "3.0.1",
"dependent": "fixture",
"location": "/fixture/node_modules/mkdirp",
"type": "dependencies",
"homepage": "https://github.com/isaacs/node-mkdirp#readme",
"dependedByLocation": ""
},
"ms": {
"current": "2.1.2",
"wanted": "2.1.2",
"latest": "2.1.3",
"dependent": "app",
"location": "/fixture/node_modules/ms",
"type": "dependencies",
"homepage": "https://github.com/vercel/ms#readme",
"dependedByLocation": "packages/app"
},
"semver": {
"current": "7.5.0",
"wanted": "7.8.6",
"latest": "7.8.6",
"dependent": "fixture",
"location": "/fixture/node_modules/semver",
"type": "dependencies",
"homepage": "https://github.com/npm/node-semver#readme",
"dependedByLocation": ""
}
}
@@ -0,0 +1,179 @@
{
"name": "fixture-root",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "fixture-root",
"version": "1.0.0",
"workspaces": [
"packages/*"
],
"dependencies": {
"chalk": "4.1.0",
"left-pad": "1.1.0",
"mkdirp": "0.5.5",
"semver": "7.5.0"
},
"engines": {
"node": ">=12"
}
},
"node_modules/ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
},
"engines": {
"node": ">=8"
},
"funding": {
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
"node_modules/chalk": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
"integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
},
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://github.com/chalk/chalk?sponsor=1"
}
},
"node_modules/color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
},
"engines": {
"node": ">=7.0.0"
}
},
"node_modules/color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"license": "MIT"
},
"node_modules/fixture-app": {
"resolved": "packages/app",
"link": true
},
"node_modules/has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"license": "MIT",
"engines": {
"node": ">=8"
}
},
"node_modules/is-number": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-6.0.0.tgz",
"integrity": "sha512-Wu1VHeILBK8KAWJUAiSZQX94GmOE45Rg6/538fKwiloUu21KncEkYGPqob2oSZ5mUT73vLGrHQjKw3KMPwfDzg==",
"license": "MIT",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/left-pad": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/left-pad/-/left-pad-1.1.0.tgz",
"integrity": "sha512-C8cw/7VpfXLj8Yjlmux8lqb3mfIe3vEXTdik/cXTuzZ8FXJnu45UAWp94XlWWmcW7Yxl74wvHw8w10wIHNGHRQ==",
"deprecated": "use String.prototype.padStart()",
"license": "WTFPL"
},
"node_modules/lru-cache": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
"integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
"license": "ISC",
"dependencies": {
"yallist": "^4.0.0"
},
"engines": {
"node": ">=10"
}
},
"node_modules/minimist": {
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
"license": "MIT"
},
"node_modules/mkdirp": {
"version": "0.5.5",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
"integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
"license": "MIT",
"dependencies": {
"minimist": "^1.2.5"
},
"bin": {
"mkdirp": "bin/cmd.js"
}
},
"node_modules/ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
"license": "MIT"
},
"node_modules/semver": {
"version": "7.5.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.5.0.tgz",
"integrity": "sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==",
"license": "ISC",
"dependencies": {
"lru-cache": "^6.0.0"
},
"bin": {
"semver": "bin/semver.js"
},
"engines": {
"node": ">=10"
}
},
"node_modules/supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"license": "MIT",
"dependencies": {
"has-flag": "^4.0.0"
},
"engines": {
"node": ">=8"
}
},
"node_modules/yallist": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
"license": "ISC"
},
"packages/app": {
"name": "fixture-app",
"version": "1.0.0",
"dependencies": {
"is-number": "6.0.0",
"ms": "^2.1.1"
}
}
}
}
@@ -0,0 +1,20 @@
{
"name": "fixture-root",
"version": "1.0.0",
"private": true,
"engines": {
"node": ">=12"
},
"workspaces": [
"packages/*"
],
"dependencies": {
"chalk": "^4.1.0",
"left-pad": "1.1.0",
"semver": "^7.5.0",
"mkdirp": "^0.5.5"
},
"overrides": {
"ms": "2.1.2"
}
}
@@ -0,0 +1,8 @@
{
"name": "fixture-app",
"version": "1.0.0",
"dependencies": {
"is-number": "^6.0.0",
"ms": "^2.1.1"
}
}
@@ -0,0 +1,114 @@
[
{
"version": "4.1.1",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/chalk/chalk.git"
},
{
"version": "4.1.2",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/chalk/chalk.git"
},
{
"version": "5.0.0",
"engines": {
"node": "^12.17.0 || ^14.13 || >=16.0.0"
},
"repository.url": "git+https://github.com/chalk/chalk.git"
},
{
"version": "5.0.1",
"engines": {
"node": "^12.17.0 || ^14.13 || >=16.0.0"
},
"repository.url": "git+https://github.com/chalk/chalk.git"
},
{
"version": "5.1.0",
"engines": {
"node": "^12.17.0 || ^14.13 || >=16.0.0"
},
"repository.url": "git+https://github.com/chalk/chalk.git"
},
{
"version": "5.1.1",
"engines": {
"node": "^12.17.0 || ^14.13 || >=16.0.0"
},
"repository.url": "git+https://github.com/chalk/chalk.git"
},
{
"version": "5.1.2",
"engines": {
"node": "^12.17.0 || ^14.13 || >=16.0.0"
},
"repository.url": "git+https://github.com/chalk/chalk.git"
},
{
"version": "5.2.0",
"engines": {
"node": "^12.17.0 || ^14.13 || >=16.0.0"
},
"repository.url": "git+https://github.com/chalk/chalk.git"
},
{
"version": "5.3.0",
"engines": {
"node": "^12.17.0 || ^14.13 || >=16.0.0"
},
"repository.url": "git+https://github.com/chalk/chalk.git"
},
{
"version": "5.4.0",
"engines": {
"node": "^12.17.0 || ^14.13 || >=16.0.0"
},
"repository.url": "git+https://github.com/chalk/chalk.git"
},
{
"version": "5.4.1",
"engines": {
"node": "^12.17.0 || ^14.13 || >=16.0.0"
},
"repository.url": "git+https://github.com/chalk/chalk.git"
},
{
"version": "5.5.0",
"engines": {
"node": "^12.17.0 || ^14.13 || >=16.0.0"
},
"repository.url": "git+https://github.com/chalk/chalk.git"
},
{
"version": "5.6.0",
"engines": {
"node": "^12.17.0 || ^14.13 || >=16.0.0"
},
"repository.url": "git+https://github.com/chalk/chalk.git"
},
{
"version": "5.6.2",
"engines": {
"node": "^12.17.0 || ^14.13 || >=16.0.0"
},
"repository.url": "git+https://github.com/chalk/chalk.git"
},
{
"version": "6.0.0",
"engines": {
"node": ">=22"
},
"repository.url": "git+https://github.com/chalk/chalk.git"
},
{
"version": "6.0.1",
"engines": {
"node": ">=22"
},
"repository.url": "git+https://github.com/chalk/chalk.git"
}
]
@@ -0,0 +1,7 @@
{
"error": {
"code": "E404",
"summary": "Not Found - GET https://registry.npmjs.org/@acme-private-zz%2fthing - Not found",
"detail": "The requested resource '@acme-private-zz/thing@>1.0.0' could not be found or you do not have permission to access it.\n\nNote that you can also install from a\ntarball, folder, http url, or git url."
}
}
@@ -0,0 +1,7 @@
{
"version": "7.0.0",
"engines": {
"node": ">=0.12.0"
},
"repository.url": "git+https://github.com/jonschlinkert/is-number.git"
}
@@ -0,0 +1,22 @@
[
{
"version": "1.1.1",
"repository.url": "git+ssh://git@github.com/stevemao/left-pad.git"
},
{
"version": "1.1.2",
"repository.url": "git+ssh://git@github.com/stevemao/left-pad.git"
},
{
"version": "1.1.3",
"repository.url": "git+ssh://git@github.com/stevemao/left-pad.git"
},
{
"version": "1.2.0",
"repository.url": "git+ssh://git@github.com/stevemao/left-pad.git"
},
{
"version": "1.3.0",
"repository.url": "git+ssh://git@github.com/stevemao/left-pad.git"
}
]
@@ -0,0 +1,18 @@
[
{
"version": "1.2.5",
"repository.url": "git://github.com/substack/minimist.git"
},
{
"version": "1.2.6",
"repository.url": "git://github.com/substack/minimist.git"
},
{
"version": "1.2.7",
"repository.url": "git://github.com/minimistjs/minimist.git"
},
{
"version": "1.2.8",
"repository.url": "git://github.com/minimistjs/minimist.git"
}
]
@@ -0,0 +1,111 @@
[
{
"version": "1.0.0",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/isaacs/node-mkdirp.git"
},
{
"version": "1.0.1",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/isaacs/node-mkdirp.git"
},
{
"version": "1.0.2",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/isaacs/node-mkdirp.git"
},
{
"version": "1.0.3",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/isaacs/node-mkdirp.git"
},
{
"version": "1.0.4",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/isaacs/node-mkdirp.git"
},
{
"version": "0.5.6",
"repository.url": "git+https://github.com/substack/node-mkdirp.git"
},
{
"version": "2.0.0",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/isaacs/node-mkdirp.git"
},
{
"version": "2.1.0",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/isaacs/node-mkdirp.git"
},
{
"version": "2.1.1",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/isaacs/node-mkdirp.git"
},
{
"version": "2.1.2",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/isaacs/node-mkdirp.git"
},
{
"version": "2.1.3",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/isaacs/node-mkdirp.git"
},
{
"version": "2.1.4",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/isaacs/node-mkdirp.git"
},
{
"version": "2.1.5",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/isaacs/node-mkdirp.git"
},
{
"version": "2.1.6",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/isaacs/node-mkdirp.git"
},
{
"version": "3.0.0",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/isaacs/node-mkdirp.git"
},
{
"version": "3.0.1",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/isaacs/node-mkdirp.git"
}
]
@@ -0,0 +1,4 @@
{
"version": "2.1.3",
"repository.url": "git+https://github.com/vercel/ms.git"
}
@@ -0,0 +1,142 @@
[
{
"version": "7.5.1",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
},
{
"version": "7.5.2",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
},
{
"version": "7.5.3",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
},
{
"version": "7.5.4",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
},
{
"version": "7.6.0",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
},
{
"version": "7.6.1",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
},
{
"version": "7.6.2",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
},
{
"version": "7.6.3",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
},
{
"version": "7.7.0",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
},
{
"version": "7.7.1",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
},
{
"version": "7.7.2",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
},
{
"version": "7.7.3",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
},
{
"version": "7.7.4",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
},
{
"version": "7.8.0",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
},
{
"version": "7.8.1",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
},
{
"version": "7.8.2",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
},
{
"version": "7.8.3",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
},
{
"version": "7.8.4",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
},
{
"version": "7.8.5",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
},
{
"version": "7.8.6",
"engines": {
"node": ">=10"
},
"repository.url": "git+https://github.com/npm/node-semver.git"
}
]
@@ -0,0 +1,5 @@
certifi==2023.7.22
charset-normalizer==3.2.0
idna==3.4
requests==2.31.0
urllib3==1.26.18
@@ -0,0 +1 @@
[{"name": "certifi", "version": "2023.7.22", "latest_version": "2026.10.23", "latest_filetype": "wheel"}, {"name": "charset-normalizer", "version": "3.2.0", "latest_version": "3.5.2", "latest_filetype": "wheel"}, {"name": "idna", "version": "3.4", "latest_version": "3.20", "latest_filetype": "wheel"}, {"name": "requests", "version": "2.31.0", "latest_version": "2.34.2", "latest_filetype": "wheel"}, {"name": "urllib3", "version": "1.26.18", "latest_version": "2.8.0", "latest_filetype": "wheel"}]
@@ -0,0 +1 @@
{"dependencies": [{"name": "certifi", "version": "2023.7.22", "vulns": []}, {"name": "charset-normalizer", "version": "3.2.0", "vulns": []}, {"name": "idna", "version": "3.4", "vulns": []}, {"name": "requests", "version": "2.31.0", "vulns": [{"id": "GHSA-9wx4-h78v-vm56", "fix_versions": ["2.32.0"], "aliases": ["CVE-2024-35195"], "description": "When using a requests.Session, if the first request to a given origin is made with verify=False, TLS certificate verification may remain disabled for all subsequent requests to that origin, even if verify=True is explicitly specified later."}]}, {"name": "urllib3", "version": "1.26.18", "vulns": [{"id": "GHSA-34jh-p97f-mpxf", "fix_versions": ["1.26.19", "2.2.2"], "aliases": ["CVE-2024-37891"], "description": "When sending HTTP requests without using urllib3 proxy support, a manually set Proxy-Authorization header is not stripped during cross-origin redirects."}]}], "fixes": []}
@@ -0,0 +1 @@
Python 3.13.17
@@ -0,0 +1,5 @@
requests==2.31.0
idna==3.4
urllib3==1.26.18
certifi==2023.7.22
charset-normalizer==3.2.0
@@ -0,0 +1,18 @@
{
"actions": [],
"advisories": {
"1097678": {
"id": 1097678,
"module_name": "minimist",
"severity": "critical",
"title": "Prototype Pollution in minimist",
"url": "https://github.com/advisories/GHSA-xvch-5gv4-984h",
"github_advisory_id": "GHSA-xvch-5gv4-984h",
"vulnerable_versions": ">=1.0.0 <1.2.6",
"patched_versions": ">=1.2.6",
"findings": [{ "version": "1.2.5", "paths": [". > mkdirp > minimist"] }]
}
},
"muted": [],
"metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 0, "high": 0, "critical": 1 } }
}
@@ -0,0 +1,16 @@
{
"chalk": {
"current": "4.1.0",
"latest": "6.0.1",
"wanted": "4.1.2",
"isDeprecated": false,
"dependencyType": "dependencies"
},
"is-number": {
"current": "6.0.0",
"latest": "7.0.0",
"wanted": "6.0.0",
"isDeprecated": false,
"dependencyType": "dependencies"
}
}
+313
View File
@@ -0,0 +1,313 @@
{
"schema": {
"version": "preview"
},
"summary": {
"audited_packages": 5,
"vulnerabilities": 15,
"adverse_statuses": 0
},
"vulnerabilities": [
{
"dependency": {
"name": "certifi",
"version": "2023.7.22"
},
"id": "GHSA-248v-346w-9cwc",
"display_id": "PYSEC-2024-230",
"aliases": [
"CVE-2024-39689",
"PYSEC-2024-230"
],
"summary": "Certifi removes GLOBALTRUST root certificate",
"description": "Certifi 2024.07.04 removes root certificates from \"GLOBALTRUST\" from the root store. These are in the process of being removed from Mozilla's trust store.\n\nGLOBALTRUST's root certificates are being removed pursuant to an investigation which identified \"long-running and unresolved compliance issues\". Conclusions of Mozilla's investigation can be found [here]( https://groups.google.com/a/mozilla.org/g/dev-security-policy/c/XpknYMPO8dI).",
"link": "https://nvd.nist.gov/vuln/detail/CVE-2024-39689",
"fix_versions": [
"2024.7.4"
],
"published": "2024-07-05T20:06:40Z",
"modified": "2026-09-10T03:50:15.994602411Z"
},
{
"dependency": {
"name": "certifi",
"version": "2023.7.22"
},
"id": "GHSA-6q48-6c7w-9gw2",
"display_id": "PYSEC-2026-4320",
"aliases": [
"PYSEC-2026-4320"
],
"summary": "certifi bundles emSign root CAs with compromised intermediate CA keys",
"description": "Certifi versions before 2026.10.18 include the `emSign ECC Root CA - G3` root certificate in their bundled CA store. Eight eMudhra intermediate CA certificates that chain to this root have compromised private keys and the CA has revoked them. \n\nAn attacker with one of the compromised keys can issue valid-looking certificates for any hostname. If the attacker is also on-path, they can intercept or modify TLS traffic from clients that trust the certifi bundle. Examples include `requests`, `urllib3` and `pip`, and the Python.org macOS installer.\n\nCertifi 2026.10.18 removed all emSign roots from the bundle. Certifi 2026.10.19 restored the emSign roots that are not affected. Upgrade to 2026.10.19 or later, and rebuild container images that vendor certifi.",
"link": "https://github.com/advisories/GHSA-6q48-6c7w-9gw2",
"fix_versions": [
"2026.10.18"
],
"published": "2026-10-20T21:41:50.722083Z",
"modified": "2026-10-30T14:00:02.590922333Z"
},
{
"dependency": {
"name": "idna",
"version": "3.4"
},
"id": "GHSA-jjg7-2v4v-x38h",
"display_id": "PYSEC-2024-60",
"aliases": [
"CVE-2024-3651",
"PYSEC-2024-60"
],
"summary": "Internationalized Domain Names in Applications (IDNA) vulnerable to denial of service from specially crafted inputs to idna.encode",
"description": "### Impact\nA specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service.\n\n### Patches\nThe function has been refined to reject such strings without the associated resource consumption in version 3.7.\n\n### Workarounds\nDomain names cannot exceed 253 characters in length, if this length limit is enforced prior to passing the domain to the `idna.encode()` function it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.\n\n### References\n* https://huntr.com/bounties/93d78d07-d791-4b39-a845-cbfabc44aadb",
"link": "https://nvd.nist.gov/vuln/detail/CVE-2024-3651",
"fix_versions": [
"3.7"
],
"published": "2024-04-11T21:32:40Z",
"modified": "2026-09-10T03:50:12.774088619Z"
},
{
"dependency": {
"name": "idna",
"version": "3.4"
},
"id": "GHSA-65pc-fj4g-8rjx",
"display_id": "PYSEC-2026-215",
"aliases": [
"CVE-2026-45409",
"PYSEC-2026-215"
],
"summary": "Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix",
"description": "This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. Payloads such as `\"\\u0660\" * N` or `\"\\u30fb\" * N + \"\\u6f22\"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process.\n\n### Impact\nA specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service.\n\n### Patches\nStarting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support).\n\n### Workarounds\nDomain names cannot exceed 253 characters in length, if this length limit is enforced prior to passing the domain to the `idna.encode()` function it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.",
"link": "https://nvd.nist.gov/vuln/detail/CVE-2026-45409",
"fix_versions": [
"3.15"
],
"published": "2026-05-19T14:34:32Z",
"modified": "2026-09-10T03:50:45.700124422Z"
},
{
"dependency": {
"name": "requests",
"version": "2.31.0"
},
"id": "GHSA-9hjg-9r4m-mvj7",
"display_id": "PYSEC-2026-1872",
"aliases": [
"CVE-2024-47081",
"PYSEC-2026-1872"
],
"summary": "Requests vulnerable to .netrc credentials leak via malicious URLs",
"description": "### Impact\n\nDue to a URL parsing issue, Requests releases prior to 2.32.4 may leak .netrc credentials to third parties for specific maliciously-crafted URLs.\n\n### Workarounds\nFor older versions of Requests, use of the .netrc file can be disabled with `trust_env=False` on your Requests Session ([docs](https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env)).\n\n### References\nhttps://github.com/psf/requests/pull/6965\nhttps://seclists.org/fulldisclosure/2025/Jun/2",
"link": "https://nvd.nist.gov/vuln/detail/CVE-2024-47081",
"fix_versions": [
"2.32.4"
],
"published": "2025-06-09T19:06:08Z",
"modified": "2026-10-19T20:00:04.71611453Z"
},
{
"dependency": {
"name": "requests",
"version": "2.31.0"
},
"id": "GHSA-9wx4-h78v-vm56",
"display_id": "PYSEC-2026-1873",
"aliases": [
"CVE-2024-35195",
"PYSEC-2026-1873"
],
"summary": "Requests `Session` object does not verify requests after making first request with verify=False",
"description": "When using a `requests.Session`, if the first request to a given origin is made with `verify=False`, TLS certificate verification may remain disabled for all subsequent requests to that origin, even if `verify=True` is explicitly specified later.\n\nThis occurs because the underlying connection is reused from the session's connection pool, causing the initial TLS verification setting to persist for the lifetime of the pooled connection. As a result, applications may unintentionally send requests without certificate verification, leading to potential man-in-the-middle attacks and compromised confidentiality or integrity.\n\nThis behavior affects versions of `requests` prior to 2.32.0.",
"link": "https://nvd.nist.gov/vuln/detail/CVE-2024-35195",
"fix_versions": [
"2.32.0"
],
"published": "2024-05-20T20:15:00Z",
"modified": "2026-09-10T03:50:13.740879755Z"
},
{
"dependency": {
"name": "requests",
"version": "2.31.0"
},
"id": "GHSA-gc5v-m9x4-r6x2",
"display_id": "PYSEC-2026-2275",
"aliases": [
"CVE-2026-25645",
"PYSEC-2026-2275"
],
"summary": "Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function",
"description": "### Impact\nThe `requests.utils.extract_zipped_paths()` utility function uses a predictable filename when extracting files from zip archives into the system temporary directory. If the target file already exists, it is reused without validation. A local attacker with write access to the temp directory could pre-create a malicious file that would be loaded in place of the legitimate one.\n\n### Affected usages\n**Standard usage of the Requests library is not affected by this vulnerability.** Only applications that call `extract_zipped_paths()` directly are impacted.\n\n### Remediation\nUpgrade to at least Requests 2.33.0, where the library now extracts files to a non-deterministic location.\n\nIf developers are unable to upgrade, they can set `TMPDIR` in their environment to a directory with restricted write access.",
"link": "https://nvd.nist.gov/vuln/detail/CVE-2026-25645",
"fix_versions": [
"2.33.0"
],
"published": "2026-03-25T16:56:28Z",
"modified": "2026-09-10T03:50:39.207922076Z"
},
{
"dependency": {
"name": "urllib3",
"version": "1.26.18"
},
"id": "GHSA-qccp-gfcp-xxvc",
"display_id": "PYSEC-2026-141",
"aliases": [
"CVE-2026-44431",
"PYSEC-2026-141"
],
"summary": "urllib3: Sensitive headers forwarded across origins in proxied low-level redirects",
"description": "### Impact\n\nWhen following cross-origin redirects for requests made using urllib3’s high-level APIs, such as `urllib3.request()`, `PoolManager.request()`, and `ProxyManager.request()`, sensitive headers — `Authorization`, `Cookie`, and `Proxy-Authorization` (defined in `Retry.DEFAULT_REMOVE_HEADERS_ON_REDIRECT`) — are stripped by default, as expected.\n\nHowever, cross-origin redirects followed from the low-level API via `ProxyManager.connection_from_url().urlopen(..., assert_same_host=False)` still forward these sensitive headers.\n\n### Affected usage\n\nApplications and libraries using urllib3 versions earlier than 2.7.0 may be affected if they allow cross-origin redirects while making requests through `HTTPConnection.urlopen()` instances created via `ProxyManager.connection_from_url()`.\n\n### Remediation\n\nUpgrade to urllib3 version 2.7.0 or later, in which sensitive headers are stripped from redirects followed by `HTTPConnection`.\n\nIf upgrading is not immediately possible, avoid using this low-level redirect flow for cross-origin redirects. If appropriate for your use case, switch to `ProxyManager.request()`.",
"link": "https://nvd.nist.gov/vuln/detail/CVE-2026-44431",
"fix_versions": [
"2.7.0"
],
"published": "2026-05-11T14:51:20Z",
"modified": "2026-09-10T03:50:47.27276564Z"
},
{
"dependency": {
"name": "urllib3",
"version": "1.26.18"
},
"id": "GHSA-2xpw-w6gg-jr37",
"display_id": "PYSEC-2026-1994",
"aliases": [
"CVE-2025-66471",
"PYSEC-2026-1994"
],
"summary": "urllib3 streaming API improperly handles highly compressed data",
"description": "### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nWhen streaming a compressed response, urllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). The library must read compressed data from the network and decompress it until the requested chunk size is met. Any resulting decompressed data that exceeds the requested amount is held in an internal buffer for the next read operation.\n\nThe decompression logic could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This can result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data; CWE-409) on the client side, even if the application only requested a small chunk of data.\n\n\n### Affected usages\n\nApplications and libraries using urllib3 version 2.5.0 and earlier to stream large compressed responses or content from untrusted sources.\n\n`stream()`, `read(amt=256)`, `read1(amt=256)`, `read_chunked(amt=256)`, `readinto(b)` are examples of `urllib3.HTTPResponse` method calls using the affected logic unless decoding is disabled explicitly.\n\n\n### Remediation\n\nUpgrade to at least urllib3 v2.6.0 in which the library avoids decompressing data that exceeds the requested amount.\n\nIf your environment contains a package facilitating the Brotli encoding, upgrade to at least Brotli 1.2.0 or brotlicffi 1.2.0.0 too. These versions are enforced by the `urllib3[brotli]` extra in the patched versions of urllib3.\n\n\n### Credits\n\nThe issue was reported by @Cycloctane.\nSupplemental information was provided by @stamparm during a security audit performed by [7ASecurity](https://7asecurity.com/) and facilitated by [OSTIF](https://ostif.org/).",
"link": "https://nvd.nist.gov/vuln/detail/CVE-2025-66471",
"fix_versions": [
"2.6.0"
],
"published": "2025-12-05T18:15:54Z",
"modified": "2026-09-25T17:15:05.968189421Z"
},
{
"dependency": {
"name": "urllib3",
"version": "1.26.18"
},
"id": "GHSA-34jh-p97f-mpxf",
"display_id": "PYSEC-2026-1995",
"aliases": [
"CVE-2024-37891",
"PYSEC-2026-1995"
],
"summary": "urllib3's Proxy-Authorization request header isn't stripped during cross-origin redirects",
"description": "When using urllib3's proxy support with `ProxyManager`, the `Proxy-Authorization` header is only sent to the configured proxy, as expected.\n\nHowever, when sending HTTP requests *without* using urllib3's proxy support, it's possible to accidentally configure the `Proxy-Authorization` header even though it won't have any effect as the request is not using a forwarding proxy or a tunneling proxy. In those cases, urllib3 doesn't treat the `Proxy-Authorization` HTTP header as one carrying authentication material and thus doesn't strip the header on cross-origin redirects.\n\nBecause this is a highly unlikely scenario, we believe the severity of this vulnerability is low for almost all users. Out of an abundance of caution urllib3 will automatically strip the `Proxy-Authorization` header during cross-origin redirects to avoid the small chance that users are doing this on accident.\n\nUsers should use urllib3's proxy support or disable automatic redirects to achieve safe processing of the `Proxy-Authorization` header, but we still decided to strip the header by default in order to further protect users who aren't using the correct approach.\n\n## Affected usages\n\nWe believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited:\n\n* Setting the `Proxy-Authorization` header without using urllib3's built-in proxy support.\n* Not disabling HTTP redirects.\n* Either not using an HTTPS origin server or for the proxy or target origin to redirect to a malicious origin.\n\n## Remediation\n\n* Using the `Proxy-Authorization` header with urllib3's `ProxyManager`.\n* Disabling HTTP redirects using `redirects=False` when sending requests.\n* Not using the `Proxy-Authorization` header.",
"link": "https://nvd.nist.gov/vuln/detail/CVE-2024-37891",
"fix_versions": [
"1.26.19",
"2.2.2"
],
"published": "2024-06-17T21:37:20Z",
"modified": "2026-09-10T03:50:14.811193644Z"
},
{
"dependency": {
"name": "urllib3",
"version": "1.26.18"
},
"id": "GHSA-38jv-5279-wg99",
"display_id": "PYSEC-2026-1996",
"aliases": [
"CVE-2026-21441",
"PYSEC-2026-1996"
],
"summary": "Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)",
"description": "### Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.6.2/advanced-usage.html#streaming-and-i-o) is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once.\n\nurllib3 can perform decoding or decompression based on the HTTP `Content-Encoding` header (e.g., `gzip`, `deflate`, `br`, or `zstd`). When using the streaming API, the library decompresses only the necessary bytes, enabling partial content consumption.\n\nHowever, for HTTP redirect responses, the library would read the entire response body to drain the connection and decompress the content unnecessarily. This decompression occurred even before any read methods were called, and configured read limits did not restrict the amount of decompressed data. As a result, there was no safeguard against decompression bombs. A malicious server could exploit this to trigger excessive resource consumption on the client (high CPU usage and large memory allocations for decompressed data; CWE-409).\n\n### Affected usages\n\nApplications and libraries using urllib3 version 2.6.2 and earlier to stream content from untrusted sources by setting `preload_content=False` when they do not disable redirects.\n\n\n### Remediation\n\nUpgrade to at least urllib3 v2.6.3 in which the library does not decode content of redirect responses when `preload_content=False`.\n\nIf upgrading is not immediately possible, disable [redirects](https://urllib3.readthedocs.io/en/2.6.2/user-guide.html#retrying-requests) by setting `redirect=False` for requests to untrusted source.",
"link": "https://nvd.nist.gov/vuln/detail/CVE-2026-21441",
"fix_versions": [
"2.6.3"
],
"published": "2026-01-07T19:18:14Z",
"modified": "2026-09-10T03:50:32.562010895Z"
},
{
"dependency": {
"name": "urllib3",
"version": "1.26.18"
},
"id": "GHSA-gm62-xv2j-4w53",
"display_id": "PYSEC-2026-1998",
"aliases": [
"CVE-2025-66418",
"PYSEC-2026-1998"
],
"summary": "urllib3 allows an unbounded number of links in the decompression chain",
"description": "## Impact\n\nurllib3 supports chained HTTP encoding algorithms for response content according to RFC 9110 (e.g., `Content-Encoding: gzip, zstd`).\n\nHowever, the number of links in the decompression chain was unbounded allowing a malicious server to insert a virtually unlimited number of compression steps leading to high CPU usage and massive memory allocation for the decompressed data.\n\n\n## Affected usages\n\nApplications and libraries using urllib3 version 2.5.0 and earlier for HTTP requests to untrusted sources unless they disable content decoding explicitly.\n\n\n## Remediation\n\nUpgrade to at least urllib3 v2.6.0 in which the library limits the number of links to 5.\n\nIf upgrading is not immediately possible, use [`preload_content=False`](https://urllib3.readthedocs.io/en/2.5.0/advanced-usage.html#streaming-and-i-o) and ensure that `resp.headers[\"content-encoding\"]` contains a safe number of encodings before reading the response content.",
"link": "https://nvd.nist.gov/vuln/detail/CVE-2025-66418",
"fix_versions": [
"2.6.0"
],
"published": "2025-12-05T18:15:19Z",
"modified": "2026-09-10T03:50:58.741847479Z"
},
{
"dependency": {
"name": "urllib3",
"version": "1.26.18"
},
"id": "GHSA-pq67-6m6q-mj2v",
"display_id": "PYSEC-2026-1999",
"aliases": [
"CVE-2025-50181",
"PYSEC-2026-1999"
],
"summary": "urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation",
"description": "urllib3 handles redirects and retries using the same mechanism, which is controlled by the `Retry` object. The most common way to disable redirects is at the request level, as follows:\n\n```python\nresp = urllib3.request(\"GET\", \"https://httpbin.org/redirect/1\", redirect=False)\nprint(resp.status)\n# 302\n```\n\nHowever, it is also possible to disable redirects, for all requests, by instantiating a `PoolManager` and specifying `retries` in a way that disable redirects:\n\n```python\nimport urllib3\n\nhttp = urllib3.PoolManager(retries=0) # should raise MaxRetryError on redirect\nhttp = urllib3.PoolManager(retries=urllib3.Retry(redirect=0)) # equivalent to the above\nhttp = urllib3.PoolManager(retries=False) # should return the first response\n\nresp = http.request(\"GET\", \"https://httpbin.org/redirect/1\")\n```\n\nHowever, the `retries` parameter is currently ignored, which means all the above examples don't disable redirects.\n\n## Affected usages\n\nPassing `retries` on `PoolManager` instantiation to disable redirects or restrict their number.\n\nBy default, requests and botocore users are not affected.\n\n## Impact\n\nRedirects are often used to exploit SSRF vulnerabilities. An application attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects at the PoolManager level will remain vulnerable.\n\n## Remediation\n\nYou can remediate this vulnerability with the following steps:\n\n * Upgrade to a patched version of urllib3. If your organization would benefit from the continued support of urllib3 1.x, please contact [sethmichaellarson@gmail.com](mailto:sethmichaellarson@gmail.com) to discuss sponsorship or contribution opportunities.\n * Disable redirects at the `request()` level instead of the `PoolManager()` level.",
"link": "https://nvd.nist.gov/vuln/detail/CVE-2025-50181",
"fix_versions": [
"2.5.0"
],
"published": "2025-06-18T17:50:00Z",
"modified": "2026-09-10T03:50:25.299291456Z"
},
{
"dependency": {
"name": "urllib3",
"version": "1.26.18"
},
"id": "GHSA-8988-9cw3-xx77",
"display_id": "PYSEC-2026-4175",
"aliases": [
"CVE-2026-97687",
"PYSEC-2026-4175"
],
"summary": "urllib3: HTTPS proxy TLS configuration may be ignored or overridden",
"description": "## Impact\n\nurllib3 supports configuring TLS independently for an HTTPS proxy and the target server.\n\n`proxy_ssl_context`, `proxy_assert_hostname`, and `proxy_assert_fingerprint` configure the TLS connection to the proxy. `ssl_context` and the other target-specific TLS parameters configure the connection to the target server.\n\nIn urllib3 versions 1.26.0 through 2.7.0, these configurations were not consistently separated. Depending on the proxy mode, urllib3 could:\n\n1. Ignore `proxy_ssl_context` and use the target server's SSL context for the TLS connection to an HTTPS forwarding proxy.\n2. Override the HTTPS proxy's certificate-verification policy with the target server's certificate-verification policy.\n3. Apply target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials to the TLS connection to an HTTPS forwarding proxy.\n\nIn particular, configuring `cert_reqs=\"CERT_NONE\"` for a target server could overwrite the `verify_mode` of the SSL context configured for the HTTPS proxy. This modification occurred in place and persisted on the context object, potentially disabling proxy certificate verification for later connections that reused the same context.\n\nAn attacker able to intercept the connection to an HTTPS proxy may be able to impersonate the proxy when the effective proxy TLS configuration disables certificate verification or otherwise accepts the attacker's certificate. This may occur, for example, when the target server's trust or identity policy is incorrectly applied to the proxy connection.\n\nWhen HTTPS forwarding is enabled, an impersonated proxy can observe or modify forwarded requests and responses, potentially exposing credentials, authentication tokens, request bodies, response data, and other sensitive information.\n\nA TLS client certificate intended for the target server may also be presented to the proxy or to an attacker impersonating it. This can disclose the client's identity and provide proof of possession of the corresponding private key. The private key itself is not transmitted during the TLS handshake.\n\nIn CONNECT tunneling mode, impersonating the HTTPS proxy does not by itself defeat the separate end-to-end TLS connection between the client and the target server.\n\n## Affected Usages\n\nCode using urllib3 versions 1.26.0 through 2.7.0 may be affected in any of the following cases.\n\n### 1. The target SSL context is used for an HTTPS forwarding proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and `proxy_ssl_context` is configured for the proxy.\n\nurllib3 may ignore `proxy_ssl_context` and use the target server's `ssl_context` for the proxy TLS handshake. The proxy may therefore be verified using the target server's trust and certificate policy instead of the policy explicitly configured for the proxy.\n\n### 2. The target verification policy overrides the proxy policy\n\nAn HTTPS proxy is configured with `proxy_ssl_context`, while the target server uses a different certificate-verification policy.\n\nurllib3 may apply the target server's `cert_reqs` value to the proxy SSL context. For example, setting `cert_reqs=\"CERT_NONE\"` for the target server may also disable certificate verification for the HTTPS proxy, even when `proxy_ssl_context` was configured to require verification.\n\nThis issue can affect the TLS connection to an HTTPS proxy in both forwarding and CONNECT tunneling configurations.\n\n### 3. A mutated proxy SSL context is reused\n\nThe same SSL context is reused as `proxy_ssl_context` across multiple connections, and certificate verification is disabled for one target server.\n\nurllib3 may modify the proxy SSL context's `verify_mode` in place. Later connections that reuse the same context may therefore connect to the HTTPS proxy without certificate verification.\n\n### 4. Target-specific TLS identity or credentials are applied to the proxy\n\nHTTPS requests are forwarded through an HTTPS proxy with `use_forwarding_for_https=True`, and target-specific SNI, hostname assertions, certificate fingerprint assertions, or TLS client credentials are configured.\n\nurllib3 may apply these target-specific settings to the proxy TLS handshake. This may cause urllib3 to:\n\n- send SNI intended for the target server to the proxy;\n- verify the proxy using a hostname or certificate fingerprint intended for the target server; or\n- present a TLS client certificate intended for the target server to the proxy.\n\nCode connecting through a plain HTTP proxy does not establish a TLS connection to the proxy and is not affected by this issue.\n\n## Remediation\n\nUpgrade to urllib3 2.8.0 or later.\n\nurllib3 2.8.0 independently applies the explicitly configured `proxy_ssl_context` and proxy-specific certificate assertions to the HTTPS proxy connection. Target-specific SNI, certificate assertions, and TLS client certificate parameters are no longer applied tLine truncated
"link": "https://nvd.nist.gov/vuln/detail/CVE-2026-97687",
"fix_versions": [
"2.8.0"
],
"published": "2026-09-30T14:46:04Z",
"modified": "2026-10-01T17:55:53.79360855Z"
},
{
"dependency": {
"name": "urllib3",
"version": "1.26.18"
},
"id": "GHSA-vxq7-64xx-v4gw",
"display_id": "PYSEC-2026-4177",
"aliases": [
"CVE-2026-97689",
"PYSEC-2026-4177"
],
"summary": "urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory",
"description": "## Impact\n\nurllib3's [streaming API](https://urllib3.readthedocs.io/en/2.7.0/advanced-usage.html#streaming-and-i-o) is designed for efficiently handling large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. When decoding a [chunked-transfer-encoded response](https://httpwg.org/specs/rfc9112.html#chunked.encoding), this API reads each chunk's size field by buffering until it sees `\\n` or EOF.\n\nA malicious HTTP server can return `Transfer-Encoding: chunked` and then send a very long run of bytes without any newline, causing the streaming client to buffer that entire run before urllib3 can reject the chunk size as invalid and allocate more memory than intended.\n\nTo fix the issue, we'll reject chunk-size fields larger than 65536 bytes, as already done in the non-streaming case, which is currently handled by the Python standard library. Note that this only applies to reading the chunk-size field, not the chunk data, which is already handled correctly. Thus, there shouldn't be any impact for non-malicious servers.\n\n## Affected usages\n\nApplications and libraries using urllib3 versions earlier than 2.8.0 may be affected when streaming a chunked response from untrusted sources. Specifically, this affects the [read_chunked()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read_chunked) and [stream()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.stream) methods of the HTTPResponse object.\n\nThis also affects requests streaming API, which uses urllib3 under the hood.\n\n## Remediation\n\nUpgrade to urllib3 version 2.8.0 or later, where chunk-size fields larger than 65536 will be rejected. If upgrading is not immediately possible, consider reading the response at once using the [read()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.response.html#urllib3.response.BaseHTTPResponse.read) method.",
"link": "https://nvd.nist.gov/vuln/detail/CVE-2026-97689",
"fix_versions": [
"2.8.0"
],
"published": "2026-09-30T14:46:18Z",
"modified": "2026-10-01T17:55:57.514829071Z"
}
],
"adverse_statuses": []
}
@@ -0,0 +1,69 @@
version = 1
revision = 5
requires-python = ">=3.13"
[[package]]
name = "certifi"
version = "2023.7.22"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/98/98/c2ff18671db109c9f10ed27f5ef610ae05b73bd876664139cf95bd1429aa/certifi-2023.7.22.tar.gz", hash = "sha256:539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082", size = 159517, upload-time = "2023-07-22T08:39:27.482Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/4c/dd/2234eab22353ffc7d94e8d13177aaa050113286e93e7b40eae01fbf7c3d9/certifi-2023.7.22-py3-none-any.whl", hash = "sha256:92d6037539857d8206b8f6ae472e8b77db8058fec5937a1ef3f54304089edbb9", size = 158334, upload-time = "2023-07-22T08:39:25.345Z" },
]
[[package]]
name = "charset-normalizer"
version = "3.2.0"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/2a/53/cf0a48de1bdcf6ff6e1c9a023f5f523dfe303e4024f216feac64b6eb7f67/charset-normalizer-3.2.0.tar.gz", hash = "sha256:3bb3d25a8e6c0aedd251753a79ae98a093c7e7b471faa3aa9a93a81431987ace", size = 97063, upload-time = "2023-07-07T20:19:09.586Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/bf/a0/188f223c7d8b924fb9b554b9d27e0e7506fd5bf9cfb6dbacb2dfd5832b53/charset_normalizer-3.2.0-py3-none-any.whl", hash = "sha256:8e098148dd37b4ce3baca71fb394c81dc5d9c7728c95df695d2dca218edf40e6", size = 46668, upload-time = "2023-07-07T20:19:07.49Z" },
]
[[package]]
name = "fixture"
version = "0.1.0"
source = { virtual = "." }
dependencies = [
{ name = "requests" },
{ name = "urllib3" },
]
[package.metadata]
requires-dist = [
{ name = "requests", specifier = ">=2.31,<3" },
{ name = "urllib3", specifier = ">=1.26,<2" },
]
[[package]]
name = "idna"
version = "3.4"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/8b/e1/43beb3d38dba6cb420cefa297822eac205a277ab43e5ba5d5c46faf96438/idna-3.4.tar.gz", hash = "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4", size = 183077, upload-time = "2022-09-14T00:24:27.719Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/fc/34/3030de6f1370931b9dbb4dad48f6ab1015ab1d32447850b9fc94e60097be/idna-3.4-py3-none-any.whl", hash = "sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2", size = 61538, upload-time = "2022-09-14T00:24:23.22Z" },
]
[[package]]
name = "requests"
version = "2.32.3"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "certifi" },
{ name = "charset-normalizer" },
{ name = "idna" },
{ name = "urllib3" },
]
sdist = { url = "https://files.pythonhosted.org/packages/63/70/2bf7780ad2d390a8d301ad0b550f1581eadbd9a20f896afe06353c2a2913/requests-2.32.3.tar.gz", hash = "sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760", size = 131218, upload-time = "2024-05-29T15:37:49.536Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a2a686d80da4d54/requests-2.32.3-py3-none-any.whl", hash = "sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6", size = 64928, upload-time = "2024-05-29T15:37:47.027Z" },
]
[[package]]
name = "urllib3"
version = "1.26.18"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/0c/39/64487bf07df2ed854cc06078c27c0d0abc59bd27b32232876e403c333a08/urllib3-1.26.18.tar.gz", hash = "sha256:f8ecc1bba5667413457c529ab955bf8c67b45db799d159066261719e328580a0", size = 305687, upload-time = "2023-10-17T17:47:03.986Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/b0/53/aa91e163dcfd1e5b82d8a890ecf13314e3e149c05270cc644581f77f17fd/urllib3-1.26.18-py2.py3-none-any.whl", hash = "sha256:34b97092d7e0a3a8cf7cd10e386f401b3737364026c45e622aa02903dffe0f07", size = 143835, upload-time = "2023-10-17T17:47:01.725Z" },
]
@@ -0,0 +1,8 @@
[project]
name = "fixture"
version = "0.1.0"
requires-python = ">=3.13"
dependencies = [
"requests>=2.31,<3",
"urllib3>=1.26,<2",
]
+69
View File
@@ -0,0 +1,69 @@
version = 1
revision = 5
requires-python = ">=3.13"
[[package]]
name = "certifi"
version = "2023.7.22"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/98/98/c2ff18671db109c9f10ed27f5ef610ae05b73bd876664139cf95bd1429aa/certifi-2023.7.22.tar.gz", hash = "sha256:539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082", size = 159517, upload-time = "2023-07-22T08:39:27.482Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/4c/dd/2234eab22353ffc7d94e8d13177aaa050113286e93e7b40eae01fbf7c3d9/certifi-2023.7.22-py3-none-any.whl", hash = "sha256:92d6037539857d8206b8f6ae472e8b77db8058fec5937a1ef3f54304089edbb9", size = 158334, upload-time = "2023-07-22T08:39:25.345Z" },
]
[[package]]
name = "charset-normalizer"
version = "3.2.0"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/2a/53/cf0a48de1bdcf6ff6e1c9a023f5f523dfe303e4024f216feac64b6eb7f67/charset-normalizer-3.2.0.tar.gz", hash = "sha256:3bb3d25a8e6c0aedd251753a79ae98a093c7e7b471faa3aa9a93a81431987ace", size = 97063, upload-time = "2023-07-07T20:19:09.586Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/bf/a0/188f223c7d8b924fb9b554b9d27e0e7506fd5bf9cfb6dbacb2dfd5832b53/charset_normalizer-3.2.0-py3-none-any.whl", hash = "sha256:8e098148dd37b4ce3baca71fb394c81dc5d9c7728c95df695d2dca218edf40e6", size = 46668, upload-time = "2023-07-07T20:19:07.49Z" },
]
[[package]]
name = "fixture"
version = "0.1.0"
source = { virtual = "." }
dependencies = [
{ name = "requests" },
{ name = "urllib3" },
]
[package.metadata]
requires-dist = [
{ name = "requests", specifier = ">=2.31,<3" },
{ name = "urllib3", specifier = ">=1.26,<2" },
]
[[package]]
name = "idna"
version = "3.4"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/8b/e1/43beb3d38dba6cb420cefa297822eac205a277ab43e5ba5d5c46faf96438/idna-3.4.tar.gz", hash = "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4", size = 183077, upload-time = "2022-09-14T00:24:27.719Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/fc/34/3030de6f1370931b9dbb4dad48f6ab1015ab1d32447850b9fc94e60097be/idna-3.4-py3-none-any.whl", hash = "sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2", size = 61538, upload-time = "2022-09-14T00:24:23.22Z" },
]
[[package]]
name = "requests"
version = "2.31.0"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "certifi" },
{ name = "charset-normalizer" },
{ name = "idna" },
{ name = "urllib3" },
]
sdist = { url = "https://files.pythonhosted.org/packages/9d/be/10918a2eac4ae9f02f6cfe6414b7a155ccd8f7f9d4380d62fd5b955065c3/requests-2.31.0.tar.gz", hash = "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1", size = 110794, upload-time = "2023-05-22T15:12:44.175Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl", hash = "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f", size = 62574, upload-time = "2023-05-22T15:12:42.313Z" },
]
[[package]]
name = "urllib3"
version = "1.26.18"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/0c/39/64487bf07df2ed854cc06078c27c0d0abc59bd27b32232876e403c333a08/urllib3-1.26.18.tar.gz", hash = "sha256:f8ecc1bba5667413457c529ab955bf8c67b45db799d159066261719e328580a0", size = 305687, upload-time = "2023-10-17T17:47:03.986Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/b0/53/aa91e163dcfd1e5b82d8a890ecf13314e3e149c05270cc644581f77f17fd/urllib3-1.26.18-py2.py3-none-any.whl", hash = "sha256:34b97092d7e0a3a8cf7cd10e386f401b3737364026c45e622aa02903dffe0f07", size = 143835, upload-time = "2023-10-17T17:47:01.725Z" },
]
@@ -0,0 +1,3 @@
fixture v0.1.0
├── requests v2.31.0 (latest: v2.34.2)
└── urllib3 v1.26.18 (latest: v2.8.0)
@@ -0,0 +1 @@
uv 0.13.7 (316c827e0 2026-11-03 x86_64-pc-windows-msvc)
@@ -0,0 +1,2 @@
{"type":"auditAdvisory","data":{"resolution":{"id":1097678,"path":"mkdirp>minimist","dev":false,"optional":false,"bundled":false},"advisory":{"id":1097678,"module_name":"minimist","severity":"critical","title":"Prototype Pollution in minimist","url":"https://github.com/advisories/GHSA-xvch-5gv4-984h","github_advisory_id":"GHSA-xvch-5gv4-984h","vulnerable_versions":">=1.0.0 <1.2.6","patched_versions":">=1.2.6","findings":[{"version":"1.2.5","paths":["mkdirp>minimist"]}]}}}
{"type":"auditSummary","data":{"vulnerabilities":{"info":0,"low":0,"moderate":0,"high":0,"critical":1},"dependencies":15,"devDependencies":0,"optionalDependencies":0,"totalDependencies":15}}
@@ -0,0 +1,2 @@
{"type":"info","data":"Color legend : \n \"<red>\" : Major Update backward-incompatible updates \n \"<yellow>\" : Minor Update backward-compatible features \n \"<green>\" : Patch Update backward-compatible bug fixes"}
{"type":"table","data":{"head":["Package","Current","Wanted","Latest","Package Type","URL"],"body":[["chalk","4.1.0","4.1.2","6.0.1","dependencies","https://github.com/chalk/chalk#readme"],["is-number","6.0.0","6.0.0","7.0.0","dependencies","https://github.com/jonschlinkert/is-number"]]}}
+2 -1
View File
@@ -58,7 +58,7 @@ test("a wrong workflow name or a missing notes file is reported", () => {
test("a skill that loses its opening is caught by the count", () => {
const dir = copySrc();
fs.rmSync(path.join(dir, "plan2code-pr-prep.md"));
assert.match(check(dir).join("\n"), /expected 20 skills with a console opening, found 19/);
assert.match(check(dir).join("\n"), /expected 21 skills with a console opening, found 20/);
});
test("helpers", () => {
@@ -67,6 +67,7 @@ test("helpers", () => {
assert.equal(workflowOf("plan2code-3-implement-review"), "implement-review");
assert.equal(workflowOf("plan2code-pr-prep"), "pr-prep");
assert.equal(workflowOf("plan2code-dead-code"), "dead-code");
assert.equal(workflowOf("plan2code-deps"), "deps");
assert.equal(workflowOf("plan2code-ui-prototype"), "ui-prototype");
});
File diff suppressed because it is too large. Load diff
+57
View File
@@ -935,3 +935,60 @@ test("a staying arrival notice survives typing, goes on Escape, and the New mark
await banner.waitFor({ state: "hidden" });
assert.equal(await s.page.locator("#sidebar .rail-item", { hasText: "Who uses it" }).locator(".rail-new").count(), 1, "the New mark stays after the notice is dismissed");
});
test("a long pick list draws group headings, opens a row, holds a locked row and counts picks and rounds live", async (t) => {
const s = await openSession(await suite.browser(), { t, workflow: "plan" });
const card = await ask(s, {
id: "deps",
kind: "multi",
title: "Updates to apply",
body: "Tick the updates to apply.",
counter: { rounds: "check rounds" },
presets: [{ label: "All safe", ks: ["S1", "S2"] }],
options: [
{ k: "S1", text: "react 18.3.1 to 18.3.2", group: "Safe", batch: "npm-root" },
{ k: "S2", text: "vite 6.0.1 to 6.0.3", group: "Safe", batch: "npm-root" },
{ k: "C1", text: "zod 3.23.0 to 3.24.1", group: "Check first", more: "**Changed:** `z.string().email()` is stricter." },
{ k: "W1", text: "eslint 8.57.0 to 9.0.0", group: "Warning", locked: true, detail: "Needs Node 20." },
],
});
// Headings in the order sent, one per run.
await card.locator(".option-group", { hasText: "Warning" }).waitFor();
assert.deepEqual(await card.locator(".option-group").allTextContents(), ["Safe", "Check first", "Warning"]);
// The row that opens: closed at first, opened by its button, and the tick stays as it was.
assert.equal(await card.locator(".option-more").count(), 0, "closed by default");
const more = card.getByRole("button", { name: /^More about zod/ });
assert.equal(await more.getAttribute("aria-expanded"), "false");
// From the keyboard: focus stays on the rebuilt button, now named for its visible word.
// The "Plan2Code is back" notice takes the first key and moves focus to the pane: let it go first.
await s.page.locator(".arrival").waitFor({ state: "detached" });
await settled(s.page, "#main");
await more.press("Enter");
await card.locator(".option-more", { hasText: "is stricter" }).waitFor();
const less = card.getByRole("button", { name: /^Less about zod/ });
assert.equal(await less.getAttribute("aria-expanded"), "true");
assert.equal(await s.page.evaluate(() => document.activeElement && document.activeElement.textContent), "Less", "focus stays on the toggle");
assert.equal(await card.getByLabel("C1: zod").isChecked(), false, "opening a row does not tick it");
// The locked row cannot be ticked.
const locked = card.getByLabel("W1: eslint");
assert.equal(await locked.isDisabled(), true);
assert.equal(await locked.getAttribute("aria-disabled"), "true");
// The counter: two Safe picks in one batch are one round; a Check first row adds one.
await card.getByRole("button", { name: "All safe" }).click();
await card.locator(".option-counter", { hasText: "2 picked, 1 check rounds" }).waitFor();
await card.getByLabel("C1: zod").check();
await card.locator(".option-counter", { hasText: "3 picked, 2 check rounds" }).waitFor();
// The fixed live node beside the footer speaks the same count.
assert.equal(await s.page.locator("#pick-count-live").textContent(), "3 picked, 2 check rounds");
// The opened row stayed open through the redraws the ticks set off.
await card.locator(".option-more", { hasText: "is stricter" }).waitFor();
await card.getByLabel("S2: vite").uncheck();
await card.locator(".option-counter", { hasText: "2 picked, 2 check rounds" }).waitFor();
const got = await sendAndCollect(s);
assert.deepEqual(answerTo(got, "deps").ks.sort(), ["C1", "S1"], "the locked row never reaches the agent");
});
@@ -196,6 +196,71 @@ test("a fixed bug's Delete asks once with no name to type, while any other spec
assert.deepEqual({ type: action?.type, spec: action?.spec }, { type: "delete", spec: "specs/old-bug" });
});
// A project holding an upgrade brief Update dependencies wrote for a ticked
// Warning (newest on disk, so the picker opens on it) and an older one Quick
// Task already applied and marked Done.
const UPGRADE_MENU = {
menu: { note: "An upgrade brief is waiting.", recommend: "plan2code-quick-task", details: { "plan2code-quick-task": "vite 7.1.2 to 8.0.1" } },
agent: { status: "waiting" },
};
function upgradeProject() {
const project = tempProject({
"AGENTS.md": "# AGENTS.md\n\nA small demo project.\n",
"specs/old-upgrade/UPGRADE-20261101.md": "# Upgrade eslint 9.6.1 to 10.2.1\n\n**Status:** Done\n**Ecosystem:** npm\n",
"specs/vite-upgrade/UPGRADE-20261113.md": "# Upgrade vite 7.1.2 to 8.0.1\n\n**Status:** Ready\n**Ecosystem:** npm\n",
});
const later = new Date(Date.now() + 60_000);
fs.utimesSync(path.join(project, "specs/vite-upgrade/UPGRADE-20261113.md"), later, later);
return project;
}
test("an upgrade brief shows as Upgrade ready with Quick Task and Plan lit, and Quick Task's launch carries it", async (t) => {
const s = await openSession(await suite.browser(), { t, workflow: "dashboard", payload: UPGRADE_MENU, project: upgradeProject() });
const main = await toTheMenu(s);
await hideUnavailable(main, false);
const brief = chipFor(main, "vite-upgrade");
await brief.waitFor();
assert.equal(await brief.getAttribute("aria-current"), "true", "the picker opens on the waiting brief");
assert.match(await textOf(brief), /Upgrade ready/i, "the chip names its state");
const quick = lightOf(main, "/plan2code-quick-task");
assert.equal(await quick.isEnabled(), true, "Quick Task is lit");
assert.equal(await lightOf(main, "/plan2code-1-plan").isEnabled(), true, "Plan is lit");
assert.equal(await lightOf(main, "/plan2code-0-pathfinder").isDisabled(), true, "Pathfinder is grayed");
assert.equal(await lightOf(main, "/plan2code-2-document").isDisabled(), true, "Document is grayed");
await quick.click();
await main.getByRole("button", { name: "Start Quick task" }).click();
const launch = collect(s).actions.find((a) => a.i === "__launch");
assert.ok(launch, "the send carries a launch");
assert.deepEqual({ skill: launch.skill, spec: launch.spec }, { skill: "plan2code-quick-task", spec: "specs/vite-upgrade" });
});
test("a Done upgrade brief is hidden while unavailable workflows are, reads Upgrade done, and deletes after one confirm", async (t) => {
const s = await openSession(await suite.browser(), { t, workflow: "dashboard", payload: UPGRADE_MENU, project: upgradeProject() });
const main = await toTheMenu(s);
await hideUnavailable(main, true);
await chipFor(main, "vite-upgrade").waitFor();
assert.equal(await chipFor(main, "old-upgrade").count(), 0, "the done brief's chip is hidden while unavailable workflows are");
await hideUnavailable(main, false);
const done = chipFor(main, "old-upgrade");
await done.waitFor();
assert.match(await textOf(done), /Upgrade done/i, "the chip names its state");
assert.equal(await done.getAttribute("aria-current"), "false", "the done brief is not picked");
const dialog = s.page.locator("#delete-modal");
const del = main.getByRole("button", { name: "Delete the spec old-upgrade" });
assert.equal(await textOf(del), "Delete", "a done brief's Delete is a labeled button");
await del.click({ force: true });
await dialog.waitFor();
assert.match(await textOf(s.page.locator("#delete-warn")), /The upgrade is done, so this only clears the brief/);
assert.equal(await s.page.locator("#delete-confirm").isHidden(), true, "no name step for a done brief");
await s.page.locator("#delete-go").click();
const action = collect(s).actions.find((a) => a.i === "__delete");
assert.deepEqual({ type: action?.type, spec: action?.spec }, { type: "delete", spec: "specs/old-upgrade" });
});
// ---------------------------------------------------------------------------
// The picker's switching, the first-open wake-up, handoffs, the update banner,
// the workspace scope, and the pose that carries a launch into the work.
+2 -1
View File
@@ -399,7 +399,7 @@ test("Implement's card launches Implement + Review when Review is ticked", () =>
assert.equal(launchVariant(quick, true), quick, "a card with no Review box is unchanged");
});
test("helper-strength.md ships in the sixteen skills that start helpers, and in no other", () => {
test("helper-strength.md ships in the seventeen skills that start helpers, and in no other", () => {
// npm test has just built skills/; a direct run builds it so the check never reads a stale tree.
if (process.env.npm_lifecycle_event !== "test") {
execFileSync(process.execPath, [path.join(ROOT, "install.js"), "--build-skills"], { stdio: "ignore" });
@@ -415,6 +415,7 @@ test("helper-strength.md ships in the sixteen skills that start helpers, and in
"plan2code-3-implement-review",
"plan2code-4-finalize",
"plan2code-dead-code",
"plan2code-deps",
"plan2code-diagnose",
"plan2code-init",
"plan2code-init-update",
+104 -2
View File
@@ -82,6 +82,8 @@ test("spec files: countTasks() counts task lines only when there are any, every
const LABELS = {
diagnosed: "Bug diagnosed",
fixed: "Bug fixed",
upgrade: "Upgrade ready",
upgraded: "Upgrade done",
exploring: "Exploring",
mapped: "Ready to plan",
planned: "Ready to document",
@@ -93,6 +95,8 @@ const LABELS = {
const NEXT = {
diagnosed: "plan2code-quick-task",
fixed: null,
upgrade: "plan2code-quick-task",
upgraded: null,
exploring: "plan2code-0-pathfinder",
mapped: "plan2code-1-plan",
planned: "plan2code-2-document",
@@ -102,14 +106,14 @@ const NEXT = {
unrecognized: null,
};
test("spec states: each state keeps its label and next step, and only fixed is finished", () => {
test("spec states: each state keeps its label and next step, and only fixed and upgraded are finished", () => {
assert.deepEqual(Object.keys(TABLE), Object.keys(LABELS), "the states, in the scan's order");
for (const [name, label] of Object.entries(LABELS)) {
const s = stateFor(name);
assert.ok(s, `${name} is in the table`);
assert.equal(s.label, label, `${name}'s label`);
assert.equal(s.next, NEXT[name], `${name}'s next step`);
assert.equal(s.finished, name === "fixed", `${name}'s finished flag`);
assert.equal(s.finished, name === "fixed" || name === "upgraded", `${name}'s finished flag`);
}
assert.equal(stateFor("made-up"), null, "an unknown state is null");
assert.ok(Object.isFrozen(TABLE) && Object.values(TABLE).every(Object.isFrozen), "the table is frozen");
@@ -125,7 +129,9 @@ const CARDS = {
"plan2code-init": {
"none": { on: false, reason: "AGENTS.md is already written. Refresh it instead." },
diagnosed: { on: false, reason: "AGENTS.md is already written. Refresh it instead." },
upgrade: { on: false, reason: "AGENTS.md is already written. Refresh it instead." },
fixed: { on: false, reason: "AGENTS.md is already written. Refresh it instead." },
upgraded: { on: false, reason: "AGENTS.md is already written. Refresh it instead." },
exploring: { on: false, reason: "AGENTS.md is already written. Refresh it instead." },
mapped: { on: false, reason: "AGENTS.md is already written. Refresh it instead." },
planned: { on: false, reason: "AGENTS.md is already written. Refresh it instead." },
@@ -137,7 +143,9 @@ const CARDS = {
"plan2code-init-update": {
"none": { on: true },
diagnosed: { on: true },
upgrade: { on: true },
fixed: { on: true },
upgraded: { on: true },
exploring: { on: true },
mapped: { on: true },
planned: { on: true },
@@ -149,7 +157,9 @@ const CARDS = {
"plan2code-0-pathfinder": {
"none": { on: true, next: true },
diagnosed: { on: false, reason: "The cause is found. Fix it in a quick task, or plan it." },
upgrade: { on: false, reason: "An upgrade brief. Apply it in a quick task, or plan it." },
fixed: { on: false, reason: "This bug is fixed. Delete it with the Delete button on its chip, or move it to specs--completed/." },
upgraded: { on: false, reason: "This upgrade is done. Delete it with the Delete button on its chip, or move it to specs--completed/." },
exploring: { on: true, next: true },
mapped: { on: false, reason: "This spec is already past the questions" },
planned: { on: false, reason: "This spec is already past the questions" },
@@ -161,7 +171,9 @@ const CARDS = {
"plan2code-1-plan": {
"none": { on: true, next: false },
diagnosed: { on: true, next: false },
upgrade: { on: true, next: false },
fixed: { on: false, reason: "This bug is fixed. Delete it with the Delete button on its chip, or move it to specs--completed/." },
upgraded: { on: false, reason: "This upgrade is done. Delete it with the Delete button on its chip, or move it to specs--completed/." },
exploring: { on: false, reason: "Pathfinder is not finished with this spec yet" },
mapped: { on: true, next: true },
planned: { on: true, next: false },
@@ -173,7 +185,9 @@ const CARDS = {
"plan2code-1b-revise-plan": {
"none": { on: false, reason: "Needs a spec that is already written up" },
diagnosed: { on: false, reason: "Needs a spec that is already written up" },
upgrade: { on: false, reason: "Needs a spec that is already written up" },
fixed: { on: false, reason: "Needs a spec that is already written up" },
upgraded: { on: false, reason: "Needs a spec that is already written up" },
exploring: { on: false, reason: "Needs a spec that is already written up" },
mapped: { on: false, reason: "Needs a spec that is already written up" },
planned: { on: false, reason: "Needs a spec that is already written up" },
@@ -185,7 +199,9 @@ const CARDS = {
"plan2code-2-document": {
"none": { on: false, reason: "Needs a drafted plan first" },
diagnosed: { on: false, reason: "Needs a drafted plan first" },
upgrade: { on: false, reason: "Needs a drafted plan first" },
fixed: { on: false, reason: "Needs a drafted plan first" },
upgraded: { on: false, reason: "Needs a drafted plan first" },
exploring: { on: false, reason: "Needs a drafted plan first" },
mapped: { on: false, reason: "Needs a drafted plan first" },
planned: { on: true, next: true },
@@ -197,7 +213,9 @@ const CARDS = {
"plan2code-3-implement": {
"none": { on: false, reason: "Needs the phase checklists written up first" },
diagnosed: { on: false, reason: "Needs the phase checklists written up first" },
upgrade: { on: false, reason: "Needs the phase checklists written up first" },
fixed: { on: false, reason: "Needs the phase checklists written up first" },
upgraded: { on: false, reason: "Needs the phase checklists written up first" },
exploring: { on: false, reason: "Needs the phase checklists written up first" },
mapped: { on: false, reason: "Needs the phase checklists written up first" },
planned: { on: false, reason: "Needs the phase checklists written up first" },
@@ -209,7 +227,9 @@ const CARDS = {
"plan2code-3-implement-review": {
"none": { on: false, reason: "Needs the phase checklists written up first" },
diagnosed: { on: false, reason: "Needs the phase checklists written up first" },
upgrade: { on: false, reason: "Needs the phase checklists written up first" },
fixed: { on: false, reason: "Needs the phase checklists written up first" },
upgraded: { on: false, reason: "Needs the phase checklists written up first" },
exploring: { on: false, reason: "Needs the phase checklists written up first" },
mapped: { on: false, reason: "Needs the phase checklists written up first" },
planned: { on: false, reason: "Needs the phase checklists written up first" },
@@ -221,7 +241,9 @@ const CARDS = {
"plan2code-4-finalize": {
"none": { on: false, reason: "Needs a spec that is fully built" },
diagnosed: { on: false, reason: "Needs a spec that is fully built" },
upgrade: { on: false, reason: "Needs a spec that is fully built" },
fixed: { on: false, reason: "Needs a spec that is fully built" },
upgraded: { on: false, reason: "Needs a spec that is fully built" },
exploring: { on: false, reason: "Needs a spec that is fully built" },
mapped: { on: false, reason: "Needs a spec that is fully built" },
planned: { on: false, reason: "Needs a spec that is fully built" },
@@ -233,7 +255,9 @@ const CARDS = {
"plan2code-quick-task": {
"none": { on: true },
diagnosed: { on: true, next: true },
upgrade: { on: true, next: true },
fixed: { on: true },
upgraded: { on: true },
exploring: { on: true },
mapped: { on: true },
planned: { on: true },
@@ -245,7 +269,9 @@ const CARDS = {
"plan2code-review": {
"none": { on: true },
diagnosed: { on: true },
upgrade: { on: true },
fixed: { on: true },
upgraded: { on: true },
exploring: { on: true },
mapped: { on: true },
planned: { on: true },
@@ -257,7 +283,9 @@ const CARDS = {
"plan2code-xray": {
"none": { on: true },
diagnosed: { on: true },
upgrade: { on: true },
fixed: { on: true },
upgraded: { on: true },
exploring: { on: true },
mapped: { on: true },
planned: { on: true },
@@ -269,7 +297,9 @@ const CARDS = {
"plan2code-diagnose": {
"none": { on: true },
diagnosed: { on: true },
upgrade: { on: true },
fixed: { on: true },
upgraded: { on: true },
exploring: { on: true },
mapped: { on: true },
planned: { on: true },
@@ -281,7 +311,9 @@ const CARDS = {
"plan2code-pr-prep": {
"none": { on: true },
diagnosed: { on: true },
upgrade: { on: true },
fixed: { on: true },
upgraded: { on: true },
exploring: { on: true },
mapped: { on: true },
planned: { on: true },
@@ -293,7 +325,9 @@ const CARDS = {
"plan2code-test": {
"none": { on: true },
diagnosed: { on: true },
upgrade: { on: true },
fixed: { on: true },
upgraded: { on: true },
exploring: { on: true },
mapped: { on: true },
planned: { on: true },
@@ -305,7 +339,23 @@ const CARDS = {
"plan2code-dead-code": {
"none": { on: true },
diagnosed: { on: true },
upgrade: { on: true },
fixed: { on: true },
upgraded: { on: true },
exploring: { on: true },
mapped: { on: true },
planned: { on: true },
documented: { on: true },
building: { on: true },
built: { on: true },
unrecognized: { on: true },
},
"plan2code-deps": {
"none": { on: true },
diagnosed: { on: true },
upgrade: { on: true },
fixed: { on: true },
upgraded: { on: true },
exploring: { on: true },
mapped: { on: true },
planned: { on: true },
@@ -317,7 +367,9 @@ const CARDS = {
"plan2code-ui-prototype": {
"none": { on: true },
diagnosed: { on: true },
upgrade: { on: true },
fixed: { on: true },
upgraded: { on: true },
exploring: { on: true },
mapped: { on: true },
planned: { on: true },
@@ -329,7 +381,9 @@ const CARDS = {
"plan2code-changelog": {
"none": { on: true },
diagnosed: { on: true },
upgrade: { on: true },
fixed: { on: true },
upgraded: { on: true },
exploring: { on: true },
mapped: { on: true },
planned: { on: true },
@@ -341,7 +395,9 @@ const CARDS = {
"plan2code-git": {
"none": { on: true },
diagnosed: { on: true },
upgrade: { on: true },
fixed: { on: true },
upgraded: { on: true },
exploring: { on: true },
mapped: { on: true },
planned: { on: true },
@@ -353,7 +409,9 @@ const CARDS = {
"plan2code-handoff": {
"none": { on: true },
diagnosed: { on: true },
upgrade: { on: true },
fixed: { on: true },
upgraded: { on: true },
exploring: { on: true },
mapped: { on: true },
planned: { on: true },
@@ -429,6 +487,8 @@ const PHASE = (ticks) => "# Phase 1\n\n" + ticks.map((x, i) => `- [${x ? "x" : "
const FIXTURES = {
diagnosed: { "DIAGNOSIS-20261017.md": "# Diagnosis\n\n**Status:** Diagnosed\n" },
fixed: { "DIAGNOSIS-20261017.md": "# Diagnosis\n\n**Status:** Fixed\n" },
upgrade: { "UPGRADE-20261113.md": "# Upgrade vite 7.1.2 to 8.0.1\n\n**Status:** Ready\n**Ecosystem:** npm\n" },
upgraded: { "UPGRADE-20261113.md": "# Upgrade vite 7.1.2 to 8.0.1\n\n**Status:** Done\n**Ecosystem:** npm\n" },
exploring: { "pathfinder/map.md": "# Map\n\nStatus: Working\n" },
mapped: { "PLAN-DRAFT-20261017.md": "# Plan draft\n\n**Status:** Phase 3 Complete - Resume at Phase 4\n" },
planned: { "PLAN-DRAFT-20261017.md": "# Plan draft\n\n**Status:** Draft\n" },
@@ -469,6 +529,48 @@ test("the scan: every state it can return is in the table, and a fixture reaches
assert.deepEqual(scanProblems(FIXTURES, known), ["the scan returns unrecognized, which spec-states.js lacks"]);
});
test("the scan: an upgrade brief reads upgrade or upgraded by its Status, the newest wins, and planning wins over it", () => {
const root = fs.mkdtempSync(path.join(os.tmpdir(), "p2c-upgrade-"));
const brief = (status) => `# Upgrade vite\n\n**Status:** ${status}\n`;
const folders = {
ready: { "UPGRADE-20261113.md": brief("Ready") },
done: { "UPGRADE-20261113.md": brief("**Done**") },
newest: { "UPGRADE-20261101.md": brief("Done"), "UPGRADE-20261113.md": brief("Ready") },
mapped: { "UPGRADE-20261113.md": brief("Ready"), "pathfinder/map.md": "# Map\n\nStatus: Working\n" },
talked: { "UPGRADE-20261113.md": brief("Done"), "PLAN-CONVERSATION-20261113.md": "# Conversation\n" },
drafted: { "UPGRADE-20261113.md": brief("Ready"), "PLAN-DRAFT-20261113.md": "# Plan draft\n\n**Status:** Draft\n" },
};
try {
for (const [name, files] of Object.entries(folders))
for (const [rel, text] of Object.entries(files)) {
const file = path.join(root, "specs", name, rel);
fs.mkdirSync(path.dirname(file), { recursive: true });
fs.writeFileSync(file, text);
}
const got = Object.fromEntries(scanProject(root).specs.map((sp) => [sp.name, [sp.state, sp.detail]]));
assert.deepEqual(got.ready, ["upgrade", "upgrade ready"]);
assert.deepEqual(got.done, ["upgraded", "upgrade done"], "bold around Done still reads Done");
assert.deepEqual(got.newest, ["upgrade", "upgrade ready"], "the newest brief decides");
assert.equal(got.mapped[0], "exploring", "a pathfinder map wins over a brief");
assert.equal(got.talked[0], "mapped", "a plan conversation wins over a brief");
assert.equal(got.drafted[0], "planned", "a plan draft wins over a brief");
} finally {
fs.rmSync(root, { recursive: true, force: true });
}
});
test("card rules: Quick Task carries an upgrade brief like a diagnosed bug, never a done one", () => {
const quick = SKILL_CATALOG.find((e) => e.skill === "plan2code-quick-task");
const plan = SKILL_CATALOG.find((e) => e.skill === "plan2code-1-plan");
const ready = { dir: "specs/vite-upgrade", name: "vite-upgrade", state: "upgrade" };
const done = { ...ready, state: "upgraded" };
assert.equal(launchTarget(quick, ready), ready);
assert.equal(launchTarget(quick, done), null);
assert.equal(launchTarget(plan, ready), ready);
assert.deepEqual(cardAvailability(quick, SCAN, ready), { on: true, next: true }, "Quick Task is the suggested step");
assert.equal(defaultSpec([done, { ...ready, dir: "specs/b" }])?.dir, "specs/b", "a done brief is never the default");
});
test("the scan: a PR-READINESS report changes no spec's state, and alone it stays unrecognized", () => {
const scanOf = (fixtures) => {
const root = fs.mkdtempSync(path.join(os.tmpdir(), "p2c-spec-readiness-"));