Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Reference documentation and guides at cortexjs.io/mathlive.
Try it at cortexjs.io/mathlive/demo/.
To add a mathfield element to your page use a <math-field>
tag.
It works just like a <textarea>
or <button>
element. You can manipulate the
mathfield using methods of the element and listen for events to be notified when
its internal state changes.
<!DOCTYPE html>
<html lang="en-US">
<body>
<math-field>f(x)=</math-field>
<script src="https://unpkg.com/mathlive"></script>
</body>
</html>
This project is licensed under the MIT License.
0.89.2 2023-02-17
/dist
directory with a .mjs
extension are packaged as modules and can be
used with a JavaScript import
statement or a <script type=module>
tag..js
extension are packaged to be used with a regular
<script>
tag (no type=module
). This format is called IIFE and declares a
MathLive
global variable from which the MathLive API can be accessed.require()
API. This was implemented in Node, but
also supported by some toolchains, such as WebPack. Unfortunately, some of
those older toolchains are still in use and difficult to move away from. In
order to support require()
the library needs to be packaged using the UMD
format. The UMD format is not supported by modern bundling tools, such as
esbuild
, which is what MathLive uses since 0.87.0. In this release, the
support for UMD is re-introduced by implementing it manually in MathLive,
rather than relying on the bundler.FAQs
A web component for math input
The npm package mathlive receives a total of 39,945 weekly downloads. As such, mathlive popularity was classified as popular.
We found that mathlive demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.