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

apidoc-core

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apidoc-core - npm Package Compare versions

Comparing version 0.4.2 to 0.5.0

lib/languages/ex.js

4

lib/index.js

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

excludeFilters: [],
includeFilters: [ '.*\\.(clj|coffee|cs|dart|erl|go|java|js|litcoffee|php?|py|rb|scala|ts|pm)$' ],
includeFilters: [ '.*\\.(clj|coffee|cs|dart|erl|exs?|go|groovy|java|js|litcoffee|php?|py|rb|scala|ts|pm)$' ],

@@ -50,2 +50,4 @@ src: path.join(__dirname, '../example/'),

'.erl' : './languages/erl.js',
'.ex' : './languages/ex.js',
'.exs' : './languages/ex.js',
'.litcoffee' : './languages/coffee.js',

@@ -52,0 +54,0 @@ '.pm' : './languages/pm.js',

@@ -6,5 +6,5 @@ /**

// find document blocks between '=begin' and '=end'
docBlocksRegExp: /\=begin\uffff?(.+?)\uffff?(?:\s*)?\=end/g,
// remove not needed tabs at the beginning
inlineRegExp: /^(\t*)?/gm
docBlocksRegExp: /#\*\*\uffff?(.+?)\uffff?(?:\s*)?#\*|=begin\uffff?(.+?)\uffff?(?:\s*)?=end/g,
// remove not needed ' # ' and tabs at the beginning
inlineRegExp: /^(\s*)?(#)[ ]?/gm
};

@@ -39,3 +39,4 @@ var trim = require('../utils/trim');

b: '(\\[?\\s*', // 5 optional optional-marker
name: '([a-zA-Z0-9\\.\\/\\\\_-]+)', // 6
name: '([a-zA-Z0-9\\:\\.\\/\\\\_-]+', // 6
withArray: '(?:\\[[a-zA-Z0-9\\.\\/\\\\_-]*\\])?)', // https://github.com/apidoc/apidoc-core/pull/4
oDefaultValue: { // optional defaultValue

@@ -42,0 +43,0 @@ b: '(?:\\s*=\\s*(?:', // starting with '=', optional surrounding spaces

{
"name": "apidoc-core",
"version": "0.4.2",
"version": "0.5.0",
"description": "Core parser library to generate apidoc result following the apidoc-spec",

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

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