New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mathjslab

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mathjslab - npm Package Versions

1
9

1.4.1

Diff

Changelog

Source

1.4.1

  • More strong type definitions in 'AST.ts' and 'MathJSLabParser.g4' files.
  • Number input as binary, octal and hexadecimal implemented in REAL_NUMBER rule of lexer.
  • Optimizations in 'ComplexDecimal.ts' (use of isZero() method).
  • Bug fix in Evaluator (indexing with 'end' and literal indexing).
  • clear word list command defined inside body of Evaluator class.
  • 'constantsTable.ts' file and Evaluator.readonlyNameTable has been removed. Improvements in clear command.
  • 'Structure.ts' file with Structure class definition and its respective test file has been created. Some indirect reference implemented in lexer, parser and evaluator.
  • Bug fix in expansion with indexing from scalar.
  • Bug fix in test files (references to Evaluator.initialize modified to new Evaluator).
  • Bug fix in functions 'rand' and 'randi' (CoreFunctions.newFilledEach).
  • Optimizations in Evaluator.validateAssignment (remove left field in return value).
  • Create ComplexDecimal.random using Decimal.random so configuration 'crypt' takes effect.
  • Optimizations in ComplexDecimal.set.
  • Changes in Evaluator.baseFunctionTable and function calling:
    • mapper field is now not optional.
    • Evaluator.localTable variable creation using global.crypto.randomUUID.
    • Function parameters selectively evaluated if ev.length > 0.
sergiolindau
published 1.4.0 •

Changelog

Source

1.4.0

  • Bug fix in parser (pre-increment and element-by-element operations).
  • Rules to functions definition and handlers in parser and AST implemented. Evaluation not yet implemented.
  • The string 'arguments' to define arguments block in functions is defined as keyword in lexer.
  • 'Parser.ts' file removed and Parser implemented as a method of Evaluator. The method Evaluator.initialize has been removed and initialization actions moved to Evaluator constructor. Now the Evaluator class can be instantiated more than one time.
sergiolindau
published 1.3.4 •

Changelog

Source

1.3.4

  • More strong type definitions in 'MultiArray.ts', 'Evaluator.ts' and 'MathOperation.ts' files.
  • Global variable EvaluatorPointer removed. Evaluator instance reference passed in method parameters.
sergiolindau
published 1.3.3 •

Changelog

Source

1.3.3

  • File 'MathObject.ts' and (their respective class and test file) renamed to MathOperation.ts.
  • CharString conversion to MultiArray implemented as previous to any operation in MathOperation.ts.
sergiolindau
published 1.3.2 •

Changelog

Source

1.3.2

  • Tests for types implemented as instanceof in 'MathObject.ts' and 'Evaluator.ts'. Method 'isThis' removed from classes.
  • Some bug fix in evaluator (not operation).
sergiolindau
published 1.3.1 •

Changelog

Source

1.3.1

  • Improvements and some bug fixes in lexer and parser. Support for cell arrays in parser and MultiArray class. Error messages in existing functions and cell array functions no yet implemented.
  • Start and stop positions (line and column) of statements in global scope stored in AST nodes.
  • Some improvements in CharString class, removing 'removeQuotes' method an creating 'quote' property to store type of quote (single or double).
sergiolindau
published 1.3.0 •

Changelog

Source

1.3.0

  • Parser implemented using ANTLR in files 'MathJSLabLexer.g4' and 'MathJSLabParser.g4'. The wrapper class for lexer and parser has been created in file Parser.ts. Need to make extensive tests.
  • File names converted to camel case.
  • The file AST.ts (Abstract Syntax Tree) has been created, and related types and interfaces defined in Evaluator.ts has been moved to AST.ts file.
sergiolindau
published 1.2.5 •

Changelog

Source

1.2.5

  • Optimizations (resulting return as number) in multi-array.ts file and code cleaning by hand in file 'parser.jison'.
sergiolindau
published 1.2.4 •

Changelog

Source

1.2.4

  • The file 'symbol-table.ts' and 'symbol-table.spec.ts' has been created.
  • Changes in the lexer to support comment blocks spaces and line breaks to separate elements within arrays. Context variables created (previous_token and matrix_context).
sergiolindau
published 1.2.3 •

Changelog

Source

1.2.3

  • The file 'configuration.ts' and 'configuration.spec.ts' has been created. Two user functions (configure and getconfig) was created to manage internal configurations of MathJSLab. Most of the settings refer to Decimal.js settings related to the accuracy of the results.
  • Namespaces wrapping external definitions in 'evaluator.ts' and 'complex-decimal.ts' files.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc