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

@atjson/renderer-commonmark

Package Overview
Dependencies
Maintainers
2
Versions
243
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atjson/renderer-commonmark - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

dist/commonjs/index.d.ts

74

dist/commonjs/index.js

@@ -67,3 +67,3 @@ "use strict";

}
*'blockquote'(_, state) {
*'quotation'(_, state) {
let text = yield;

@@ -103,5 +103,5 @@ let lines = text.join('').split('\n');

let title = props.title.replace(/"/g, '\\"');
return `![${props.alt}](${props.url} "${title}")`;
return `![${props.description}](${props.url} "${title}")`;
}
return `![${props.alt}](${props.url})`;
return `![${props.description}](${props.url})`;
}

@@ -121,8 +121,8 @@ *'italic'(_, state) {

let [before, text, after] = yield* split();
let href = escapeAttribute(props.href);
let url = escapeAttribute(props.url);
if (props.title) {
let title = props.title.replace(/"/g, '\\"');
return `${before}[${text}](${href} "${title}")${after}`;
return `${before}[${text}](${url} "${title}")${after}`;
}
return `${before}[${text}](${href})${after}`;
return `${before}[${text}](${url})${after}`;
}

@@ -149,3 +149,3 @@ *'code'(props, state) {

else if (props.style === 'block') {
return code.split('\n').map(line => ` ${line}`).join('\n') + '\n';
return code.split('\n').map((line) => ` ${line}`).join('\n') + '\n';
}

@@ -187,4 +187,4 @@ else {

let lines = item.split('\n');
lines.push(lines.pop().replace(/[ ]+$/, ''));
lines.unshift(lines.shift().replace(/^[ ]+/, ''));
lines.push((lines.pop() || '').replace(/[ ]+$/, ''));
lines.unshift((lines.shift() || '').replace(/^[ ]+/, ''));
let [first, ...rest] = lines;

@@ -197,11 +197,22 @@ item = ' '.repeat(firstCharacter) + first + '\n' + rest.map(line => indent + line).join('\n').replace(/[ ]+$/, '');

}
*'ordered-list'(props, state) {
*'list'(props, state) {
let start = 1;
if (props && props.start != null) {
start = props.start;
if (props && props.startsAt != null) {
start = props.startsAt;
}
let delimiter = '.';
if (state.get('previous.type') === 'numbered' && state.get('previous.delimiter') === '.') {
delimiter = ')';
let delimiter = '';
if (props.type === 'numbered') {
delimiter = '.';
if (state.get('previous.type') === 'numbered' &&
state.get('previous.delimiter') === '.') {
delimiter = ')';
}
}
else if (props.type === 'bulleted') {
delimiter = '-';
if (state.get('previous.type') === 'bulleted' &&
state.get('previous.delimiter') === '-') {
delimiter = '+';
}
}
let hasCodeBlockFollowing = state.get('nextAnnotation.type') === 'code' &&

@@ -211,3 +222,3 @@ state.get('nextAnnotation.attributes.style') === 'block';

isList: true,
type: 'numbered',
type: props.type,
digit: start,

@@ -226,3 +237,3 @@ previous: state.get('previous'),

isList: true,
type: 'numbered',
type: props.type,
delimiter

@@ -232,29 +243,2 @@ });

}
*'unordered-list'(props, state) {
let delimiter = '-';
if (state.get('previous.type') === 'bulleted' && state.get('previous.delimiter') === '-') {
delimiter = '+';
}
let hasCodeBlockFollowing = state.get('nextAnnotation.type') === 'code' &&
state.get('nextAnnotation.attributes.style') === 'block';
state.push({
isList: true,
type: 'bulleted',
previous: state.get('previous'),
delimiter,
tight: props && props.tight,
hasCodeBlockFollowing
});
let list = yield;
state.pop();
state.set('previous', {
isList: true,
type: 'bulleted',
delimiter
});
if (props && props.tight) {
list = list.map(item => item.replace(/([ \n])+$/, '\n'));
}
return list.join('') + '\n';
}
*'paragraph'(_, state) {

@@ -269,2 +253,2 @@ let text = yield;

exports.default = CommonmarkRenderer;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSx1REFBdUQ7QUFFdkQsUUFBZSxDQUFDO0lBQ2QsSUFBSSxPQUFPLEdBQUcsS0FBSyxDQUFDO0lBQ3BCLElBQUksSUFBSSxHQUFHLE9BQU8sQ0FBQyx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Q0FBQyxHQUFHLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDO1lBQ3ZCLE1BQU0sQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxHQUFHLElBQUksQ0FBQztRQUM5QixDQUFDO1FBQ0QsTUFBTSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLEdBQUcsTUFBTSxDQUFDO0lBQ2hDLENBQUM7Q0FDRjtBQXJTRCxxQ0FxU0MifQ==

@@ -1,2 +0,1 @@

"use strict";
import Renderer from '@atjson/renderer-hir';

@@ -65,3 +64,3 @@ export function* split() {

}
*'blockquote'(_, state) {
*'quotation'(_, state) {
let text = yield;

@@ -101,5 +100,5 @@ let lines = text.join('').split('\n');

let title = props.title.replace(/"/g, '\\"');
return `![${props.alt}](${props.url} "${title}")`;
return `![${props.description}](${props.url} "${title}")`;
}
return `![${props.alt}](${props.url})`;
return `![${props.description}](${props.url})`;
}

@@ -119,8 +118,8 @@ *'italic'(_, state) {

let [before, text, after] = yield* split();
let href = escapeAttribute(props.href);
let url = escapeAttribute(props.url);
if (props.title) {
let title = props.title.replace(/"/g, '\\"');
return `${before}[${text}](${href} "${title}")${after}`;
return `${before}[${text}](${url} "${title}")${after}`;
}
return `${before}[${text}](${href})${after}`;
return `${before}[${text}](${url})${after}`;
}

@@ -147,3 +146,3 @@ *'code'(props, state) {

else if (props.style === 'block') {
return code.split('\n').map(line => ` ${line}`).join('\n') + '\n';
return code.split('\n').map((line) => ` ${line}`).join('\n') + '\n';
}

@@ -185,4 +184,4 @@ else {

let lines = item.split('\n');
lines.push(lines.pop().replace(/[ ]+$/, ''));
lines.unshift(lines.shift().replace(/^[ ]+/, ''));
lines.push((lines.pop() || '').replace(/[ ]+$/, ''));
lines.unshift((lines.shift() || '').replace(/^[ ]+/, ''));
let [first, ...rest] = lines;

@@ -195,11 +194,22 @@ item = ' '.repeat(firstCharacter) + first + '\n' + rest.map(line => indent + line).join('\n').replace(/[ ]+$/, '');

}
*'ordered-list'(props, state) {
*'list'(props, state) {
let start = 1;
if (props && props.start != null) {
start = props.start;
if (props && props.startsAt != null) {
start = props.startsAt;
}
let delimiter = '.';
if (state.get('previous.type') === 'numbered' && state.get('previous.delimiter') === '.') {
delimiter = ')';
let delimiter = '';
if (props.type === 'numbered') {
delimiter = '.';
if (state.get('previous.type') === 'numbered' &&
state.get('previous.delimiter') === '.') {
delimiter = ')';
}
}
else if (props.type === 'bulleted') {
delimiter = '-';
if (state.get('previous.type') === 'bulleted' &&
state.get('previous.delimiter') === '-') {
delimiter = '+';
}
}
let hasCodeBlockFollowing = state.get('nextAnnotation.type') === 'code' &&

@@ -209,3 +219,3 @@ state.get('nextAnnotation.attributes.style') === 'block';

isList: true,
type: 'numbered',
type: props.type,
digit: start,

@@ -224,3 +234,3 @@ previous: state.get('previous'),

isList: true,
type: 'numbered',
type: props.type,
delimiter

@@ -230,29 +240,2 @@ });

}
*'unordered-list'(props, state) {
let delimiter = '-';
if (state.get('previous.type') === 'bulleted' && state.get('previous.delimiter') === '-') {
delimiter = '+';
}
let hasCodeBlockFollowing = state.get('nextAnnotation.type') === 'code' &&
state.get('nextAnnotation.attributes.style') === 'block';
state.push({
isList: true,
type: 'bulleted',
previous: state.get('previous'),
delimiter,
tight: props && props.tight,
hasCodeBlockFollowing
});
let list = yield;
state.pop();
state.set('previous', {
isList: true,
type: 'bulleted',
delimiter
});
if (props && props.tight) {
list = list.map(item => item.replace(/([ \n])+$/, '\n'));
}
return list.join('') + '\n';
}
*'paragraph'(_, state) {

@@ -266,2 +249,2 @@ let text = yield;

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUNBLE9BQU8sUUFBbUIsTUFBTSxzQkFBc0I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O0lBS0QsQ0FBQyxXQUFXLENBQUMsQ0FBTSxFQUFFLEtBQVk7UUFDL0IsSUFBSSxJQUFJLEdBQUcsS0FBSyxDQUFDO1FBQ2pCLEVBQUUsQ0FBQyxDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDO1lBQ3ZCLE1BQU0sQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxHQUFHLElBQUksQ0FBQztRQUM5QixDQUFDO1FBQ0QsTUFBTSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLEdBQUcsTUFBTSxDQUFDO0lBQ2hDLENBQUM7Q0FDRiJ9
{
"name": "@atjson/renderer-commonmark",
"version": "0.7.1",
"version": "0.7.2",
"description": "A brand new TypeScript library.",

@@ -18,5 +18,5 @@ "main": "dist/commonjs/index.js",

"devDependencies": {
"@atjson/document": "^0.7.0",
"@atjson/hir": "^0.7.0",
"@atjson/source-commonmark": "^0.7.1",
"@atjson/document": "^0.7.2",
"@atjson/hir": "^0.7.2",
"@atjson/source-commonmark": "^0.7.2",
"commonmark-spec": "^0.28.0",

@@ -27,4 +27,4 @@ "tslint": "^5.9.1",

"dependencies": {
"@atjson/renderer-hir": "^0.7.0"
"@atjson/renderer-hir": "^0.7.2"
}
}
import { HIRNode } from '@atjson/hir';
import Renderer, { State } from '@atjson/renderer-hir';
export function* split() {
export function* split(): IterableIterator<string> {
let rawText = yield;

@@ -20,3 +20,3 @@ let text = rawText.join('');

type CodeStyle = 'block' | 'inline' | 'fence';
export type CodeStyle = 'block' | 'inline' | 'fence';

@@ -93,3 +93,3 @@ // http://spec.commonmark.org/0.28/#backslash-escapes

*/
*'blockquote'(_, state: State): IterableIterator<string> {
*'quotation'(_: any, state: State): IterableIterator<string> {
let text: string[] = yield;

@@ -149,8 +149,8 @@ let lines: string[] = text.join('').split('\n');

*/
*'image'(props: { alt: string, title?: string, url: string }): IterableIterator<string> {
*'image'(props: { description: string, title?: string, url: string }): IterableIterator<string> {
if (props.title) {
let title = props.title.replace(/"/g, '\\"');
return `![${props.alt}](${props.url} "${title}")`;
return `![${props.description}](${props.url} "${title}")`;
}
return `![${props.alt}](${props.url})`;
return `![${props.description}](${props.url})`;
}

@@ -161,3 +161,3 @@

*/
*'italic'(_, state: State): IterableIterator<string> {
*'italic'(_: any, state: State): IterableIterator<string> {
// This adds support for strong emphasis (per Commonmark)

@@ -184,10 +184,10 @@ // Strong emphasis includes _*two*_ emphasis markers around text.

*/
*'link'(props: { href: string, title?: string }): IterableIterator<string> {
*'link'(props: { url: string, title?: string }): IterableIterator<string> {
let [before, text, after] = yield* split();
let href = escapeAttribute(props.href);
let url = escapeAttribute(props.url);
if (props.title) {
let title = props.title.replace(/"/g, '\\"');
return `${before}[${text}](${href} "${title}")${after}`;
return `${before}[${text}](${url} "${title}")${after}`;
}
return `${before}[${text}](${href})${after}`;
return `${before}[${text}](${url})${after}`;
}

@@ -222,3 +222,3 @@

} else if (props.style === 'block') {
return code.split('\n').map(line => ` ${line}`).join('\n') + '\n';
return code.split('\n').map((line: string) => ` ${line}`).join('\n') + '\n';
} else {

@@ -253,3 +253,3 @@ // MarkdownIt strips all leading and trailing whitespace from code blocks,

*/
*'list-item'(_, state: State): IterableIterator<string> {
*'list-item'(_: any, state: State): IterableIterator<string> {
let digit: number = state.get('digit');

@@ -262,2 +262,3 @@ let delimiter = state.get('delimiter');

}
let indent = ' '.repeat(marker.length + 1);

@@ -268,5 +269,6 @@ let text: string[] = yield;

while (item[firstCharacter] === ' ') firstCharacter++;
let lines = item.split('\n');
lines.push(lines.pop().replace(/[ ]+$/, ''));
lines.unshift(lines.shift().replace(/^[ ]+/, ''));
let lines: string[] = item.split('\n');
lines.push((lines.pop() || '').replace(/[ ]+$/, ''));
lines.unshift((lines.shift() || '').replace(/^[ ]+/, ''));
let [first, ...rest] = lines;

@@ -292,11 +294,24 @@

*/
*'ordered-list'(props: { start?: number, tight: boolean }, state: State): IterableIterator<string> {
*'list'(props: { type: string, startsAt?: number, tight: boolean }, state: State): IterableIterator<string> {
let start = 1;
if (props && props.start != null) {
start = props.start;
if (props && props.startsAt != null) {
start = props.startsAt;
}
let delimiter = '.';
if (state.get('previous.type') === 'numbered' && state.get('previous.delimiter') === '.') {
delimiter = ')';
let delimiter = '';
if (props.type === 'numbered') {
delimiter = '.';
if (state.get('previous.type') === 'numbered' &&
state.get('previous.delimiter') === '.') {
delimiter = ')';
}
} else if (props.type === 'bulleted') {
delimiter = '-';
if (state.get('previous.type') === 'bulleted' &&
state.get('previous.delimiter') === '-') {
delimiter = '+';
}
}

@@ -307,7 +322,7 @@

let hasCodeBlockFollowing = state.get('nextAnnotation.type') === 'code' &&
state.get('nextAnnotation.attributes.style') === 'block');
state.get('nextAnnotation.attributes.style') === 'block';
state.push({
isList: true,
type: 'numbered',
type: props.type,
digit: start,

@@ -319,7 +334,7 @@ previous: state.get('previous'),

});
let list = yield;
let list: string[] = yield;
state.pop();
if (props && props.tight) {
list = list.map(item => item.replace(/([ \n])+$/, '\n');
list = list.map(item => item.replace(/([ \n])+$/, '\n'));
}

@@ -329,3 +344,3 @@

isList: true,
type: 'numbered',
type: props.type,
delimiter

@@ -338,46 +353,5 @@ });

/**
* - An unordered list contains
* - A number
* - Of things with dashes preceding them
*/
*'unordered-list'(props: { tight: boolean }, state: State): IterableIterator<string> {
let delimiter = '-';
if (state.get('previous.type') === 'bulleted' && state.get('previous.delimiter') === '-') {
delimiter = '+';
}
// Handle indendation for code blocks that immediately follow
// a list.
let hasCodeBlockFollowing = state.get('nextAnnotation.type') === 'code' &&
state.get('nextAnnotation.attributes.style') === 'block');
state.push({
isList: true,
type: 'bulleted',
previous: state.get('previous'),
delimiter,
tight: props && props.tight,
hasCodeBlockFollowing
});
let list = yield;
state.pop();
state.set('previous', {
isList: true,
type: 'bulleted',
delimiter
});
if (props && props.tight) {
list = list.map(item => item.replace(/([ \n])+$/, '\n');
}
return list.join('') + '\n';
}
/**
* Paragraphs are delimited by two or more newlines in markdown.
*/
*'paragraph'(_, state: State): IterableIterator<string> {
*'paragraph'(_: any, state: State): IterableIterator<string> {
let text = yield;

@@ -384,0 +358,0 @@ if (state.get('tight')) {

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