Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .babelrc

This file was deleted.

7 changes: 5 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ jobs:
node-version: [18, 20, 22, 24, latest]
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm i --loglevel error
- run: npm run test:lcov
- name: Lint
if: matrix.node-version == 22 || matrix.node-version == 24
run: npm run lint
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- uses: actions/setup-node@v6
with:
Expand All @@ -23,4 +23,6 @@ jobs:
- name: Update npm
run: npm install -g npm@latest
- run: npm i
- run: npm publish
- run: npm publish $VERSION_TAG
env:
VERSION_TAG: ${{ endsWith(github.ref_name, '-rc') && '--tag rc' || '' }}
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,12 @@ package-lock.json
.nyc_output

*.log

# ts
*.d.ts.map

# AI
.claude
AGENTS.md

dist/
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
22
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ dist/
node_modules/
coverage/
tmp/
types/index.d.ts
types/index.d.ts.map
276 changes: 158 additions & 118 deletions API.md

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## Unreleased

## v12.0.0 - 2026-05-01

- build commonjs with rollup into one file, namely dist/index.cjs
- refactor types by using jsdoc typing and dts-buddy, should probably be closer to the truth but be aware
- development is now performed in node 22 since eslint dropped support for previous versions

## v11.0.1 - 2025-12-02

- mitigate degraded performance as a result of refactoring consumer tag uniqueness
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2020 P�l Edman
Copyright (c) 2020 Pål Edman

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
environment:
matrix:
- nodejs_version: 20
- nodejs_version: 22

install:
- ps: Install-Product node $env:nodejs_version
Expand Down
Loading