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

@wiris/mathtype-html-integration-devkit

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wiris/mathtype-html-integration-devkit - npm Package Compare versions

Comparing version 1.17.0 to 1.17.1

23

package.json
{
"name": "@wiris/mathtype-html-integration-devkit",
"version": "1.17.0",
"version": "1.17.1",
"description": "Allows to integrate MathType Web into any JavaScript HTML WYSIWYG rich text editor.",

@@ -31,18 +31,14 @@ "keywords": [

"build-dev": "webpack --mode development",
"clean": "shx rm -f core.js",
"test": "jest test/"
"clean": "shx rm -f core.js"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"babel-loader": "^8.2.2",
"coveralls": "^3.1.0",
"css-loader": "^5.2.4",
"@babel/core": "^7.24.4",
"@babel/preset-env": "^7.24.4",
"babel-loader": "^9.1.3",
"css-loader": "^7.1.0",
"jsdoc": "^3.6.6",
"jsdoc-export-default-interop": "^0.3.1",
"link-checker": "^1.4.2",
"shx": "^0.3.3",
"style-loader": "^3.3.0",
"terser-webpack-plugin": "^5.3.0",
"url-loader": "^4.1.1",
"shx": "^0.3.4",
"style-loader": "^4.0.0",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.75.0",

@@ -53,5 +49,4 @@ "webpack-cli": "^5.0.0"

"dompurify": "^3.0.10",
"raw-loader": "^4.0.2",
"uuid": "^8.3.2"
}
}

@@ -43,11 +43,2 @@ # MathType Web Integration JavaScript SDK

- [`raw-loader`](https://www.npmjs.com/package/raw-loader)
This dependency is used by Webpack in order to transpile the source files down to a single, minified, cross-browser compatible JavaScript file.
In particular, it is used to load SVG files for button icons that are used in the modal window that contains the MathType editor.
Unfortunately, for these resources to be loaded properly, the `raw-loader` must be applied in the `webpack.config.js` file.
See a working example of such file in this folder.
**Note**: As a consequence of this dependency, if you want to integrate `mathtype-html-integration-devkit` in your own project, you will have to apply `raw-loader` to the MathType source files in your own `webpack.config.js`.
- [`DOMPurify`](https://www.npmjs.com/package/dompurify)

@@ -54,0 +45,0 @@

@@ -18,2 +18,2 @@ {

]
}
}

@@ -51,3 +51,3 @@ const path = require('path');

test: /styles\/icons\/[^\/]+\/[^\/]+\.svg$/,
use: [ 'raw-loader' ]
type: 'asset/source',
},

@@ -57,10 +57,3 @@ {

exclude: /styles\/icons\/[^\/]+\/[^\/]+\.svg$/,
use: [
{
loader: 'url-loader',
options: {
limit: 8192
}
}
]
type: 'asset/inline',
}

@@ -67,0 +60,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