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

gitbook-markdown

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-markdown - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

1

lib/page.js

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

var Q = require('q');
var _ = require('lodash');

@@ -3,0 +2,0 @@ var kramed = require('kramed');

4

lib/summary.js

@@ -70,3 +70,3 @@ var _ = require('lodash');

.toArray()
.rest(function(el) {
.dropWhile(function(el) {
// Get everything after list_start

@@ -76,3 +76,3 @@ return el.type !== 'list_start';

.reverse()
.rest(function(el) {
.dropWhile(function(el) {
// Get everything after list_end (remember we're reversed)

@@ -79,0 +79,0 @@ return el.type !== 'list_end';

{
"name": "gitbook-markdown",
"version": "0.2.2",
"version": "0.2.3",
"homepage": "https://www.gitbook.com",

@@ -8,5 +8,4 @@ "description": "Parse markdown content for gitbook",

"dependencies": {
"q": "1.0.1",
"lodash": "2.4.1",
"kramed": "0.4.3",
"lodash": "3.1.0",
"kramed": "0.4.6",
"kramed-text-renderer": "0.2.1",

@@ -13,0 +12,0 @@ "highlight.js": "8.4.0"

@@ -12,2 +12,3 @@ var fs = require('fs');

it('should detect paths and titles', function() {
assert.equal(LEXED.length, 2);
assert.equal(LEXED[0].path,'en/');

@@ -14,0 +15,0 @@ assert.equal(LEXED[0].title,'English');

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