Socket
Socket
Sign inDemoInstall

apidoc

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apidoc - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

3

CHANGELOG.md
# apiDoc Changelog
#### 0.4.2
Fix parsing of multiline string (Alexander Else https://github.com/apidoc/apidoc/issues/34)
#### 0.4.1

@@ -4,0 +7,0 @@ Add support for CoffeeScript comment-style.

10

lib/parser.js

@@ -280,3 +280,3 @@ var fs = require("fs");

// Find document blocks between "###" and "###"
docBlocksRegExp = /###\uffff(.+?)###/g;
docBlocksRegExp = /###\uffff?(.+?)###/g;
// Remove not needed " " (tabs) at the beginning

@@ -288,3 +288,3 @@ inlineRegExp = /^(\t+)?[ ]?/gm;

// Find document blocks between "%{" and "%}"
docBlocksRegExp = /\%\{\uffff(.+?)\%\}/g;
docBlocksRegExp = /\%\{\uffff?(.+?)\%\}/g;
// Remove not needed " % " and " " (tabs) at the beginning

@@ -297,3 +297,3 @@ // HINT: Not sure if erlang developer use the %, but i think it should be no problem

// Find document blocks between """ and """
docBlocksRegExp = /\"\"\"\uffff(.+?)\"\"\"/g;
docBlocksRegExp = /\"\"\"\uffff?(.+?)\"\"\"/g;
// Remove not needed " " (tabs) at the beginning

@@ -305,3 +305,3 @@ inlineRegExp = /^(\t+)?[ ]?/gm;

// Find document blocks between "=begin" and "=end"
docBlocksRegExp = /\=begin\uffff(.+?)\=end/g;
docBlocksRegExp = /\=begin\uffff?(.+?)\=end/g;
// Remove not needed " " (tabs) at the beginning

@@ -313,3 +313,3 @@ inlineRegExp = /^(\t+)?[ ]?/gm;

// Find document blocks between "/**" and "*/"
docBlocksRegExp = /\/\*\*\uffff(.+?)\*\//g;
docBlocksRegExp = /\/\*\*\uffff?(.+?)\*\//g;
// Remove not needed " * " and " " (tabs) at the beginning

@@ -316,0 +316,0 @@ inlineRegExp = /^(\s+)?(\*)[ ]?/gm;

{
"name": "apidoc",
"version": "0.4.1",
"version": "0.4.2",
"description": "RESTful web API Documentation Generator",

@@ -5,0 +5,0 @@ "author": "Peter Rottmann <rottmann@inveris.de>",

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

# apiDoc 0.4.1
# apiDoc 0.4.x

@@ -3,0 +3,0 @@ Generates a RESTful web API Documentation.

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