greenkeeper[bot]
c5971b371a
Update standard to the latest version 🚀 ( #1226 )
...
* chore(package): update standard to version 12.0.0
* update to new lint version with --fix
I believe this mainly adds whitespace to `{}`'s.
* Replace assert.equal with assert.strictEqual
This breaks a lot of tests which I will endevour to fix in the next
commits.
* Fix most errors due to assert.strictEquals
Some instances of `strictEquals` are replaced by `deepEquals`.
`toString` has been used to make some string comparisions explicit.
Tests will still fail untill #1236 and #1237 are fixed.
* Fix assertion erros due to -0
With node 10, assert.strictEqual no longer considers `0 === -0`.
I missed these first time round as I was using node 8.
* Put toString correct side of bracket
I was converting the constructor to a string rather
than the result of the computation. Oops.
* Fixed #1236 : quantileSeq has inconsistant return
* Update package-lock
* Fixed #1237 : norm sometimes returning a complex number instead of number
* Fix cli tests
* More changes for standardjs, and fixes in unit tests
2018-09-08 16:33:58 +02:00
jos
88263c47c7
Woohoo fixed the last lint errors
2018-06-13 21:51:09 +02:00
jos
b0ec2d4739
Fixed undefined variables/globals
2018-06-13 18:09:19 +02:00
jos
4254b7413f
Dropped support for (non-primitive) instances of Number, Boolean, and String from functions clone and typeof
2018-06-13 17:56:18 +02:00
jos
b6b36bfd9b
Use strict equality checks everywhere (=== and !==)
2018-06-13 15:02:21 +02:00
jos
6d340e0faa
Fixed import.js not being documented correctly in the function reference
2018-06-13 13:34:27 +02:00
jos
b3b96749bf
Refactored var into const/let, and removed a lot of semicolons
2018-06-13 12:21:14 +02:00
jos
024b2a9e26
Fix most lint errors using npx standard --fix
2018-06-10 20:28:27 +02:00
jos
e99fb2d481
Released v3.19.0
2018-01-06 20:19:45 +01:00
jos
967e65cceb
Refactored usage of properties .isNode, .isSymbolNode, etc. into using functions like type.isNode(x) for security
2017-08-12 14:38:03 +02:00
jos
949261f92b
Refactored usage of properties .isRange, .isIndex, .isResultSet, and .isHelp for their (safe) function equivalents
2017-08-12 13:31:09 +02:00
slavaGanzin
fa3aa92156
add tests
2017-05-08 15:15:20 +03:00
slavaGanzin
61db2e889c
cli: fix evaluate help message
2017-05-04 22:21:51 +03:00
slavaGanzin
074dbcda9d
cli: stringify inline evaluation
2017-05-04 22:15:46 +03:00
slavaGanzin
8ef5b3bedd
cli: inline evaluate
2017-05-04 19:41:44 +03:00
jos
8b701aac41
Ehh it's 2017 now
2017-01-23 22:17:45 +01:00
jos
cc1a6925af
Command Line Interface loads faster
2016-10-30 20:41:53 +01:00
jos
1dd3a0e492
Expression parser now allows assignments inside objects, indexes, and function arguments
2016-03-03 19:25:42 +01:00
jos
ed0a3b9e9a
Updated CLI for new AssignmentNode
2016-02-26 20:28:36 +01:00
jos
164ace3ef6
Improved handling of result sets
2016-01-09 12:48:02 +01:00
jos
a177a5a2f3
CLI outputs the variable name of assignments
2016-01-08 22:36:33 +01:00
jos
9fc1453a6e
Fixed non-working autocompletion of user defined variables in the command line interface
2016-01-08 22:26:38 +01:00
jos
15b640fcea
Merge branch 'develop' into feature/objectsupport
...
Conflicts:
HISTORY.md
2016-01-08 20:33:22 +01:00
jos
5911fe6ffd
Released version 2.6.0
2016-01-08 20:23:52 +01:00
jos
c792136b2d
The command line interface does no longer round BigNumbers to 14 digits as it does with numbers
2016-01-03 17:08:51 +01:00
jos
92f3f74dc4
Removed prefix 'v' from version outputted by CLI
2015-10-30 11:43:21 +01:00
jos
577b1bf694
Minor refactoring in cli. Fixed output of version being prefixed with "> "
2015-07-31 14:16:28 +02:00
jos
a92b978036
Merged develop into v2
2015-06-07 15:57:41 +02:00
Max Bruckner
4304030a31
Expose the parenthesis option via the command line
2015-05-17 15:22:02 +02:00
jos
b32b89f94c
Moved help/docs related stuff to ./lib/expression
2015-05-05 14:01:38 +02:00
Max Bruckner
231c16bfd0
Add REPL (Read Evaluate Print Loop) to ease interactive debugging
2015-04-26 14:27:05 +02:00
Max Bruckner
f9a2118da0
bin/cli: Add execute permission
2015-04-26 00:44:26 +02:00
Max Bruckner
a625137a20
cli: implement --tex and --string options
2015-04-24 13:32:04 +02:00
Max Bruckner
abeecacd55
cli: infrastructure for parsing multiple commandline options
...
As a side effect this enables specifying multiple scripts.
2015-04-24 13:07:25 +02:00
jos
1754ae06c1
Implemented fromJSON and toJSON in Help
2015-02-18 21:13:19 +01:00
jos
beb4e2e536
Released version 1.3.0
2015-02-09 21:43:00 +01:00
jos
72e9bcf6ba
Fixed broken auto completion in CLI
2014-08-02 22:21:34 +02:00
jos
7d84e4daf0
Math.js now immediately returns a default instance of mathjs, no need to create an instance every time you want to use the library.
2014-06-20 23:11:14 +02:00
jos
a7b2c2f6c3
Added ans to cli
2014-06-09 18:04:12 +02:00
josdejong
f1ea498927
Added some more unit tests
2014-03-15 15:27:05 +01:00
josdejong
6621939b0d
Fixed broken auto completion in the command line interface
2014-01-18 14:58:30 +01:00
josdejong
fe8d832bed
Released version 0.18.0
2014-01-18 14:30:56 +01:00
josdejong
22233d4735
Changed the precision of CLI to 14 digits
2013-11-28 17:21:32 +01:00
josdejong
bcb1eaa790
CLI now outputs values with maximum precision instead of 5.
2013-11-21 09:52:51 +01:00
josdejong
cef51e2819
Changed precision of cli to 5 digits
2013-10-26 15:54:39 +02:00
josdejong
d2e55a0132
Math.js must be instantiated now, static calls are no longer supported
2013-10-26 15:00:06 +02:00
josdejong
9e233e31db
Extended docs on complex values and cli
2013-10-08 15:07:21 +02:00
josdejong
2158a28e33
Changed matrix index notation of expression parser from round brackets (...) to square brackets [...]
2013-08-21 13:41:15 +02:00
josdejong
c5edb419d8
Moved the library builds math.js and math.min.js to subfolder dist
2013-08-04 14:39:42 +02:00
josdejong
6a6b5c3e61
Replaced all x instanceof Array with Array.isArray(x)
2013-08-04 14:30:38 +02:00