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

@putout/printer

Package Overview
Dependencies
Maintainers
0
Versions
629
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@putout/printer - npm Package Compare versions

Comparing version 12.6.0 to 12.7.0

12

lib/tokenize/comment/parse-leading-comments.js

@@ -12,4 +12,4 @@ 'use strict';

const {maybeInsideFn} = require('./maybe-inside-fn');
const {
isArrowFunctionExpression,
isObjectProperty,

@@ -30,6 +30,11 @@ isVariableDeclarator,

const isInsideVar = ({parentPath}) => {
if (isVariableDeclarator(parentPath))
const isInsideVar = (path) => {
const {parentPath} = path;
if (isVariableDeclarator(parentPath) && path === parentPath.get('init'))
return true;
if (!isArrowFunctionExpression(parentPath))
return false;
return isVariableDeclarator(parentPath.parentPath);

@@ -151,1 +156,2 @@ };

};
{
"name": "@putout/printer",
"version": "12.6.0",
"version": "12.7.0",
"type": "commonjs",

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

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