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

@moonbit/markdown-linter

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moonbit/markdown-linter - npm Package Compare versions

Comparing version 0.1.14 to 0.1.15

.test/main.mbt

2

markdown-linter.js

@@ -122,3 +122,2 @@ #!/usr/bin/env node

});
console.log(sourceMap);
// map location to real location in markdown

@@ -130,3 +129,2 @@ function getRealLine(sourceMap, line) {

var m = Math.floor((l + r) / 2);
console.log("m:", m, "len:", sourceMap.length, "item:", sourceMap[m]);
var currentLine = sourceMap[m].generatedLine;

@@ -133,0 +131,0 @@ if (currentLine > line)

@@ -151,4 +151,2 @@ #!/usr/bin/env node

console.log(sourceMap)
// map location to real location in markdown

@@ -159,3 +157,2 @@ function getRealLine(sourceMap : Array<LocationMapping>, line : number) {

var m = Math.floor((l + r) / 2);
console.log("m:", m, "len:", sourceMap.length, "item:", sourceMap[m])
const currentLine = sourceMap[m].generatedLine;

@@ -162,0 +159,0 @@ if (currentLine > line) return find(line, l, m - 1);

{
"name": "@moonbit/markdown-linter",
"version": "0.1.14",
"version": "0.1.15",
"description": "markdown linter for MoonBit",

@@ -5,0 +5,0 @@ "main": "./markdown-linter.js",

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