Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gatsby-remark-katex

Package Overview
Dependencies
Maintainers
2
Versions
338
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-remark-katex - npm Package Compare versions

Comparing version 1.0.13-5 to 1.0.13-7

.babelrc

9

index.js

@@ -0,6 +1,12 @@

"use strict";
const visit = require(`unist-util-visit`);
const katex = require(`katex`);
const remarkMath = require(`remark-math`);
module.exports = ({ markdownAST }) => {
module.exports = ({
markdownAST
}) => {
visit(markdownAST, `inlineMath`, node => {

@@ -12,3 +18,2 @@ node.type = `html`;

});
visit(markdownAST, `math`, node => {

@@ -15,0 +20,0 @@ node.type = `html`;

{
"name": "gatsby-remark-katex",
"description": "Transform math nodes to html markup",
"version": "1.0.13-5",
"version": "1.0.13-7",
"author": "Jeffrey Xiao <jeffrey.xiao1998@gmail.com>",

@@ -10,3 +10,3 @@ "bugs": {

"dependencies": {
"@babel/runtime": "7.0.0-beta.42",
"@babel/runtime": "7.0.0-beta.47",
"katex": "^0.9.0",

@@ -17,2 +17,4 @@ "remark-math": "^1.0.3",

"devDependencies": {
"@babel/cli": "7.0.0-beta.47",
"@babel/core": "7.0.0-beta.47",
"cross-env": "^5.1.4"

@@ -19,0 +21,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