From 1dfbbbfb110288f1f6d1f132a5b87ae2ce209198 Mon Sep 17 00:00:00 2001 From: Val Date: Thu, 16 Feb 2023 09:39:11 -0500 Subject: [PATCH] Fix link in deprecation warning (#123) --- CHANGELOG.md | 7 ++++++- permalink.js | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b86850..d579909 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [8.6.7] - 2023-02-16 +* Fix link in deprecation warning. ([#123]) + ## [8.6.6] - 2022-12-18 * `npm audit fix`. ([#121]) @@ -236,7 +239,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [1.0.0] - 2015-03-18 * Initial release. -[Unreleased]: https://github.com/valeriangalliat/markdown-it-anchor/compare/v8.6.6...HEAD +[Unreleased]: https://github.com/valeriangalliat/markdown-it-anchor/compare/v8.6.7...HEAD +[8.6.7]: https://github.com/valeriangalliat/markdown-it-anchor/compare/v8.6.6...v8.6.7 [8.6.6]: https://github.com/valeriangalliat/markdown-it-anchor/compare/v8.6.5...v8.6.6 [8.6.5]: https://github.com/valeriangalliat/markdown-it-anchor/compare/v8.6.4...v8.6.5 [8.6.4]: https://github.com/valeriangalliat/markdown-it-anchor/compare/v8.6.3...v8.6.4 @@ -348,5 +352,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. [#116]: https://github.com/valeriangalliat/markdown-it-anchor/issues/116 [#118]: https://github.com/valeriangalliat/markdown-it-anchor/issues/118 [#121]: https://github.com/valeriangalliat/markdown-it-anchor/pull/121 +[#123]: https://github.com/valeriangalliat/markdown-it-anchor/issues/123 [`6fcc502`]: https://github.com/valeriangalliat/markdown-it-anchor/commit/6fcc50233d593458aa883e5b515cb8311114555c diff --git a/permalink.js b/permalink.js index 0e0d3c0..d8488df 100644 --- a/permalink.js +++ b/permalink.js @@ -13,7 +13,7 @@ const permalinkSymbolMeta = { export function legacy (slug, opts, state, idx) { if (!emittedWarning) { - const warningText = 'Using deprecated markdown-it-anchor permalink option, see https://github.com/valeriangalliat/markdown-it-anchor#todo-anchor-or-file' + const warningText = 'Using deprecated markdown-it-anchor permalink option, see https://github.com/valeriangalliat/markdown-it-anchor#permalinks' if (typeof process === 'object' && process && process.emitWarning) { process.emitWarning(warningText)