Socket
Socket
Sign inDemoInstall

dmd

Package Overview
Dependencies
Maintainers
1
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 6.2.0 to 6.2.1

13

index.js

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

const dmdVersion = require('./package').version
const fastGlob = require('fast-glob')

@@ -56,4 +57,4 @@ /**

function registerPartials (paths) {
const fileSet = new FileSet(paths)
fileSet.files.forEach(function (file) {
const files = fastGlob.globSync(paths, { onlyFiles: true })
for (const file of files) {
handlebars.registerPartial(

@@ -63,10 +64,10 @@ path.basename(file, '.hbs'),

)
})
}
}
function registerHelpers (helpers) {
const fileSet = new FileSet(helpers)
fileSet.files.forEach(function (file) {
const files = fastGlob.globSync(helpers, { onlyFiles: true })
for (const file of files) {
handlebars.registerHelper(require(path.resolve(process.cwd(), file)))
})
}
}

@@ -73,0 +74,0 @@

{
"name": "dmd",
"author": "Lloyd Brookes <75pound@gmail.com>",
"version": "6.2.0",
"version": "6.2.1",
"description": "The default output template for jsdoc-to-markdown",
"license": "MIT",
"repository": "https://github.com/jsdoc2md/dmd",
"repository": {
"type": "git",
"url": "git+https://github.com/jsdoc2md/dmd.git"
},
"keywords": [

@@ -17,4 +20,4 @@ "documentation",

"index.js",
"helpers/*.js",
"lib/*.js",
"helpers",
"lib",
"partials"

@@ -29,5 +32,5 @@ ],

"common-sequence": "^2.0.2",
"file-set": "^4.0.2",
"handlebars": "^4.7.7",
"marked": "^4.2.3",
"fast-glob": "^3.3.2",
"handlebars": "^4.7.8",
"marked": "^4.3.0",
"object-get": "^2.1.1",

@@ -34,0 +37,0 @@ "reduce-flatten": "^3.0.1",

@@ -49,4 +49,4 @@ [![view on npm](https://badgen.net/npm/v/dmd)](https://www.npmjs.org/package/dmd)

&copy; 2014-23 Lloyd Brookes \<75pound@gmail.com\>.
&copy; 2014-24 Lloyd Brookes \<75pound@gmail.com\>.
Tested by [test-runner](https://github.com/test-runner-js/test-runner). Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).

Sorry, the diff of this file is not supported yet

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