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

@putout/printer

Package Overview
Dependencies
Maintainers
1
Versions
592
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 10.6.0 to 10.7.0

6

lib/tokenize/expressions/object-pattern/object-pattern.js

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

const {moreThenMaxPropertiesInOneLine} = require('./more-then-max-properties-in-one-line');
const isInsideFn = (path) => path.parentPath.isFunction();

@@ -69,3 +70,4 @@ const {maybeTypeAnnotation} = require('../../maybe/maybe-type-annotation');

maybe.print.newline(is);
const notInsideFn = !isInsideFn(path);
maybe.print.newline(is && notInsideFn);

@@ -93,3 +95,3 @@ for (const [i, property] of properties.entries()) {

maybe.indent(is);
maybe.indent(is && notInsideFn);
maybe.print.breakline(couple);

@@ -96,0 +98,0 @@

{
"name": "@putout/printer",
"version": "10.6.0",
"version": "10.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