Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
5c2adbb
Started adding async support, added unit tests, added a bunch of boil…
cb1kenobi Jun 4, 2025
0b3e401
Finished the async work and added a bunch of tests
cb1kenobi Jun 5, 2025
345f27d
More test
cb1kenobi Jun 5, 2025
f79fe1d
More code coverage
cb1kenobi Jun 5, 2025
63e90c7
Rename index
cb1kenobi Jun 5, 2025
aa29f92
Lint
cb1kenobi Jun 5, 2025
05f1d42
More tests
cb1kenobi Jun 5, 2025
0dd954d
More code coverage
cb1kenobi Jun 5, 2025
144b004
Flat map tests
cb1kenobi Jun 5, 2025
787504c
Finished code coverage
cb1kenobi Jun 5, 2025
9b88805
Added for loop tests
cb1kenobi Jun 5, 2025
e0e85fd
Update deps
cb1kenobi Jun 5, 2025
1490a22
Add publish workflow, add more async callback support
cb1kenobi Jun 7, 2025
fc3b8e0
Finish async callbacks
cb1kenobi Jun 7, 2025
a2005f8
Update deps, fix lint
cb1kenobi Jun 7, 2025
8326115
Fix slack notification message
cb1kenobi Jun 9, 2025
9584728
Update deps
cb1kenobi Jun 9, 2025
b1420ac
Docs and cleanup
cb1kenobi Jun 10, 2025
b458ace
Add Node.js 24 to the CI matrix
cb1kenobi Jun 10, 2025
b792201
Remove unnecessary variable assignments
cb1kenobi Jun 10, 2025
2aa5b36
Simplify GeneratorFunction definition
cb1kenobi Jun 10, 2025
b3d1653
Adding dependabot
cb1kenobi Jun 10, 2025
fa92cf7
Remove push in ci
cb1kenobi Jun 10, 2025
1661a37
Update deps
cb1kenobi Jun 11, 2025
3b5f4d2
Removed ExtendedIterable.from, adding support for return() and throw()
cb1kenobi Jun 12, 2025
039fe78
More return/throw support
cb1kenobi Jun 13, 2025
b1ab286
Remove delays
cb1kenobi Jun 13, 2025
b267bf1
Move classes to statics
cb1kenobi Jun 13, 2025
0b6c8be
More tests
cb1kenobi Jun 14, 2025
06add10
asArray cleanup
cb1kenobi Jun 15, 2025
2c942c6
Fix drop tests
cb1kenobi Jun 15, 2025
39c1838
Clean up take()
cb1kenobi Jun 16, 2025
57dcb6d
Update deps
cb1kenobi Jun 16, 2025
0151944
Update deps
cb1kenobi Jun 16, 2025
cfc017e
Fix test
cb1kenobi Jun 16, 2025
193d76d
Bust iterators into separate files, clean up find, foreach, and slice
cb1kenobi Jun 17, 2025
b6a0143
Some and every
cb1kenobi Jun 17, 2025
6ebbc86
Filter
cb1kenobi Jun 17, 2025
f8b6c31
Adding filter iterator
cb1kenobi Jun 17, 2025
35010c5
Fix filter and reduce
cb1kenobi Jun 17, 2025
3cab921
Fix return
cb1kenobi Jun 18, 2025
dbce900
Flatmap
cb1kenobi Jun 18, 2025
06739f5
Update deps
cb1kenobi Jun 18, 2025
d75493b
mapError
cb1kenobi Jun 18, 2025
da28db9
Rename things, add return tests
cb1kenobi Jun 19, 2025
3d69be5
any
cb1kenobi Jun 19, 2025
61b1052
Added missing coverage script
cb1kenobi Jun 19, 2025
67fec52
Fix dist build
cb1kenobi Jun 19, 2025
a292ec3
Fix mapError handling
cb1kenobi Jun 19, 2025
194d61f
Update deps
cb1kenobi Jun 20, 2025
ea1f50b
Remove type from invocation in readme
cb1kenobi Jun 21, 2025
4db024b
Fixed readme formatting
cb1kenobi Jun 21, 2025
75a76cf
Readme formatting fix
cb1kenobi Jun 21, 2025
7268ae4
Improve wording
cb1kenobi Jun 21, 2025
c2db7fd
Remove left over text
cb1kenobi Jun 21, 2025
87769ed
Initialize take limit and drop count before validation
cb1kenobi Jun 21, 2025
080dcfc
Fix indentation
cb1kenobi Jun 21, 2025
6ac0f83
Rename tests
cb1kenobi Jun 21, 2025
a22b7c1
Add back type
cb1kenobi Jun 21, 2025
eb90253
Update deps
cb1kenobi Jun 26, 2025
2dfb81d
Remove unnecessary code from mapError and add toArray()
cb1kenobi Jun 26, 2025
18c4f55
toArray() docs
cb1kenobi Jun 26, 2025
25dbd32
toArray() test
cb1kenobi Jun 26, 2025
6828928
Add mapError() test for multiple map() calls in the chain
cb1kenobi Jul 7, 2025
fffdf71
Fix
cb1kenobi Jul 7, 2025
a01d7b2
Undo fix
cb1kenobi Jul 7, 2025
3c15e2e
Move error handling to base
cb1kenobi Jul 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
version: 2
updates:
# Main package.json updates
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'daily'
day: 'monday'
time: '05:15' # UTC
open-pull-requests-limit: 10
# Group updates to reduce PR noise. Major version updates will fall through to individual PRs.
groups:
# Group all other patch updates
patch:
patterns:
- "*"
update-types:
- "patch"
# Group all production minor updates
minor-production:
dependency-type: "production"
patterns:
- "*"
update-types:
- "minor"
# Group all development minor updates
minor-development:
dependency-type: "development"
patterns:
- "*"
update-types:
- "minor"
# Add labels to PRs
labels:
- "dependencies"
- "automated"
# Customize commit message
commit-message:
prefix: "chore"
include: "scope"
# Allow specific updates
allow:
- dependency-type: "all"
55 changes: 55 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Test

