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

23
9

1.7.0

Diff

Changelog

Source

1.7.0

  • All dependencies have been updated.
  • The README.md file has been updated with trademark notice.
sergiolindau
published 1.7.0-b1 •

Changelog

Source

1.7.0-b1

  • 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.
  • All dependencies have been updated.
  • 'globalThis' has been configured as a global object to make the package work in any JavaScript environment, as per #2 and #3. Now the project Webpack configuration generates 6 different bundles:
  1. web.umd2015
  2. node.cjs2015
  3. web.umd2020
  4. node.cjs2020
  5. web.esm2020
  6. node.esm2020

Additionally, type generation is now done by tsc in an initial build step, separate from the build of bundles. The bundles targeting "ES2015" imports 'globalthis/polyfill' (imported by file 'src/lib.es2015.ts') for compatibility ('globalthis' package added as regular dependency). The fields "main", "module" and "exports" of package.json file has been set to support different targets. The license-webpack-plugin is used to generate the license of each bundle accurately. The generation of .d.ts files is now done in a separate step by tsc, before the Webpack build. Some tsconfig files were created, extending the tsconfig.build.json file, for building the various bundles and type definitions.

  • The build.config.json file was created, which is imported by webpack.config.json to customize some Webpack build configurations.
  • The test directory was created, with bundle integration tests, in addition to other tests. The Jest configuration (jest.config.js) has been updated: there are 7 test projects, one is a unitary test and the others are resulting bundles tests. Scripts to run tests has been created in package.json file. The tests have not yet been fully implemented. In fact, the test coverage is small, and what has been done is only the structure of the tests, the creation of the .spec.* files, the configuration of Jest, etc.
  • The script/build-resources.ts has been updated to download the ANTLR license. It's not available at node_modules, then the license-webpack-plugin can't insert license text in the outputh directory ./lib/. The ANTLR license is downloaded from GitHub repository and inserted as licenseTextOverrides plugin parameter.
  • The git-commit.cjs script was created to commit with the user's message. If no message is entered, after the timeout (5s) a default message with the date is used. The file was also created in the MathJSLab organization repository to be available on other projects as well.
sergiolindau
published 1.6.2 •

Changelog

Source

1.6.2

  • All dependencies have been updated.
  • The MathJSLab logo has been modified. It is built on the MathJSLab organization repository, and the 'mathjslab' package downloads the logo-related files (and other common files too) from the organization repository using the download-files.cjs script, which also provides a means to clean up the downloaded files. The download of these files is triggered by the script in the package.json file called "download-resources".
  • The ESLint configuration file (eslint.config.js) has been revised.
  • An example on CodePen was added (on README.md).
sergiolindau
published 1.6.1 •

Changelog

Source

1.6.1

  • All dependencies have been updated.
  • Optimizations in the file 'mathjslab-logo.svg'
  • Changes in the 'webpack.config.ts': path.resolve changed to path.join when possible. More rational path specifications. JavaScript files selection removed from regular expression test (configuration.module.rules[0].test and configuration.module.rules[0].exclude). JavaScript files selection removed from regular expressions in the file 'jest.config.js' too.
  • The demo Web application of MathJSLab package has been renamed to 'mathjslab-demo', with its repository also being renamed. All references to its name and repository have been updated.
  • Added information to the 'README.md' file stating that the MathJSLab package documentation is in three languages, in the demo web application repository.
sergiolindau
published 1.6.0 •

Changelog

Source

1.6.0

  • Change repository owner to MathJSLab GitHub organization: https://github.com/MathJSLab . Changes in repository references in 'package.json' file and documentation.
sergiolindau
published 1.5.13 •

Changelog

Source

1.5.13

  • Changes in 'README.md' file (CDN instructions and links, badges, build instructions, ISBN link, etc.).
  • Changes to build scripts ('script' directory): some console messages issued using console.warn and console.error instead of console.log.
  • The structure of the build files in the 'package.json' file has been modified (cleanup scripts).
sergiolindau
published 1.5.12 •

Changelog

Source

1.5.12

  • Some changes in 'README.md' file (links to mathjslab.com).
  • Exclude eslint and jest config from build ('tsconfig.build.json' file).
  • Improvements to the 'webpack.config.ts' file to setup configuration.mode = argv.mode. Webpack configuration was hardcoded as a factory.
  • The 'eslint.config.js' file has been changed to include more granular rules for the 'script' directory and configuration files.
sergiolindau
published 1.5.11 •

Changelog

Source

1.5.11

  • Domain setup (mathjslab.com). Set as "homepage" in 'package.json' file. Some changes in 'README.md' file.
sergiolindau
published 1.5.10 •

Changelog

Source

1.5.10

  • The 'node-html-parser', 'tsconfig-paths' and 'tsx' packages have been installed as development dependencies. The 'ts-node' package was kept because of the 'webpack.config.ts' file. Webpack uses 'ts-node' when the configuration file is coded in TypeScript. All dependencies have been updated.
  • The 'jest.config.js' file has been created and the jest configurations in the 'package.json' file have been moved to it.
  • The "keywords" field in 'package.json' file was modified.
  • The 'script' directory with build scripts has been created. It contains the 'helper' directory with useful functions for the build scripts.
  • The 'eslint.config.js' file has been changed to include more flexible rules for the 'script' directory.
  • The 'clean-package-lock.cjs' script has been created. It removes the 'package-lock.json' file and the 'node_modules' directory.
  • The 'build-resources.ts' script has been created. It downloads the latest version of ANTLR into the resources directory for use by the project.
  • The identifier property of the base classes (the first property of the class of type public static readonly, followed by the class name in uppercase) was set in each file by the literal numeric value in the files 'FunctionHandle.ts', 'CharString.ts' and 'Structure.ts'. This was necessary to fix errors occurring in jest tests.
sergiolindau
published 1.5.9 •

Changelog

Source

1.5.9

  • Prettier settings in 'eslint.config.js'.
  • File '.npmrc' created. Configuration legacy-peer-deps set to true.
  • Target modified to es2015.
  • Badge 'GitHub Created At' added to 'README.md'.
23
9
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