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

marked-ast

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marked-ast - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

10

dist/marked-ast-bundle.js

@@ -193,3 +193,4 @@ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.marked=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){

lang: cap[2],
text: cap[3]
text: cap[3],
fenced: true
});

@@ -760,3 +761,3 @@ continue;

Renderer.prototype.code = function(code, lang, escaped) {
Renderer.prototype.code = function(code, lang, escaped, fenced) {
if (this.options.highlight) {

@@ -985,3 +986,4 @@ var out = this.options.highlight(code, lang);

this.token.lang,
this.token.escaped);
this.token.escaped,
!!this.token.fenced);
}

@@ -1305,3 +1307,3 @@ case 'table': {

var handlerArgs = {
code: ['code', 'lang', 'escaped'],
code: ['code', 'lang', 'escaped', 'fenced'],
blockquote: ['quote'],

@@ -1308,0 +1310,0 @@ html: ['html'],

8

gen/marked-mod.js

@@ -191,3 +191,4 @@ /**

lang: cap[2],
text: cap[3]
text: cap[3],
fenced: true
});

@@ -758,3 +759,3 @@ continue;

Renderer.prototype.code = function(code, lang, escaped) {
Renderer.prototype.code = function(code, lang, escaped, fenced) {
if (this.options.highlight) {

@@ -983,3 +984,4 @@ var out = this.options.highlight(code, lang);

this.token.lang,
this.token.escaped);
this.token.escaped,
!!this.token.fenced);
}

@@ -986,0 +988,0 @@ case 'table': {

@@ -24,3 +24,3 @@ 'use strict';

var handlerArgs = {
code: ['code', 'lang', 'escaped'],
code: ['code', 'lang', 'escaped', 'fenced'],
blockquote: ['quote'],

@@ -27,0 +27,0 @@ html: ['html'],

{
"name": "marked-ast",
"version": "0.2.1",
"version": "0.2.2",
"description": "Parses Markdown into an abstract syntax tree. Based on github.com/chjj/marked.",

@@ -5,0 +5,0 @@ "author": "Patrick Dubroy <pdubroy@gmail.com> (http://dubroy.com)",

@@ -191,3 +191,4 @@ /**

lang: cap[2],
text: cap[3]
text: cap[3],
fenced: true
});

@@ -758,3 +759,3 @@ continue;

Renderer.prototype.code = function(code, lang, escaped) {
Renderer.prototype.code = function(code, lang, escaped, fenced) {
if (this.options.highlight) {

@@ -983,3 +984,4 @@ var out = this.options.highlight(code, lang);

this.token.lang,
this.token.escaped);
this.token.escaped,
!!this.token.fenced);
}

@@ -986,0 +988,0 @@ case 'table': {

Sorry, the diff of this file is not supported yet

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