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

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.2.2 to 0.2.3

4

CHANGELOG.md
# apiDoc Changelog
#### 0.2.3
Extend Template with url-param "compare=1" to show the compare version on page view.
Bugfix: Minor fix with double structure examples.
#### 0.2.2

@@ -4,0 +8,0 @@ Bugfix: Template not show @apiSuccessExample @apiErrorExample.

2

lib/parser.js

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

}
if(preventGlobal === true)

@@ -163,0 +163,0 @@ {

@@ -32,3 +32,3 @@ var apiWorker = require("./worker_param_title.js");

preProcess: preProcess,
postProcess: postProcess,
postProcess: postProcess
};

@@ -32,3 +32,3 @@ var apiWorker = require("./worker_param_title.js");

preProcess: preProcess,
postProcess: postProcess,
postProcess: postProcess
};

@@ -88,3 +88,3 @@ /**

preProcess: preProcess,
postProcess: postProcess,
postProcess: postProcess
};

@@ -32,3 +32,3 @@ var apiWorker = require("./worker_param_title.js");

preProcess: preProcess,
postProcess: postProcess,
postProcess: postProcess
};
{
"name": "apidoc",
"version": "0.2.2",
"version": "0.2.3",
"description": "RESTful web API Documentation Generator",

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

@@ -381,3 +381,20 @@ require.config({

$("article .versions li.version a").on("click", changeVersionCompareTo);
$.urlParam = function(name) {
var results = new RegExp('[\\?&amp;]' + name + '=([^&amp;#]*)').exec(window.location.href);
return (results && results[1]) ? results[1] : null;
};
if($.urlParam("compare"))
{
// URL Paramter ?compare=1 is set.
$("#compareAllWithPredecessor").trigger("click");
if(window.location.hash)
{
var id = window.location.hash;
$('html,body').animate({ scrollTop: parseInt($(id).offset().top) - 18 }, 0);
}
}
/**

@@ -384,0 +401,0 @@ *

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