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 1.0.7 to 1.0.8

3

dist/ast.js

@@ -514,3 +514,4 @@ "use strict";

AST.isArgument(part) ||
AST.isRedirect(part)) {
AST.isRedirect(part) ||
AST.isSudo(part)) {
flat = [...flat, part];

@@ -517,0 +518,0 @@ }

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

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

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

AST.isArgument(part) ||
AST.isRedirect(part)
AST.isRedirect(part) ||
AST.isSudo(part)
) {

@@ -695,21 +696,4 @@ flat = [...flat, part];

}
/*
private static flattenRedirectNode(node: RedirectNode): FlatAST {
let flat: FlatAST = [];
for (const part of node.parts) {
if (AST.isCommand(part)) {
const flatCommandNode = AST.flattenCommandNode(part as CommandNode);
flat = [...flat, ...flatCommandNode];
} else if (AST.isPipe(part)) {
flat = [...flat, part];
}
}
return flat;
}
*/
}
export default AST;

Sorry, the diff of this file is not supported yet

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