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

jsdoc

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsdoc - npm Package Compare versions

Comparing version 3.3.0-beta2 to 3.3.0-beta3

CHANGES.md

1

lib/jsdoc/schema.js

@@ -46,3 +46,2 @@ /**

name: {
type: STRING,
optional: true

@@ -49,0 +48,0 @@ },

@@ -285,2 +285,7 @@ // TODO: docs

// property names with unsafe characters must be quoted
if ( !/^[$_a-zA-Z0-9]*$/.test(info.name) ) {
info.name = '"' + String(info.name).replace(/"/g, '\\"') + '"';
}
if ( isAccessor(node) ) {

@@ -287,0 +292,0 @@ info.type = nodeToValue(info.node);

@@ -255,3 +255,3 @@ /**

// otherwise, get the symbol name from the code
else if (e.code && e.code.name) {
else if (e.code && typeof e.code.name !== 'undefined' && e.code.name !== '') {
newDoclet.addTag('name', e.code.name);

@@ -258,0 +258,0 @@ if (!newDoclet.memberof) {

@@ -41,3 +41,3 @@ /*global env: true */

opts = opts || {};
text = text || '';
text = String(typeof text !== 'undefined' ? text : '');

@@ -44,0 +44,0 @@ if ( mustPreserveWhitespace(text, meta) ) {

@@ -324,4 +324,5 @@ /*global env: true */

// handle complex type expressions that may require multiple links
// (but skip anything that looks like an inline tag)
else if (longname && isComplexTypeExpression(longname) && /\{\@.+\}/.test(longname) === false) {
// (but skip anything that looks like an inline tag or HTML tag)
else if (longname && isComplexTypeExpression(longname) && /\{\@.+\}/.test(longname) === false &&
/^<[\s\S]+>/.test(longname) === false) {
parsedType = parseType(longname);

@@ -328,0 +329,0 @@ return stringifyType(parsedType, options.cssClass, options.linkMap);

{
"name": "jsdoc",
"version": "3.3.0-beta2",
"revision": "1425750890875",
"version": "3.3.0-beta3",
"revision": "1426697054695",
"description": "An API documentation generator for JavaScript.",

@@ -6,0 +6,0 @@ "keywords": [

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