Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

remark-lint-strong-marker

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-lint-strong-marker - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

24

index.d.ts
export default remarkLintStrongMarker
export type Root = import('mdast').Root
/**
* Styles.
*/
export type Marker = '*' | '_'
/**
* Options.
*/
export type Options = 'consistent' | Marker

@@ -9,13 +15,11 @@ declare const remarkLintStrongMarker: import('unified').Plugin<

| Options
| import('unified-lint-rule').Label
| import('unified-lint-rule').Severity
| [
(
| boolean
| import('unified-lint-rule/lib/index.js').Label
| import('unified-lint-rule/lib/index.js').Severity
),
(Options | undefined)?
]
| undefined
]
| [
(
| boolean
| import('unified-lint-rule').Label
| import('unified-lint-rule').Severity
),
Options | undefined
],

@@ -22,0 +26,0 @@ import('mdast').Root,

@@ -53,3 +53,3 @@ /**

* @example
* {"name": "ok.md", "setting": "*"}
* {"name": "ok.md", "config": "*"}
*

@@ -59,3 +59,3 @@ * **foo**.

* @example
* {"name": "ok.md", "setting": "_"}
* {"name": "ok.md", "config": "_"}
*

@@ -75,3 +75,3 @@ * __foo__.

* @example
* {"name": "not-ok.md", "label": "output", "setting": "💩", "positionless": true}
* {"name": "not-ok.md", "label": "output", "config": "💩", "positionless": true}
*

@@ -83,6 +83,11 @@ * 1:1: Incorrect strong marker `💩`: use either `'consistent'`, `'*'`, or `'_'`

* @typedef {import('mdast').Root} Root
* @typedef {'*'|'_'} Marker
* @typedef {'consistent'|Marker} Options
*/
/**
* @typedef {'*' | '_'} Marker
* Styles.
* @typedef {'consistent' | Marker} Options
* Options.
*/
import {lintRule} from 'unified-lint-rule'

@@ -89,0 +94,0 @@ import {visit} from 'unist-util-visit'

{
"name": "remark-lint-strong-marker",
"version": "3.1.1",
"version": "3.1.2",
"description": "remark-lint rule to warn when importance (strong) markers violate the given style",

@@ -44,5 +44,3 @@ "license": "MIT",

},
"scripts": {
"build": "rimraf \"*.d.ts\" && tsc && type-coverage"
},
"scripts": {},
"xo": false,

@@ -49,0 +47,0 @@ "typeCoverage": {

@@ -59,13 +59,13 @@ <!--This file is generated-->

In Deno with [Skypack][]:
In Deno with [`esm.sh`][esmsh]:
```js
import remarkLintStrongMarker from 'https://cdn.skypack.dev/remark-lint-strong-marker@3?dts'
import remarkLintStrongMarker from 'https://esm.sh/remark-lint-strong-marker@3'
```
In browsers with [Skypack][]:
In browsers with [`esm.sh`][esmsh]:
```html
<script type="module">
import remarkLintStrongMarker from 'https://cdn.skypack.dev/remark-lint-strong-marker@3?min'
import remarkLintStrongMarker from 'https://esm.sh/remark-lint-strong-marker@3?bundle'
</script>

@@ -289,3 +289,3 @@ ```

[skypack]: https://www.skypack.dev
[esmsh]: https://esm.sh

@@ -292,0 +292,0 @@ [npm]: https://docs.npmjs.com/cli/install

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