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

ast-pretty-print

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ast-pretty-print - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

7

index.js

@@ -134,8 +134,5 @@ // @flow

let printNode = (node /*: Node */, indentation, theme) => {
let loc = printLoc(node.loc, theme);
let res =
theme.node.open +
node.type +
theme.node.close +
' ' +
printLoc(node.loc, theme);
theme.node.open + node.type + theme.node.close + (loc ? ' ' + loc : '');
let keys = Object.keys(node).sort();

@@ -142,0 +139,0 @@

{
"name": "ast-pretty-print",
"version": "1.1.0",
"version": "1.1.1",
"description": "A pretty printer for AST-like structures",

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

@@ -10,14 +10,14 @@ // @flow

end: 31,
loc: {
start: {
line: 1,
column: 0,
},
end: {
line: 1,
column: 31,
},
lines: {},
indent: 0,
},
// loc: {
// start: {
// line: 1,
// column: 0,
// },
// end: {
// line: 1,
// column: 31,
// },
// lines: {},
// indent: 0,
// },
id: {

@@ -24,0 +24,0 @@ type: 'Identifier',

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