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

@paperist/remark-latex

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paperist/remark-latex - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

2

lib/LaTeXCompiler/index.d.ts
import { Converters } from '../converters';
export default class LaTeXCompiler {
file: any;
options: any;
footnotes: any[];
definitions: any;
converters: Converters;
options: any;
constructor(file: any, options?: any);

@@ -9,0 +9,0 @@ compile(node: any): string;

@@ -6,2 +6,3 @@ "use strict";

const jsYAML = require('js-yaml');
const _ = require('lodash');
const converters_1 = require('../converters');

@@ -12,3 +13,2 @@ const visit = require('unist-util-visit');

this.file = file;
this.options = options;
this.footnotes = [];

@@ -25,2 +25,3 @@ this.definitions = {};

}
this.options = _.cloneDeep(options);
this.options.templatesDir =

@@ -36,3 +37,3 @@ this.options.templatesDir || path.resolve(__dirname, '../templates');

const opts = jsYAML.safeLoad(yamlNode.value);
this.options = Object.assign(this.options, opts.latex || {});
this.options = _.defaultsDeep(this.options, opts.latex || {});
}

@@ -39,0 +40,0 @@ catch (_e) {

{
"name": "@paperist/remark-latex",
"description": "wooorm/remark plugin for latex",
"version": "0.0.5",
"version": "0.0.6",
"dependencies": {
"ejs": "^2.5.2",
"js-yaml": "^3.7.0",
"lodash": "^4.17.2",
"unist-util-visit": "^1.1.1"

@@ -13,2 +14,3 @@ },

"@types/js-yaml": "^3.5.28",
"@types/lodash": "^4.14.43",
"@types/node": "^6.0.48",

@@ -15,0 +17,0 @@ "cpx": "^1.5.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