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

eslint-plugin-markdown

Package Overview
Dependencies
Maintainers
4
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-markdown - npm Package Compare versions

Comparing version 1.0.0-beta.7 to 1.0.0-beta.8

7

CHANGELOG.md

@@ -0,1 +1,8 @@

v1.0.0-beta.8 - April 8, 2018
* a1544c2 Chore: Add .npmrc to disable creating package-lock.json (#90) (Brandon Mills)
* 47ad3f9 Chore: Replace global comment integration test with unit test (refs #81) (#85) (Brandon Mills)
* e34acc6 Fix: Add unicode-bom to unsatisfiable rules (refs #75) (#84) (Brandon Mills)
* 7c19f8b Fix: Support globals (fixes #79) (#81) (Anders D. Johnson)
v1.0.0-beta.7 - July 2, 2017

@@ -2,0 +9,0 @@

7

lib/processor.js

@@ -14,3 +14,4 @@ /**

var UNSATISFIABLE_RULES = [
"eol-last" // The Markdown parser strips trailing newlines in code fences
"eol-last", // The Markdown parser strips trailing newlines in code fences
"unicode-bom" // Code blocks will begin in the middle of Markdown files
];

@@ -51,3 +52,3 @@

var commentEnd = "-->";
var prefix = "eslint";
var regex = /^(eslint\b|global\s)/;

@@ -63,3 +64,3 @@ if (

if (html.trim().slice(0, prefix.length) !== prefix) {
if (!regex.test(html.trim())) {
return "";

@@ -66,0 +67,0 @@ }

{
"name": "eslint-plugin-markdown",
"version": "1.0.0-beta.7",
"version": "1.0.0-beta.8",
"description": "An ESLint plugin to lint JavaScript in Markdown code fences.",

@@ -5,0 +5,0 @@ "license": "MIT",

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