-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(deps): bump remark-lint-no-heading-punctuation from 3.1.2 to 4.0.0 #201
Merged
ybiquitous
merged 1 commit into
main
from
dependabot/npm_and_yarn/remark-lint-no-heading-punctuation-4.0.0
May 1, 2024
Merged
feat(deps): bump remark-lint-no-heading-punctuation from 3.1.2 to 4.0.0 #201
ybiquitous
merged 1 commit into
main
from
dependabot/npm_and_yarn/remark-lint-no-heading-punctuation-4.0.0
May 1, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependabot
bot
added
dependencies
Pull requests that update a dependency file
javascript
Pull requests that update Javascript code
labels
May 1, 2024
Diff between remark-lint-no-heading-punctuation 3.1.2 and 4.0.0diff --git a/index.js b/index.js
index v3.1.2..v4.0.0 100644
--- a/index.js
+++ b/index.js
@@ -1,54 +1,91 @@
/**
+ * remark-lint rule to warn when headings end in irregular characters.
+ *
+ * ## What is this?
+ *
+ * This package checks heading text.
+ *
* ## When should I use this?
*
- * You can use this package to check that headings don’t end in punctuation.
+ * You can use this package to check that heading text is consistent.
*
* ## API
*
- * The following options (default: `'\\.,;:!?'`) are accepted:
+ * ### `unified().use(remarkLintNoHeadingPunctuation[, options])`
*
- * * `string` (example `'\\.,;:'`)
- * — disallowed characters, wrapped in `new RegExp('[' + x + ']')`, make sure
- * to double escape regexp characters
- * * `RegExp` (example `/\p{P}/u`)
- * — disallowed pattern
+ * Warn when headings end in irregular characters.
*
+ * ###### Parameters
+ *
+ * * `options` (`RegExp` or `string`, default: `/[!,.:;?]/u`)
+ * — configuration,
+ * when string wrapped in `new RegExp('[' + x + ']', 'u')` so make sure to
+ * escape regexp characters
+ *
+ * ###### Returns
+ *
+ * Transform ([`Transformer` from `unified`][github-unified-transformer]).
+ *
+ * [api-remark-lint-no-heading-punctuation]: #unifieduseremarklintnoheadingpunctuation-options
+ * [github-unified-transformer]: https://github.com/unifiedjs/unified#transformer
+ *
* @module no-heading-punctuation
- * @summary
- * remark-lint rule to warn headings end in certain punctuation.
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
+ *
* @example
* {"name": "ok.md"}
*
- * # Hello
+ * # Mercury
*
* @example
- * {"name": "ok.md", "config": ",;:!?"}
+ * {"label": "input", "name": "not-ok.md"}
*
- * # Hello…
+ * # Mercury:
*
+ * # Venus?
+ *
+ * # Earth!
+ *
+ * # Mars,
+ *
+ * # Jupiter;
* @example
- * {"name": "not-ok.md", "label": "input"}
+ * {"label": "output", "name": "not-ok.md"}
*
- * # Hello:
+ * 1:1-1:11: Unexpected character `:` at end of heading, remove it
+ * 3:1-3:9: Unexpected character `?` at end of heading, remove it
+ * 5:1-5:9: Unexpected character `!` at end of heading, remove it
+ * 7:1-7:8: Unexpected character `,` at end of heading, remove it
+ * 9:1-9:11: Unexpected character `;` at end of heading, remove it
*
- * # Hello?
+ * @example
+ * {"config": ",;:!?", "name": "ok.md"}
*
- * # Hello!
+ * # Mercury…
*
- * # Hello,
+ * @example
+ * {"config": {"source": "[^A-Za-z0-9]"}, "label": "input", "name": "regex.md"}
*
- * # Hello;
+ * # Mercury!
+ * @example
+ * {"config": {"source": "[^A-Za-z0-9]"}, "label": "output", "name": "regex.md"}
*
+ * 1:1-1:11: Unexpected character `!` at end of heading, remove it
+ *
* @example
- * {"name": "not-ok.md", "label": "output"}
+ * {"label": "input", "mdx": true, "name": "example.mdx"}
*
- * 1:1-1:9: Don’t add a trailing `:` to headings
- * 3:1-3:9: Don’t add a trailing `?` to headings
- * 5:1-5:9: Don’t add a trailing `!` to headings
- * 7:1-7:9: Don’t add a trailing `,` to headings
- * 9:1-9:9: Don’t add a trailing `;` to headings
+ * <h1>Mercury?</h1>
+ * @example
+ * {"label": "output", "mdx": true, "name": "example.mdx"}
+ *
+ * 1:1-1:18: Unexpected character `?` at end of heading, remove it
+ *
+ * @example
+ * {"config": 1, "label": "output", "name": "not-ok-options.md", "positionless": true}
+ *
+ * 1:1: Unexpected value `1` for `options`, expected `RegExp` or `string`
*/
@@ -57,14 +94,13 @@
*/
-/**
- * @typedef {string} Options
- * Options.
- */
+/// <reference types="mdast-util-mdx" />
+import {toString} from 'mdast-util-to-string'
import {lintRule} from 'unified-lint-rule'
-import {visit} from 'unist-util-visit'
-import {generated} from 'unist-util-generated'
-import {toString} from 'mdast-util-to-string'
+import {visitParents} from 'unist-util-visit-parents'
+const jsxNameRe = /^h([1-6])$/
+const defaultExpression = /[!,.:;?]/u
+
const remarkLintNoHeadingPunctuation = lintRule(
{
@@ -72,15 +108,48 @@
url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-heading-punctuation#readme'
},
- /** @type {import('unified-lint-rule').Rule<Root, Options>} */
- (tree, file, option = '\\.,;:!?') => {
- const expression = new RegExp('[' + option + ']')
+ /**
+ * @param {Root} tree
+ * Tree.
+ * @param {RegExp | string | null | undefined} [options]
+ * Configuration (default: `/[!,.:;?]/u`),
+ * wrapped in `new RegExp('[' + x + ']', 'u')` so make sure to double escape
+ * regexp characters.
+ * @returns {undefined}
+ * Nothing.
+ */
+ function (tree, file, options) {
+ let expected = defaultExpression
- visit(tree, 'heading', (node) => {
- if (!generated(node)) {
- const value = toString(node)
- const tail = value.charAt(value.length - 1)
+ if (options === null || options === undefined) {
+ // Empty.
+ } else if (typeof options === 'string') {
+ expected = new RegExp('[' + options + ']', 'u')
+ } else if (typeof options === 'object' && 'source' in options) {
+ expected = new RegExp(options.source, options.flags ?? 'u')
+ } else {
+ file.fail(
+ 'Unexpected value `' +
+ options +
+ '` for `options`, expected `RegExp` or `string`'
+ )
+ }
- if (expression.test(tail)) {
- file.message('Don’t add a trailing `' + tail + '` to headings', node)
+ visitParents(tree, function (node, parents) {
+ if (
+ node.position && // Plain markdown.
+ (node.type === 'heading' ||
+ // MDX JSX.
+ ((node.type === 'mdxJsxFlowElement' ||
+ node.type === 'mdxJsxTextElement') &&
+ node.name &&
+ jsxNameRe.test(node.name)))
+ ) {
+ const tail = Array.from(toString(node)).at(-1)
+
+ if (tail && expected.test(tail)) {
+ file.message(
+ 'Unexpected character `' + tail + '` at end of heading, remove it',
+ {ancestors: [...parents, node], place: node.position}
+ )
}
}
diff --git a/package.json b/package.json
index v3.1.2..v4.0.0 100644
--- a/package.json
+++ b/package.json
@@ -1,20 +1,17 @@
{
"name": "remark-lint-no-heading-punctuation",
- "version": "3.1.2",
+ "version": "4.0.0",
"description": "remark-lint rule to warn when headings end in illegal characters",
"license": "MIT",
"keywords": [
+ "character",
+ "heading",
+ "lint",
"remark",
- "lint",
- "rule",
+ "remark-lint",
"remark-lint-rule",
- "heading",
- "character"
+ "rule"
],
- "repository": {
- "type": "git",
- "url": "https://github.com/remarkjs/remark-lint",
- "directory": "packages/remark-lint-no-heading-punctuation"
- },
+ "repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-heading-punctuation",
"bugs": "https://github.com/remarkjs/remark-lint/issues",
"funding": {
@@ -24,29 +21,34 @@
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"contributors": [
- "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
+ "Titus Wormer <tituswormer@gmail.com>"
],
"sideEffects": false,
"type": "module",
- "main": "index.js",
- "types": "index.d.ts",
+ "exports": "./index.js",
"files": [
"index.d.ts",
+ "index.d.ts.map",
"index.js"
],
"dependencies": {
- "@types/mdast": "^3.0.0",
- "mdast-util-to-string": "^3.0.0",
- "unified": "^10.0.0",
- "unified-lint-rule": "^2.0.0",
- "unist-util-generated": "^2.0.0",
- "unist-util-visit": "^4.0.0"
+ "@types/mdast": "^4.0.0",
+ "mdast-util-mdx": "^3.0.0",
+ "mdast-util-to-string": "^4.0.0",
+ "unified-lint-rule": "^3.0.0",
+ "unist-util-visit-parents": "^6.0.0"
},
"scripts": {},
- "xo": false,
"typeCoverage": {
"atLeast": 100,
"detail": true,
- "strict": true,
- "ignoreCatch": true
+ "ignoreCatch": true,
+ "strict": true
+ },
+ "xo": {
+ "prettier": true,
+ "rules": {
+ "capitalized-comments": "off",
+ "unicorn/prefer-at": "off"
+ }
}
}
diff --git a/readme.md b/readme.md
index v3.1.2..v4.0.0 100644
--- a/readme.md
+++ b/readme.md
@@ -3,43 +3,41 @@
# remark-lint-no-heading-punctuation
-[![Build][build-badge]][build]
-[![Coverage][coverage-badge]][coverage]
-[![Downloads][downloads-badge]][downloads]
-[![Size][size-badge]][size]
-[![Sponsors][sponsors-badge]][collective]
-[![Backers][backers-badge]][collective]
-[![Chat][chat-badge]][chat]
+[![Build][badge-build-image]][badge-build-url]
+[![Coverage][badge-coverage-image]][badge-coverage-url]
+[![Downloads][badge-downloads-image]][badge-downloads-url]
+[![Size][badge-size-image]][badge-size-url]
+[![Sponsors][badge-funding-sponsors-image]][badge-funding-url]
+[![Backers][badge-funding-backers-image]][badge-funding-url]
+[![Chat][badge-chat-image]][badge-chat-url]
-[`remark-lint`][mono] rule to warn headings end in certain punctuation.
+[`remark-lint`][github-remark-lint] rule to warn when headings end in irregular characters.
## Contents
-* [What is this?](#what-is-this)
-* [When should I use this?](#when-should-i-use-this)
-* [Presets](#presets)
-* [Install](#install)
-* [Use](#use)
-* [API](#api)
- * [`unified().use(remarkLintNoHeadingPunctuation[, config])`](#unifieduseremarklintnoheadingpunctuation-config)
-* [Examples](#examples)
-* [Compatibility](#compatibility)
-* [Contribute](#contribute)
-* [License](#license)
+* [What is this?](#what-is-this)
+* [When should I use this?](#when-should-i-use-this)
+* [Presets](#presets)
+* [Install](#install)
+* [Use](#use)
+* [API](#api)
+ * [`unified().use(remarkLintNoHeadingPunctuation[, options])`](#unifieduseremarklintnoheadingpunctuation-options)
+* [Examples](#examples)
+* [Compatibility](#compatibility)
+* [Contribute](#contribute)
+* [License](#license)
## What is this?
-This package is a [unified][] ([remark][]) plugin, specifically a `remark-lint`
-rule.
-Lint rules check markdown code style.
+This package checks heading text.
## When should I use this?
-You can use this package to check that headings don’t end in punctuation.
+You can use this package to check that heading text is consistent.
## Presets
-This rule is included in the following presets:
+This plugin is included in the following presets:
-| Preset | Setting |
+| Preset | Options |
| - | - |
| [`remark-preset-lint-markdown-style-guide`](https://github.com/remarkjs/remark-lint/tree/main/packages/remark-preset-lint-markdown-style-guide) | `':.'` |
@@ -47,6 +45,7 @@
## Install
-This package is [ESM only][esm].
-In Node.js (version 12.20+, 14.14+, or 16.0+), install with [npm][]:
+This package is [ESM only][github-gist-esm].
+In Node.js (version 16+),
+install with [npm][npm-install]:
```sh
@@ -54,15 +53,15 @@
```
-In Deno with [`esm.sh`][esmsh]:
+In Deno with [`esm.sh`][esm-sh]:
```js
-import remarkLintNoHeadingPunctuation from 'https://esm.sh/remark-lint-no-heading-punctuation@3'
+import remarkLintNoHeadingPunctuation from 'https://esm.sh/remark-lint-no-heading-punctuation@4'
```
-In browsers with [`esm.sh`][esmsh]:
+In browsers with [`esm.sh`][esm-sh]:
```html
<script type="module">
- import remarkLintNoHeadingPunctuation from 'https://esm.sh/remark-lint-no-heading-punctuation@3?bundle'
+ import remarkLintNoHeadingPunctuation from 'https://esm.sh/remark-lint-no-heading-punctuation@4?bundle'
</script>
```
@@ -73,20 +72,22 @@
```js
+import remarkLint from 'remark-lint'
+import remarkLintNoHeadingPunctuation from 'remark-lint-no-heading-punctuation'
+import remarkParse from 'remark-parse'
+import remarkStringify from 'remark-stringify'
import {read} from 'to-vfile'
+import {unified} from 'unified'
import {reporter} from 'vfile-reporter'
-import {remark} from 'remark'
-import remarkLint from 'remark-lint'
-import remarkLintNoHeadingPunctuation from 'remark-lint-no-heading-punctuation'
-main()
+const file = await read('example.md')
-async function main() {
- const file = await remark()
- .use(remarkLint)
- .use(remarkLintNoHeadingPunctuation)
- .process(await read('example.md'))
+await unified()
+ .use(remarkParse)
+ .use(remarkLint)
+ .use(remarkLintNoHeadingPunctuation)
+ .use(remarkStringify)
+ .process(file)
- console.error(reporter(file))
-}
+console.error(reporter(file))
```
@@ -94,5 +95,5 @@
```sh
-remark --use remark-lint --use remark-lint-no-heading-punctuation example.md
+remark --frail --use remark-lint --use remark-lint-no-heading-punctuation .
```
@@ -115,19 +116,23 @@
This package exports no identifiers.
-The default export is `remarkLintNoHeadingPunctuation`.
+It exports no additional [TypeScript][typescript] types.
+The default export is
+[`remarkLintNoHeadingPunctuation`][api-remark-lint-no-heading-punctuation].
-### `unified().use(remarkLintNoHeadingPunctuation[, config])`
+### `unified().use(remarkLintNoHeadingPunctuation[, options])`
-This rule supports standard configuration that all remark lint rules accept
-(such as `false` to turn it off or `[1, options]` to configure it).
+Warn when headings end in irregular characters.
-The following options (default: `'\\.,;:!?'`) are accepted:
+###### Parameters
-* `string` (example `'\\.,;:'`)
- — disallowed characters, wrapped in `new RegExp('[' + x + ']')`, make sure
- to double escape regexp characters
-* `RegExp` (example `/\p{P}/u`)
- — disallowed pattern
+* `options` (`RegExp` or `string`, default: `/[!,.:;?]/u`)
+ — configuration,
+ when string wrapped in `new RegExp('[' + x + ']', 'u')` so make sure to
+ escape regexp characters
+###### Returns
+
+Transform ([`Transformer` from `unified`][github-unified-transformer]).
+
## Examples
@@ -137,5 +142,5 @@
```markdown
-# Hello
+# Mercury
```
@@ -149,13 +154,13 @@
```markdown
-# Hello:
+# Mercury:
-# Hello?
+# Venus?
-# Hello!
+# Earth!
-# Hello,
+# Mars,
-# Hello;
+# Jupiter;
```
@@ -163,9 +168,9 @@
```text
-1:1-1:9: Don’t add a trailing `:` to headings
-3:1-3:9: Don’t add a trailing `?` to headings
-5:1-5:9: Don’t add a trailing `!` to headings
-7:1-7:9: Don’t add a trailing `,` to headings
-9:1-9:9: Don’t add a trailing `;` to headings
+1:1-1:11: Unexpected character `:` at end of heading, remove it
+3:1-3:9: Unexpected character `?` at end of heading, remove it
+5:1-5:9: Unexpected character `!` at end of heading, remove it
+7:1-7:8: Unexpected character `,` at end of heading, remove it
+9:1-9:11: Unexpected character `;` at end of heading, remove it
```
@@ -177,5 +182,5 @@
```markdown
-# Hello…
+# Mercury…
```
@@ -184,18 +189,65 @@
No messages.
+##### `regex.md`
+
+When configured with `{ source: '[^A-Za-z0-9]' }`.
+
+###### In
+
+```markdown
+# Mercury!
+```
+
+###### Out
+
+```text
+1:1-1:11: Unexpected character `!` at end of heading, remove it
+```
+
+##### `example.mdx`
+
+###### In
+
+> 👉 **Note**: this example uses
+> MDX ([`remark-mdx`][github-remark-mdx]).
+
+```mdx
+<h1>Mercury?</h1>
+```
+
+###### Out
+
+```text
+1:1-1:18: Unexpected character `?` at end of heading, remove it
+```
+
+##### `not-ok-options.md`
+
+When configured with `1`.
+
+###### Out
+
+```text
+1:1: Unexpected value `1` for `options`, expected `RegExp` or `string`
+```
+
## Compatibility
-Projects maintained by the unified collective are compatible with all maintained
+Projects maintained by the unified collective are compatible with maintained
versions of Node.js.
-As of now, that is Node.js 12.20+, 14.14+, and 16.0+.
-Our projects sometimes work with older versions, but this is not guaranteed.
+When we cut a new major release, we drop support for unmaintained versions of
+Node.
+This means we try to keep the current release line,
+`remark-lint-no-heading-punctuation@4`,
+compatible with Node.js 16.
+
## Contribute
-See [`contributing.md`][contributing] in [`remarkjs/.github`][health] for ways
+See [`contributing.md`][github-dotfiles-contributing] in [`remarkjs/.github`][github-dotfiles-health] for ways
to get started.
-See [`support.md`][support] for ways to get help.
+See [`support.md`][github-dotfiles-support] for ways to get help.
-This project has a [code of conduct][coc].
+This project has a [code of conduct][github-dotfiles-coc].
By interacting with this repository, organization, or community you agree to
abide by its terms.
@@ -203,53 +255,57 @@
## License
-[MIT][license] © [Titus Wormer][author]
+[MIT][file-license] © [Titus Wormer][author]
-[build-badge]: https://github.com/remarkjs/remark-lint/workflows/main/badge.svg
+[api-remark-lint-no-heading-punctuation]: #unifieduseremarklintnoheadingpunctuation-options
-[build]: https://github.com/remarkjs/remark-lint/actions
+[author]: https://wooorm.com
-[coverage-badge]: https://img.shields.io/codecov/c/github/remarkjs/remark-lint.svg
+[badge-build-image]: https://github.com/remarkjs/remark-lint/workflows/main/badge.svg
-[coverage]: https://codecov.io/github/remarkjs/remark-lint
+[badge-build-url]: https://github.com/remarkjs/remark-lint/actions
-[downloads-badge]: https://img.shields.io/npm/dm/remark-lint-no-heading-punctuation.svg
+[badge-chat-image]: https://img.shields.io/badge/chat-discussions-success.svg
-[downloads]: https://www.npmjs.com/package/remark-lint-no-heading-punctuation
+[badge-chat-url]: https://github.com/remarkjs/remark/discussions
-[size-badge]: https://img.shields.io/bundlephobia/minzip/remark-lint-no-heading-punctuation.svg
+[badge-coverage-image]: https://img.shields.io/codecov/c/github/remarkjs/remark-lint.svg
-[size]: https://bundlephobia.com/result?p=remark-lint-no-heading-punctuation
+[badge-coverage-url]: https://codecov.io/github/remarkjs/remark-lint
-[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
+[badge-downloads-image]: https://img.shields.io/npm/dm/remark-lint-no-heading-punctuation.svg
-[backers-badge]: https://opencollective.com/unified/backers/badge.svg
+[badge-downloads-url]: https://www.npmjs.com/package/remark-lint-no-heading-punctuation
-[collective]: https://opencollective.com/unified
+[badge-funding-backers-image]: https://opencollective.com/unified/backers/badge.svg
-[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg
+[badge-funding-sponsors-image]: https://opencollective.com/unified/sponsors/badge.svg
-[chat]: https://github.com/remarkjs/remark/discussions
+[badge-funding-url]: https://opencollective.com/unified
-[unified]: https://github.com/unifiedjs/unified
+[badge-size-image]: https://img.shields.io/bundlejs/size/remark-lint-no-heading-punctuation
-[remark]: https://github.com/remarkjs/remark
+[badge-size-url]: https://bundlejs.com/?q=remark-lint-no-heading-punctuation
-[mono]: https://github.com/remarkjs/remark-lint
+[esm-sh]: https://esm.sh
-[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
+[file-license]: https://github.com/remarkjs/remark-lint/blob/main/license
-[esmsh]: https://esm.sh
+[github-dotfiles-coc]: https://github.com/remarkjs/.github/blob/main/code-of-conduct.md
-[npm]: https://docs.npmjs.com/cli/install
+[github-dotfiles-contributing]: https://github.com/remarkjs/.github/blob/main/contributing.md
-[health]: https://github.com/remarkjs/.github
+[github-dotfiles-health]: https://github.com/remarkjs/.github
-[contributing]: https://github.com/remarkjs/.github/blob/main/contributing.md
+[github-dotfiles-support]: https://github.com/remarkjs/.github/blob/main/support.md
-[support]: https://github.com/remarkjs/.github/blob/main/support.md
+[github-gist-esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
-[coc]: https://github.com/remarkjs/.github/blob/main/code-of-conduct.md
+[github-remark-lint]: https://github.com/remarkjs/remark-lint
-[license]: https://github.com/remarkjs/remark-lint/blob/main/license
+[github-remark-mdx]: https://mdxjs.com/packages/remark-mdx/
-[author]: https://wooorm.com
+[github-unified-transformer]: https://github.com/unifiedjs/unified#transformer
+
+[npm-install]: https://docs.npmjs.com/cli/install
+
+[typescript]: https://www.typescriptlang.org
diff --git a/index.d.ts b/index.d.ts
index v3.1.2..v4.0.0 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -1,23 +1,7 @@
-export default remarkLintNoHeadingPunctuation
-export type Root = import('mdast').Root
-/**
- * Options.
- */
-export type Options = string
-declare const remarkLintNoHeadingPunctuation: import('unified').Plugin<
- | void[]
- | [
- | string
- | [
- (
- | boolean
- | import('unified-lint-rule/lib/index.js').Label
- | import('unified-lint-rule/lib/index.js').Severity
- ),
- (string | undefined)?
- ]
- | undefined
- ],
- import('mdast').Root,
- import('mdast').Root
->
+export default remarkLintNoHeadingPunctuation;
+export type Root = import('mdast').Root;
+declare const remarkLintNoHeadingPunctuation: {
+ (config?: string | 0 | RegExp | 1 | 2 | [level: import("../../node_modules/unified-lint-rule/lib/index.js").Label | import("../../node_modules/unified-lint-rule/lib/index.js").Severity, option?: string | RegExp | null | undefined] | null | undefined): ((tree: import("mdast").Root, file: import("vfile").VFile, next: import("unified").TransformCallback<import("mdast").Root>) => undefined) | undefined;
+ readonly name: string;
+};
+//# sourceMappingURL=index.d.ts.map
\ No newline at end of file
diff --git a/index.d.ts.map b/index.d.ts.map
new file mode 100644
index v3.1.2..v4.0.0
--- a/index.d.ts.map
+++ b/index.d.ts.map
@@ -0,0 +1,1 @@
+{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":";mBA4Fa,OAAO,OAAO,EAAE,IAAI;AAYjC;;;EAqDC"}
\ No newline at end of file
Command detailsnpm diff --diff=remark-lint-no-heading-punctuation@3.1.2 --diff=remark-lint-no-heading-punctuation@4.0.0 --diff-unified=2 See also the Reported by ybiquitous/npm-diff-action@v1.5.0 (Node.js 20.12.2 and npm 10.7.0) |
dependabot
bot
force-pushed
the
dependabot/npm_and_yarn/remark-lint-no-heading-punctuation-4.0.0
branch
2 times, most recently
from
May 1, 2024 16:12
77385c4
to
f3a96ec
Compare
ybiquitous
changed the title
build(deps): bump remark-lint-no-heading-punctuation from 3.1.2 to 4.0.0
feat(deps): bump remark-lint-no-heading-punctuation from 3.1.2 to 4.0.0
May 1, 2024
dependabot
bot
force-pushed
the
dependabot/npm_and_yarn/remark-lint-no-heading-punctuation-4.0.0
branch
3 times, most recently
from
May 1, 2024 16:18
4521dfc
to
56c425f
Compare
ybiquitous
approved these changes
May 1, 2024
dependabot
bot
force-pushed
the
dependabot/npm_and_yarn/remark-lint-no-heading-punctuation-4.0.0
branch
2 times, most recently
from
May 1, 2024 16:23
02a703a
to
6631a54
Compare
@dependabot rebase |
dependabot
bot
force-pushed
the
dependabot/npm_and_yarn/remark-lint-no-heading-punctuation-4.0.0
branch
6 times, most recently
from
May 1, 2024 16:32
45d3461
to
7705503
Compare
Bumps [remark-lint-no-heading-punctuation](https://github.com/remarkjs/remark-lint) from 3.1.2 to 4.0.0. - [Release notes](https://github.com/remarkjs/remark-lint/releases) - [Changelog](https://github.com/remarkjs/remark-lint/blob/4.0.0/history.md) - [Commits](https://github.com/remarkjs/remark-lint/commits/4.0.0) --- updated-dependencies: - dependency-name: remark-lint-no-heading-punctuation dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
bot
force-pushed
the
dependabot/npm_and_yarn/remark-lint-no-heading-punctuation-4.0.0
branch
from
May 1, 2024 16:33
7705503
to
95620fc
Compare
ybiquitous
deleted the
dependabot/npm_and_yarn/remark-lint-no-heading-punctuation-4.0.0
branch
May 1, 2024 16:34
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dependencies
Pull requests that update a dependency file
javascript
Pull requests that update Javascript code
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps remark-lint-no-heading-punctuation from 3.1.2 to 4.0.0.
Release notes
Sourced from remark-lint-no-heading-punctuation's releases.
Changelog
Sourced from remark-lint-no-heading-punctuation's changelog.
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)