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

recast

Package Overview
Dependencies
Maintainers
1
Versions
266
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

recast - npm Package Compare versions

Comparing version 0.4.12 to 0.4.13

6

lib/comments.js

@@ -58,2 +58,3 @@ var assert = require("assert");

addComment(previousNode, comment);
comment.trailing = true;
});

@@ -94,2 +95,3 @@

addComment(previousNode, comment);
comment.trailing = true;

@@ -176,3 +178,5 @@ } else {

if (lines instanceof Lines) {
// When we move trailing comments before the node to become leading
// comments, we don't want to bring any trailing spaces along.
if (!comment.trailing && lines instanceof Lines) {
var trailingSpace = lines.slice(

@@ -179,0 +183,0 @@ loc.end,

2

package.json

@@ -15,3 +15,3 @@ {

],
"version": "0.4.12",
"version": "0.4.13",
"homepage": "http://github.com/benjamn/recast",

@@ -18,0 +18,0 @@ "repository": {

@@ -85,2 +85,3 @@ var recast = require("../main");

" // ... and here I am continuing this comment.",
"",
"};"

@@ -87,0 +88,0 @@ ];

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