jos
2fd6cbd568
Converted matrix classes. Fixes in dependency resolving/ordering.
2018-11-07 12:38:00 +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
88263c47c7
Woohoo fixed the last lint errors
2018-06-13 21:51:09 +02:00
jos
e844004cbf
Removed redundant escape characters
2018-06-13 21:15:10 +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
1ddbf18cef
Fix some more failing unit tests on browsers (part V)
2018-06-06 10:56:54 +02:00
jos
8b5586914a
More unit test tweaks to make everything work on IE 11 and Edge (part III)
2018-06-06 09:39:04 +02:00
Harry Sarson
2b56dea4a5
change error checking regexp to allow firefox's exception
...
Fix tests when running in firefox browser.
2018-05-02 18:07:03 +01:00
jos
bf3f62b564
Upgraded to typed-function@1.0.0
2018-02-20 20:59:05 +01:00
jos
99ab11b234
Dropped constant uninitialized
2018-02-04 13:09:09 +01:00
jos
11b4c03460
Remove support for calling a function returned by a function, parse as implicit multiplication instead. See #1035
2018-02-03 21:52:18 +01:00
jos
087f53d854
Merge branch 'v4' into v4_constant_node
...
# Conflicts:
# HISTORY.md
2018-01-23 20:27:16 +01:00
jos
326c9fb0de
Fixed #680 : compare strings by their numerical value instead of alphabetical order
2018-01-23 15:34:49 +01:00
jos
924299c42b
Changed ConstantNode(valueStr, valueType) to ConstantNode(value) (breaking change)
2018-01-23 12:08:29 +01:00
jos
1192bb6bbc
Implemented compile without eval (see #1019 )
2018-01-21 18:13:27 +01:00
jos
a60f3c8d9d
Fixed a security issue where forbidden properties like constructor could be replaced by using unicode characters when creating an object
2017-11-18 20:11:48 +01:00
jos
8d2d48d81b
Fixed a security issue in typed-function allowing arbitrary code execution
2017-11-18 19:39:30 +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
3e9f0d24f8
Implemented more strict type checks in typed-functions
2017-08-04 11:15:46 +02:00
Thomas Brierley
e1749d2a0e
Revert expression security test to original error
2017-07-14 13:10:18 +01:00
Thomas Brierley
fe0b993e72
Fix security test, fails on length first
2017-07-12 16:33:31 +01:00
Thomas Brierley
badc6efc1a
Update tests for isSafe changes
...
+ Fix "calling Function via Object.assign" test. Now fails on accesing
"bind" first because new implementation is a bit more restrictive.
+ Fix "extend the class instance". Custom methods on instances are now
allowed and ghosting (overridding) is explicitly not.
+ Add ghosting tests for class instances and plain objects.
2017-06-29 15:53:49 +01:00
jos
4e1142a126
Released v3.13.3
2017-05-27 20:56:16 +02:00
jos
ed5f2cebaf
Security fixes in isSafeMethod and some others
2017-05-27 19:51:12 +02:00
jos
e80ab2d36c
Fixed unit tests
2017-05-26 17:14:08 +02:00
jos
627bb2a79d
Disabled function chain
2017-05-26 17:11:52 +02:00
jos
959b010242
Simplified isSafeMethod
2017-05-26 16:43:03 +02:00
jos
11eda850da
Fixed security vulnerabilities
2017-05-12 09:01:31 +02:00
jos
27660d8c00
Some more security measures
2017-05-05 21:08:23 +02:00
jos
85ac1a0aa4
Some more security measures
2017-05-05 20:53:20 +02:00
jos
aef6203049
Use safe function arguments internally
2017-05-05 17:25:21 +02:00
jos
73b774a51b
Use safe map, forEach, join
2017-05-05 12:32:21 +02:00
jos
9dfbac5565
Fixed a broken unit test on node 0.1, 0.12
2017-04-24 21:57:06 +02:00
jos
19faeac16c
Escape function names and properties
2017-04-24 21:36:00 +02:00
jos
bddf93cf57
Added some more unit tests
2017-04-22 16:48:45 +02:00
jos
c2c1888012
Fixed security vulnerabilities in math.subset
2017-04-22 13:58:26 +02:00
jos
4be0c66534
Added another (failing) security test
2017-04-15 20:26:47 +02:00
jos
d34194be2c
Added some (failing) security tests
2017-04-10 20:30:09 +02:00
jos
ee6efa3768
Only allow accessing/assigning properties on plain objects. Only allow calling known methods.
2017-04-08 15:32:10 +02:00
jos
42012688cb
Released v3.11.4
2017-04-03 21:09:05 +02:00
jos
25db18caec
Fixed a security vulnerability
2017-04-03 20:43:52 +02:00
jos
5c4b105c7e
Fixed a security vulnerability in the expression parser
2017-04-03 01:29:13 +02:00
jos
2a1cca3442
Released v3.11.1
2017-04-02 20:13:38 +02:00