[PR #185] [MERGED] Replace console.assert with custom assert function #154

Closed
opened 2026-05-23 08:32:02 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/appy-one/acebase/pull/185
Author: @appy-one
Created: 12/5/2022
Status: Merged
Merged: 12/5/2022
Merged by: @appy-one

Base: masterHead: improvement/no-console-assert


📝 Commits (1)

  • 39264d2 Replace console.assert with custom assert function

📊 Changes

17 files changed (+75 additions, -60 deletions)

View changed files

src/assert.ts (+10 -0)
📝 src/btree/binary-reader.ts (+3 -2)
📝 src/btree/binary-tree-builder.ts (+9 -8)
📝 src/btree/binary-tree-leaf.ts (+2 -1)
📝 src/btree/binary-tree.ts (+1 -11)
📝 src/btree/binary-writer.ts (+4 -3)
📝 src/btree/tree-builder.ts (+2 -1)
📝 src/btree/tree-leaf.ts (+3 -2)
📝 src/btree/tree.ts (+3 -2)
📝 src/btree/tx.ts (+2 -1)
📝 src/data-index/data-index.ts (+6 -5)
📝 src/data-index/fulltext-index.ts (+2 -1)
📝 src/node-lock.ts (+2 -1)
📝 src/storage/custom/index.ts (+11 -10)
📝 src/storage/index.ts (+5 -4)
📝 src/storage/mssql/index.ts (+5 -4)
📝 src/storage/sqlite/index.ts (+5 -4)

📄 Description

Throws an error if assertion condition it not met


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/appy-one/acebase/pull/185 **Author:** [@appy-one](https://github.com/appy-one) **Created:** 12/5/2022 **Status:** ✅ Merged **Merged:** 12/5/2022 **Merged by:** [@appy-one](https://github.com/appy-one) **Base:** `master` ← **Head:** `improvement/no-console-assert` --- ### 📝 Commits (1) - [`39264d2`](https://github.com/appy-one/acebase/commit/39264d2a3f5ac9bd36c5fb64d48498ca72924421) Replace console.assert with custom assert function ### 📊 Changes **17 files changed** (+75 additions, -60 deletions) <details> <summary>View changed files</summary> ➕ `src/assert.ts` (+10 -0) 📝 `src/btree/binary-reader.ts` (+3 -2) 📝 `src/btree/binary-tree-builder.ts` (+9 -8) 📝 `src/btree/binary-tree-leaf.ts` (+2 -1) 📝 `src/btree/binary-tree.ts` (+1 -11) 📝 `src/btree/binary-writer.ts` (+4 -3) 📝 `src/btree/tree-builder.ts` (+2 -1) 📝 `src/btree/tree-leaf.ts` (+3 -2) 📝 `src/btree/tree.ts` (+3 -2) 📝 `src/btree/tx.ts` (+2 -1) 📝 `src/data-index/data-index.ts` (+6 -5) 📝 `src/data-index/fulltext-index.ts` (+2 -1) 📝 `src/node-lock.ts` (+2 -1) 📝 `src/storage/custom/index.ts` (+11 -10) 📝 `src/storage/index.ts` (+5 -4) 📝 `src/storage/mssql/index.ts` (+5 -4) 📝 `src/storage/sqlite/index.ts` (+5 -4) </details> ### 📄 Description Throws an error if assertion condition it not met --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-23 08:32:02 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/acebase#154
No description provided.