You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

apidoc-plugin-schema

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apidoc-plugin-schema - npm Package Compare versions

Comparing version

to
0.0.7

.npmignore

2

package.json
{
"name":"apidoc-plugin-schema",
"version":"0.0.6",
"version":"0.0.7",
"description": "Schema Plugin for apidoc.",

@@ -5,0 +5,0 @@ "copyright": "Copyright (c) 2016 will Farrell. All rights reserved.",

@@ -12,2 +12,3 @@

// TODO change _OR_ to |, requires core fix to allow `Empty parser result.`
// https://github.com/apidoc/apidoc-core/blob/master/lib/parsers/api_param.js
function makeType(param) {

@@ -26,3 +27,3 @@ //console.log(param);

param.type.map(function(type){
str = param.type;
str = type;
if (str === 'array') {

@@ -34,3 +35,3 @@ str = param.items.type+'[]';

return strarr.join('_OR_');
} else {
} else if (param.type) {
str = param.type

@@ -37,0 +38,0 @@ if (str === 'array') {