🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@putout/operate

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@putout/operate - npm Package Compare versions

Comparing version

to
8.2.0

9

lib/operate.js

@@ -121,9 +121,6 @@ 'use strict';

const comments = getComments(path);
const nextPath = path.getNextSibling();
const {block} = path.scope.getProgramParent();
const programBlock = path.scope.getProgramParent().block;
if (nextPath.node)
nextPath.node.comments = comments;
else
block.comments = comments;
if (path.scope.block === programBlock)
programBlock.comments = comments;

@@ -130,0 +127,0 @@ path.remove();

{
"name": "@putout/operate",
"version": "8.1.0",
"version": "8.2.0",
"type": "commonjs",

@@ -5,0 +5,0 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",