instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
trufnetwork__kwil-db__1673 | trufnetwork/kwil-db | 1,673 | defect | ee2d45c145d4ed16e2e57df85e10e6579505e96b | 4c04529bd72795f997fe35b8a95afff1cacf0aa1 | chore: upgrade erc20 bridge to support transaction history | resolves: https://github.com/truflation/website/issues/3309
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Improvements**
* Idempotent start-time schema migrations with IF NOT EXISTS guards, clearer guarded logging, and a version bump.
* Safer event handlin... | diff --git a/node/exts/erc20-bridge/erc20/meta_extension.go b/node/exts/erc20-bridge/erc20/meta_extension.go
index 0fbfd3993..b1eb0f0ac 100644
--- a/node/exts/erc20-bridge/erc20/meta_extension.go
+++ b/node/exts/erc20-bridge/erc20/meta_extension.go
@@ -1644,7 +1644,8 @@ func init() {
}
} else {
// in the fut... | 9 | 8 | 2 | [{"id": "G0", "claim": "When version == 1 the check passes but createSchema only runs when notYetSet, so existing v1 deployments never execute the schema SQL that creates transaction_history, withdrawals and the other new tables, inserts into those tables fail at runtime, and the stored version stays 1 forever — add an... | null |
trufnetwork__kwil-db__1674 | trufnetwork/kwil-db | 1,674 | defect | a361ae2e7c85dda086e02840e99c97f13fb07bdb | bf2993fb476b43d9b36c923cdb8033d6492d52bf | feat: view wallet sender on deposit history | resolves: https://github.com/truflation/website/issues/3309
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Deposit history now records the originating Ethereum sender when available, improving traceability.
* Deposit listeners more reliably... | diff --git a/node/exts/erc20-bridge/erc20/history_logic_test.go b/node/exts/erc20-bridge/erc20/history_logic_test.go
index 86a2771ca..832e4a914 100644
--- a/node/exts/erc20-bridge/erc20/history_logic_test.go
+++ b/node/exts/erc20-bridge/erc20/history_logic_test.go
@@ -82,7 +82,7 @@ func TestHistoryLogic(t *testing.T) {... | 6 | 6 | 2 | [{"id": "G0", "claim": "In the RewardDistributor deposit listener, assigning `err = utils.Retry(...)` for the sender fetch overwrites the `err` that decides whether to fall through to the TrufNetworkBridge path, so a failed sender fetch can clear all valid RewardDistributor deposits and re-fetch them, potentially produ... | null |
trufnetwork__kwil-db__1681 | trufnetwork/kwil-db | 1,681 | defect | 015e305ed2d029bb8a946de9a3a3c5229b121507 | af9f6233ed205ee32e6f4a19e4aacb4d381ac347 | chore: add validation and tests for evm-sync chain config | resolves: https://github.com/trufnetwork/kwil-db/issues/1675
resolves: https://github.com/trufnetwork/kwil-db/issues/1676
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* StartBlock entries in ERC20 bridge configuration are now validated: chai... | diff --git a/config/config.go b/config/config.go
index 3bae356d7..5bab70e2e 100644
--- a/config/config.go
+++ b/config/config.go
@@ -10,6 +10,7 @@ import (
"math/big"
"os"
"slices"
+ "strconv"
"strings"
"time"
@@ -645,6 +646,20 @@ func (cfg ERC20BridgeConfig) Validate() error {
}
}
+ for chain, val :... | 4 | 4 | 2 | [{"id": "G0", "claim": "LoadConfig returns without invoking ERC20BridgeConfig.Validate(), so malformed erc20_bridge.start_block entries pass TOML load and only fail later in the listener, missing the PR's stated fail-config-load behavior; wire the validation into LoadConfig.", "category": "correctness", "verdict": "sup... | null |
trufnetwork__kwil-db__1682 | trufnetwork/kwil-db | 1,682 | defect | b259a0e26f55a833b1dc679e5e39714b3735ef29 | 922cd2cb6955964811fec1e9994d24c54935044e | fix: prevent OOM crashes from unbounded parser cache growth | resolves: https://github.com/trufnetwork/node/issues/1327
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Bug Fixes**
* Periodic parser cache clearing added to limit memory growth during parsing.
* End-block and deposit processing now skip inactive ERC20 rew... | diff --git a/node/engine/parse/cache_test.go b/node/engine/parse/cache_test.go
new file mode 100644
index 000000000..5d038782b
--- /dev/null
+++ b/node/engine/parse/cache_test.go
@@ -0,0 +1,195 @@
+package parse
+
+import (
+ "fmt"
+ "runtime"
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+ "github.com/stretchr/... | 5 | 4 | 1 | [{"id": "G0", "claim": "clearANTLRCaches() rewrites shared ANTLR global static structures without mutex protection and the parseCount threshold check is not atomic with the mutation, so concurrent Parse calls can enter clearANTLRCaches() simultaneously and corrupt global state, causing nondeterministic parser failures;... | null |
trufnetwork__kwil-db__1683 | trufnetwork/kwil-db | 1,683 | defect | a7f124b3e0b7b049964e4e574186962beebfe790 | c0e3bc503fed3f679f07474cd35dd4c18eb47a54 | chore: auto-finalize stale empty epochs | resolves: https://github.com/trufnetwork/node/issues/1316
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Empty-reward epochs now observe a configurable grace period and will be automatically finalized and advanced to the next epoch once that ... | diff --git a/node/exts/erc20-bridge/erc20/endblock_inactive_skip_test.go b/node/exts/erc20-bridge/erc20/endblock_inactive_skip_test.go
index e0165d7d0..985403734 100644
--- a/node/exts/erc20-bridge/erc20/endblock_inactive_skip_test.go
+++ b/node/exts/erc20-bridge/erc20/endblock_inactive_skip_test.go
@@ -211,3 +211,59 @... | 3 | 2 | 1 | [{"id": "G0", "claim": "finalizeEmptyEpoch makes confirmed=true possible with reward_root NULL, so readers that select the newest confirmed epoch and reject it when reward_root or block_hash is nil (for_test_epoch_shims.go:162-201) will break on the first auto-confirmed empty epoch; either store a canonical empty-tree ... | null |
trufnetwork__kwil-db__1685 | trufnetwork/kwil-db | 1,685 | defect | 7a6e0f2b5210086042df47fd1a7ebb1600740c1d | e77fb20f77bec84989719e3a2d88f4b447fe618e | feat: enable pluggable services on node admin API | resolves: https://github.com/truflation/website/issues/3487
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
## Release Notes
* **New Features**
* Added admin server hook registration capability, allowing custom extensions of server behavior through registered hoo... | diff --git a/app/node/build.go b/app/node/build.go
index 9b602bd65..8b554d9ac 100644
--- a/app/node/build.go
+++ b/app/node/build.go
@@ -20,6 +20,7 @@ import (
"github.com/trufnetwork/kwil-db/core/crypto/auth"
"github.com/trufnetwork/kwil-db/core/rpc/transport"
ktypes "github.com/trufnetwork/kwil-db/core/types"
+... | 3 | 3 | 1 | [{"id": "G0", "claim": "The hook-invocation loop in TestRegisterAdminServerHook is fragile when multiple hooks exist, since the found flag only proves some hook ran and other tests' hooks would also be invoked; make it assert the expected hook count and call the specific hook.", "category": "testing", "verdict": "suppo... | null |
trufnetwork__kwil-db__1688 | trufnetwork/kwil-db | 1,688 | defect | 48199dd610f282fd14a796b69b139a179a19c5c1 | 980814bee73570fecb2a2d008c24ff67a5fb673b | chore: multiple prepared transaction tracking | resolves: https://github.com/truflation/website/issues/3612
resolves: https://github.com/truflation/website/issues/3613
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Added support for coordinating and finalizing multiple prepared transactio... | diff --git a/node/pg/db.go b/node/pg/db.go
index 95c2e09db..97e135e1d 100644
--- a/node/pg/db.go
+++ b/node/pg/db.go
@@ -50,18 +50,44 @@ type DB struct {
// Guarantee that we are in-session by tracking and using a Tx for the write methods.
mtx sync.Mutex
- autoCommit bool // skip the explicit transaction... | 2 | 2 | 0 | [{"id": "G0", "claim": "The `tracked *trackedTx` field in the `dbTx` struct is assigned but never referenced; it should be removed or clarified with a comment.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A comment should be added explaining t... | null |
trufnetwork__kwil-db__1689 | trufnetwork/kwil-db | 1,689 | defect | 5d773183392b892cb58cc896e4c013fe7731d7cd | 3b196cf94286db6821375aa64973712031f07876 | chore: support rollback after precommit in pg.DB | resolves: https://github.com/truflation/website/issues/3614
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Tests**
* Added live tests for multi-prepared-transaction sequencing and replication, verifying commit IDs, determinism, uniqueness, and row visibility ... | diff --git a/node/pg/db_live_test.go b/node/pg/db_live_test.go
index a8d7f565b..6970adda9 100644
--- a/node/pg/db_live_test.go
+++ b/node/pg/db_live_test.go
@@ -2029,6 +2029,152 @@ func TestSingleTxPathUnchanged(t *testing.T) {
db.AutoCommit(false)
}
+// TestMultiSequenceReplication verifies Phase 2: per-transacti... | 2 | 2 | 0 | [{"id": "G0", "claim": "In failure paths of TestMultiSequenceReplication (after Precommit and before CommitAll) the test can leave prepared transactions behind, and ignored cleanup errors (`_, _ = db.Execute(...)`) can hide leaked state and cause flaky follow-up runs; add fail-safe cleanup for prepared txns and stop sw... | null |
trufnetwork__kwil-db__1690 | trufnetwork/kwil-db | 1,690 | defect | a1ebec33607b416a651c4eedb35bb3e57cc334b4 | 87216a4e5d4c3310a90af5838e043019bb02cb42 | chore: enable per-transaction sentry sequencing for 2PC | resolves: https://github.com/truflation/website/issues/3614
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Bug Fixes**
* Stricter validation of replication payloads now fails on malformed or unexpected data instead of continuing, improving reliability.
* Mo... | diff --git a/node/pg/repl.go b/node/pg/repl.go
index 305436277..4f2d992e4 100644
--- a/node/pg/repl.go
+++ b/node/pg/repl.go
@@ -366,6 +366,21 @@ func decodeWALData(hasher *muhash.MuHash, walData []byte, relations map[uint32]*
return false, 0, fmt.Errorf("insert: unknown relation ID %d", logicalMsg.RelationID)
}... | 5 | 3 | 3 | [{"id": "G0", "claim": "decodeWALData should return an error instead of warning and continuing when a sentry INSERT cannot yield a sequence number (wrong tuple column count or Int64 decode failure), because seq stays -1, the transaction is treated as untracked, and the pending promise registered by replMon.recvID never... | null |
trufnetwork__kwil-db__1691 | trufnetwork/kwil-db | 1,691 | defect | 6d17cbe1b037e92635b3cfddca508a0a70722474 | 1f6a5a7efd35139ca8c0895375d60504fb47111a | chore: compute block hash from parallel txns | resolves: https://github.com/truflation/website/issues/3615
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Added a public API to compute and return an aggregated SHA256 hash representing all prepared transaction changesets; returns an error w... | diff --git a/node/pg/db.go b/node/pg/db.go
index c9f61f14f..62de931f1 100644
--- a/node/pg/db.go
+++ b/node/pg/db.go
@@ -2,6 +2,7 @@ package pg
import (
"context"
+ "crypto/sha256"
"errors"
"fmt"
"strings"
@@ -66,9 +67,10 @@ type DB struct {
// trackedTx represents a single tracked write transaction.
typ... | 1 | 1 | 0 | [{"id": "G0", "claim": "In TestAggregateChangesetHash's final cleanup block, the `defer db.AutoCommit(false)` executes right as the function ends (after DROP SCHEMA) and is misleading, so consider removing the defer or restructuring the cleanup.", "category": "maintainability", "verdict": "supported", "priority": "P3",... | null |
trufnetwork__kwil-db__1693 | trufnetwork/kwil-db | 1,693 | defect | 695689e8945b318c7d43cd2d2ee0fb99824bce4e | f3fe1e6275bd1b4f5ea9150991893ed554675235 | chore: per-transaction PG isolation for block execution | resolves: https://github.com/truflation/website/issues/3616
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Refactor**
* Reworked transaction lifecycle to coordinate committing/rolling back multiple prepared transactions as a unit for more reliable block proce... | diff --git a/node/block_processor/interfaces.go b/node/block_processor/interfaces.go
index a2fd2cd28..91af20f4a 100644
--- a/node/block_processor/interfaces.go
+++ b/node/block_processor/interfaces.go
@@ -26,6 +26,14 @@ type DB interface {
sql.SnapshotTxMaker
sql.DelayedReadTxMaker
sql.ReservedReadTxMaker
+
+ // ... | 3 | 1 | 0 | [{"id": "G0", "claim": "Executing each later block transaction in its own prepared PG transaction that cannot see earlier Phase A transactions' writes breaks same-block read-after-write semantics, and the PR needs a design that preserves intra-block visibility, not just atomic commit.", "category": "correctness", "verd... | null |
trufnetwork__kwil-db__1698 | trufnetwork/kwil-db | 1,698 | defect | 696cc38f53b86d3abaadb72fdfb409c878c78221 | c520d3ebfffd6c3cdb28781cfcc9cf08b4843d4d | chore: return bridge withdrawal proofs to users | resolves: https://github.com/truflation/website/issues/3746
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **New Features**
* Added a signing profile system and a canonical list of validator signing purposes for consistent signature formatting and verification.... | diff --git a/app/node/validator_signer.go b/app/node/validator_signer.go
index 032effb44..cfb5f2fae 100644
--- a/app/node/validator_signer.go
+++ b/app/node/validator_signer.go
@@ -2,7 +2,6 @@ package node
import (
"context"
- "crypto/ecdsa"
"fmt"
"github.com/ethereum/go-ethereum/crypto"
@@ -10,6 +9,7 @@ imp... | 8 | 6 | 2 | [{"id": "G0", "claim": "The hard-coded knownPurposes list in TestForPurpose_AllKnownPurposesHaveProfiles reintroduces the manual-sync drift risk the signprofiles package is meant to eliminate; the allowed-purposes list should be exported from common (or app/node) and iterated by both validatePurpose and this test.", "c... | null |
trufnetwork__kwil-db__1699 | trufnetwork/kwil-db | 1,699 | defect | 2adc7ffbb5c8e4bbcc71944a7bcb7d49c8be9443 | 37f355ad09fbbe35a1ab488413bf0ce354ed2a9f | chore: guard non-validator from signing singnatures | resolves: https://github.com/truflation/website/issues/3752
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Security**
* Validator-membership gate added to voting so only active validators with positive voting power can submit epoch votes; non-validator ... | diff --git a/node/exts/erc20-bridge/erc20/meta_extension.go b/node/exts/erc20-bridge/erc20/meta_extension.go
index b0fc0e9ce..9ced571ae 100644
--- a/node/exts/erc20-bridge/erc20/meta_extension.go
+++ b/node/exts/erc20-bridge/erc20/meta_extension.go
@@ -1353,6 +1353,19 @@ func init() {
// This prevents forged vo... | 3 | 2 | 1 | [{"id": "G0", "claim": "Each nonce==0 vote_epoch call derives an Ethereum address for every validator inside isActiveValidatorAddress while sumEpochVotingPower rebuilds the same eth address→power map on the same invocation; the map should be computed once per handler call and reused for both the membership check and th... | null |
trufnetwork__kwil-db__1700 | trufnetwork/kwil-db | 1,700 | defect | 12ed615d43cbba86102cc722fdc6aa16e3084311 | aa0e9064d7435a5ad8263afd801be85d300d59b8 | chore: prevent crash on WAL UPDATE without old tuple | resolves: https://github.com/truflation/website/issues/3757
already live on mainnet
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Bug Fixes**
* Improved handling of PostgreSQL replication messages when certain data is absent, preventing potential crashes... | diff --git a/node/pg/repl_changeset.go b/node/pg/repl_changeset.go
index 63e9c158a..0451863c0 100644
--- a/node/pg/repl_changeset.go
+++ b/node/pg/repl_changeset.go
@@ -504,25 +504,31 @@ func (c *changesetIoWriter) decodeUpdate(update *pglogrepl.UpdateMessageV2, rela
RelationIdx: idx,
}
- // write old tuple
- tu... | 3 | 3 | 2 | [{"id": "G0", "claim": "A nil-OldTuple UPDATE emits an entry whose Kind() is CSEntryKindInsert, so ApplyChangesetEntry dispatches it to applyInserts and the WAL UPDATE is silently dropped when the row already exists; the discard should at least be noted and ideally logged.", "category": "correctness", "verdict": "suppo... | null |
trumank__repak__6 | trumank/repak | 6 | defect | 03dd3a63ed2bfb2563cd08a3a4b47d59e28d03a0 | 50f54837cabbea5ca89267336da120a0d9d53828 | Features redo | redoes #4 so that there are separate methods for each feature
if you want to change the function names to something less verbose go ahead
not sure how to mark functions as requiring a feature tho
also had the idea of making `new_any_with_key` accept an aes key and not excluding `new_any` when encryption is enabled b... | diff --git a/repak/Cargo.toml b/repak/Cargo.toml
index 532a01e..1e35868 100644
--- a/repak/Cargo.toml
+++ b/repak/Cargo.toml
@@ -6,19 +6,25 @@ license.workspace = true
version.workspace = true
edition.workspace = true
+[features]
+default = ["compression", "encryption"]
+compression = ["dep:flate2", "dep:zstd"]
+oo... | 3 | 3 | 2 | [{"id": "G0", "claim": "The feature handling should be reworked so a single enum (like the former PakEncryption) holds the AES key instead of the ~26 scattered #[cfg(feature = \"encryption\")] attributes this PR adds.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i... | null |
trussed-dev__littlefs2__36 | trussed-dev/littlefs2 | 36 | defect | fd178ba1d4138131cb1cc07123e9dc0a3d418c14 | 5ea4b140e20cfa89794c5747260ed17d17aa3074 | Correct remove_dir_all_where recursion handling / Fix #35 | Fixes https://github.com/trussed-dev/littlefs2/issues/35 | diff --git a/src/consts.rs b/src/consts.rs
index c5e00416b..040e436a3 100644
--- a/src/consts.rs
+++ b/src/consts.rs
@@ -12,4 +12,3 @@ pub const FILEBYTES_MAX: u32 = crate::ll::LFS_FILE_MAX as _;
pub const ATTRBYTES_MAX: u32 = 1_022;
pub type ATTRBYTES_MAX_TYPE = U1022;
pub const LOOKAHEADWORDS_SIZE: u32 = 16;
-
dif... | 2 | 2 | 1 | [{"id": "G0", "claim": "The remove_dir_all_where test should also check that test_dir/test_file still exists after the removal.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Use a named helper type instead of the (usize, bool) tuple returned by remove_... | null |
trussed-dev__trussed__151 | trussed-dev/trussed | 151 | defect | cff2e663841b6a68d3a8ce12647d57b2b6fbc36c | 34e9d6911f677c17534fbd6eed70b00db8b69b18 | read_dir_first: stop at the first file that is alphabetically "after" `not_before` | In fido-authenticator, if we change the paths of RK to be: "rp_id.rk_id" instead of the current "rp_id/rk_id", we still want to be able to iterate over the keys even though we only know the "rp_id" and not the "rk_id". Therefore we need to be able to stop at "rp_id.***" when giving "rp_id" in `not_before`
This is ... | diff --git a/Cargo.toml b/Cargo.toml
index e3a74863011..f53fd1f293f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -133,4 +133,4 @@ features = ["serde-extensions", "virt"]
rustdoc-args = ["--cfg", "docsrs"]
[patch.crates-io]
-littlefs2 = { git = "https://github.com/trussed-dev/littlefs2.git", rev = "ebd27e49ca321089d0... | 1 | 1 | 1 | [{"id": "G0", "claim": "The `not_before: Option<(PathBuf, bool)>` field of the ReadDirFirst request is very hard to understand and should be restructured, e.g. by moving the bool into a separate field that only takes effect when a filename is set, or by using a helper struct.", "category": "design", "verdict": "support... | null |
trussed-dev__trussed__31 | trussed-dev/trussed | 31 | defect | 258fe26ce89cd3bb4d84f192f3fe256193946886 | 6d13bb6b85892739ccef6f8fea270af31dfc0fbb | Add virtual platform | This patch adds a `virt` feature and module with a virtual platform implementation. This platform uses a basic user interface implementation and RAM storage. It makes it easy to run tests without having to implement all required Trussed components. As the `TrussedInterchange` and the RAM storage cannot be used concu... | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5540e53e033..350e0afdda6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -39,6 +39,6 @@ jobs:
run: cargo build --verbose --target ${{ matrix.target }}
- name: Run tests
- run: cargo test --verbose
+ ... | 3 | 3 | 2 | [{"id": "G0", "claim": "Tests do not compile without --features virt; they should probably be gated behind a feature flag.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Since optional features are not compiled on docs.rs, Cargo.toml should get a [p... | null |
trussed-dev__trussed__68 | trussed-dev/trussed | 68 | defect | 88de4c6b3ac8c94534aad98efbed02af8eaec70c | 6b6ee2132cfe1947b441dc9214de7ed551efa450 | Add support for multiple backends | This is a reduced version of https://github.com/trussed-dev/trussed/pull/41 as discussed today. The main difference is that the service endpoints cannot be configured at runtime (using a syscall), but only during client creation. This makes the interface much simpler. I did not convert the backend ID to an integer a... | diff --git a/.github/workflows/firmwares.yml b/.github/workflows/firmwares.yml
index f94be86d5a9..ef4660dfb87 100644
--- a/.github/workflows/firmwares.yml
+++ b/.github/workflows/firmwares.yml
@@ -17,7 +17,7 @@ jobs:
path: trussed
- name: Checkout solokeys/solo2
- run: git clone https://githu... | 8 | 8 | 0 | [{"id": "G0", "claim": "The new dispatch trait `Backends` has a poor name (too close to `Backend`); a name like `Select` would read better as `backend::Select`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `Option` returned by `Backends::select` se... | null |
trussed-dev__trussed__70 | trussed-dev/trussed | 70 | defect | 88de4c6b3ac8c94534aad98efbed02af8eaec70c | 29297ad9fcf6484f36b9ab9ab4ff294dc510c323 | Add API extensions | This patch adds API extensions to Trussed. To avoid having to add a
type parameter to Request and Reply, we serialize the requests and
replies. Extensions can be implemented by custom backends and are
dispatched by the Backends implementation provided to the Service. An
additional type parameter is needed for Cl... | diff --git a/.github/workflows/firmwares.yml b/.github/workflows/firmwares.yml
index f94be86d5a9..ef4660dfb87 100644
--- a/.github/workflows/firmwares.yml
+++ b/.github/workflows/firmwares.yml
@@ -17,7 +17,7 @@ jobs:
path: trussed
- name: Checkout solokeys/solo2
- run: git clone https://githu... | 7 | 3 | 1 | [{"id": "G0", "claim": "The pull request still provides no way for an extension to store data in the client context.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The comments saying the Extension request/reply sizes are chosen to be smaller than the la... | null |
trustbloc__vcs__1129 | trustbloc/vcs | 1,129 | defect | 57b3ecbe7a21a25b22e9870797588d5b21213b65 | e04b9f5f4b47e249a356cf2c4bad08f2c6875f15 | chore: Add pre-auth code expiry | Set pre-auth code expiry time when pre-auth code gets created (same as claim data expiry)
Add check for pre-auth code expiry to ValidatePreAuthorizedCodeRequest function.
Message returned:
"url":"/issuer/interactions/validate-pre-authorized-code",
"httpStatus":400,
"additionalMessage":"map[code:oidc-tx-not-foun... | diff --git a/cmd/vc-rest/startcmd/start.go b/cmd/vc-rest/startcmd/start.go
index 0751e1796..cb3be9819 100644
--- a/cmd/vc-rest/startcmd/start.go
+++ b/cmd/vc-rest/startcmd/start.go
@@ -324,6 +324,7 @@ func buildEchoHandler(conf *Configuration, cmd *cobra.Command) (*echo.Echo, erro
HTTPClient: http... | 1 | 1 | 1 | [{"id": "G0", "claim": "For security reasons (RFC 6749 section 5.2), the error returned when a pre-authorized code is expired should not reveal that the code is expired — the PR's new expiry check returns a distinguishable 'expired pre-authorize code' error.", "category": "security", "verdict": "supported", "priority":... | null |
trustbloc__vcs__1202 | trustbloc/vcs | 1,202 | defect | ab3822d961e6bee4dbd48ab16d4d4649df40c678 | 1f93996894f1b4401b4232638019c6c9ae26fac0 | feat: tracing support for oidc4vci | PII data, specifically "claims" in pre-auth flow, undergoes sanitization to ensure privacy and security.
To monitor interactions with MongoDB, the database client is instrumented, providing detailed tracing capabilities on the level of queries.
For services, custom wrappers are used to keep business logic clean.
... | diff --git a/cmd/vc-rest/go.mod b/cmd/vc-rest/go.mod
index 973edfc81..a34deb3f1 100644
--- a/cmd/vc-rest/go.mod
+++ b/cmd/vc-rest/go.mod
@@ -15,12 +15,12 @@ require (
github.com/hyperledger/aries-framework-go-ext/component/vdr/jwk v0.0.0-20221213152252-f0c83a5a922c
github.com/hyperledger/aries-framework-go-ext/comp... | 2 | 2 | 1 | [{"id": "G0", "claim": "pkg/restapi/resterr/handler.go should use logger.Errorc(ctx, ...) instead of passing log.WithTracing(ctx) as a log option.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tracing wrappers (oidc4ci and the other wrapped... | null |
trustbloc__vcs__1352 | trustbloc/vcs | 1,352 | defect | 5635b82338990afec293af3c13a039884b2f86b7 | 2fb121963c36c5b84dfa8b05faa065c043b24e53 | fix: "aud" claim check | To conform to the OpenID4CI spec, the "aud" claim check that happens on the credential endpoint now checks for the entire issuer URI instead of only the base URI. | diff --git a/api/spec/openapi.gen.go b/api/spec/openapi.gen.go
index 3e68694b4..0c620dcfd 100644
--- a/api/spec/openapi.gen.go
+++ b/api/spec/openapi.gen.go
@@ -19,27 +19,27 @@ import (
// Base64 encoded, gzipped, json marshaled Swagger object
var swaggerSpec = []string{
- "H4sIAAAAAAAC/+x9e3PbtvbgV8FodybJjGynr3v3e... | 1 | 1 | 0 | [{"id": "G0", "claim": "Restate the InvalidOrMissingProofOIDCErr handling as another case in the switch below instead of a separate if statement.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
trustbloc__vcs__827 | trustbloc/vcs | 827 | defect | 620ad8623e9f969fdbe24202e178a4c27e2cb0b9 | 002e2b84cfdaa4719c063d77df0a95de206ba7e6 | feat: Credential Management - jwt vc support | Linked issue: https://github.com/trustbloc/vcs/issues/757
Signed-off-by: Mykhailo Sizov <mykhailo.sizov@securekey.com> | diff --git a/component/profile/reader/file/creator.go b/component/profile/reader/file/creator.go
index ec0d3cd6f..e75175e01 100644
--- a/component/profile/reader/file/creator.go
+++ b/component/profile/reader/file/creator.go
@@ -22,12 +22,18 @@ import (
)
// nolint: gochecknoglobals
-var signatureKeyTypeMap = map[v... | 2 | 1 | 0 | [{"id": "G0", "claim": "The mapping from JWT signature types to DID verification method types in signatureTypeToDidVerificationMethod (keys taken from signaturetype.go, values from afgo examples) may be wrong and needs reviewers' extra attention to confirm.", "category": "correctness", "verdict": "uncertain", "priority... | null |
trustbloc__vcs__868 | trustbloc/vcs | 868 | defect | 83fc72e2a4593038c2f9b9752f5aaaa446ef4ed1 | 67120940a89dceea2beeb49cbaa382044fb7297c | feat: vcs structured logging | closes #869
Signed-off-by: Baha Shaaban <baha.shaaban@securekey.com> | diff --git a/cmd/common/common.go b/cmd/common/common.go
index 8b76d6ef3..cc9e0139d 100644
--- a/cmd/common/common.go
+++ b/cmd/common/common.go
@@ -6,7 +6,7 @@ SPDX-License-Identifier: Apache-2.0
package common
-import "github.com/trustbloc/edge-core/pkg/log"
+import "github.com/trustbloc/vcs/internal/log"
con... | 2 | 2 | 0 | [{"id": "G0", "claim": "The retry warning log should extract the sleep value into a separate log field and should not use fmt.Sprintf in the log message.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The received-event log should create multiple log fie... | null |
trustbloc__vcs__926 | trustbloc/vcs | 926 | defect | edc847e184535fa7cfaa9f5eccfbebf43cc9dd8b | a31ac1625aebcbc0b85e7f6b74b377523b89984c | feat: metrics provider | closes #925
Signed-off-by: Baha Shaaban <baha.shaaban@securekey.com> | diff --git a/cmd/vc-rest/go.mod b/cmd/vc-rest/go.mod
index 1b05d39f4..6e7852c6d 100644
--- a/cmd/vc-rest/go.mod
+++ b/cmd/vc-rest/go.mod
@@ -127,6 +127,7 @@ require (
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.32.1 // indirect
github.com/prometheus/procfs v0.6.0 // indir... | 7 | 7 | 1 | [{"id": "G0", "claim": "The server idle timeout flag and related parameters added in cmd/vc-rest/startcmd/params.go are not needed for the metrics provider task and should be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new httpserver pack... | null |
trustedsec__hate_crack__73 | trustedsec/hate_crack | 73 | defect | dabdcbe5792ee673daf9dbbcc24e2a6e190510b5 | e417e3d928278fa0ea673460e6ff84f411d3c580 | Add NTLM computer account filtering and NetNTLM dedup | ## Summary
- **Computer account filtering (#27)**: Automatically detects Windows computer accounts (usernames ending with `$`) in pwdump-format NTLM hash files (type 1000). Prompts the user to filter them before cracking.
- **NetNTLM deduplication (#28)**: Detects duplicate usernames in NetNTLMv1/v2 hashes (types 5500... | diff --git a/hate_crack/attacks.py b/hate_crack/attacks.py
index d6ba8fd4..420e23d0 100644
--- a/hate_crack/attacks.py
+++ b/hate_crack/attacks.py
@@ -498,6 +498,4 @@ def ollama_attack(ctx: Any) -> None:
"industry": industry,
"location": location,
}
- ctx.hcatOllama(
- ctx.hcatHashType,... | 5 | 5 | 3 | [{"id": "G0", "claim": "NetNTLM deduplication runs unconditionally and materializes the .dedup file before knowing whether duplicates exist or whether the user wants it, which can be expensive (full file copy) for large inputs; it should do a lightweight first pass and only generate the deduped file when duplicates exi... | null |
trustwallet__wallet-core__2767 | trustwallet/wallet-core | 2,767 | defect | b8f7f1591f5ee7360af27ded94606bb6a29341fc | 72b68ac2102040f00fa4808680aa22d45bb558fb | Support for Secret Network | ## Description
Support for Secret Network. New Cosmos-based chain.
Still waiting for you guys to merge the [trustwallet/assets PR](https://github.com/trustwallet/assets/pull/23150)
I'm pretty sure we've covered everything, and once the `assets` PR is merged, this PR should be ok to merge this as well.
Please le... | diff --git a/android/app/src/androidTest/java/com/trustwallet/core/app/blockchains/CoinAddressDerivationTests.kt b/android/app/src/androidTest/java/com/trustwallet/core/app/blockchains/CoinAddressDerivationTests.kt
index ddd2c1dd86..8d60a752d4 100644
--- a/android/app/src/androidTest/java/com/trustwallet/core/app/block... | 2 | 1 | 0 | [{"id": "G0", "claim": "The reviewer asks to clarify why Secret's derivation path differs from cosmos and, since the derivation field is an array, requests adding another object with the cosmos derivation path.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":... | null |
trustwallet__wallet-core__3995 | trustwallet/wallet-core | 3,995 | defect | 75c73b1ff98c36870ab0d546a0f6c33dbd609230 | 83db6223300383a86128f071653486e405649357 | [TON] Support TON tx compiler | ## Description
Implement the TON transaction compiler, fix https://github.com/trustwallet/wallet-core/issues/3797
<!--- Describe your changes in detail -->
## How to test
Run Rust, C++, Kotlin, Swift tests
<!--- Please describe how reviewers can test your changes -->
## Types of changes
<!--- What ty... | diff --git a/rust/chains/tw_ton/Cargo.toml b/rust/chains/tw_ton/Cargo.toml
index 10bfc3d029..076a7d84f6 100644
--- a/rust/chains/tw_ton/Cargo.toml
+++ b/rust/chains/tw_ton/Cargo.toml
@@ -11,5 +11,6 @@ tw_hash = { path = "../../tw_hash" }
tw_keypair = { path = "../../tw_keypair" }
tw_memory = { path = "../../tw_memory... | 4 | 4 | 3 | [{"id": "G0", "claim": "Do not remove the dedicated sign_external_message/Cell flow; instead split the API into sign_transaction and compile_transaction so signing and compiling work without repeating code and the API is not ambiguous.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduc... | null |
trustwallet__wallet-core__4005 | trustwallet/wallet-core | 4,005 | defect | af67cae30f132ec139b72b4b93d2b336b84a8c49 | 9f0e5cb6da216cef4927e9777946348b61a50c38 | [TON]: Eliminate nondeterminism in TON BoC serialization | Fix issue https://github.com/trustwallet/wallet-core/issues/4004
The test case SignMessageToTransferAndDeployWalletV5R1 occasionally fails.
# Root Cause
A HashMap is unordered, so iterating over it multiple times may yield different results.
https://github.com/trustwallet/wallet-core/blob/af67cae30f132ec139b72b... | diff --git a/rust/frameworks/tw_ton_sdk/src/boc/boc_to_raw_boc.rs b/rust/frameworks/tw_ton_sdk/src/boc/boc_to_raw_boc.rs
index efcbddd400..04f634d801 100644
--- a/rust/frameworks/tw_ton_sdk/src/boc/boc_to_raw_boc.rs
+++ b/rust/frameworks/tw_ton_sdk/src/boc/boc_to_raw_boc.rs
@@ -9,6 +9,7 @@ use crate::boc::BagOfCells;
... | 1 | 1 | 1 | [{"id": "G0", "claim": "Serialization is still nondeterministic because build_and_verify_index collects its BTreeMap back into a randomly-seeded HashMap, so HashMap<H256, IndexedCellRef> should be replaced with BTreeMap everywhere in this file, with a type alias like CellsByHash.", "category": "correctness", "verdict":... | null |
trustwallet__wallet-core__4134 | trustwallet/wallet-core | 4,134 | defect | 9dae7e1b6447c8fdafa75555c19476ea8b431128 | 8a6750295a1363c56bddb4c78c10d24aa21cc195 | [Solana]: Add Solana custom message signing | ## Description
https://solana.com/developers/cookbook/wallets/sign-message
## How to test
Run Rust, C++, iOS, Android tests
## Types of changes
Add `TWMessageSignerSign` and `TWMessageSignerVerify` - generic functions to sign messages for any blockchain
## Checklist
- [x] Create pull request as dra... | diff --git a/android/app/src/androidTest/java/com/trustwallet/core/app/blockchains/solana/TestSolanaMessageSigner.kt b/android/app/src/androidTest/java/com/trustwallet/core/app/blockchains/solana/TestSolanaMessageSigner.kt
new file mode 100644
index 0000000000..b4eb3752fc
--- /dev/null
+++ b/android/app/src/androidTest... | 1 | 1 | 1 | [{"id": "G0", "claim": "The value assigned to the `data_hash` field in `message_preimage_hashes` is the raw message, not a hash of the data, and should perhaps not be assigned to `data_hash`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
trustwallet__wallet-core__4190 | trustwallet/wallet-core | 4,190 | defect | 7b1bee59813f2d93e15e20c8e331cb0b1fafc51b | 63097f223b4d581916d8d4ed8cc702337ed729af | Adds ability to take an ABI to handle `EntryFunction` JSON arguments correctly | ## Description
Fixes https://github.com/trustwallet/wallet-core/issues/3899
This PR adds the ability to accept an ABI in the `SigningInput` so that we are able to parse the arguments correctly.
## How to test
Run Rust Tests
## Types of changes
Add `abi` in `tw_proto::Aptos::Proto::SigningInput`.
##... | diff --git a/rust/Cargo.lock b/rust/Cargo.lock
index 0c16a96d58..93b76802ab 100644
--- a/rust/Cargo.lock
+++ b/rust/Cargo.lock
@@ -1724,6 +1724,7 @@ dependencies = [
name = "tw_aptos"
version = "0.1.0"
dependencies = [
+ "anyhow",
"move-core-types",
"serde",
"serde_bytes",
diff --git a/rust/chains/tw_aptos/Car... | 8 | 8 | 4 | [{"id": "G0", "claim": "The pull request should not add the anyhow crate because it swallows the error type as Any; it should use existing error kinds like EncodingError or SigningError, or add a new error kind such as AbiError.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {... | null |
trustwallet__wallet-core__4235 | trustwallet/wallet-core | 4,235 | defect | 4470330a6cda5f44f3afec395dab4b5852af29f8 | 4a7db22f707940e02d1a7466dbd114e903dbb98e | feature(ripple): Add support for non-standard currency code | ## Description
Currently, WalletCore supports ISO-4217 currency codes only (3 symbols, e.g. `USD`) when generating transactions (TrustSet, TokenPayment).
This PR adds support for non-standard currency code like `524C555344000000000000000000000000000000` which requires a different serialization.
Ref: https://xrpl... | diff --git a/src/XRP/Transaction.cpp b/src/XRP/Transaction.cpp
index c4f9298fd9..48bd04a038 100644
--- a/src/XRP/Transaction.cpp
+++ b/src/XRP/Transaction.cpp
@@ -85,7 +85,7 @@ Data Transaction::serialize() const {
(transaction_type == TransactionType::NFTokenCreateOffer)) {
encodeType(FieldType::amou... | 1 | 1 | 0 | [{"id": "G0", "claim": "The literal 40 for the hex-encoded currency code size in serializeCurrencyCode is a magic number; define a named constant and use it instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
trustwallet__wallet-core__4243 | trustwallet/wallet-core | 4,243 | defect | 78b053643056ab86529ad5b5bfa0f9f7c4a9b461 | 39147ea772863e8a71cf09ab80819644c9fb19ad | [MultiversX]: Add support for relayed (V3) transactions | ## Description
<!--- Describe your changes in detail -->
This PR brings some support for crafting _relayed_ transactions. The so-called _relayed_ transactions are transactions where the fee is paid by a _relayer_ account (instead of being paid by the _sender_).
Applications that use _wallet-core_ to create & s... | diff --git a/android/app/src/androidTest/java/com/trustwallet/core/app/blockchains/multiversx/TestMultiversXSigner.kt b/android/app/src/androidTest/java/com/trustwallet/core/app/blockchains/multiversx/TestMultiversXSigner.kt
index 811c8a6b76..82929dcb8c 100644
--- a/android/app/src/androidTest/java/com/trustwallet/core... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new getter getExtraGasLimitForRelayedTransaction should return extraGasLimitForRelayedTransaction instead of minGasLimit.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
trustwallet__wallet-core__4276 | trustwallet/wallet-core | 4,276 | defect | a1d570676784910294fe6e2d350ecbccf7c9f5d6 | 03faa74bd678aa730581d3dfef49737ccf32b5ce | [Cardano]: Adds support for vote delegation | ## Description
This PR adds support for vote delegation in Cardano.
There are three possible scenarios:
1. A delegation to a valid drep address which requires a `drep_id` to be present
2. Always abstain
3. Always vote as no confidence
## How to test
Added VoteDelegationTests that compare the transaction... | diff --git a/src/Cardano/AddressV3.cpp b/src/Cardano/AddressV3.cpp
index 84e264256a..2f65d7d304 100644
--- a/src/Cardano/AddressV3.cpp
+++ b/src/Cardano/AddressV3.cpp
@@ -21,6 +21,8 @@ bool AddressV3::checkLength(Kind kind, size_t length) noexcept {
case Kind_Enterprise:
case Kind_Reward:
return (len... | 5 | 4 | 0 | [{"id": "G0", "claim": "The long emplace_back line in Signer::buildTransactionAux should be reformatted or have some argument creation moved to a variable beforehand (reviewer suggests a dRepKeyArg variable).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",... | null |
trustwallet__wallet-core__4303 | trustwallet/wallet-core | 4,303 | defect | df42d6b8940896da753230208d49fc613c63bc89 | 6e0b882bf7eba019073d946a12110f701e5c4c72 | Generate FFI headers in include/TrustWalletCore/Generated folder | ## Description
This PR enables the generation of FFI header files in a dedicated Generated folder so that its easier to cleanup.
## How to test
Existing CI builds continue to work
## Types of changes
<!--- What types of changes does your code introduce? Uncomment all the bullets that apply: -->
Bug fi... | diff --git a/.gitignore b/.gitignore
index e7e97f1283..9b126ffe68 100644
--- a/.gitignore
+++ b/.gitignore
@@ -37,21 +37,11 @@ codegen-v2/bindings/
src/Generated/*.h
src/Generated/*.cpp
+include/TrustWalletCore/Generated/*.h
include/TrustWalletCore/TWHRP.h
include/TrustWalletCore/TW*Proto.h
include/TrustWalletCo... | 1 | 1 | 0 | [{"id": "G0", "claim": "The FFI codegen should also generate TWCryptoBox.h, and any other structures or functions that can be generated, so that tw_ffi is used wherever possible.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}] | null |
trustwallet__wallet-core__4304 | trustwallet/wallet-core | 4,304 | defect | 37dd7eda5a3efaafce4aeaa06c7b86732d7a263b | 05809c35345282023474e2b0f6e1aa0bd1104d8c | [ETH]: Adds support for EIP 7702 authorization hash | ## Description
This PR adds support for EIP 7702 authorization hash
## How to test
Adds a test that compares the hash with the one computed using viem.
## Types of changes
<!--- What types of changes does your code introduce? Uncomment all the bullets that apply: -->
<!-- * Bug fix (non-breaking chang... | diff --git a/include/TrustWalletCore/TWBarz.h b/include/TrustWalletCore/TWBarz.h
index 1454e219b5..c435086f36 100644
--- a/include/TrustWalletCore/TWBarz.h
+++ b/include/TrustWalletCore/TWBarz.h
@@ -7,6 +7,7 @@
#include "TWData.h"
#include "TWString.h"
#include "TWPublicKey.h"
+#include "uint256.h"
TW_EXTERN_C_BE... | 2 | 2 | 2 | [{"id": "G0", "claim": "TW::uint256_t cannot be taken in the FFI, so the new TWBarzGetAuthorizationHash should take chainId and nonce as TWData big-endian bytes representation instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The FFI interface shou... | null |
trustwallet__wallet-core__4306 | trustwallet/wallet-core | 4,306 | defect | 80829656a0bfb67f4932f3a274e0f3b3138761a2 | d715dfa8ab41745cc3c251ea7a416b948cc7d9c4 | [ETH]: Adds support for User Operation v0.7 to enable EIP-7702 compatible ERC 4337 transactions | ## Description
This PR adds support for User Operation v0.7 to enable EIP-7702 compatible ERC 4337 transactions
## How to test
Added a test to validate user operation hash
## Types of changes
<!--- What types of changes does your code introduce? Uncomment all the bullets that apply: -->
<!-- * Bug fix... | diff --git a/rust/tw_evm/src/modules/tx_builder.rs b/rust/tw_evm/src/modules/tx_builder.rs
index b4a141a173..a2d298c469 100644
--- a/rust/tw_evm/src/modules/tx_builder.rs
+++ b/rust/tw_evm/src/modules/tx_builder.rs
@@ -13,6 +13,7 @@ use crate::transaction::access_list::{Access, AccessList};
use crate::transaction::tra... | 5 | 4 | 2 | [{"id": "G0", "claim": "The change should be built from three entities (UserOperationV0_7, PackedUserOperation and SignedUserOperationV0_7), with PackedUserOperation used only to get the op hash to sign and SignedUserOperationV0_7 holding paymaster, verification_gas_limit, call_gas_limit, factory, factory_data and the ... | null |
trustwallet__wallet-core__4357 | trustwallet/wallet-core | 4,357 | defect | 798ee9555656990bc2d5af3aa831fc70852cc23a | 11cb8774bae465f7d21f908f4cc59b850ee5e56e | Adds API to import encoded private keys | ## Description
This PR adds APIs to allow each coin type to specify a decoder for its private key. Currently, it fixes an issue in importing Base32 encoded keys for Stellar.
## How to test
Added Tests
## Types of changes
<!--- What types of changes does your code introduce? Uncomment all the bullets that... | diff --git a/android/app/src/androidTest/java/com/trustwallet/core/app/utils/TestKeyStore.kt b/android/app/src/androidTest/java/com/trustwallet/core/app/utils/TestKeyStore.kt
index 599d336921..05ae0ab4f8 100644
--- a/android/app/src/androidTest/java/com/trustwallet/core/app/utils/TestKeyStore.kt
+++ b/android/app/src/a... | 12 | 11 | 3 | [{"id": "G0", "claim": "CoinEntry::decodePrivateKey should return a PrivateKey instead of raw Data.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The encodedStr constructor parameter should be std::optional<std::string> instead of a default empty string... | null |
trustwallet__wallet-core__4377 | trustwallet/wallet-core | 4,377 | defect | 2aaffee74aca9f83e3f2fd96940e61f4824aaff3 | d24d7b4ff82ad81f7dcdf5578f5b3a30fed27ec9 | Replaces `aeskey.c` with Rust implementation via FFI | ## Description
This PR `aeskey.c` with Rust implementation via FFI.
## How to test
<!--- Please describe how reviewers can test your changes -->
## Types of changes
<!--- What types of changes does your code introduce? Uncomment all the bullets that apply: -->
<!-- * Bug fix (non-breaking change which... | diff --git a/rust/Cargo.lock b/rust/Cargo.lock
index 0285f7d1b0..3adedf6b4b 100644
--- a/rust/Cargo.lock
+++ b/rust/Cargo.lock
@@ -12,6 +12,17 @@ dependencies = [
"generic-array",
]
+[[package]]
+name = "aes"
+version = "0.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b169f7a6... | 10 | 8 | 3 | [{"id": "G0", "claim": "The blocks() helper should use the standard slice::chunks method instead of manual index arithmetic over the data.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The magic key-size numbers 16/24/32 in the AES CBC and CTR ... | null |
trustwallet__wallet-core__4413 | trustwallet/wallet-core | 4,413 | defect | 2232874fb730702dddc3e8c03516724857de68f5 | 3c4a0097a7d04499ef9734b5cab4d7ec24f351b1 | [TON]: Fixes issue with large transfers | ## Description
Fixes https://github.com/trustwallet/wallet-core/issues/4151
## Breaking Change
This PR changes the amount type in TON API to accept big-endian bytes instead of uint64 to support large amount transfers.
## How to test
Run tests across platforms
## Types of changes
<!--- What types of... | diff --git a/android/app/src/androidTest/java/com/trustwallet/core/app/blockchains/theopennetwork/TestTheOpenNetworkSigner.kt b/android/app/src/androidTest/java/com/trustwallet/core/app/blockchains/theopennetwork/TestTheOpenNetworkSigner.kt
index 69dd91abad..635d615734 100644
--- a/android/app/src/androidTest/java/com/... | 1 | 1 | 0 | [{"id": "G0", "claim": "The incidental change to swift/Podfile.lock (the rewritten PODFILE CHECKSUM line) should be reverted so the pull request does not touch the lock file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
trustwallet__wallet-core__4449 | trustwallet/wallet-core | 4,449 | defect | 6e9567b5f9efc965e4fc1af00ecf485c4bf040a1 | 7eaf4bbfd6532f0e5dff7f735cf254fdfb19d125 | Support compiling tron raw json from DApp | ## Description
Support compiling tron raw json from DApp.
<!--- Describe your changes in detail -->
## How to test
<!--- Please describe how reviewers can test your changes -->
## Types of changes
<!--- What types of changes does your code introduce? Uncomment all the bullets that apply: -->
<!-- *... | diff --git a/src/Tron/Entry.cpp b/src/Tron/Entry.cpp
index 7cf7f756ca..64c15d6d75 100644
--- a/src/Tron/Entry.cpp
+++ b/src/Tron/Entry.cpp
@@ -31,7 +31,7 @@ Data Entry::preImageHashes([[maybe_unused]] TWCoinType coin, const Data& txInput
txInputData, [](const auto& input, auto& output) {
const aut... | 2 | 1 | 1 | [{"id": "G0", "claim": "Signer::sign() should also handle input.raw_json (not only txid), for consistency between the sign and compile functionalities.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The txId field could be removed from SigningInput ... | null |
trustwallet__wallet-core__4462 | trustwallet/wallet-core | 4,462 | defect | a39853acf6b00a8d2384c4ad2a82e5f9ca3ac7e9 | 9d7085008f2bfdc73b09bf1e1cac57c391d12e1f | Fixes ed25519 derivation paths and wipes data after usage | ## Description
This PR adds the following fixes:
1. Soft derivation now errors for ED25519 curves
2. Data is wiped out after usage
3. Addition check in rand.cpp
4. Removes the dependency on `bip39`
## How to test
<!--- Please describe how reviewers can test your changes -->
## Types of changes
<!--- ... | diff --git a/registry.json b/registry.json
index e9a45b331c..6781100d82 100644
--- a/registry.json
+++ b/registry.json
@@ -2006,7 +2006,7 @@
"blockchain": "Everscale",
"derivation": [
{
- "path": "m/44'/396'/0'/0/0"
+ "path": "m/44'/396'/0'"
}
],
"curve": "ed25519",
@@ -3... | 2 | 2 | 2 | [{"id": "G0", "claim": "scrypt_ro_mix should not zeroize the caller's v buffer itself; the owner of the Vec<u8> should care for zeroizing it, by wrapping it in Zeroizing<Vec<u8>> wherever needed and possible.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim... | null |
trustwallet__wallet-core__4557 | trustwallet/wallet-core | 4,557 | defect | 5afbb3ea8e6319ec3630f5c5a6958ee72a1b61bf | 77a79e895d70bb75cf47fed144d6cd764fe290e2 | Fix Reveal Operations for Seoul Protocol | Since the Seoul protocol, reveal operations on Tezos require the presence of a boolean for whether or not the proof field is present. This is required when manually forging bytes:
https://octez.tezos.com/docs/shell/p2p_api.html#reveal-tag-107
If support for BLS/tz4 is added later, this can be updated to include t... | diff --git a/src/Tezos/Forging.cpp b/src/Tezos/Forging.cpp
index 9c7b22b41e..5c1f794c1b 100644
--- a/src/Tezos/Forging.cpp
+++ b/src/Tezos/Forging.cpp
@@ -179,6 +179,7 @@ Data forgeOperation(const Proto::Operation& operation) {
append(forged, forgedGasLimit);
append(forged, forgedStorageLimit);
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The other Tezos tests left with stale expected hashes by the reveal-forging change should be fixed by the author, failing which the maintainers will fix them themselves.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
trustwallet__wallet-core__4565 | trustwallet/wallet-core | 4,565 | defect | 5afbb3ea8e6319ec3630f5c5a6958ee72a1b61bf | d70bb0700b0886d6f063983e59ca4275f782c637 | fix(public-key): Fix `PublicKey::verify` by adding signature length validation | This pull request adds stricter validation for signature lengths during public key verification and introduces corresponding unit tests to ensure invalid signature lengths are properly rejected. The main changes focus on improving security and correctness by enforcing signature length checks before cryptographic verifi... | diff --git a/src/PublicKey.cpp b/src/PublicKey.cpp
index d9789e6bc0..6c8815c878 100644
--- a/src/PublicKey.cpp
+++ b/src/PublicKey.cpp
@@ -20,6 +20,23 @@
namespace TW {
+bool validateSignatureLength(TWPublicKeyType type, const Data& signature) {
+ std::size_t minLength = 64;
+ std::size_t maxLength = 64;
+
+... | 2 | 1 | 0 | [{"id": "G0", "claim": "The switch cases in validateSignatureLength fall through to the default case for lack of a break statement, which could lead to unintended behavior; add a break statement after line 33.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "c... | null |
trustwallet__wallet-core__4626 | trustwallet/wallet-core | 4,626 | defect | bc379164ca86c4120b2f4b8bb2cd803fd8e997f1 | c3210bbf3840b3a7e027de83c682e5056bf8b6ee | fix(random): Enhance security by replacing platform-specific randomizer code with Rust's bindings | This pull request refactors and unifies the implementation of cryptographically secure random number generation across the codebase. It removes platform-specific random number generator code (for JNI, Swift, and WASM), and replaces it with a single Rust-backed implementation that is exposed to C++ via FFI. The new appr... | diff --git a/jni/cpp/Random.cpp b/jni/cpp/Random.cpp
deleted file mode 100644
index 27eb18f72e..0000000000
--- a/jni/cpp/Random.cpp
+++ /dev/null
@@ -1,68 +0,0 @@
-// SPDX-License-Identifier: Apache-2.0
-//
-// Copyright © 2017 Trust Wallet.
-
-#include <jni.h>
-#include <string.h>
-#include <stdint.h>
-#include <fstre... | 6 | 3 | 1 | [{"id": "G0", "claim": "The crypto_random_buffer doc comment should document when CRandomCode::NotAvailable is returned (when the RNG fails to fill the buffer).", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The error code ERROR_UNKNOWN is ambiguo... | null |
trustwallet__wallet-core__4715 | trustwallet/wallet-core | 4,715 | defect | 6d4549a920a14a385f73364e812b1289a5c17840 | 2621ea3dfcd2aaac1b0a6ede87259efac6f0292c | fix(starkware): Update TWStarkWareGetStarkKeyFromSignature to return nullable pointer and handle exceptions | ## Description
Update TWStarkWareGetStarkKeyFromSignature to return nullable pointer and handle exceptions
## How to test
<!--- Please describe how reviewers can test your changes -->
## Types of changes
<!--- What types of changes does your code introduce? Uncomment all the bullets that apply: -->
<!... | diff --git a/include/TrustWalletCore/TWStarkWare.h b/include/TrustWalletCore/TWStarkWare.h
index 1ff02199f7..3fa18c88ae 100644
--- a/include/TrustWalletCore/TWStarkWare.h
+++ b/include/TrustWalletCore/TWStarkWare.h
@@ -20,6 +20,6 @@ struct TWStarkWare;
/// \param signature valid eth signature
/// \return The private... | 4 | 3 | 3 | [{"id": "G0", "claim": "Changing subData to throw std::invalid_argument on out-of-range startIndex is a breaking behavioral change that propagates far beyond the StarkWare path: callers that relied on non-throwing behavior, such as Tezos MessageSigner::verifyMessage which is noexcept, can trigger std::terminate on inva... | null |
trymirai__uzu__16 | trymirai/uzu | 16 | defect | a45f7c16ad473c91e6f8d2d660ff1d31942b8e52 | 5d893d5e832ddf777f36e3a3e35a7aa8decd9592 | Session Context | A mechanism to cache prefilled text chunks as and object to allow their reuse in following requests | diff --git a/cli/src/server/chat_completions.rs b/cli/src/server/chat_completions.rs
index 7fc31bc52..09b626ca7 100644
--- a/cli/src/server/chat_completions.rs
+++ b/cli/src/server/chat_completions.rs
@@ -1,5 +1,7 @@
-use rocket::{post, serde::json::Json};
+use rocket::{State, post, serde::json::Json};
use serde::{Des... | 3 | 2 | 1 | [{"id": "G0", "claim": "The chat-completions handler should accept SessionMessageRole from outside instead of matching the request's role string against enum variants.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Asks what happens when parameters.proje... | null |
trymirai__uzu__219 | trymirai/uzu | 219 | defect | 6e6742d8984174b3a44b883e128e7121a00536cc | a86c80e6a8e009e275845fd600b3b5495fa0231d | Add chat streaming | - add streaming support (SSE, text/event-stream) via `stream: bool` field in request
- handler is now async; inference runs in spawn_blocking to avoid blocking the runtime
- add OpenAI-compatible `usage` and `timings` fields alongside existing `stats` (no breaking change)
- add tests for streaming and non-streaming ... | diff --git a/Cargo.lock b/Cargo.lock
index e725d5171..e66a95c0d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -568,6 +568,7 @@ dependencies = [
"comfy-table",
"console 0.16.2",
"ctrlc",
+ "futures",
"indicatif 0.18.3",
"inquire",
"rocket",
diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml
index 21c8a... | 2 | 1 | 1 | [{"id": "G0", "claim": "SessionWrapper is unsafely marked Send/Sync and shared via Arc across Rocket worker threads while SessionWrapper::new accepts any RunSession + 'static with no Send bound on the runner, which could share a thread-confined runner across threads and cause undefined behavior; the runner type/object ... | null |
trymirai__uzu__220 | trymirai/uzu | 220 | defect | 6e6742d8984174b3a44b883e128e7121a00536cc | 0de8e23aa2fcc36dbd4502d57a4c9f2d3331796d | NativeBuffer unclone | Main change:
`pub trait NativeBuffer: Send + Sync + Debug + Clone` ->
`pub trait NativeBuffer: Debug` | diff --git a/crates/uzu/src/array.rs b/crates/uzu/src/array.rs
index 67ac64b41..d4dd34cb5 100644
--- a/crates/uzu/src/array.rs
+++ b/crates/uzu/src/array.rs
@@ -1,4 +1,4 @@
-use std::{cell::RefCell, ops::Range, os::raw::c_void, ptr::NonNull};
+use std::{cell::RefCell, ops::Range, os::raw::c_void, ptr::NonNull, rc::Rc};... | 1 | 1 | 1 | [{"id": "G0", "claim": "The #[cfg(feature = \"tracing\")] init_classifier_buffers branch in crates/uzu/src/forward_pass/state/state.rs (lines 390 and 400) still calls Array::from_parts(buffer, ...) after the signature changed to require Rc<B::NativeBuffer>, so building with --features tracing fails with a type mismatch... | null |
trymirai__uzu__330 | trymirai/uzu | 330 | defect | bb72fd42e32190e015f3b63180a3128704281644 | 4e55eb10b15d9a5ce097687059d4e6c4683c9add | faster qmv | `air.convert.f.f32.s.i32` (SFU, ~4c) is the latency bottleneck at M≥3. Trade it for underutilized Integer/FP units:
```
Before: load i16 → and mask → air.convert i32→f32 (SFU ~4c) → fmul → fadd
After: load i16 → and mask → or 0x4B000000 (~1c) → bitcast (free) → fsub (~1c) → fmul → fadd
```
- Repla... | diff --git a/crates/uzu/src/backends/metal/kernel/quant_matmul/qmv.metal b/crates/uzu/src/backends/metal/kernel/quant_matmul/qmv.metal
index a35ed5b9d..eb53f49c7 100644
--- a/crates/uzu/src/backends/metal/kernel/quant_matmul/qmv.metal
+++ b/crates/uzu/src/backends/metal/kernel/quant_matmul/qmv.metal
@@ -96,7 +96,7 @@ P... | 4 | 3 | 1 | [{"id": "G0", "claim": "The packed-weight buffer in bench_qmv_fast_typed is sized as n * k / 8 regardless of bit-width, so invoking the helper with bits == 8 allocates a buffer half the required size and kernel reads can go out of bounds.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "... | null |
trynova__nova__319 | trynova/nova | 319 | defect | 4a01961d434ba9760f88bbfc720131421ea6181c | 212d8ae1ac8350626d09ddf729af09010ca720bd | feat(ecmascript): Implement strict vs. non-strict code distinction | Whenever the spec said to have different behaviors for strict and non-strict code, we previously sometimes went with the strict and sometimes with the loose behavior, because we weren't tracking whether the current execution was strict or not. This patch tracks that.
Ideally, oxc would store whether a function or no... | diff --git a/nova_cli/src/main.rs b/nova_cli/src/main.rs
index 75a76a88f..472aa0de4 100644
--- a/nova_cli/src/main.rs
+++ b/nova_cli/src/main.rs
@@ -39,6 +39,9 @@ enum Command {
#[arg(short, long)]
verbose: bool,
+ #[arg(short, long)]
+ no_strict: bool,
+
/// The files to eval... | 2 | 2 | 0 | [{"id": "G0", "claim": "In parse_script's signature, the HostDefined parameter should be the last argument (after strict_mode).", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "For the tests that may run in either strict or loose mode, the runner should ru... | null |
trynova__nova__566 | trynova/nova | 566 | defect | 61ab8f805493c79df1a44962859321b70c4834d4 | 124147c9dcc9aee8537fcb4391e0a9df798de25c | Add an `--expose-internals` CLI flag | The test262 runner uses the Nova CLI, but it also needs access to functions exposing either some of the engine's internals, or things that are not accessible from JS code but could be from a runtime built on top of the engine. An example of this is `detachArrayBuffer`, which is currently exposed on the global.
Rathe... | diff --git a/nova_cli/src/helper.rs b/nova_cli/src/helper.rs
index d7424335c..61e4d6186 100644
--- a/nova_cli/src/helper.rs
+++ b/nova_cli/src/helper.rs
@@ -1,7 +1,10 @@
use nova_vm::ecmascript::{
builtins::{create_builtin_function, ArgumentsList, Behaviour, BuiltinFunctionArgs},
execution::{agent::Exception... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new `OrdinaryObject::create` constructor should be named `create_empty_object` to say what it does.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
trynova__nova__736 | trynova/nova | 736 | defect | 63eb75d2b1235707881add1d2d2d8370ab949774 | 710456b763a8bb89db9da0d61a2624958423bb1f | feat(ecmascript): %TypedArray%.prototype.slice | - doc: https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%typedarray%.prototype.slice
- ref: https://github.com/trynova/nova/issues/145 | diff --git a/nova_vm/src/ecmascript/builtins/indexed_collections/typed_array_objects/typed_array_intrinsic_object.rs b/nova_vm/src/ecmascript/builtins/indexed_collections/typed_array_objects/typed_array_intrinsic_object.rs
index 1dce17687..01ed424b5 100644
--- a/nova_vm/src/ecmascript/builtins/indexed_collections/typed... | 10 | 10 | 2 | [{"id": "G0", "claim": "The different-target-type copy path of slice could be optimized to write directly between the typed-array views, the way filter does, instead of looping through Get/Set.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The '// ... | null |
tryolabs__requestium__94 | tryolabs/requestium | 94 | defect | 9e271ae2fcb741e31c481f0f0a722dfcdbba96e8 | 4e1c7285a4291a59cfe19ae920f13558e32debc1 | Separate files and type hinting improvements | - Use selenium.webdriver.Chrome() and selenium.webdriver.Firefox() instead of selenium.webdriver.chrome.webdriver.WebDriver() and selenium.webdriver.firefox.webdriver.WebDriver()
- Break requestium file into requestium_session, requestium_mixin, and requestium_response
- Add type hints to all functions and classes
-... | diff --git a/requestium/requestium.py b/requestium/requestium.py
index 0902ba97..ba067568 100644
--- a/requestium/requestium.py
+++ b/requestium/requestium.py
@@ -1,399 +1,4 @@
-import functools
-import time
-import types
-import warnings
-
-import requests
-import tldextract
-from parsel.selector import Selector
-from... | 1 | 1 | 0 | [{"id": "G0", "claim": "The bare `import selenium` this pull request adds at the top of requestium/requestium_mixin.py is unused and should be removed (or module availability tested with importlib.util.find_spec).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
trzsz__trzsz-ssh__154 | trzsz/trzsz-ssh | 154 | defect | ab8cc44dc66c8ee35e931230de2250c8dcabc6a8 | b5adf2d9cb8fe63ae793511deb8b8f1f8d52d263 | feat: support --dns command | Termux 中,使用自定义dns
fixed: #153
使用例子
```
tssh example.com --dns 223.5.5.5
```
我对go还不熟悉,看看有没有要修改的地方 | diff --git a/tssh/args.go b/tssh/args.go
index c3b2043f..391532f6 100644
--- a/tssh/args.go
+++ b/tssh/args.go
@@ -82,6 +82,7 @@ type sshArgs struct {
Debug bool `arg:"--debug" help:"verbose mode for debugging, same as ssh's -vvv"`
Zmodem bool `arg:"--zmodem" help:"enable zmodem lrzsz... | 7 | 6 | 1 | [{"id": "G0", "claim": "The --dns flag's placeholder should read \"[udp://|tcp://]host[:port]\" instead of the example addresses.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Dns field should be placed before Udp in sshArgs, since Udp and TsshdPath... | null |
trzsz__tsshd__31 | trzsz/tsshd | 31 | defect | b9756a2acd81e7222bf29a4fd19f2645e75ecc46 | 34091665639e6218387229b42cfb756562cdc9c0 | fix: evaluate Match Group negations across all groups | ## Problem
`Match Group` handling evaluated each user group independently with `matchList` and accepted the block if any one group matched. This made negated group patterns too weak. For example, a user in both `admin` and `wheel` could still match `Match Group !wheel` or `Match Group admin,!wheel` because another gro... | diff --git a/tsshd/sshd_config.go b/tsshd/sshd_config.go
index 2c70f27..1bd509a 100644
--- a/tsshd/sshd_config.go
+++ b/tsshd/sshd_config.go
@@ -302,16 +302,39 @@ func evalMatchConditions(conds map[string][]string, user string, groups []string
}
if pats, ok := conds["group"]; ok {
- groupOK := false
+ if !match... | 1 | 1 | 0 | [{"id": "G0", "claim": "The QUIC initial packet size unit test fails intermittently, and the reviewer asks the author to look into a fix.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}] | null |
trzsz__tsshd__32 | trzsz/tsshd | 32 | defect | b9756a2acd81e7222bf29a4fd19f2645e75ecc46 | 340d57620d4edc268dfcbff51e44b0ec51dece4e | fix: ignore unsupported sshd_config Match criteria | ## Problem
The sshd_config parser currently only evaluates `Match User` and `Match Group`, but it silently ignores other criteria such as `Address`, `Host`, or `LocalAddress`.
That is unsafe because a block like this can be treated as matching even though the `Address` criterion was never evaluated:
```sshconfig
Mat... | diff --git a/tsshd/sshd_config.go b/tsshd/sshd_config.go
index 2c70f27..c77fa65 100644
--- a/tsshd/sshd_config.go
+++ b/tsshd/sshd_config.go
@@ -295,6 +295,18 @@ func evalMatchLine(line, user string, groups []string) bool {
}
func evalMatchConditions(conds map[string][]string, user string, groups []string) bool {
+... | 1 | 1 | 1 | [{"id": "G0", "claim": "The spaced-comma test case was added intentionally and should be kept, with the Match parser made to tolerate spaces around commas in value lists, instead of the PR weakening the test to \"admin,docker\".", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced... | null |
trzsz__tsshd__33 | trzsz/tsshd | 33 | defect | b9756a2acd81e7222bf29a4fd19f2645e75ecc46 | f0c022b56fa759f100275323ad42de9ed860bab5 | fix: avoid shared QUIC config mutation | ## Problem
`listenQUIC` and `newQuicClient` mutated the package-level `quicConfig` before starting each listener or dial:
- `InitialPacketSize`
- `DisablePathMTUDiscovery`
That shared mutable config can race when multiple QUIC clients connect concurrently. The race detector reports concurrent reads in quic-go while ... | diff --git a/tsshd/proto.go b/tsshd/proto.go
index e145d80..c372574 100644
--- a/tsshd/proto.go
+++ b/tsshd/proto.go
@@ -510,21 +510,24 @@ func newQuicClient(opts *UdpClientOptions, udpConn net.PacketConn, remoteAddr ne
ServerName: "tsshd",
}
+ config := quicConfig
+ var initialPacketSize uint16
if opts.Serv... | 3 | 3 | 2 | [{"id": "G0", "claim": "The unit test should be hardened (e.g. by asserting the QUIC MTU clamp bounds explicitly) so that if the QUIC library changes its MTU logic, such as altered kQuicMinMTU or kQuicMaxMTU values, the test will detect the change and fail.", "category": "testing", "verdict": "supported", "priority": "... | null |
trzsz__tsshd__34 | trzsz/tsshd | 34 | defect | b9756a2acd81e7222bf29a4fd19f2645e75ecc46 | e97b7b601a63b0d4c874e65e5c9e1976c9c36680 | fix: reject empty subsystem commands | ## Problem
`getSubsystemCmd` checked whether a subsystem was configured and whether command-line splitting succeeded, but it did not validate that the resulting argv contained a non-empty executable name.
A malformed subsystem entry such as an empty quoted command can produce an empty argv[0], leading to an unclear f... | diff --git a/tsshd/session.go b/tsshd/session.go
index 3b5aafb..9b2c29b 100644
--- a/tsshd/session.go
+++ b/tsshd/session.go
@@ -1040,6 +1040,9 @@ func getSubsystemCmd(name string) (*exec.Cmd, error) {
if err != nil {
return nil, fmt.Errorf("split subsystem [%s] [%s] failed: %v", name, command, err)
}
+ if len(a... | 1 | 1 | 1 | [{"id": "G0", "claim": "Because the test sets sshdConfigPath to the hard-coded /tmp/test_sshd_config, which isn't a valid directory on Windows, the test case is expected to fail on that platform.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ts-essentials__ts-essentials__109 | ts-essentials/ts-essentials | 109 | defect | 5dd92ba56bfa6af83f3d5411575869afc5f5c36d | f6df91369f28cafeb3cd2538416bb35e533d54d0 | Add assertion functions | Closes https://github.com/krzkaczor/ts-essentials/issues/106 | diff --git a/README.md b/README.md
index e028f75f..24256bda 100644
--- a/README.md
+++ b/README.md
@@ -47,6 +47,7 @@ npm install --save-dev ts-essentials
- [Exhaustive switch cases](#Exhaustive-switch-cases)
- [ValueOf type](#ValueOf-type)
- [AsyncOrSync type](#AsyncOrSync-type)
+ - [Assertions](#Assertions)
... | 1 | 1 | 0 | [{"id": "G0", "claim": "In the README's assert example, declaring `const anything: any = \"abc\" as any` is redundant since specifying `any` once should be sufficient.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ts-essentials__ts-essentials__16 | ts-essentials/ts-essentials | 16 | defect | 5c6c24d3e3a3a88cd1d7327d7523e30cee851d6e | 3a1030630b0d474de361f6e4c988c5cc3804aa87 | Add Tuple constraint | Closes https://github.com/krzkaczor/ts-essentials/issues/15 | diff --git a/README.md b/README.md
index ef0beb17..ccc83811 100644
--- a/README.md
+++ b/README.md
@@ -144,6 +144,18 @@ function makePositiveNumber(n: number): PositiveNumber {
}
```
+### Tuple constraint
+
+```typescript
+function foo<T extends Tuple>(tuple: T): T {
+ return tuple;
+}
+
+const ret = foo(["s", 1... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add the new Tuple constraint section to the README menu (table of contents) as well.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ts-essentials__ts-essentials__163 | ts-essentials/ts-essentials | 163 | defect | 33c36ba7ff36fd7de10fefd2b74e3b274a79050c | b98a74b6fb3cfadefffacc5896041784326a3774 | Redo opaque, add Awaited, AsyncOrSyncType and Newable | Closes: https://github.com/krzkaczor/ts-essentials/issues/110
Closes: https://github.com/krzkaczor/ts-essentials/issues/158
It's a breaking change, will be released as 7.0.0 | diff --git a/README.md b/README.md
index 67546d0f..d0bef75b 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
<img alt="Downloads" src="https://img.shields.io/npm/dm/ts-essentials.svg">
<img alt="Build status" src="https://circleci.com/gh/krzkaczor/ts-essentials.svg?style=svg">
<a href="/package.jso... | 6 | 6 | 0 | [{"id": "G0", "claim": "The reviewer questions the all-caps naming of the new Opaque type parameters (TYPE, TOKEN), a convention he has not seen anywhere yet.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks for sources, preceden... | null |
ts-essentials__ts-essentials__190 | ts-essentials/ts-essentials | 190 | defect | 1468ecb5d1d209bf1929b9fa0cda87f92c980e6c | 77b35b63678adbf7695619cbcecd9ec69907d2da | feat: PickKeys | time to time I need to accept keys as parameters of a function which match only specific types in original object. | diff --git a/README.md b/README.md
index d2c14527..8b3a6873 100644
--- a/README.md
+++ b/README.md
@@ -49,6 +49,7 @@ or `ts-essentials@2` instead. If you use any [functions](https://github.com/krzk
- [WritableKeys](#WritableKeys)
- [OptionalKeys](#OptionalKeys)
- [RequiredKeys](#RequiredKeys)
+ - [PickKeys](#... | 1 | 1 | 0 | [{"id": "G0", "claim": "The README's PickKeys section should add another example with a complex type (e.g. `type Result2 = PickKeys<T, string | undefined>` yielding \"b\" | \"c\" | \"d\") to better illustrate the possibilities.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduce... | null |
ts-essentials__ts-essentials__216 | ts-essentials/ts-essentials | 216 | defect | f249535ec9b3ee01160f2135ee162cfe7d386af7 | 2249132124fddb8b8b07ddb01e12c7c04aa3fbfd | feat: ➕ add StrictExtract | Fixes #211 | diff --git a/README.md b/README.md
index 544f4a70..5e9609ef 100644
--- a/README.md
+++ b/README.md
@@ -42,6 +42,8 @@ your `dependencies` (`npm install --save ts-essentials`) to avoid runtime errors
- [Omit](#Omit)
- [StrictOmit](#StrictOmit)
- [Comparison between `Omit` and `StrictOmit`](#Comparison-between-... | 2 | 2 | 0 | [{"id": "G0", "claim": "The example Mouse interface misspells the method name — \"squaek\" should be \"squeak\" — in both the README example and the test.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request is missing a changeset file ... | null |
ts-essentials__ts-essentials__310 | ts-essentials/ts-essentials | 310 | defect | 6b27ee4b7849d2a2670d80000a928cd20e3981b7 | 0e71d39179a2528b63090602ccf4c8e1ec113ae7 | fix: DeepReadonly for a union with an array of itself (#306) | **Changes:**
- fix DeepReadonly for a union with an array of itself
Resolves #306 | diff --git a/lib/types.ts b/lib/types.ts
index b78bc56d..62064572 100644
--- a/lib/types.ts
+++ b/lib/types.ts
@@ -167,6 +167,8 @@ export type DeepReadonly<T> = T extends Builtin
? WeakSet<DeepReadonly<U>>
: T extends Promise<infer U>
? Promise<DeepReadonly<U>>
+ : T extends AnyArray<infer U>
+ ? readonly De... | 2 | 2 | 1 | [{"id": "G0", "claim": "The tests fail with this pull request applied on TypeScript 4.2, 4.3, 4.4 and 4.5, as shown by the four failed CI runs.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G2", "claim": "The pull request should add a changeset file under .change... | null |
ts-essentials__ts-essentials__336 | ts-essentials/ts-essentials | 336 | defect | e0307a2e54bb6ae55666dfe434f840ccfc04e0c5 | cfdb28c453b457faadea3e22a2620a1f9917aca7 | fix the object constraint for `NonEmptyObject<T>` | fixed #335
@Beraliv
Have also added the additional test cases for the improved constraint! | diff --git a/.changeset/great-hounds-brush.md b/.changeset/great-hounds-brush.md
new file mode 100644
index 00000000..803857be
--- /dev/null
+++ b/.changeset/great-hounds-brush.md
@@ -0,0 +1,5 @@
+---
+"ts-essentials": patch
+---
+
+improve the object constraint for `NonEmptyObject<T>` to not allow primitives
diff --gi... | 3 | 3 | 1 | [{"id": "G0", "claim": "The NonEmptyObject tests added to test/index.ts should be moved to a separate file, e.g. non-empty-object.ts, if the author has time.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new `T extends Record<PropertyKey, a... | null |
ts-essentials__ts-essentials__412 | ts-essentials/ts-essentials | 412 | defect | d0ad79f3e022f9ac97b5ec08314a20d3286db9dc | 1532a41b9f30899604d13e86e335f50933e17d65 | feat(Paths): Add optional `anyArrayIndexAccessor` | <!--
👋 Hi, thanks for sending a PR to ts-essentials! 🧡
Please fill out all fields below and make sure each item is true and [x] checked.
Otherwise we may not be able to review your PR.
-->
## PR Checklist
- [x] Addresses an existing open issue: related to
- resolves: #411
- [x] Steps in [Contributing... | diff --git a/lib/paths/README.md b/lib/paths/README.md
index 3cc01f2a..990e71ca 100644
--- a/lib/paths/README.md
+++ b/lib/paths/README.md
@@ -16,6 +16,16 @@ It supports:
- Object types
- Tuples
- As a side effect of `number`, float number access for arrays
+- Wildcard array indices (opt-in)
+
+An optional symbol ma... | 8 | 8 | 1 | [{"id": "G0", "claim": "Tuples should arguably not be wildcard-able, and if the reviewer agrees the tests should assert that `nested.tuple.*` paths are type errors (the author asked for help making that exclusion work).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
ts-essentials__ts-essentials__415 | ts-essentials/ts-essentials | 415 | defect | 162fd9d0ea958c995f9a78eabc7ece16e6b99770 | d75cf0d22a4b29336961ad956faa8a0d40115895 | Fix: Behaviour of `Prettify` when instantiated with functions | <!--
👋 Hi, thanks for sending a PR to ts-essentials! 🧡
Please fill out all fields below and make sure each item is true and [x] checked.
Otherwise we may not be able to review your PR.
-->
## PR Checklist
- [ ] Addresses an existing open issue: related to #000
- [x] Steps in [Contributing](https://github.c... | diff --git a/.changeset/green-crabs-appear.md b/.changeset/green-crabs-appear.md
new file mode 100644
index 00000000..6c56ed4a
--- /dev/null
+++ b/.changeset/green-crabs-appear.md
@@ -0,0 +1,5 @@
+---
+"ts-essentials": patch
+---
+
+Fix `Prettify<Type>`, it nows works correctly with function instantiations.
diff --git ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The changeset entry should be more specific about what changed, wording it as `Prettify<Type>` returns the same type when the type parameter is a function.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ts-essentials__ts-essentials__424 | ts-essentials/ts-essentials | 424 | defect | 859d85cd30d74f3a58f27725eff0199aae7926a3 | 37830fcc03d6bc405162a337cb1dfb63e67c80b7 | Fix: `Tail` with optional, readonly and non-tuple arrays | <!--
👋 Hi, thanks for sending a PR to ts-essentials! 🧡
Please fill out all fields below and make sure each item is true and [x] checked.
Otherwise we may not be able to review your PR.
-->
## PR Checklist
- [ ] Addresses an existing open issue: related to #000
- [x] Steps in [Contributing](https://github.c... | diff --git a/lib/tail/index.ts b/lib/tail/index.ts
index 63d52c98..bc90cacd 100644
--- a/lib/tail/index.ts
+++ b/lib/tail/index.ts
@@ -1,3 +1,7 @@
import { AnyArray } from "../any-array";
-export type Tail<Type extends AnyArray> = Type extends [any, ...infer Rest] ? Rest : never;
+export type Tail<Type extends AnyAr... | 3 | 2 | 0 | [{"id": "G0", "claim": "Document above the test case why `Tail<any>` resolves to `unknown[]`, since that result is surprising.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a changelog entry with a clear description for the pull request's cha... | null |
ts-essentials__ts-essentials__457 | ts-essentials/ts-essentials | 457 | defect | 34f52e0e4f525f9adfacec9488f461a507451fd4 | 028bb5386f7e7d5a5801bc2e0fb6bb67f3489f80 | feat: add IsExact and deprecate Exact | <!--
👋 Hi, thanks for sending a PR to ts-essentials! 🧡
Please fill out all fields below and make sure each item is true and [x] checked.
Otherwise we may not be able to review your PR.
-->
## PR Checklist
- [x] Addresses an existing open issue: related to #454
- [x] Steps in [Contributing](https://github.c... | diff --git a/lib/exact/index.ts b/lib/exact/index.ts
index 03c237fc..887b560f 100644
--- a/lib/exact/index.ts
+++ b/lib/exact/index.ts
@@ -87,6 +87,10 @@ type ArrayExact<TValue extends readonly any[], TShape extends readonly any[]> =
// `isBCorBC3(bcOrBc3)` fails because `bcOrBc3` is inferred as `BC`???
type Primitiv... | 5 | 5 | 1 | [{"id": "G0", "claim": "Alongside the code changes, the pull request should update lib/exact/README.md (strip examples and links, add a deprecation warning), replace Exact with IsExact in README.md including links, update remaining Exact references such as lib/union-to-tuple.ts, and optionally move testExact to test/is... | null |
ts-essentials__ts-essentials__62 | ts-essentials/ts-essentials | 62 | defect | 10c7a2bffc950c038517a9c0a85ef58ae5e0c589 | 8a67630ad086bee2ff4d7eb595e308b4c07421db | fix: check Primitive in DeepPartial (#19) | This PR should fix #19 | diff --git a/lib/types.ts b/lib/types.ts
index 26d1d4ff..323ab511 100644
--- a/lib/types.ts
+++ b/lib/types.ts
@@ -7,7 +7,9 @@ export type DictionaryValues<T> = T extends Dictionary<infer U> ? U : never;
/** Like Partial but recursive */
export type DeepPartial<T> = {
- [P in keyof T]?: T[P] extends Array<infer U>... | 2 | 2 | 2 | [{"id": "G0", "claim": "The maintainer asked the author to write tests for the DeepPartial change, noting existing DeepPartial cases to build on.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Expected type in the new DeepPartial test should not wra... | null |
ts-graphviz__ts-graphviz__1526 | ts-graphviz/ts-graphviz | 1,526 | defect | 92f7e4cfd5f389c9a10d584a82b209134cfa3022 | 5a86e8f0f944ffabb02f0e59a9cc3cf079f18b41 | fix(ast): prevent stack overflow from deeply nested HTML structures | ## Summary
Fixes a critical security vulnerability where deeply nested HTML-like structures in DOT files could cause stack overflow, leading to application crashes and potential DoS attacks.
## Changes
### Core Implementation
- **PEG Grammar** (`packages/ast/src/dot-shim/parser/dot.peggy`)
- Added depth tr... | diff --git a/.changeset/fix-html-nesting-depth-vulnerability.md b/.changeset/fix-html-nesting-depth-vulnerability.md
new file mode 100644
index 00000000..1d17ab1d
--- /dev/null
+++ b/.changeset/fix-html-nesting-depth-vulnerability.md
@@ -0,0 +1,20 @@
+---
+"@ts-graphviz/ast": patch
+---
+
+Fix critical stack overflow v... | 2 | 1 | 1 | [{"id": "G0", "claim": "The `++htmlNestingDepth` side effect inside the semantic predicate is not rolled back when the parser backtracks (e.g. a malformed HTML string like `<...` without a closing `>`), which corrupts the counter for the rest of the parse and can lead to incorrect depth validation; a stateless approach... | null |
ts-graphviz__ts-graphviz__1565 | ts-graphviz/ts-graphviz | 1,565 | defect | 19f6894843460029b772f865e1571b6d3cca9a02 | aa50ebe601d5e2be250b4b14e4f39c28b0f0df92 | Enhance error messages in browser environment adapter package | <!-- Thank you for your contribution to ts-graphviz! Please replace {Please write here} with your description -->
### What was a problem
The browser adapter threw generic error messages when Graphviz executables were not available in browser environments, providing no actionable guidance to developers on how to a... | diff --git a/packages/adapter/src/browser.test.ts b/packages/adapter/src/browser.test.ts
index 8b797e63..fb182248 100644
--- a/packages/adapter/src/browser.test.ts
+++ b/packages/adapter/src/browser.test.ts
@@ -4,13 +4,29 @@ import { toFile, toStream } from './browser.js';
describe('browser adapter', () => {
it('to... | 5 | 4 | 2 | [{"id": "G0", "claim": "Export the ERROR_MESSAGE constant from browser.ts and use it directly in the tests instead of duplicating the large error-message string, to keep tests in sync with the actual message and improve maintainability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope":... | null |
ts-graphviz__ts-graphviz__990 | ts-graphviz/ts-graphviz | 990 | defect | 95a3bf8944ba0cb8e2afa7ddc964e94a4d517f25 | b3253b8c01827c68cf6289ce1d0b2c5e9d8b9660 | Import graphviz/react repository | Imported source code from [@ts-graphviz/react](https://github.com/ts-graphviz/react) repository and integrated it into monorepo.
This PR will be used to import the project, and improvements for release will be made separately.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary ... | diff --git a/.all-contributorsrc b/.all-contributorsrc
index 70f4e85f8..7c90646b8 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -147,6 +147,26 @@
"contributions": [
"bug"
]
+ },
+ {
+ "login": "nagasawaryoya",
+ "name": "nagasawaryoya",
+ "avatar_url": "https:... | 10 | 1 | 0 | [{"id": "G0", "claim": "The exported test wrapper functions in wrapper.tsx should declare explicit return types (e.g. FC<{}>) for better type safety and readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Several reconciler types (Props,... | null |
ts-graphviz__ts-graphviz__992 | ts-graphviz/ts-graphviz | 992 | defect | 7a672710ba57af6e018c71c1c3b13b2ac9eaf2b3 | ddeda26f00962856909f14694a7fdb3154a89893 | Refactor @ts-graphviz/react and @ts-graphviz/common | This PR removes the prop-types dependency and moves react-dom to peerDependencies. It also adds the provenance flag to publishConfig in package.json, adds Component tests, updates functions signature and adds tests, moves HTMLLikeLabel types to @ts-graphviz/common, and improves and changes file naming conventions.
<!-... | diff --git a/media/dependency-graph.dot b/media/dependency-graph.dot
index c8746c8f7..35cd17c7a 100644
--- a/media/dependency-graph.dot
+++ b/media/dependency-graph.dot
@@ -8,33 +8,34 @@ digraph "dependency_graph" {
shape = "none";
];
"@ts-graphviz/adapter" [
- label = <<TABLE><TR><TD PORT="name" BGCOLOR=... | 11 | 2 | 0 | [{"id": "G0", "claim": "Comprehensive tests should be added for the newly introduced HTMLLikeLabel attribute types in @ts-graphviz/common to ensure they work as expected.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Test cases for useRenderedID edge-c... | null |
ts-rest__ts-rest__233 | ts-rest/ts-rest | 233 | defect | 1c53ac938366299a8e244be5db5076725d489252 | 84b03676fcaec57924a953304c8c555f823f1ecd | Implement strict mode | Implements a more generic strict mode than what was implemented in #228. This applies to both server and client side based on contract configuration rather than client configuration.
| diff --git a/libs/ts-rest/core/src/lib/client.spec.ts b/libs/ts-rest/core/src/lib/client.spec.ts
index ae4db094..2bff2abf 100644
--- a/libs/ts-rest/core/src/lib/client.spec.ts
+++ b/libs/ts-rest/core/src/lib/client.spec.ts
@@ -131,6 +131,7 @@ export const router = c.router(
'x-test': z.string().optional(),
... | 6 | 4 | 3 | [{"id": "G0", "claim": "Making ApiRouteResponse (and ApiRouteResponseNoUnknownStatus) generic over AppRoute instead of over the responses object is a breaking change that is not acceptable, and the conditional type logic should instead be moved to the ApiResponseForRoute type alias.", "category": "design", "verdict": "... | null |
ts-rest__ts-rest__265 | ts-rest/ts-rest | 265 | defect | 2763208b6162db9cdccb6e80bf7681c42bdd3c76 | cccde648eb730f93f0d9a9bd7224b6e9affe4359 | feat: add middleware support to fastify | This PR adds support for middleware in the fastify implementation. This is heavily inspired by the express implementation so the code should look somewhat familiar :)
First-class middleware support was removed from Fastify after v3 and now relies on plugins like `@fastify/express` `@fastify/middie` etc.
If this ... | diff --git a/libs/ts-rest/fastify/jest.config.ts b/libs/ts-rest/fastify/jest.config.ts
index 3fd98bd8..edda350e 100644
--- a/libs/ts-rest/fastify/jest.config.ts
+++ b/libs/ts-rest/fastify/jest.config.ts
@@ -7,6 +7,7 @@ const { exclude: _, ...swcJestConfig } = JSON.parse(
readFileSync(`${__dirname}/.lib.swcrc`, 'utf-... | 4 | 2 | 1 | [{"id": "G0", "claim": "Asks what happens if a user does not app.register(s.plugin(router)) and uses registerRoute instead — whether an error is thrown in that case and whether TypeScript can catch it.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
ts-rest__ts-rest__315 | ts-rest/ts-rest | 315 | defect | c90d2ce9ff415bc72284d1ba937919b279e74448 | 11e7f2627699c396ea29b072fc06dd3874948ef2 | feat: Next 13 app Dir fetch support! | ## Fetch Cache Feature
Since cache is officially supported by the [Mozilla spec](https://developer.mozilla.org/en-US/docs/Web/API/Request/cache), and Nodejs [now also supports the fetch AP](https://nodejs.org/es/blog/announcements/v18-release-announce), we can add the cache property to our core client.
## Nextjs F... | diff --git a/apps/example-next/next.config.js b/apps/example-next/next.config.js
index 5c48d669..e21356ac 100644
--- a/apps/example-next/next.config.js
+++ b/apps/example-next/next.config.js
@@ -10,6 +10,9 @@ const nextConfig = {
// See: https://github.com/gregberge/svgr
svgr: false,
},
+ expiremental: {
... | 4 | 1 | 1 | [{"id": "G0", "claim": "The NextClientArgs type cannot be generated from next-env.d.ts without making next an implicit dependency, so it will unfortunately have to be maintained by hand; the author asks whether anyone has a smarter idea.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope"... | null |
ts-rest__ts-rest__387 | ts-rest/ts-rest | 387 | defect | ffb2d418228b06387311ce0fc8510f4c22b61130 | 6fbd42212a97ec7ef68655604804d5e8da386dfb | fix: content-type application/json behavior for client | fixes #383
Please review: According to [this thread](https://stackoverflow.com/questions/5661596/do-i-need-a-content-type-header-for-http-get-requests), for specifying `content-type: application/json` should be _optional_ for GET requests.
Will this be ok so long as we correctly communicate this change? | diff --git a/libs/ts-rest/core/src/lib/client.spec.ts b/libs/ts-rest/core/src/lib/client.spec.ts
index 20831ed0..52e3e8d9 100644
--- a/libs/ts-rest/core/src/lib/client.spec.ts
+++ b/libs/ts-rest/core/src/lib/client.spec.ts
@@ -225,9 +225,6 @@ describe('client', () => {
fetchMock.getOnce(
{
ur... | 1 | 1 | 0 | [{"id": "G0", "claim": "The conditional spread in fetchApi can be simplified to `...(includeContentTypeHeader && { 'content-type': 'application/json' })` because anything that is not an object spreads as if it were an empty object (`{ ...false }` becomes `{}`).", "category": "maintainability", "verdict": "supported", "... | null |
ts-rest__ts-rest__419 | ts-rest/ts-rest | 419 | defect | 984b9b5aa229eb60562e7805a3f4bc8666ed0a26 | c6302a688dd0140c9875ebb81679ebe0d37ff55b | fix: content-type text/html string body (#418) | Fixes #418.
Parse any "text/" content-type with text(). | diff --git a/libs/ts-rest/core/src/lib/client.ts b/libs/ts-rest/core/src/lib/client.ts
index ce3308d0..5a790d82 100644
--- a/libs/ts-rest/core/src/lib/client.ts
+++ b/libs/ts-rest/core/src/lib/client.ts
@@ -129,7 +129,7 @@ export const tsRestFetchApi: ApiFetcher = async ({
};
}
- if (contentType?.includes('t... | 1 | 1 | 1 | [{"id": "G0", "claim": "A test case for a text/html response should be added to client.spec.ts, since the change makes text/html bodies be parsed as text.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ts-rest__ts-rest__454 | ts-rest/ts-rest | 454 | defect | 73d547b4357f325bc8ca4445e2f26f403479d5d9 | 7923f54e89f35d267f14eba76f53f88b7b94cb47 | feat(open-api): allow examples on OAS body and responses | I'm looking for a way to provide multiple examples for body and response object ideally in the ts-rest contract itself. This solution does so, albeit in a less than ideal way, by adding a propert to `SchemaObject` which really belongs on the eventual `MediaTypeObject` one level up the OAS hierarchy.
This is a featur... | diff --git a/libs/ts-rest/open-api/src/lib/ts-rest-open-api.spec.ts b/libs/ts-rest/open-api/src/lib/ts-rest-open-api.spec.ts
index bb5437d7..07f9982d 100644
--- a/libs/ts-rest/open-api/src/lib/ts-rest-open-api.spec.ts
+++ b/libs/ts-rest/open-api/src/lib/ts-rest-open-api.spec.ts
@@ -1,6 +1,7 @@
import { initContract } ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new examples feature needs a unit test for it.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "This pull request also needs a changeset added with `npx changeset`.", "category": "process", "verdict": "uncertain", "priority": "... | null |
ts-rest__ts-rest__503 | ts-rest/ts-rest | 503 | defect | b227ebcdfb238dcee8e8c18d9bc9339c82e75e29 | 3d5ceea86b50c88a4d38b5afd635f6002048bc14 | Adds support for creating single url routes in Next.js | Solves https://github.com/ts-rest/ts-rest/issues/504 | diff --git a/apps/docs/docs/next.mdx b/apps/docs/docs/next.mdx
index c0d7f796..3de25cd4 100644
--- a/apps/docs/docs/next.mdx
+++ b/apps/docs/docs/next.mdx
@@ -39,6 +39,24 @@ export default createNextRouter(api, router);
`createNextRouter` is a function that takes a contract and a complete router, and creates endpoin... | 6 | 6 | 3 | [{"id": "G0", "claim": "`body` is only part of mutations, so it should not be part of the common AppRouteCommon interface in libs/ts-rest/core/src/lib/dsl.ts.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should not add the new `path-to... | null |
ts-rest__ts-rest__581 | ts-rest/ts-rest | 581 | defect | b227ebcdfb238dcee8e8c18d9bc9339c82e75e29 | 4101e5c02f76a7d226cecead89c3581d39d33a05 | feat (ts-rest/core): allow merging router metadata to route metadata | In our project, we need a mechanism to set metadata for a whole router (and for a sub-router, of course).
Then routes inside a router can inherit this metadata.
Use case:
- A router sets metadata with:
```
{
requireAuth: true
}
```
- Then all routes inside the router will have `requireAuth: true` along ... | diff --git a/libs/ts-rest/core/src/lib/dsl.ts b/libs/ts-rest/core/src/lib/dsl.ts
index 59399a37f..4b5dbe5e8 100644
--- a/libs/ts-rest/core/src/lib/dsl.ts
+++ b/libs/ts-rest/core/src/lib/dsl.ts
@@ -154,6 +154,7 @@ export type RouterOptions<TPrefix extends string = string> = {
strictStatusCodes?: boolean;
pathPrefi... | 4 | 3 | 3 | [{"id": "G0", "claim": "The route metadata assignment should not inadvertently set `metadata` to an empty object when it is unset in both the router options and the route, and should not use `zodMerge` since schemas are not being merged.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "i... | null |
ts-rest__ts-rest__681 | ts-rest/ts-rest | 681 | defect | 4e5a9d62d748396bd088f20842f3895eba323f24 | bd097fa2bc8b6356ff8fe7f989c8b3ea0f71ccfa | fix(serverless): update utils to be compatible with node runtime | Attempt to resolve #678
Rewrite `@ts-rest/serverless/src/lib/utils.ts` to be compatible with both Node JS v18+ and WinterCG Minimum Common Web Platform API.
**FileReader** does not exist in Node and **Buffer** does not exist in Web API so the new implementation is using **Blob** and **btoa**.
**jsdom** [doesn... | diff --git a/.changeset/orange-frogs-unite.md b/.changeset/orange-frogs-unite.md
new file mode 100644
index 00000000..793d2370
--- /dev/null
+++ b/.changeset/orange-frogs-unite.md
@@ -0,0 +1,5 @@
+---
+'@ts-rest/serverless': patch
+---
+
+Refactor utils to not use `FileReader` allowing `createLambdaHandler` to run in A... | 3 | 3 | 2 | [{"id": "G0", "claim": "Itty-router's response cloning introduced in v5.0.17 breaks any handling of TsRestResponse after the fetch in the serverless lambda handler, since the response will now be the Response superclass.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"... | null |
ts-rest__ts-rest__693 | ts-rest/ts-rest | 693 | defect | 7a634e787874b431f28bb6c863e7df5ac08649a0 | c1fac594726e7006bd0e87b1bab5431b85a545e4 | fix(open-api): support generating other response in schema | I'm starting to roll out ts-rest out as our new server framework and am very pleased with the experience so far. I have encountered a few bugs, and have some questions about upstreaming changes.
## Bug 2 - Only the content type `application/json` would show up in OpenAPI schemas
Since the `c.otherResponse` helper d... | diff --git a/libs/ts-rest/open-api/src/lib/ts-rest-open-api.ts b/libs/ts-rest/open-api/src/lib/ts-rest-open-api.ts
index 1cc28941..77512854 100644
--- a/libs/ts-rest/open-api/src/lib/ts-rest-open-api.ts
+++ b/libs/ts-rest/open-api/src/lib/ts-rest-open-api.ts
@@ -3,6 +3,7 @@ import {
AppRouter,
extractZodObjectSha... | 2 | 2 | 1 | [{"id": "G0", "claim": "Add a test covering generation of the OpenAPI schema for non-JSON (other) responses.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `JSON.stringify(json) ?? null` change in TsRestResponse.fromJson is an unneeded code smell: s... | null |
ts-rest__ts-rest__786 | ts-rest/ts-rest | 786 | defect | fee9fbf348cce38b83e2450d5ac0b033dd13abd1 | 193243a7385c8d318f0c7decdc1253c8755e944c | feat: add express v5 support to @ts-rest/express | This PR builds on the work in https://github.com/ts-rest/ts-rest/pull/728, https://github.com/ts-rest/ts-rest/pull/749, and https://github.com/ts-rest/ts-rest/pull/784 to add support for Express v5 in ts-rest.
Express v5 introduces several significant changes compared to v4. For a complete list of potential breaking... | diff --git a/.changeset/cuddly-lions-buy.md b/.changeset/cuddly-lions-buy.md
new file mode 100644
index 000000000..1f9900031
--- /dev/null
+++ b/.changeset/cuddly-lions-buy.md
@@ -0,0 +1,5 @@
+---
+'@ts-rest/express': minor
+---
+
+add express v5 support to @ts-rest/express
diff --git a/apps/docs/docs/express/express.m... | 2 | 1 | 1 | [{"id": "G0", "claim": "The docs should be updated to explain how paths are supported and translated in contracts.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The pull request's build fails (Vercel and local CI) because types are referenced f... | null |
tsantalis__RefactoringMiner__1021 | tsantalis/RefactoringMiner | 1,021 | defect | 0edea8c5a931ee55b3c28b193616bb22f0aedb1e | 18e5d1847d54a57314fab49b176ce8fe9f84bc83 | Improve four aspects of GitServiceImpl.cloneIfNotExists | This PR improves four aspects of `GitServiceImpl.cloneIfNotExists`:
- (performance) It leverages the java.nio.file.Path API to replacing a loop with a direct Path.resolve(".git") call.
- (reliability) Prevents exceptions when clonePath is an empty folder by adding ` && folder.list().length > 0` to the if-conditiona... | diff --git a/src/main/java/org/refactoringminer/api/GitService.java b/src/main/java/org/refactoringminer/api/GitService.java
index 5b95b9f783..a1e1962f25 100644
--- a/src/main/java/org/refactoringminer/api/GitService.java
+++ b/src/main/java/org/refactoringminer/api/GitService.java
@@ -2,7 +2,9 @@
import java.util.M... | 2 | 1 | 1 | [{"id": "G0", "claim": "The newly added GitServiceImplTest clones real repositories, which makes test execution slow, so the author should disable the test.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer questions why the new overload's... | null |
tsayen__dom-to-image__120 | tsayen/dom-to-image | 120 | defect | d269bdcdb60809136546fb0428581f994afb8c19 | 7e3de04647a587f4e5ac237db767c814c4fd69c5 | Replace OCRAD with Tesseract to fix OCR-related failures | Fixed:
à should render text nodes
Firefox 52.0.0 (Windows 10 0.0.0)
expected 'SOME 7EX7\nSOME MORE TEXT\n' to include 'SOME TEXT'
à should preserve content of ::before and ::after pseudo elements
Chrome 57.0.2987 (Windows 10 0.0.0)
Firefox 52.0.0 (Windows 10 0.0.0)
... | diff --git a/.gitignore b/.gitignore
index d116ed21..f2a35437 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
*.iml
.tags
.tags*
+node_modules/
diff --git a/bower.json b/bower.json
index 4fbad507..6854cf8e 100644
--- a/bower.json
+++ b/bower.json
@@ -29,7 +29,6 @@
"devDependencies": {
"js-imagediff"... | 4 | 3 | 2 | [{"id": "G0", "claim": "The commented-out .progress and console.debug lines inside assertTextRendered can be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Using font-family Arial in the pseudo-element test style can be a problem for no... | null |
tsayen__dom-to-image__129 | tsayen/dom-to-image | 129 | defect | d269bdcdb60809136546fb0428581f994afb8c19 | 4f1aee70e5e20aff7fcdb25b34f9264086bd50f3 | Add cache bypass because CORS headers are missing on a cache hit | This fixes all my CORS issues. It does not add CORS where it did not exist previously though.
What was happening in my case was my html loaded the images before dom-to-image was being run, this caused the images to be cached with incorrect CORS headers, thus when dom-to-image requested the image and hit the cache it w... | diff --git a/README.md b/README.md
index f360b615..57aad048 100644
--- a/README.md
+++ b/README.md
@@ -147,6 +147,14 @@ for JavaScript names of CSS properties.
A number between 0 and 1 indicating image quality (e.g. 0.92 => 92%) of the
JPEG image. Defaults to 1.0 (100%)
+#### cacheBust
+
+Set to true to append the ... | 4 | 4 | 3 | [{"id": "G0", "claim": "The getAndEncode test spec still expects an empty result on fetch failure and needs updating to handle the case where a placeholder is used instead of returning nothing.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "cacheBust sh... | null |
tschaub__gh-pages__336 | tschaub/gh-pages | 336 | defect | 3579ab235d5502a2a1dc4d2f18ec1c9dce03f94a | 0522cafaf2275c8d7c70b748f24afda7460730ab | Fix remove not working properly | This PR fixes some issues described below and resolves #334, fixes #337 .
## Remove globbed files
https://github.com/tschaub/gh-pages/blob/3579ab235d5502a2a1dc4d2f18ec1c9dce03f94a/lib/index.js#L156
Joining files in a string causes incorrect shell argument passing. A globbed file can be removed, but globbed fil... | diff --git a/bin/gh-pages.js b/bin/gh-pages.js
index 477e1708..f2057c7b 100755
--- a/bin/gh-pages.js
+++ b/bin/gh-pages.js
@@ -63,7 +63,7 @@ function main(args) {
'-v, --remove <pattern>',
'Remove files that match the given pattern ' +
'(ignored if used together with --add).',
- ghpa... | 2 | 1 | 0 | [{"id": "G0", "claim": "Remove the added `.prettierrc` file, since formatting is handled by ESLint and editor integrations can use the `eslintConfig` member already in `package.json`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `remove: '... | null |
tschaub__mock-fs__287 | tschaub/mock-fs | 287 | defect | ad93ac551d54a9a346a7f4cccfcb89ca67fe9463 | 7bd8df3f01d259132e4ea4f4a35c9c59bcbf1031 | Implementing "withFileTypes" option for fs.readdir method | Hi, I'm the maintainer of the [`fast-glob`](https://github.com/mrmlnc/fast-glob) package.
In my package, I try to use all possible ways to optimize the work with the file system. One of these ways is a `withFileTypes` option in the `fs.readdir` method. Unfortunately, this package does not support this option. So, th... | diff --git a/lib/binding.js b/lib/binding.js
index bc4c6cb3..551464d1 100644
--- a/lib/binding.js
+++ b/lib/binding.js
@@ -12,6 +12,16 @@ const getPathParts = require('./filesystem').getPathParts;
const bufferFrom = require('./buffer').from;
const bufferAlloc = require('./buffer').alloc;
+const MODE_TO_KTYPE = {
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "In Binding.prototype.readdir the newly added withFileTypes block needs the encoding block handled below it, i.e. buffer encoding must be applied to the plain name list before the list is zipped with dirent types.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "in... | null |
tschaub__mock-fs__289 | tschaub/mock-fs | 289 | defect | ad93ac551d54a9a346a7f4cccfcb89ca67fe9463 | 579425ed62cb532f59ced7e69879254c34239bfd | fix: fix isRead check on file descriptor | The argument flags must include one of the following access modes:
O_RDONLY, O_WRONLY, or O_RDWR. These request opening the file read-
only, write-only, or read/write, respectively.
O_RDONLY is 0, O_WRONLY is 1, O_RDWR is 2, the flags use 2 bits for 3 states: 0 (0b00) / 1 (0b01) / 2 (0b10), the 2 bits will never be... | diff --git a/lib/descriptor.js b/lib/descriptor.js
index 85c07128..d8ec0efd 100644
--- a/lib/descriptor.js
+++ b/lib/descriptor.js
@@ -80,12 +80,7 @@ FileDescriptor.prototype.isCreate = function() {
* @return {boolean} Opened for reading.
*/
FileDescriptor.prototype.isRead = function() {
- // special treatment be... | 1 | 1 | 0 | [{"id": "G0", "claim": "The PR should not treat O_CREAT as a read mode: the new test asserting isRead() is true for flags of bare O_CREAT encodes that.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tschaub__mock-fs__293 | tschaub/mock-fs | 293 | defect | 83216f39a9b4c131a0a9cd0404a0bc394d49402e | 371df2180d4335d59e1a9b95c95cc06cd76392d3 | fix: support path input from Buffer on many fs APIs | There is missing support of `"path <string> | <Buffer> | <URL>"` on many fs APIs.
closes #292 | diff --git a/lib/binding.js b/lib/binding.js
index cd8010ee..d9a09986 100644
--- a/lib/binding.js
+++ b/lib/binding.js
@@ -450,6 +450,9 @@ Binding.prototype.stat = function(filepath, options, callback, ctx) {
markSyscall(ctx, 'stat');
return maybeCallback(wrapStatsCallback(callback), ctx, this, function() {
+ ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Refactor the repeated Buffer-to-string path conversion out into a shared utility function (e.g. stringifyFilepath) so all fs API call sites use its result.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tschaub__mock-fs__295 | tschaub/mock-fs | 295 | defect | b6f636114d13cb72f03f1e464b98f5efbee266e9 | a442e79a3c7aaa506292f29ac1bd33f588fc43d9 | fix: readdir should check for access rights, fixes #294 | This PR adds access checks to `readdir`and `readdirSync` calls.
This should fix #294 | diff --git a/lib/binding.js b/lib/binding.js
index 9215ad5f..a9b56d1b 100644
--- a/lib/binding.js
+++ b/lib/binding.js
@@ -953,6 +953,9 @@ Binding.prototype.readdir = function(
if (!(dir instanceof Directory)) {
throw new FSError('ENOTDIR', dirpath);
}
+ if (!dir.canRead()) {
+ throw new FSErro... | 2 | 1 | 0 | [{"id": "G0", "claim": "The three existing `this.access(..., parseInt('0002', 8));` calls should be refactored, or at least replace the hardcoded `parseInt('0002', 8)` with `constants.W_OK`.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Add a... | null |
tschaub__mock-fs__307 | tschaub/mock-fs | 307 | defect | 47a797991c6a25941e30219540eed5b09e7c4244 | eb24e2fddc57313027a8281f9ced6fc169252cd9 | fix: synchronize patching binding/createWriteStream/cwd/chdir | All the patches now check same realBinding._mockedBinding. This should
fix the edge cases around the new feature bypass().
follows up #306 | diff --git a/lib/index.js b/lib/index.js
index 2f6b5ac6..efe047db 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -3,21 +3,39 @@
const Binding = require('./binding');
const FSError = require('./error');
const FileSystem = require('./filesystem');
-const realBinding = process.binding('fs');
const path = require('pat... | 2 | 2 | 1 | [{"id": "G0", "claim": "restore() should also restore process.cwd and process.chdir to their original values (moving the code that overrides them), so that restore cleans up all the changes mock() makes.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Byp... | null |
tschaub__mock-fs__335 | tschaub/mock-fs | 335 | defect | 535a9481e16e1e55e102f84acb4cb8896bb6bcc2 | e730c2744743b87641009ad786e05a6080f43e07 | Add support for Node.js v16.3.0+ | Hoping to fix #332 with this
Large parts of the implementation in `readfilecontext.js` are copied straight from the Node.js internals. I'm assuming that is all fine as it's already called out in the licence file that parts of this project are copied from there.
| diff --git a/lib/binding.js b/lib/binding.js
index 1a1d7ee..9fb12f7 100644
--- a/lib/binding.js
+++ b/lib/binding.js
@@ -6,7 +6,7 @@ const File = require('./file');
const FileDescriptor = require('./descriptor');
const Directory = require('./directory');
const SymbolicLink = require('./symlink');
-const FSError = re... | 2 | 2 | 2 | [{"id": "G0", "claim": "Change the optional-chaining syntax (this.signal?.aborted) to syntax supported by old Node.js v12.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "A test should be added that covers the ReadFileContext patching behaviour.", "c... | null |
tsedio__tsed__1668 | tsedio/tsed | 1,668 | defect | 1d44239fd8446ebb33df17c2f16c399a893f7a2f | ed04f68d13dc0ae25e457ed4d00a3d4b45676f51 | feat(mongoose): Add an option to `Ref` for more accurate JsonSchema ... | Add an option to `Ref` for more accurate JsonSchema based on `Groups` and populated Refs.
I would appreciate feedback on that 😅
## Information
Type | Breaking change
---|---
Feature| No :pray:
****
## Usage example
```ts
@Model()
export class User {
@ObjectID('id')
_id: string;
... | diff --git a/packages/orm/mongoose/src/decorators/ref.spec.ts b/packages/orm/mongoose/src/decorators/ref.spec.ts
index 9afe2c7ef20..2dc932c4e8d 100644
--- a/packages/orm/mongoose/src/decorators/ref.spec.ts
+++ b/packages/orm/mongoose/src/decorators/ref.spec.ts
@@ -211,4 +211,41 @@ describe("@Ref()", () => {
});
... | 3 | 2 | 1 | [{"id": "G0", "claim": "The purpose of the new `populatedGroups` option is unclear and, if it exists only to work around the Groups + OneOf/AllOf problem, that problem should be fixed in @tsed/schema instead; the test also does not show any impact on `MyChildModel` when groups are given.", "category": "design", "verdic... | null |
tsedio__tsed__1669 | tsedio/tsed | 1,669 | defect | 1d44239fd8446ebb33df17c2f16c399a893f7a2f | a12e4c16e8d2e40b26adfbe1024d3f48320ba330 | feat(schema): Allow multiple types for `Returns` decorator ... | ... resulting in a `oneOf` schema
## Information
Type | Breaking change
---|---
Feature | No 🙏
****
## Usage example
Example to use your feature and to improve the documentation after merging your PR:
```typescript
class ClassA {}
class ClassB {}
class Controller {
@(Returns(200, [Clas... | diff --git a/packages/specs/schema/src/decorators/operations/returns.spec.ts b/packages/specs/schema/src/decorators/operations/returns.spec.ts
index 529dffafa78..c5d2d3cddb1 100644
--- a/packages/specs/schema/src/decorators/operations/returns.spec.ts
+++ b/packages/specs/schema/src/decorators/operations/returns.spec.ts... | 1 | 1 | 0 | [{"id": "G0", "claim": "The Returns decorator should also support AllOf and AnyOf, as it now supports OneOf.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
tsedio__tsed__1804 | tsedio/tsed | 1,804 | defect | 3b7a421f079d88b9d8cc7ed66e901baff0a8da06 | c6f4641ab2c30188c14ceaf87d1f4ed7a67d61dd | fix: make getMountedControllers support nested controllers | ## Information
| Type | Breaking change |
| --------------------- | --------------- |
| Fix | No |
---
Fixes #1802
<!--
## Usage example
Example to use your feature and to improve the documentation after merging your PR:
```typescript
import {} from "@tsed/common";
```
... | diff --git a/packages/platform/common/src/services/Platform.spec.ts b/packages/platform/common/src/services/Platform.spec.ts
index 175dc274e43..4398b1c3de3 100644
--- a/packages/platform/common/src/services/Platform.spec.ts
+++ b/packages/platform/common/src/services/Platform.spec.ts
@@ -16,6 +16,21 @@ class MyCtrl {
... | 2 | 2 | 1 | [{"id": "G0", "claim": "The debug console.dir statement added in Platform.addRoutes should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The nested-controller traversal added in Platform likely conflicts with SwaggerService's own re... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.