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

kmdr-ast

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kmdr-ast - npm Package Compare versions

Comparing version 3.7.0 to 3.7.1

6

dist/highlight.js

@@ -21,3 +21,3 @@ "use strict";

source(source, tree, definitions) {
var _a, _b, _c;
var _a, _b, _c, _d, _e, _f;
const nodes = tree.flatten();

@@ -47,3 +47,3 @@ let currentToken = 0;

decoratedStrings.push(this.decorateText("\n", "new_line"));
if (currentToken < nodes.length && nodes[currentToken].type === "\n") {
if (currentToken < nodes.length && ((_d = nodes[currentToken]) === null || _d === void 0 ? void 0 : _d.type) === "\n") {
currentToken += 1;

@@ -58,3 +58,3 @@ }

}
if (nodes[currentToken].type === "raw_text" && nodes[currentToken].text === "") {
if (((_e = nodes[currentToken]) === null || _e === void 0 ? void 0 : _e.type) === "raw_text" && ((_f = nodes[currentToken]) === null || _f === void 0 ? void 0 : _f.text) === "") {
currentToken += 1;

@@ -61,0 +61,0 @@ wordInRange = "";

{
"name": "kmdr-ast",
"version": "3.7.0",
"version": "3.7.1",
"description": "Traverse the AST of an explanation by kmdr",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

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