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

Rename index.esm.js -> esm.mjs #249

Closed
wants to merge 629 commits into from

Conversation

rotu
Copy link
Contributor

@rotu rotu commented Aug 31, 2023

This is needed for node to properly deduce that the file is ESM. Otherwise, node crashes when you try to import("vectorious") with an error like:

Uncaught SyntaxError: Unexpected token 'export'

Xuefeng-Zhu and others added 30 commits December 21, 2016 00:24
This badge will show the version on CDNJS!
add CDNJS version badge in README.md
add binary operation function to vector
optimize for loop by pre-calculating size
rotu and others added 25 commits April 18, 2023 00:00
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](json5/json5@v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mateo Gianolio <gianoliomateo@gmail.com>
* Add prettier formatter

* [skip ci] Bump version
* Remove non-null assertions

* 6.1.8
* Remove non-null assertions

* 6.1.8

* Split up iterators into separate files

* 6.1.9
* Remove old benchmarks and add benchmarks to .gitignore

* Add benchmarks to iterators

* Improvement/renaming to bench script

* 6.1.10
…#239)

* Remove next2d and next1d from NDIter and add test case

* 6.1.11
* Improve test for multidimensional iterator

* Improve tests for matrix multiply

* Add blas.ts tests (except gemm)

* Test unoptimized path for add()

* Test unoptimized path for dot()

* Test unoptimized path for inv()

* Test unoptimized path for multiply()
use rimraf instead of `rm -rf`. This makes the build work on Windows.

Co-authored-by: Mateo Gianolio <gianoliomateo@gmail.com>
This is needed for node to properly deduce that the file is ESM.
Otherwise, node crashes when you try to `import("vectorious")` with an
error like:
> Uncaught SyntaxError: Unexpected token 'export'
@rotu rotu force-pushed the multiple-kingfisher branch from d3e7d8a to 3d6d4c6 Compare September 1, 2023 16:55
@github-actions github-actions bot closed this Sep 7, 2023
mateogianolio pushed a commit that referenced this pull request Sep 14, 2023
* Rename index.esm.js -> esm.mjs
This is needed for node to properly deduce that the file is ESM.
Otherwise, node crashes when you try to `import("vectorious")` with an error like:
> Uncaught SyntaxError: Unexpected token 'export'

* 6.1.12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants