Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add ESM support for named exports #214

Merged
merged 38 commits into from
Feb 2, 2024
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
64faf18
feat: add ESM support for default exports
Jan 2, 2024
7f1890a
fix: fix set ops exports
Jan 2, 2024
0dcfb1d
fix: add missing export
Jan 2, 2024
90213ff
fix: add missing module field in package.json
Jan 3, 2024
2e442de
test: add initial ESM and CommonJS import infrastructure
Jan 8, 2024
3ca8235
test: make named require test works
Jan 8, 2024
6e2a9f6
Merge branch 'master' of https://github.com/Yomguithereal/mnemonist i…
Jan 8, 2024
9103a18
build(ci): disable some eslint rules in import test files
Jan 8, 2024
7fc278e
test: make CommonJS import works
Jan 8, 2024
78a942c
refactor: code cleanup
Jan 8, 2024
815e0bb
test: add module import tests to CI
Jan 8, 2024
837ae22
refactor: code cleanups
Jan 9, 2024
76179e8
build(ci): remove non LTS node release
Jan 9, 2024
fbdaaa2
refactor: cleanup exports in package.json by using wildcards
Jan 9, 2024
e69fbe4
fix: add missing constructor to InverseMap type
Jan 9, 2024
d4ecdb9
test: improve a bit Heap coverage
Jan 9, 2024
4f8d31d
refactor: import cleanup
Jan 9, 2024
2888ac3
Merge branch 'master' of https://github.com/Yomguithereal/mnemonist i…
Jan 10, 2024
d3e9f6b
fix: use named CJS exports to improve tree shaking
Jan 10, 2024
c178c41
refactor: consistent coding style
Jan 10, 2024
5c8a49f
refactor: cleanup named exports mixed usage
Jan 15, 2024
4a7d98e
test: cleanup default require test
Jan 15, 2024
b6a96d9
refactor: indentation cleanup
Jan 15, 2024
95da864
test: consodidate exports testing code
Jan 15, 2024
89bd465
build(deps-dev): remove unneeded typescript dependencies
Jan 15, 2024
019592a
build(ci): avoid exports testing on node 12.x
Jan 15, 2024
c0c8f82
build(ci): avoid error > 0 with node 12.x
Jan 15, 2024
aba2f6b
refactor: trivial code cleanup
Jan 15, 2024
3c9eac4
docs: refine code comment
Jan 15, 2024
616b3ae
build: refine eslint ignore
Jan 15, 2024
51a4b55
docs: add changelog entries
Jan 15, 2024
724fa26
docs: refine changelog entries
Jan 15, 2024
199f2d9
docs: fix typo in changelog
Jan 15, 2024
0715851
build(deps): bump obliterator to latest patch version
Jan 15, 2024
e492dea
test: add missing node types for exports test
Jan 16, 2024
fbdc822
test: add package-lock.json for strict test exports version
Jan 16, 2024
6a2010e
fix: add missing PointerVector TS export
Jan 16, 2024
7e11ade
Merge branch 'master' into esm-support
Yomguithereal Feb 2, 2024
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
Prev Previous commit
Merge branch 'master' into esm-support
Yomguithereal authored Feb 2, 2024
commit 7e11adef518fe8d34c36064e08e7cf85ffcdbb78
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# Changelog

## Unreleased
## 0.40.0 (provisional)

* Adding ESM named exports support (@jerome-benoit).
* Fixing `Set` operations CommonJS named export collision by renaming it to `set` (@jerome-benoit).
* Fixing missing `Uint8Vector`, `Uint8ClampedVector`, `Int8Vector`, `Uint16Vector`, `Int16Vector`, `Uint32Vector`, `Int32Vector`, `Float32Vector`, `Float64Vector`, `PointerVector` CommonJS named exports (@jerome-benoit).
* Fixing missing `PointerVector` TS exports (@jerome-benoit).

## 0.39.8

* Fixing `Float64Vector` TS exports (@atombrenner).
* Improving performance of `FixedDeque` `#.push` & `#.pop` methods (@jerome-benoit).
* Fixing some `FixedDeque` & `CircularBuffer` methods.
You are viewing a condensed version of this merge commit. You can view the full changes here.