Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: josdejong/mathjs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v12.4.1
Choose a base ref
...
head repository: josdejong/mathjs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v12.4.2
Choose a head ref
  • 10 commits
  • 12 files changed
  • 3 contributors

Commits on Mar 21, 2024

  1. docs: fix misleading documentation for expression tree traverse (#3177)

    Callback function for MathNode.traverse() returns void. Documentation says callback must return a replacement for the existing node (possibly copied from transform() above).
    rohildshah authored Mar 21, 2024
    Copy the full SHA
    a29bab4 View commit details
  2. chore: update history

    josdejong committed Mar 21, 2024
    Copy the full SHA
    02f195f View commit details

Commits on Apr 3, 2024

  1. fix: #3180 fix type definitions of function add and multiply to a…

    …llow
    
      more than two arguments
    josdejong committed Apr 3, 2024
    Copy the full SHA
    2e427ec View commit details

Commits on Apr 4, 2024

  1. chore: update devDependencies (most notably gulp@5)

    josdejong committed Apr 4, 2024
    Copy the full SHA
    5aa35ce View commit details

Commits on Apr 24, 2024

  1. chore: replace utility function values with Object.values (fix #3194

    )
    josdejong committed Apr 24, 2024
    Copy the full SHA
    5c12c07 View commit details
  2. fix #3192: function isNaN returns false for NaN units in a matr…

    …ix or array
    
    * Use referToSelf() to recursively check if various types are NaN in an array or matrix
    
    * fix array test description from isNegative to isNaN
    
    * Add test for units in a matrix
    
    ---------
    
    Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
    lgerin and josdejong authored Apr 24, 2024
    Copy the full SHA
    81d2e71 View commit details
  3. chore: update history

    josdejong committed Apr 24, 2024
    Copy the full SHA
    80a0ac1 View commit details
  4. Copy the full SHA
    c1f5760 View commit details
  5. chore: publish v12.4.2

    josdejong committed Apr 24, 2024
    Copy the full SHA
    a9fbb35 View commit details
  6. Merge branch 'develop'

    josdejong committed Apr 24, 2024
    Copy the full SHA
    65ebf5c View commit details
Showing with 2,870 additions and 7,588 deletions.
  1. +2 −0 AUTHORS
  2. +9 −0 HISTORY.md
  3. +1 −1 docs/expressions/expression_trees.md
  4. +2,824 −7,559 package-lock.json
  5. +15 −15 package.json
  6. +3 −3 src/core/create.js
  7. +1 −3 src/function/utils/isNaN.js
  8. +0 −4 src/utils/object.js
  9. +1 −1 src/version.js
  10. +4 −0 test/typescript-tests/testTypes.ts
  11. +6 −2 test/unit-tests/function/utils/isNaN.test.js
  12. +4 −0 types/index.d.ts
2 changes: 2 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -244,5 +244,7 @@ Rich Martinez <richmartinez@Edinas-MacBook-Pro.local>
RandomGamingDev <83996185+RandomGamingDev@users.noreply.github.com>
Brian Fugate <fugateb@yahoo.com>
Sukka <isukkaw@gmail.com>
Rohil Shah <shah5963@gmail.com>
Laurent Gérin <41303636+lgerin@users.noreply.github.com>

# Generated by tools/update-authors.js
9 changes: 9 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# History

# 2024-04-24, 12.4.2

- Fix #3192: function `isNaN` returns `false` for `NaN` units in a matrix or
array (#3193). Thanks @lgerin.
- Fix: #3180 fix type definitions of functions `add` and `multiply` to allow
more than two arguments.
- Docs: correct the docs about `traverse` returning void (#3177).
Thanks @rohildshah.


# 2024-03-13, 12.4.1

2 changes: 1 addition & 1 deletion docs/expressions/expression_trees.md
Original file line number Diff line number Diff line change
@@ -213,7 +213,7 @@ All nodes have the following methods:
this node and each of its child nodes. Similar to `Array.forEach`, except
recursive.
The callback function is a mapping function accepting a node, and returning
a replacement for the node or the original node. Function `callback` is
nothing. Function `callback` is
called as `callback(node: Node, path: string, parent: Node)` for every node
in the tree. Parameter `path` is a string containing a relative JSON Path.
Example:
Loading