Socket
Socket
Sign inDemoInstall

remark-parse

Package Overview
Dependencies
25
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.3.0 to 3.0.0

19

index.js

@@ -1,19 +0,14 @@

/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark:parse
* @fileoverview Markdown parser.
*/
'use strict';
var unherit = require('unherit');
var xtend = require('xtend');
var Parser = require('./lib/parser.js');
module.exports = exports = parse;
exports.Parser = Parser;
module.exports = parse;
parse.Parser = Parser;
function parse(processor) {
processor.Parser = unherit(Parser);
function parse(options) {
var Local = unherit(Parser);
Local.prototype.options = xtend(Local.prototype.options, this.data('settings'), options);
this.Parser = Local;
}

@@ -21,7 +21,7 @@ /**

/* Construct a new parser. */
function Parser(file, options) {
function Parser(doc, file) {
this.file = file;
this.offset = {};
this.options = xtend(this.options);
this.setOptions(options);
this.setOptions({});

@@ -28,0 +28,0 @@ this.inList = this.inBlock = this.inLink = false;

{
"name": "remark-parse",
"version": "2.3.0",
"version": "3.0.0",
"description": "Markdown parser for remark",

@@ -22,5 +22,2 @@ "license": "MIT",

],
"engines": {
"node": ">=0.11.0"
},
"files": [

@@ -27,0 +24,0 @@ "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc