Comparing version 0.0.16 to 0.0.17
'use strict'; | ||
/* Dependencies. */ | ||
var one = require('./one' | ||
var one = require('./one'); | ||
/* Expose. */ | ||
);module.exports = all; | ||
module.exports = all; | ||
@@ -9,0 +9,0 @@ /* Stringify all children of `parent`. */ |
'use strict'; | ||
/* Dependencies. */ | ||
var has = require('has' | ||
var has = require('has'); | ||
/* Expose. */ | ||
);module.exports = emoticon; | ||
module.exports = emoticon; | ||
@@ -9,0 +9,0 @@ /* Stringify an emoticon `node`. */ |
@@ -5,6 +5,6 @@ 'use strict'; | ||
var all = require('../all'); | ||
var has = require('has' | ||
var has = require('has'); | ||
/* Expose. */ | ||
);module.exports = figure; | ||
module.exports = figure; | ||
@@ -11,0 +11,0 @@ var defaultMacros = { |
'use strict'; | ||
var all = require('../all' | ||
var all = require('../all'); | ||
/* Expose. */ | ||
);module.exports = kbd; | ||
module.exports = kbd; | ||
@@ -8,0 +8,0 @@ /* Stringify a sub `node`. */ |
'use strict'; | ||
/* Dependencies. */ | ||
var all = require('../all' | ||
var all = require('../all'); | ||
/* Expose. */ | ||
);module.exports = sub; | ||
module.exports = sub; | ||
@@ -9,0 +9,0 @@ /* Stringify a sub `node`. */ |
'use strict'; | ||
/* Dependencies. */ | ||
var all = require('../all' | ||
var all = require('../all'); | ||
/* Expose. */ | ||
);module.exports = sup; | ||
module.exports = sup; | ||
@@ -9,0 +9,0 @@ /* Stringify a sup `node`. */ |
@@ -5,6 +5,6 @@ 'use strict'; | ||
var has = require('has'); | ||
var xtend = require('xtend' | ||
var xtend = require('xtend'); | ||
/* Expose. */ | ||
);module.exports = encode; | ||
module.exports = encode; | ||
@@ -57,4 +57,3 @@ encode.escape = escape; | ||
function escapeRegExp(str) { | ||
return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&' // eslint-disable-line no-useless-escape | ||
); | ||
return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&'); // eslint-disable-line no-useless-escape | ||
} |
@@ -5,6 +5,6 @@ 'use strict'; | ||
var xtend = require('xtend'); | ||
var one = require('./one' | ||
var one = require('./one'); | ||
/* Expose. */ | ||
);module.exports = stringify; | ||
module.exports = stringify; | ||
@@ -11,0 +11,0 @@ /* Stringify the given MDAST node. */ |
@@ -5,6 +5,6 @@ 'use strict'; | ||
var has = require('has'); | ||
var xtend = require('xtend' | ||
var xtend = require('xtend'); | ||
/* Expose. */ | ||
);module.exports = one; | ||
module.exports = one; | ||
@@ -33,6 +33,6 @@ /* Handlers. */ | ||
handlers.table = require('./types/table'); | ||
handlers.thematicBreak = require('./types/thematic-break' | ||
handlers.thematicBreak = require('./types/thematic-break'); | ||
/* Stringify `node`. */ | ||
);function one(ctx, node, index, parent) { | ||
function one(ctx, node, index, parent) { | ||
var handlersOverride = has(ctx, 'override') ? ctx.override : {}; | ||
@@ -39,0 +39,0 @@ var h = xtend(handlers, handlersOverride); |
'use strict'; | ||
/* Dependencies. */ | ||
var all = require('../all' | ||
var all = require('../all'); | ||
/* Expose. */ | ||
);module.exports = deleteNode; | ||
module.exports = deleteNode; | ||
@@ -9,0 +9,0 @@ /* Stringify a delete `node`. */ |
'use strict'; | ||
/* Dependencies. */ | ||
var all = require('../all' | ||
var all = require('../all'); | ||
/* Expose. */ | ||
);module.exports = emphasis; | ||
module.exports = emphasis; | ||
@@ -9,0 +9,0 @@ /* Stringify a emphasis `node`. */ |
'use strict'; | ||
/* Dependencies. */ | ||
var all = require('../all' | ||
var all = require('../all'); | ||
/* Expose. */ | ||
);module.exports = heading; | ||
module.exports = heading; | ||
@@ -9,0 +9,0 @@ var defaultHeadings = [function (val) { |
@@ -5,6 +5,6 @@ 'use strict'; | ||
var has = require('has'); | ||
var all = require('../all' | ||
var all = require('../all'); | ||
/* Expose. */ | ||
);module.exports = link; | ||
module.exports = link; | ||
@@ -11,0 +11,0 @@ var defaultMacro = function defaultMacro(displayedText, link) { |
'use strict'; | ||
/* Dependencies. */ | ||
var all = require('../all' | ||
var all = require('../all'); | ||
/* Expose. */ | ||
);module.exports = paragraph; | ||
module.exports = paragraph; | ||
@@ -9,0 +9,0 @@ /* Stringify a paragraph `node`. |
'use strict'; | ||
/* Dependencies. */ | ||
var text = require('./text' | ||
var text = require('./text'); | ||
/* Expose. */ | ||
);module.exports = raw; | ||
module.exports = raw; | ||
@@ -9,0 +9,0 @@ /* Stringify `raw`. */ |
'use strict'; | ||
/* Dependencies. */ | ||
var all = require('../all' | ||
var all = require('../all'); | ||
/* Expose. */ | ||
);module.exports = strong; | ||
module.exports = strong; | ||
@@ -9,0 +9,0 @@ /* Stringify a strong `node`. */ |
'use strict'; | ||
/* Dependencies. */ | ||
var escaper = require('../escaper' | ||
var escaper = require('../escaper'); | ||
/* Expose. */ | ||
);module.exports = text; | ||
module.exports = text; | ||
@@ -9,0 +9,0 @@ /* Stringify a text `node`. */ |
{ | ||
"name": "rebber", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "Stringifies MDAST to LaTeX", | ||
@@ -40,8 +40,8 @@ "repository": "https://github.com/zestedesavoir/zmarkdown/tree/master/packages/rebber", | ||
"cross-env": "^5.0.1", | ||
"del-cli": "^1.1.0", | ||
"eslint": "^4.1.1", | ||
"del-cli": "^1.0.0", | ||
"eslint": "^4.0.0", | ||
"jest": "^20.0.4", | ||
"remark-align": "^0.0.20", | ||
"remark-captions": "0.0.10", | ||
"remark-emoticons": "^0.0.16", | ||
"remark-align": "^0.0.21", | ||
"remark-captions": "^0.0.11", | ||
"remark-emoticons": "^0.0.17", | ||
"remark-parse": "^3.0.1", | ||
@@ -48,0 +48,0 @@ "remark-sub-super": "^0.0.14", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18560
483