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

mathjslab

Package Overview
Dependencies
Maintainers
0
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mathjslab - npm Package Compare versions

Comparing version 1.7.0-b1 to 1.7.0

4

CHANGES.md

@@ -5,2 +5,6 @@ # Release notes

## 1.7.0
- All dependencies have been updated.
- The `README.md` file has been updated with trademark notice.
## 1.7.0-b1

@@ -7,0 +11,0 @@ - The reason for publishing this beta version is to test access via CDNs before publishing the final version, so that we can describe the use of CDNs in the `README.md` file.

10

package.json
{
"name": "mathjslab",
"version": "1.7.0-b1",
"version": "1.7.0",
"description": "MathJSLab - An interpreter with language syntax like MATLAB®/Octave, ISBN 978-65-00-82338-7.",

@@ -90,3 +90,3 @@ "repository": {

"git:all": "npm run git:add && npm run git:commit && npm run git:push",
"npm:publish": "npm publish --access public --tag beta",
"npm:publish": "npm publish --access public",
"git:all:npm:publish": "npm run git:all && npm run npm:publish",

@@ -129,8 +129,8 @@ "format": "prettier --write **/*.{js,cjs,mjs,ts,cts,mts,json}",

"@types/jest": "^29.5.14",
"@types/node": "^22.10.10",
"@types/node": "^22.12.0",
"@types/supertest": "^6.0.2",
"@types/webpack": "^5.28.5",
"@types/webpack-bundle-analyzer": "^4.7.0",
"@typescript-eslint/eslint-plugin": "^8.21.0",
"@typescript-eslint/parser": "^8.21.0",
"@typescript-eslint/eslint-plugin": "^8.22.0",
"@typescript-eslint/parser": "^8.22.0",
"eslint": "^9.19.0",

@@ -137,0 +137,0 @@ "eslint-config-prettier": "^10.0.1",

@@ -21,3 +21,3 @@ <p align="center">

> An [interpreter](https://en.wikipedia.org/wiki/Interpreter_(computing)) with language syntax like [MATLAB&reg;](https://www.mathworks.com/)/[Octave](https://www.gnu.org/software/octave/) written in [TypeScript](https://www.typescriptlang.org/).
> An [interpreter](https://en.wikipedia.org/wiki/Interpreter_(computing)) with language syntax like [MATLAB&reg;](https://www.mathworks.com/products/matlab.html)/[Octave](https://www.gnu.org/software/octave/) written in [TypeScript](https://www.typescriptlang.org/).

@@ -27,3 +27,3 @@ **[ISBN 978-65-00-82338-7](https://grp.isbn-international.org/search/piid_solr?keys=978-65-00-82338-7)**

This package emulates a parser and evaluator for a subset of
[MATLAB&reg;](https://www.mathworks.com/)/[Octave](https://www.gnu.org/software/octave/)
[MATLAB&reg;](https://www.mathworks.com/products/matlab.html)/[Octave](https://www.gnu.org/software/octave/)
language. It is written completely in [TypeScript](https://www.typescriptlang.org/).

@@ -37,2 +37,9 @@

**Important Notice:** This software, the **[MathJSLab](https://mathjslab.com/),
is not affiliated, sponsored, or endorsed by [The MathWorks, Inc.](https://www.mathworks.com/)**
[MATLAB&reg;](https://www.mathworks.com/products/matlab.html) is a registered
trademark of [The MathWorks, Inc.](https://www.mathworks.com/) For more
information about [MATLAB](https://www.mathworks.com/products/matlab.html), visit
[www.mathworks.com](https://www.mathworks.com/).
It can run in browser environment and implements an arbitrary precision

@@ -76,3 +83,3 @@ arithmetics using [decimal.js](https://www.npmjs.com/package/decimal.js)

- Comes with a large set of built-in operations, functions and commands well documented in the demo [Web application](https://en.wikipedia.org/wiki/Web_application) in [english](https://github.com/MathJSLab/mathjslab-app/tree/main/help/en), [portuguese](https://github.com/MathJSLab/mathjslab-app/tree/main/help/pt) and [spanish](https://github.com/MathJSLab/mathjslab-app/tree/main/help/es).
- Includes test suite using [Jest](https://jestjs.io/) [framework](https://en.wikipedia.org/wiki/Software_framework).
- Includes test suite using [Jest](https://jestjs.io/) [framework](https://en.wikipedia.org/wiki/Software_framework) (most tests not yet implemented).
- Is easily extensible through configuration parameters passed to [`Evaluator` constructor](https://github.com/MathJSLab/mathjslab/blob/main/src/Evaluator.ts).

@@ -82,7 +89,7 @@ - [Open source](https://opensource.org/) software with fully documented code: [MIT License](https://github.com/MathJSLab/mathjslab/blob/main/LICENSE).

## Browser support
## Supported environments
[MathJSLab](https://mathjslab.com/) works on any [ES2015](https://262.ecma-international.org/6.0/) compatible
[JavaScript](https://www.ecma-international.org/publications-and-standards/standards/ecma-262/)
engine, including [Node.js&reg;](https://nodejs.org/),
engine, including [Node.js](https://nodejs.org/),
[Chrome](https://www.google.com/chrome/),

@@ -94,2 +101,11 @@ [Firefox](https://www.mozilla.org/en-US/firefox/),

There are 6 different bundles:
- For [Node.js](https://nodejs.org/) environment, [CommonJS](https://nodejs.org/docs/latest/api/modules.html), [ES2015](https://262.ecma-international.org/6.0/) target ([mathjslab.node.cjs2015.js](https://cdn.jsdelivr.net/npm/mathjslab/lib/mathjslab.node.cjs2015.js)).
- For [Node.js](https://nodejs.org/) environment, [CommonJS](https://nodejs.org/docs/latest/api/modules.html), [ES2020](https://262.ecma-international.org/11.0/) target ([mathjslab.node.cjs2020.js](https://cdn.jsdelivr.net/npm/mathjslab/lib/mathjslab.node.cjs2020.js)).
- For [Node.js](https://nodejs.org/) environment, [ES Module](https://nodejs.org/api/esm.html), [ES2020](https://262.ecma-international.org/11.0/) target ([mathjslab.node.esm2020.js](https://cdn.jsdelivr.net/npm/mathjslab/lib/mathjslab.node.esm2020.js)).
- For browser environment, [UMD](https://github.com/umdjs/umd), [ES2015](https://262.ecma-international.org/6.0/) target ([mathjslab.web.umd2015.js](https://cdn.jsdelivr.net/npm/mathjslab/lib/mathjslab.web.umd2015.js)).
- For browser environment, [UMD](https://github.com/umdjs/umd), [ES2020](https://262.ecma-international.org/11.0/) target ([mathjslab.web.umd2020.js](https://cdn.jsdelivr.net/npm/mathjslab/lib/mathjslab.web.umd2020.js)).
- For browser environment, [ES Module](https://nodejs.org/api/esm.html), [ES2020](https://262.ecma-international.org/11.0/) target ([mathjslab.web.esm2020.js]((https://cdn.jsdelivr.net/npm/mathjslab/lib/mathjslab.web.esm2020.js))).
## Installation

@@ -137,3 +153,3 @@

You can try [this example](https://codepen.io/Sergio-Lindau/pen/EaYjXxE) on [CodePen](https://codepen.io/).
You can try [some basic examples](https://codepen.io/collection/BaNkVd) on [CodePen](https://codepen.io/).

@@ -148,3 +164,3 @@ ## Using a [CDN](https://en.wikipedia.org/wiki/Content_delivery_network)

or any other [CDN](https://en.wikipedia.org/wiki/Content_delivery_network)
that delivers content from the [npm repository](https://www.npmjs.com/).
that delivers content from the [npm registry](https://www.npmjs.com/).

@@ -172,3 +188,3 @@ ### Using [UNPKG](https://unpkg.com/)

```html
<script src="https://cdn.jsdelivr.net/npm/mathjslab/lib/mathjslab.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/mathjslab"></script>
```

@@ -195,3 +211,3 @@

To build the project, you only need [Node.js&reg;](https://nodejs.org/) and
To build the project, you only need [Node.js](https://nodejs.org/) and
the [Java Runtime Environment](https://www.oracle.com/java/) installed. The

@@ -251,3 +267,3 @@ project build and dependencies are managed by

There are some differences from the original
[MATLAB&reg;](https://www.mathworks.com/)/[Octave](https://www.gnu.org/software/octave/).
[MATLAB&reg;](https://www.mathworks.com/products/matlab.html)/[Octave](https://www.gnu.org/software/octave/).
The main difference is that there are only one a complex numeric type. Other

@@ -258,2 +274,7 @@ implemented types is boolean, character string, structure and function handle.

## Trademark Notes
- [MATLAB&reg;](https://www.mathworks.com/products/matlab.html) is a registered trademark of [The MathWorks, Inc.](https://www.mathworks.com/)
- [MathJSLab](https://mathjslab.com/) is not affiliated, sponsored, or endorsed by [The MathWorks, Inc.](https://www.mathworks.com/)
## License

@@ -260,0 +281,0 @@

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