New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

builddocs

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

builddocs - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "builddocs",
"version": "1.0.3",
"version": "1.0.4",
"description": "Build documentation files from commented source code",

@@ -5,0 +5,0 @@ "main": "src/builddocs.js",

@@ -92,2 +92,3 @@ module.exports = {

BeforeLoadEvent: "https://developer.mozilla.org/en/docs/DOM/window",
ClipboardEvent: "https://developer.mozilla.org/en-US/docs/Web/API/ClipboardEvent",
WebSocket: "https://developer.mozilla.org/en/docs/WebSockets",

@@ -94,0 +95,0 @@ Worker: "https://developer.mozilla.org/en/docs/DOM/Worker",

<<in {item, name}>>
### <<if item.abstract>>abstract <</if>><<h item.kind == "typealias" ? "type" : item.kind>> <<h name>>
<<if item.typeParams>>`<<typeparams item>><</if>>
<<if item.typeParams>>`<<typeparams item>>`<</if>>
<<if item.extends>> extends <<type item.extends>><</if>>␤␤

@@ -6,0 +6,0 @@ <<for impl item.implements || []

@@ -7,3 +7,3 @@ <<in {item, name, static, abstract, depth=0}>>

<<else>>
**`<<h name>>`**<<if item.type>>`: <<type item>>`<</if>>
**`<<h name>>`**`<<if item.optional>>?<</if>><<if item.type>>: <<type item>><</if>>`
<</if>>

@@ -19,9 +19,13 @@ <<for sig item.signatures?.slice(1) || []>>

<</for>>
<<for param item.params || []>>
<<if hasDescription(param)>>
<<define {item: param, name: param.name, depth: depth + 3}>>
<<for params (item.signatures || []).map(s => s.params.concat(item.typeParams || [])).concat([item.typeParams || []])>>
<<for param params>>
<<if hasDescription(param)>>
<<define {item: param, name: param.name, depth: depth + 3}>>
<</if>>
<</for>>
<</for>>
<<for sig (item.signatures || [])>>
<<if sig.returns && hasDescription(sig.returns)>>
<<define {item: sig.returns, name: "returns", depth: depth + 3}>>
<</if>>
<</for>>
<<if item.returns && hasDescription(item.returns)>>
<<define {item: item.returns, name: "returns", depth: depth + 3}>>
<</if>>
<</for>>
<<typeparams $in>>
(<<for param $in.params || []>>
<<if $i>>, <</if>><<if param.rest>>...<</if>>
<<if param.name>><<h param.name>>: <</if>>
<<if param.name>><<h param.name>><<if param.optional>>?<</if>>: <</if>>
<<type param>>

@@ -6,0 +6,0 @@ <<if param.default>> = <<h param.default>><</if>>

@@ -10,3 +10,2 @@ <<do

<<if $in.optional>>?<</if>>
<<if $in.type == "Function">>

@@ -13,0 +12,0 @@ fn<<fntype $in.signatures[0]>>

@@ -7,3 +7,3 @@ <<if $in.typeParams>>

<<if tp.default>> = <<t tp.default>><</if>>
<</for>>
<</for>>>
<</if>>
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