Socket
Socket
Sign inDemoInstall

frontmatter-markdown-loader

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frontmatter-markdown-loader - npm Package Compare versions

Comparing version 3.6.1-1 to 3.6.1

4

package.json
{
"name": "frontmatter-markdown-loader",
"version": "3.6.1-1",
"version": "3.6.1",
"description": "Webpack loader for Front Matter Markdown file to get front matter attributes, compiled markdown and React/Vue component which renders compiled markdown",

@@ -43,3 +43,3 @@ "main": "index.js",

"@vue/test-utils": "1.1.0",
"jest": "26.5.0",
"jest": "26.5.2",
"node-eval": "2.0.0",

@@ -46,0 +46,0 @@ "react": "16.13.1",

@@ -43,3 +43,3 @@ import { mount, createLocalVue } from "@vue/test-utils";

expect(loaded.html).toBe(
"<h1>Title</h1>\n<p>GOOD <code>BYE</code> FRIEND\nCHEERS</p>\n<pre><code class=\"language-js\">const templateLiteral = `ok`;\nconst multipleLine = true;\nconsole.warn(multipleLine)\n</code></pre>\n"
"<h1>Title</h1>\n<p>GOOD <code>BYE</code> FRIEND\nCHEERS</p>\n<pre><code class=\"language-js\">const templateLiteral = `ok`;\nconst multipleLine = true;\nconsole.warn(multipleLine + &quot;\\n&quot;)\n</code></pre>\n"
);

@@ -89,3 +89,3 @@ });

expect(loaded.html).toBe(
"<h1>Title</h1>\n<p>GOOD <code>BYE</code> FRIEND<br>\nCHEERS</p>\n<pre><code class=\"language-js\">const templateLiteral = `ok`;\nconst multipleLine = true;\nconsole.warn(multipleLine)\n</code></pre>\n"
"<h1>Title</h1>\n<p>GOOD <code>BYE</code> FRIEND<br>\nCHEERS</p>\n<pre><code class=\"language-js\">const templateLiteral = `ok`;\nconst multipleLine = true;\nconsole.warn(multipleLine + &quot;\\n&quot;)\n</code></pre>\n"
)

@@ -106,3 +106,3 @@ });

expect(loaded.html).toBe(
"<h1>Title</h1>\n<p data-paragraph=\"hello\">GOOD <code>BYE</code> FRIEND\nCHEERS</p>\n<pre><code class=\"language-js\">const templateLiteral = `ok`;\nconst multipleLine = true;\nconsole.warn(multipleLine)\n</code></pre>\n"
"<h1>Title</h1>\n<p data-paragraph=\"hello\">GOOD <code>BYE</code> FRIEND\nCHEERS</p>\n<pre><code class=\"language-js\">const templateLiteral = `ok`;\nconst multipleLine = true;\nconsole.warn(multipleLine + &quot;\\n&quot;)\n</code></pre>\n"
);

@@ -116,3 +116,3 @@ });

expect(loaded.body).toBe(
"# Title\n\nGOOD `BYE` FRIEND\nCHEERS\n\n```js\nconst templateLiteral = `ok`;\nconst multipleLine = true;\nconsole.warn(multipleLine)\n```\n"
"# Title\n\nGOOD `BYE` FRIEND\nCHEERS\n\n```js\nconst templateLiteral = `ok`;\nconst multipleLine = true;\nconsole.warn(multipleLine + \"\\n\")\n```\n"
);

@@ -119,0 +119,0 @@ });

@@ -15,3 +15,3 @@ ---

const multipleLine = true;
console.warn(multipleLine)
console.warn(multipleLine + "\n")
```

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