New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@putout/operate

Package Overview
Dependencies
Maintainers
1
Versions
105
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 8.7.0 to 8.8.0

3

lib/operate.js

@@ -7,2 +7,3 @@ 'use strict';

matchesPattern,
isBlockStatement,
isImportDeclaration,

@@ -169,3 +170,3 @@ isExportDeclaration,

if (node && !isStatement(node) || !parentPath?.isArrowFunctionExpression?.())
if (node && !isStatement(node) || isBlockStatement(node) || !parentPath?.isArrowFunctionExpression?.())
return {

@@ -172,0 +173,0 @@ currentPath: path,

{
"name": "@putout/operate",
"version": "8.7.0",
"version": "8.8.0",
"type": "commonjs",

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

@@ -10,3 +10,3 @@ # Operate [![NPM version][NPMIMGURL]][NPMURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]

`operate` provide you a way to manipulate `path` nodes and keep `comments` and `loc` information.
Manipulate with `path` nodes and keep `comments` and `loc` information.

@@ -13,0 +13,0 @@ ## Install

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