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

eslint-plugin-markdown

Package Overview
Dependencies
Maintainers
3
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.1 to 1.0.2

6

CHANGELOG.md

@@ -0,1 +1,7 @@

v1.0.2 - February 24, 2020
* [`52e0984`](https://github.com/eslint/eslint-plugin-markdown/commit/52e098483fdf958a8dce96ab66c52b4337d522fe) Upgrade: Update devDeps and change istanbul -> nyc (#130) (Brett Zamir)
* [`d52988f`](https://github.com/eslint/eslint-plugin-markdown/commit/d52988f5efcacb16862c79c1857e9b912cf3ffb0) Chore: Remove call to lint absent `Makefile.js` (#129) (Brett Zamir)
* [`5640ea6`](https://github.com/eslint/eslint-plugin-markdown/commit/5640ea65730abab5c9c97d77b5708f3499ec62f3) Fix: Apply base indent to multiple line breaks (fixes #127) (#128) (Brett Zamir)
v1.0.1 - October 21, 2019

@@ -2,0 +8,0 @@

2

index.js

@@ -8,2 +8,4 @@ /**

// https://github.com/mysticatea/eslint-plugin-node/issues/193
// eslint-disable-next-line node/no-unpublished-require
module.exports = require("./lib");

4

lib/processor.js

@@ -276,3 +276,3 @@ /**

* @param {Message} message A message from ESLint.
* @returns {Message} The same message, but adjusted ot the correct location.
* @returns {Message} The same message, but adjusted to the correct location.
*/

@@ -312,3 +312,3 @@ return function adjustMessage(message) {

}),
text: message.fix.text.replace("\n", `\n${block.baseIndentText}`)
text: message.fix.text.replace(/\n/g, `\n${block.baseIndentText}`)
};

@@ -315,0 +315,0 @@ }

{
"name": "eslint-plugin-markdown",
"version": "1.0.1",
"version": "1.0.2",
"description": "An ESLint plugin to lint JavaScript in Markdown code fences.",

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

"scripts": {
"lint": "eslint Makefile.js lib/**/*.js tests/lib/plugin.js",
"lint": "eslint .",
"test": "npm run lint && npm run test-cov",
"test-cov": "istanbul cover _mocha -- -c tests/lib/**/*.js",
"test-cov": "nyc _mocha -- -c tests/lib/**/*.js",
"generate-release": "eslint-generate-release",

@@ -40,9 +40,9 @@ "generate-alpharelease": "eslint-generate-prerelease alpha",

"devDependencies": {
"chai": "^3.0.0",
"eslint": "^4.19.1",
"chai": "^4.2.0",
"eslint": "^5.16.0",
"eslint-config-eslint": "^5.0.1",
"eslint-plugin-node": "^6.0.1",
"eslint-release": "^1.0.0",
"istanbul": "^0.4.5",
"mocha": "^2.2.5"
"eslint-release": "^1.2.0",
"mocha": "^6.2.2",
"nyc": "^14.1.1"
},

@@ -49,0 +49,0 @@ "dependencies": {

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