5456 Commits

Author SHA1 Message Date
Josh Kelley
4ec99fc022
fix: typos in code comments (#3544) 2025-10-01 11:50:17 +02:00
Josh Kelley
963476019a
fix: type definition of abs(complex) (#3543)
The absolute value of a complex number is a plain number.
2025-10-01 11:45:48 +02:00
Jos de Jong
0e33e70690 chore: publish v14.8.1 v14.8.1 2025-09-26 08:58:09 +02:00
Jos de Jong
162880d47a docs: update HISTORY.md 2025-09-25 09:05:30 +02:00
Jos de Jong
e9db91fbee
fix: #3538 config printing a warning when using { number: 'bigint' } (#3540) 2025-09-25 09:04:19 +02:00
Jos de Jong
20405c70a2 chore: publish v14.8.0 v14.8.0 2025-09-24 11:15:45 +02:00
Jos de Jong
776b9180f4 chore: update devDependencies 2025-09-24 11:14:05 +02:00
Jos de Jong
25da3c9f00 chore: use preferred email 2025-09-19 17:35:31 +02:00
Jos de Jong
8f1d42124e chore: update HISTORY.md and AUTHORS 2025-09-19 17:18:09 +02:00
Ikem
0b84ce264d
feat: add nullish coalescing operator support (#3497)
Resolves #3353.

* test: enhance nullish coalescing tests for arrays, matrices, and conditional expressions

* docs: add nullish coalescing operator precedence details and update syntax documentation
---------

Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
2025-09-17 19:49:15 -04:00
Jos de Jong
d8a88a1d69 chore: publish v14.7.0 v14.7.0 2025-09-05 10:33:32 +02:00
Jos de Jong
8ba2c18719 chore: update devDependencies 2025-09-05 10:28:01 +02:00
Jos de Jong
12b29d41e7 chore: update HISTORY.md 2025-09-05 10:23:28 +02:00
Jos de Jong
69b991fe54
fix: #3523 cleanup old polyfills from the browser bundle by removing core-js (#3524) 2025-09-05 10:21:32 +02:00
Jos de Jong
a4815d5bd2
feat: implement serialization support for Parser (fixes #3509) (#3525) 2025-09-05 10:18:05 +02:00
Jos de Jong
a7f2da0752 fix: #3396 improve documentation of function range 2025-09-03 11:37:56 +02:00
Jos de Jong
c7705cd17a chore: fix test:node not running *.test.cjs files 2025-09-03 10:55:10 +02:00
Jos de Jong
5e73e3cd10 chore: update HISTORY.md 2025-09-02 11:00:51 +02:00
DongKwanKho
df8d098e82
fix: add missing type definition for function diff (#3520). Thanks @dodokw. 2025-09-02 11:00:18 +02:00
Jos de Jong
2e078211af chore: remove dtslint (this package has been deprecated) 2025-09-02 10:55:15 +02:00
Jos de Jong
72d11933a1 chore: update HISTORY.md 2025-08-28 16:19:41 +02:00
David Contreras
2fb7c10209
feat: faster DenseMatrix symbol iterator (#3521)
* Eliminate recursive generators

* Minimize diff

---------

Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2025-08-28 16:18:35 +02:00
Jos de Jong
0e9d818a8f fix #3517: printTransformDependencies not exported in the type definitions 2025-08-28 16:14:24 +02:00
Jos de Jong
006274d9d0 fix: ignore some of the examples in doc.test.js (see #3519) 2025-08-28 16:03:21 +02:00
Jos de Jong
b3e67e5e91 fix: #3519, #3368 categories "Core functions" and "Construction functions" missing from the generated function overview 2025-08-28 14:28:15 +02:00
Jos de Jong
be2cf35ee1 chore: rename example code editor to code_editor and update its dependencies 2025-08-22 13:01:36 +02:00
Jos de Jong
e84ade6405 chore: publish v14.6.0 v14.6.0 2025-07-25 10:29:50 +02:00
Jos de Jong
8b54f9c7cd chore: update devDependencies 2025-07-25 10:27:38 +02:00
Jos de Jong
0c32a19a5b chore: update HISTORY.md and AUTHORS 2025-07-24 09:22:51 +02:00
kyle-compute
aedbee550d
fix: #3512 sign of zero not returning zero in case of a fraction
* sign of zero fraction should return 0/1 instead of 1/1

* moved fraction zero test into correct fraction block

* moved fraction zero test into correct fraction block
2025-07-24 09:21:05 +02:00
Jos de Jong
26c70ea105 chore: update HISTORY and AUTHORS 2025-07-09 19:24:17 +02:00
Jacopo Mercolini
8d19c8b51e
feat: toBest(unit, unitList, offset) function (#3484)
* feat: toBest tests

* feat: toBest function initial

* fix: tests and function changes

* fix: dependencies

* new way to handle

* updated tests

* test updated

* tests fixed

* cleaned useless tests

* cleaned useless condition

* fix: missing comments

* fix: moved tests

* other fix and clean

* change test to work with npx mocha "path" -g "toBest"

* deleted check large and small value

* deleted precision test and fix options to bestprefix

* fix: moved toBest tests in correct file

* fix: math create

* fix: aligned files pre-mr

* fix: toBest docs test

* fix: lint issues

* fix: comments

* fix: added a helper function to simplify the test readability

* fix: unit.md and units.md docs updated

* fix: test on units.length

* added post process denormalize for tobest function to string returned value

* removed this.clone into format

* feat improve incompatible units test

* fix assign prefixes

* fixed examples

* changed order of params of assertUnit

* fixed comments and added toBest in knowProblems at doc.test

* refactor: update toBest functionality and adjust related tests for accuracy

* refactor: remove unnecessary offset initialization in prefix application

---------

Co-authored-by: Luca Quercetti <l.quercetti@wecodeyou.it>
Co-authored-by: Elia Alesiani <elia.alesiani@gmail.com>
Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
Co-authored-by: lucaQ <lucaquercetti@gmail.com>
Co-authored-by: EliaAlesiani <105418798+EliaAlesiani@users.noreply.github.com>
2025-07-09 19:16:47 +02:00
Jos de Jong
f68541e768 chore: fix a typo in the HISTORY.md 2025-07-02 14:25:25 +02:00
Jos de Jong
fc984ba59d chore: publish v14.5.3 v14.5.3 2025-07-02 14:15:22 +02:00
Jos de Jong
e939a739ff chore: update devDependencies 2025-07-02 14:10:42 +02:00
Jos de Jong
56032daa39 Merge remote-tracking branch 'origin/develop' into develop 2025-07-02 11:11:07 +02:00
Jos de Jong
2b8ecc48a5 chore: update history 2025-07-02 10:41:18 +02:00
mrft
09f6da9278
fix: #3493 #3499 #3494 type definitions of unit(number), for add and multiply without arguments, and for unit.to(unit) (#3495)
* fixes #3493 allowing math.unit(5), which would now fail because for values of MathNumericType and MathCollection, the second parameter wasn't optional

* Added tests, and as a result of that, fixed the definition of unit(value: MathCollection): Unit[] where no units seem to be allowed

* Changes as requested by josdejong

* math.add and math.multipl type fixes and added tests

* fixes #3494: math.unit(m).to(math.unit(cm)) is now ok for typescript
2025-07-02 10:37:44 +02:00
Jos de Jong
caa67e887a chore: update history and authors files 2025-06-11 17:18:58 +02:00
Jay Chang
d089378b77
fix: refine the type definitions of scope (#3490) 2025-06-11 17:17:24 +02:00
Jos de Jong
2bb678460e docs: let the custom set method return the right map in the example custom_scope_objects.js and an internal tool (see #3490) 2025-06-11 09:34:27 +02:00
Jos de Jong
a8eb188592 chore: drop testing Node 18, add testing on Node 24 2025-06-11 09:20:14 +02:00
Jos de Jong
7933089bd4 chore: update HISTORY.md 2025-06-04 10:44:11 +02:00
Don McCurdy
f3587d8634
fix #2199: parse non breaking white space &nbsp; as white space (#3487) 2025-06-04 09:42:37 +02:00
Jos de Jong
50bd26c469 chore: update authors 2025-05-30 12:01:01 +02:00
Jos de Jong
b91150543c Merge remote-tracking branch 'origin/develop' into develop v14.5.2 2025-05-30 11:53:06 +02:00
Jos de Jong
c6e4150680 chore: publish v14.5.2 2025-05-30 11:52:48 +02:00
Jos de Jong
0ef0ad1ee5 chore: update HISTORY.md 2025-05-30 11:51:18 +02:00
Rani D.
823d13e8f1
fix: #3469 add ResultSet interface and improve isResultSet typing (#3481)
Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2025-05-30 10:48:31 +02:00
Jos de Jong
943141893a fix: add embedded docs for the deprecated physical constant coulomb, see #3472 2025-05-29 10:13:43 +02:00