mathjs 9.5.2 → 10.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. package/HISTORY.md +15 -1
  2. package/lib/browser/math.js +4 -4
  3. package/lib/browser/math.js.map +1 -1
  4. package/lib/cjs/constants.js +1 -1
  5. package/lib/cjs/core/function/config.js +1 -1
  6. package/lib/cjs/core/function/import.js +2 -1
  7. package/lib/cjs/entry/dependenciesAny.generated.js +999 -999
  8. package/lib/cjs/entry/dependenciesNumber.generated.js +581 -581
  9. package/lib/cjs/entry/impureFunctionsAny.generated.js +314 -313
  10. package/lib/cjs/entry/impureFunctionsNumber.generated.js +223 -222
  11. package/lib/cjs/entry/mainAny.js +8 -8
  12. package/lib/cjs/entry/mainNumber.js +8 -8
  13. package/lib/cjs/entry/pureFunctionsAny.generated.js +1100 -1100
  14. package/lib/cjs/entry/pureFunctionsNumber.generated.js +375 -375
  15. package/lib/cjs/entry/typeChecks.js +12 -12
  16. package/lib/cjs/expression/operators.js +1 -1
  17. package/lib/cjs/factoriesAny.js +660 -660
  18. package/lib/cjs/factoriesNumber.js +268 -237
  19. package/lib/cjs/header.js +1 -1
  20. package/lib/cjs/plain/bignumber/arithmetic.js +2 -2
  21. package/lib/cjs/plain/number/arithmetic.js +10 -10
  22. package/lib/cjs/plain/number/constants.js +1 -1
  23. package/lib/cjs/plain/number/logical.js +1 -1
  24. package/lib/cjs/plain/number/probability.js +2 -1
  25. package/lib/cjs/plain/number/trigonometry.js +1 -1
  26. package/lib/cjs/plain/number/utils.js +1 -1
  27. package/lib/cjs/type/unit/physicalConstants.js +1 -1
  28. package/lib/cjs/utils/array.js +14 -14
  29. package/lib/cjs/utils/bignumber/bitwise.js +1 -1
  30. package/lib/cjs/utils/customs.js +5 -5
  31. package/lib/cjs/utils/factory.js +3 -3
  32. package/lib/cjs/utils/function.js +1 -1
  33. package/lib/cjs/utils/is.js +23 -23
  34. package/lib/cjs/utils/latex.js +2 -1
  35. package/lib/cjs/utils/map.js +3 -3
  36. package/lib/cjs/utils/noop.js +1 -1
  37. package/lib/cjs/utils/number.js +10 -6
  38. package/lib/cjs/utils/object.js +8 -8
  39. package/lib/cjs/utils/snapshot.js +1 -1
  40. package/lib/cjs/utils/string.js +2 -2
  41. package/lib/cjs/version.js +1 -1
  42. package/lib/esm/core/function/import.js +2 -1
  43. package/lib/esm/entry/dependenciesAny.generated.js +270 -270
  44. package/lib/esm/entry/dependenciesNumber.generated.js +163 -163
  45. package/lib/esm/entry/impureFunctionsAny.generated.js +301 -301
  46. package/lib/esm/entry/impureFunctionsNumber.generated.js +211 -211
  47. package/lib/esm/entry/pureFunctionsAny.generated.js +816 -816
  48. package/lib/esm/entry/pureFunctionsNumber.generated.js +234 -234
  49. package/lib/esm/version.js +1 -1
  50. package/package.json +16 -16
  51. package/types/index.d.ts +250 -71
package/HISTORY.md CHANGED
@@ -1,6 +1,20 @@
1
1
  # History
2
2
 
3
- # 2021-11-03, version 9.5.2
3
+ # 2021-11-03, version 10.0.0
4
+
5
+ !!! BE CAREFUL: BREAKING CHANGES IN THE TYPESCRIPT DEFINITIONS !!!
6
+
7
+ - Improvements to the Typescript typings (commit fc5c202e).
8
+ Thanks @joshhansen. First introduced in v9.5.1, but reverted because
9
+ it contains breaking changes.
10
+
11
+ Breaking changes: interface `MathNode` is now renamed to `MathNodeCommon`
12
+ and the related interfaces are structured in a different way.
13
+
14
+ - Fixed a typo in the TypeScript definition of toHTML. Thanks @TheToto.
15
+
16
+
17
+ # 2021-11-03, version 9.5.2`
4
18
 
5
19
  - Revert the improvements to the Typescript typings because they contain
6
20
  breaking changes. The improvements will be published in v10.0.0. See #2339.