on:
pull_request:
types: [opened, synchronize, reopened]

concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref }}

jobs:
test:
name: Test on Node.js ${{ matrix.node }}${{ matrix.node == '22' && ', Bun,' || '' }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node: [18, 20, 22, 24]
os: [ubuntu-latest]

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

- name: Install Bun
if: ${{ matrix.node == '22' }}
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: latest

- name: Install dependencies
run: pnpm install --ignore-scripts

- name: Lint
run: pnpm lint

- name: Build
run: pnpm build

- name: Run tests on Node.js ${{ matrix.node }}
run: pnpm coverage

- name: Run tests on Bun
if: ${{ matrix.node == '22' }}
run: bun coverage
62 changes: 62 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Publish
on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-latest
name: Publish

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 22
registry-url: 'https://registry.npmjs.org/'

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: latest

- name: Install dependencies
run: pnpm install

- name: Lint
run: pnpm lint

- name: Publish to npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --tag ${{ github.event.release.prerelease && 'next' || 'latest' }}

- name: Send Slack notification
uses: slackapi/slack-github-action@v2.0.0
with:
method: chat.postMessage
token: ${{ secrets.SLACK_BOT_TOKEN }}
payload: |
{
"channel": "${{ secrets.SLACK_CHANNEL_ID }}",
"text": "New extended-iterable release: v${{ needs.check.outputs.version }}",
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": "New extended-iterable release: v${{ needs.check.outputs.version }}"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "https://github.com/harperdb/rocksdb-prebuilds/releases/tag/v${{ needs.check.outputs.version }}"
}
}
]
}
58 changes: 7 additions & 51 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,53 +1,9 @@
# Build and test data
build
prebuilds
testdata
test/testdata*
benchmark/benchdata*
._*
.DS_Store*
/coverage
dist
index.d.cts

# qmake autogenerated files
moc_*
qrc_*
ui_*
Makefile

# Qt Creator's stuff
*.pro.user
qtc_packaging

# Other generated files
*.o
*.slo
*.lo
*.core
MANIFEST

# gedit's temp files
*~
.goutputstream*

# Compiled Dynamic libraries
*.so
*.dylib

# Compiled Static libraries
*.lai
*.la
*.a

# NPM dependencies
node_modules/
yarn.lock

# Visual Studio Code directory
.vscode
.vs
.idea

node_modules
package-lock.json
yarn.lock

tests/db/
test/db/
.pnpm-debug.log
*.tsbuildinfo
.vscode
42 changes: 0 additions & 42 deletions .jshintrc

This file was deleted.

50 changes: 0 additions & 50 deletions .npmignore

This file was deleted.

1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

Loading