frontmatter-markdown-loader
Advanced tools
Comparing version 3.6.1-1 to 3.6.1
{ | ||
"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 + "\\n")\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 + "\\n")\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 + "\\n")\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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
53997
0