Socket
Socket
Sign inDemoInstall

dgeni-packages

Package Overview
Dependencies
Maintainers
4
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dgeni-packages - npm Package Compare versions

Comparing version 0.27.3 to 0.27.4

post-process-html/src/api-doc-types/ApiDoc.ts

8

CHANGELOG.md
# Changelog
# 0.27.4 1 July 2019
# Features
feat(post-process-html): add new post-process-package 9798f22 & aac5e8e8
# Changelog
# 0.27.3 2 April 2019

@@ -4,0 +12,0 @@

8

package.json
{
"name": "dgeni-packages",
"version": "0.27.3",
"version": "0.27.4",
"description": "A collection of dgeni packages for generating documentation from source code",

@@ -10,3 +10,3 @@ "scripts": {

"changelog": "changez -o changes.md",
"build": "tsc -p typescript",
"build": "tsc -p typescript && tsc -p post-process-html",
"prepublish": "git clean -xdf typescript && yarn build",

@@ -57,2 +57,3 @@ "watch": "tsc -p typescript -w"

"nunjucks": "^3.1.6",
"rehype": "^8.0.0",
"semver": "^5.2.0",

@@ -119,4 +120,5 @@ "shelljs": "^0.7.0",

"David Herges <dherges@users.noreply.github.com>",
"Greg Magolan <gmagolan@gmail.com>"
"Greg Magolan <gmagolan@gmail.com>",
"Livio Brunner <livio.brunner.lb1@gmail.com>"
]
}

@@ -367,2 +367,16 @@ # Dgeni Packages

## `post-process-html` Package
This package provides a HTML post process manager powered by [`rehype`](https://github.com/rehypejs/rehype). It uses the rehype processing engine to manipulate the `renderedContent` HTML via rehype "plugins" that work with HTML ASTs (HASTs).
Read more https://github.com/wooorm/rehype
### Processors
* `post-process-html` - Use the rehype processing engine to manipulate the
`renderedContent` HTML via rehype "plugins" that work with HTML ASTs (HASTs).
Each plugin is a factory function that will be called with the "rehype" engine as `this`.
The factory should return a `transform` function that takes a HAST and returns a `boolean` or`undefined`.
The HAST can be mutated by the "transform" function.
If `false` is returned then the processing stops with that plugin.
## `typescript` Package

@@ -369,0 +383,0 @@

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