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
@@ -11,28 +11,28 @@ var _exportNames = {
11
11
  create: true,
12
12
  factory: true
13
13
  };
14
- Object.defineProperty(exports, "config", {
14
+ Object.defineProperty(exports, "ArgumentsError", {
15
15
  enumerable: true,
16
16
  get: function get() {
17
- return _configReadonly.config;
17
+ return _ArgumentsError.ArgumentsError;
18
18
  }
19
19
  });
20
- Object.defineProperty(exports, "IndexError", {
20
+ Object.defineProperty(exports, "DimensionError", {
21
21
  enumerable: true,
22
22
  get: function get() {
23
- return _IndexError.IndexError;
23
+ return _DimensionError.DimensionError;
24
24
  }
25
25
  });
26
- Object.defineProperty(exports, "DimensionError", {
26
+ Object.defineProperty(exports, "IndexError", {
27
27
  enumerable: true,
28
28
  get: function get() {
29
- return _DimensionError.DimensionError;
29
+ return _IndexError.IndexError;
30
30
  }
31
31
  });
32
- Object.defineProperty(exports, "ArgumentsError", {
32
+ Object.defineProperty(exports, "config", {
33
33
  enumerable: true,
34
34
  get: function get() {
35
- return _ArgumentsError.ArgumentsError;
35
+ return _configReadonly.config;
36
36
  }
37
37
  });
38
38
  Object.defineProperty(exports, "create", {