jos
f6f7bd2b25
Fixed #1088 : function arguments not being passed to rawArgs functions
2018-07-04 14:05:07 +02:00
jos
2288da7e5d
Oops skipping all but one test
2018-07-04 12:49:55 +02:00
jos
7d452c6524
Fix skipped unit tests
2018-07-04 12:48:33 +02:00
jos
e565f09490
Updated history
2018-06-13 21:57:56 +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
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
1f0a37a0cb
Split initialized 'const' declarations into multiple statements
2018-06-13 15:31:37 +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
934ea83df7
Fixed linting issues "Expected consistent spacing"
2018-06-12 21:38:11 +02:00
jos
c2777c856b
Fixed linting issues "Unexpected template string expression"
2018-06-12 21:18:45 +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
7fefa33d84
Fixed #1077 : Serialization/deserialization to JSON with reviver not being supported by nodes
2018-04-04 22:09:43 +02: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 de Jong
e631771df0
Merge branch 'v4' into v4_fn_implicit_multiplication
2018-02-04 11:58:15 +01:00
Jos de Jong
cdda817d9f
Merge pull request #1036 from ericman314/implicit-multiplication
...
Implicit multiplication
2018-02-04 11:55:15 +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
Eric Mansfield
090f4c920f
Added 'number/number (', and tests
2018-02-03 09:44:30 -07:00
Eric Mansfield
17a4e33ae2
Added tests
2018-02-02 21:14:33 -07:00
jos
a11dfa9bcc
Merge branch 'v4' into v4_binary_operator_node
2018-01-31 14:23:34 +01:00
jos
8f25ee7df0
Updated unit test in ConstantNode
2018-01-31 11:32:00 +01:00
jos
ece963bcdd
Merge branch 'develop' into v4
...
# Conflicts:
# lib/expression/node/ConstantNode.js
2018-01-31 11:28:14 +01:00
jos
82b41e696a
- Implemented OperatorNode.isUnary and OperatorNode.isBinary.
...
- Explicit checks for number of arguments everywhere working with `OperatorNode` and `FunctionNode`.
- Fixed #1014 : derivative silently ignoring additional arguments.
2018-01-31 11:00:39 +01:00
Max Bruckner
9126130794
toTex: Escape special characters in strings
2018-01-31 02:54:24 +01:00
jos
0b6c0c13f7
Merge branch 'v4' into v4_constant_node
...
# Conflicts:
# HISTORY.md
2018-01-27 16:58:17 +01:00
jos
5efbb25da8
Merge branch 'develop' into v4
...
# Conflicts:
# HISTORY.md
2018-01-27 16:57:24 +01:00
Harry Sarson
332ecf3d5d
adds failing test when implicit product is mapped
2018-01-27 14:21:36 +00:00
jos
4fcc9d231a
Added a few more unit tests for ConstantNode
2018-01-25 20:29:43 +01:00
Max Bruckner
4a7e956242
ConstantNode: Add Fraction specific latex output.
2018-01-25 20:14:06 +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
3f3d50f7a0
Fixed #833 : the constants true, false, null, undefined, NaN, Infinity, and uninitialized are now parsed as ConstantNodes instead of SymbolNodes in the expression parser
2018-01-23 13:55:57 +01:00
jos
924299c42b
Changed ConstantNode(valueStr, valueType) to ConstantNode(value) (breaking change)
2018-01-23 12:08:29 +01:00
jos
8b5396baad
Removed the old expression compiler (which uses eval)
2018-01-23 09:19:11 +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
Max Bruckner
b2857392bd
OperatorNode: Fix implicit multiplication
...
Fixes implicit multiplication when parenthesis is 'auto' and operands
are ConstantNodes.
This is handled by detecting that case and printing parentheses for
ParenthesisNodes even though they normally wouldn't with parenthesis
set to 'auto'.
2017-08-13 20:57:41 +02: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
12918725f1
Merge branch 'develop' into moreStrictTypeChecks
2017-08-12 11:15:11 +02:00