mathjs 12.3.0 → 12.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/HISTORY.md +19 -0
  2. package/lib/browser/math.js +1 -1
  3. package/lib/browser/math.js.LICENSE.txt +2 -2
  4. package/lib/browser/math.js.map +1 -1
  5. package/lib/cjs/entry/configReadonly.js +1 -1
  6. package/lib/cjs/entry/dependenciesAny/dependenciesHelpClass.generated.js +2 -2
  7. package/lib/cjs/entry/dependenciesNumber/dependenciesHelpClass.generated.js +2 -2
  8. package/lib/cjs/entry/impureFunctionsAny.generated.js +14 -14
  9. package/lib/cjs/entry/impureFunctionsNumber.generated.js +1 -1
  10. package/lib/cjs/entry/pureFunctionsAny.generated.js +11 -11
  11. package/lib/cjs/expression/Help.js +21 -4
  12. package/lib/cjs/function/string/bin.js +3 -3
  13. package/lib/cjs/function/string/format.js +3 -3
  14. package/lib/cjs/function/string/hex.js +3 -3
  15. package/lib/cjs/function/string/oct.js +3 -3
  16. package/lib/cjs/header.js +2 -2
  17. package/lib/cjs/type/unit/physicalConstants.js +1 -1
  18. package/lib/cjs/utils/bignumber/formatter.js +17 -27
  19. package/lib/cjs/utils/number.js +75 -33
  20. package/lib/cjs/version.js +1 -1
  21. package/lib/esm/entry/configReadonly.js +1 -1
  22. package/lib/esm/entry/dependenciesAny/dependenciesHelpClass.generated.js +2 -2
  23. package/lib/esm/entry/dependenciesNumber/dependenciesHelpClass.generated.js +2 -2
  24. package/lib/esm/entry/impureFunctionsAny.generated.js +16 -16
  25. package/lib/esm/entry/impureFunctionsNumber.generated.js +1 -1
  26. package/lib/esm/entry/pureFunctionsAny.generated.js +12 -12
  27. package/lib/esm/expression/Help.js +21 -4
  28. package/lib/esm/function/string/bin.js +3 -3
  29. package/lib/esm/function/string/format.js +3 -3
  30. package/lib/esm/function/string/hex.js +3 -3
  31. package/lib/esm/function/string/oct.js +3 -3
  32. package/lib/esm/type/unit/physicalConstants.js +1 -1
  33. package/lib/esm/utils/bignumber/formatter.js +19 -28
  34. package/lib/esm/utils/number.js +76 -34
  35. package/lib/esm/version.js +1 -1
  36. package/package.json +11 -11
  37. package/types/index.d.ts +30 -18
package/HISTORY.md CHANGED
@@ -1,6 +1,25 @@
1
1
  # History
2
2
 
3
3
 
4
+ # 2024-02-01, 12.3.1
5
+
6
+ - Improved the typings of the arguments of `ArrayNode`, `FunctionNode`,
7
+ `IndexNode`, `OperatorNode`, and `RelationalNode` (#3123). Thanks @sylee957.
8
+ - Added a fully featured code editor example with CodeMirror and Katex (#3027).
9
+ Thanks @dvd101x.
10
+ - Fix: #3114 build warnings related to a number of wrong `/* #__PURE__ */`
11
+ annotations.
12
+ - Fix: #3142 support BigNumber values for the options of function `format`:
13
+ `precision`, `wordSize`, `lowerExp`, `upperExp`. Support BigNumber values
14
+ for the option `wordSize` in the functions `hex`, `bin`, and `oct`.
15
+ - Fix: #3125 type definitions of function `hypot` (#3144).
16
+ Thanks @silentmissile.
17
+ - Fix: #3141 `help(config)` altering the actual `config` when evaluating the
18
+ examples.
19
+ - Docs: #3145 fix documentation about REPL, it does require a build step
20
+ nowadays.
21
+
22
+
4
23
  # 2024-01-12, 12.3.0
5
24
 
6
25
  - Implement support new metric prefixes: `ronna` (`R`), `quetta` (`Q`),