jos
ab1b83a2f6
Remove generated files from repo, make tests independent from generated files
2019-05-12 15:14:13 +02:00
jos
427c39c33b
Created ES5 and ES6 entry points
2019-04-28 20:56:08 +02:00
jos
f4d4180cea
Move all entry files under ./src/entry
2019-04-24 10:48:01 +02:00
jos
99da53da0e
Flatten everything in a mathjs instance to make it consistent with the ES6 exports. Create deprecation warnings for the old classes and functions
2019-02-07 21:24:51 +01:00
jos
078f1dd69f
Renamed methods .eval to .evaluate, updated all docs and examples accordingly
2019-01-16 10:11:32 +01:00
jos
5dd0a9ba9c
Get bundle working (with lazy loading)
2019-01-02 10:03:05 +01:00
jos
2fd6cbd568
Converted matrix classes. Fixes in dependency resolving/ordering.
2018-11-07 12:38:00 +01:00
jos
f6b524a966
Use object destructuring in factory function callback. Rename typeof to typeOf. Only pass dependencies in scope to factory function.
2018-11-06 09:17:21 +01:00
jos
a2ae756fd1
Remove semicolons
2018-10-31 21:18:51 +01:00
jos
247aeabffa
Refactor all unit tests to ES6 import/export
2018-10-31 21:17:23 +01:00
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
0583771e4e
Cleanup unused variables and imports
2018-06-13 17:25:51 +02:00
jos
0513898a4b
Fix using new for side effects
2018-06-13 16:31:18 +02:00
jos
b6b36bfd9b
Use strict equality checks everywhere (=== and !==)
2018-06-13 15:02:21 +02:00
jos
17f07ec098
Fixed incompatibility with v4 (index.js file)
2018-06-13 14:02:50 +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
635cd0b574
Revert using /lib/ in tests, use /src/ again. Fixed coverage testing. WIP
2018-06-06 22:11:52 +02:00
jos
79071b5e4f
Fixed npm run test:browser not working (WIP)
2018-06-06 21:30:41 +02:00
jos
0c084b8e20
npm test working now
2018-06-06 15:36:36 +02:00
jos
7fefa33d84
Fixed #1077 : Serialization/deserialization to JSON with reviver not being supported by nodes
2018-04-04 22:09:43 +02:00
jos
924299c42b
Changed ConstantNode(valueStr, valueType) to ConstantNode(value) (breaking change)
2018-01-23 12:08:29 +01:00
jos
27660d8c00
Some more security measures
2017-05-05 21:08:23 +02:00
jos
c259c936ec
Refactored compile into a factory function
2017-04-22 17:12:38 +02:00
jos
4306200c4c
Implemented method Node.equals(other) for all nodes of the expression parser
2016-11-05 16:27:23 +01:00
jos
15aca5e4d0
Changed casing of the values of config options number and matrix to match the actual name of the classes.
2016-03-04 19:41:54 +01:00
jos
89e1238fed
Implemented read-only name-properties for AccessorNode and AssignmentNode, improved the name property of FunctionNode
2016-02-27 11:17:34 +01:00
jos
2869c37af9
Renamed Index.ranges to Index.dimensions
2016-02-26 20:51:09 +01:00
jos
0d6e7521d3
More unit tests
2016-02-26 20:15:52 +01:00
jos
9173fbd3b8
Large refactoring of nodes: AssignmentNode. UpdateNode, AccessorNode, IndexNode
2016-02-25 15:02:44 +01:00