Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement →
Sign In

typedoc-plugin-replace-in-comments

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typedoc-plugin-replace-in-comments - npm Package Compare versions

Comparing version
3.1.0
to
3.2.0
+6
-1
CHANGELOG.md

@@ -10,2 +10,6 @@ # Changelog

## [3.2.0] - 2022-02-17
### Changes
- Replacements are now also applied to the text of tags in comments
## [3.1.0] - 2021-10-03

@@ -35,3 +39,4 @@ ### Changes

[unreleased]: https://github.com/krisztianb/typedoc-plugin-replace-in-comments/compare/v3.1.0...HEAD
[unreleased]: https://github.com/krisztianb/typedoc-plugin-replace-in-comments/compare/v3.2.0...HEAD
[3.2.0]: https://github.com/krisztianb/typedoc-plugin-replace-in-comments/releases/tag/v3.2.0
[3.1.0]: https://github.com/krisztianb/typedoc-plugin-replace-in-comments/releases/tag/v3.1.0

@@ -38,0 +43,0 @@ [3.0.0]: https://github.com/krisztianb/typedoc-plugin-replace-in-comments/releases/tag/v3.0.0

+2
-3

@@ -60,2 +60,3 @@ "use strict";

reflection.comment.text = this.replaceInComment(reflection.comment.text);
reflection.comment.tags.forEach((t) => (t.text = this.replaceInComment(t.text)));
}

@@ -71,5 +72,3 @@ }

replaceInComment(comment) {
for (const replacement of this.options.replacements) {
comment = comment.replace(replacement.regex, replacement.replace);
}
this.options.replacements.forEach((r) => (comment = comment.replace(r.regex, r.replace)));
return comment;

@@ -76,0 +75,0 @@ }

{
"name": "typedoc-plugin-replace-in-comments",
"version": "3.1.0",
"version": "3.2.0",
"description": "Plugin for TypeDoc that replaces text in comments",

@@ -14,14 +14,13 @@ "author": {

"devDependencies": {
"@types/node": "14.14.27",
"@typescript-eslint/eslint-plugin": "4.31.2",
"@typescript-eslint/parser": "4.31.2",
"eslint": "7.32.0",
"eslint-plugin-jsdoc": "36.1.0",
"eslint-plugin-ordered-imports": "0.5.0",
"eslint-plugin-unicorn": "36.0.0",
"husky": "4.3.8",
"prettier": "2.4.1",
"@types/node": "14.18.1",
"@typescript-eslint/eslint-plugin": "5.12.0",
"@typescript-eslint/parser": "5.12.0",
"eslint": "8.9.0",
"eslint-plugin-jsdoc": "37.9.2",
"eslint-plugin-ordered-imports": "0.6.0",
"eslint-plugin-unicorn": "41.0.0",
"prettier": "2.5.1",
"rimraf": "3.0.2",
"typedoc": "0.22.5",
"typescript": "4.4.3"
"typedoc": "0.22.11",
"typescript": "4.5.5"
},

@@ -35,7 +34,2 @@ "peerDependencies": {

},
"husky": {
"hooks": {
"pre-push": "npm run lint && npm run format"
}
},
"main": "dist/index.js",

@@ -42,0 +36,0 @@ "files": [