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
1
Versions
623
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 1.48.0 to 1.49.0

13

lib/tokenize/expressions/object-expression.js
'use strict';
const {isCoupleLines} = require('../is');
const {isFunction} = require('@babel/types');
const {
isFunction,
isIfStatement,
isStatement,
} = require('@babel/types');
const isBodyOfArrow = (path) => path.parentPath.node.body === path.node;
const isLogical = (path) => path.get('argument').isLogicalExpression();
const isValue = (path) => path.get('properties.0.value').node;
const isIf = (path) => path.parentPath.parentPath.isIfStatement();
const isIfOrStatement = (a) => isIfStatement(a) || isStatement(a);
const isIf = (path) => isIfStatement(path.find(
isIfOrStatement,
));
const isParentExpression = (path) => path.parentPath.isExpressionStatement();

@@ -10,0 +19,0 @@

2

package.json
{
"name": "@putout/printer",
"version": "1.48.0",
"version": "1.49.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