@moonbit/markdown-linter
Advanced tools
Comparing version 0.1.14 to 0.1.15
@@ -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", |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 5 instances 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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
50974
16
363
5