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

uniorg-slug

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uniorg-slug - npm Package Compare versions

Comparing version 0.1.25 to 0.2.0

2

lib/index.spec.js

@@ -62,5 +62,5 @@ "use strict";

.toString();
expect(s).toMatchInlineSnapshot(`"<div><h1 id=\\"headline\\">headline</h1><h2 id=\\"blah\\">nested headline</h2><h2 id=\\"headline-1\\">headline</h2><p><code class=\\"inline-code\\">id</code> property is ignored.</p></div>"`);
expect(s).toMatchInlineSnapshot(`"<h1 id=\\"headline\\">headline</h1><h2 id=\\"blah\\">nested headline</h2><h2 id=\\"headline-1\\">headline</h2><p><code class=\\"inline-code\\">id</code> property is ignored.</p>"`);
});
});
//# sourceMappingURL=index.spec.js.map
{
"name": "uniorg-slug",
"version": "0.1.25",
"version": "0.2.0",
"description": "uniorg plugin to add `id` attributes to headlines",

@@ -40,3 +40,3 @@ "keywords": [

"github-slugger": "^1.3.0",
"orgast-util-to-string": "^0.1.24",
"orgast-util-to-string": "^0.2.0",
"unist-util-visit": "^2.0.3"

@@ -53,9 +53,9 @@ },

"unified": "^9.2.1",
"uniorg": "^0.1.18",
"uniorg-parse": "^0.1.24",
"uniorg-rehype": "^0.1.25",
"uniorg": "^0.2.0",
"uniorg-parse": "^0.2.0",
"uniorg-rehype": "^0.2.0",
"unist-util-find": "^1.0.2",
"vfile": "^4.2.1"
},
"gitHead": "0e082272b06a388b091a348b6ca3e328e7e74e4b"
"gitHead": "14df2c65072310eb0a1167f89e8a86c5a9630d0b"
}

@@ -44,3 +44,2 @@ # `uniorg-slug`

```
<div>
<h1 id="headline">headline</h1>

@@ -50,3 +49,2 @@ <h2 id="blah">nested headline</h2>

<p><code class="inline-code">id</code> property is ignored.</p>
</div>
```

@@ -53,0 +51,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