Socket
Socket
Sign inDemoInstall

dmd

Package Overview
Dependencies
Maintainers
0
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dmd - npm Package Compare versions

Comparing version 7.0.0-3 to 7.0.0

25

helpers/ddata.js

@@ -6,3 +6,2 @@ const arrayify = require('array-back')

const objectGet = require('object-get')
const where = require('test-value').where
const state = require('../lib/state')

@@ -404,3 +403,3 @@

function isClassMember (options) {
const parent = arrayify(options.data.root).find(where({ id: this.memberof }))
const parent = arrayify(options.data.root).find(i => i.id === this.memberof)
if (parent) {

@@ -467,11 +466,11 @@ return parent.kind === 'class'

for (const prop in options.hash) {
if (/^-/.test(prop)) {
query[prop.replace(/^-/, '!')] = options.hash[prop]
} else if (/^_/.test(prop)) {
query[prop.replace(/^_/, '')] = new RegExp(options.hash[prop])
} else {
query[prop] = options.hash[prop]
}
query[prop] = options.hash[prop]
}
return arrayify(options.data.root).filter(where(query)).filter(function (doclet) {
return arrayify(options.data.root)
.filter(doclet => {
return Object.keys(query).every(prop => {
return doclet[prop] === query[prop]
})
})
.filter(function (doclet) {
return !doclet.ignore && (state.options.private ? true : doclet.access !== 'private')

@@ -546,3 +545,3 @@ })

function exported (options) {
const exp = arrayify(options.data.root).find(where({ '!kind': 'module', id: this.id }))
const exp = arrayify(options.data.root).find(d => d.kind !== 'module' && d.id === this.id)
return exp || this

@@ -564,3 +563,3 @@ }

function parentObject (options) {
return arrayify(options.data.root).find(where({ id: this.memberof }))
return arrayify(options.data.root).find(d => d.id === this.memberof)
}

@@ -730,3 +729,3 @@

if (this.memberof && this.kind !== 'constructor') {
const parent = arrayify(options.data.root).find(where({ id: this.memberof }))
const parent = arrayify(options.data.root).find(d => d.id === this.memberof)
if (parent) {

@@ -733,0 +732,0 @@ if (this.scope === 'instance') {

{
"name": "dmd",
"author": "Lloyd Brookes <75pound@gmail.com>",
"version": "7.0.0-3",
"version": "7.0.0",
"description": "The default output template for jsdoc-to-markdown",

@@ -38,3 +38,2 @@ "license": "MIT",

"reduce-unique": "^2.0.1",
"test-value": "^3.0.0",
"walk-back": "^5.1.1"

@@ -41,0 +40,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