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
604
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 6.11.0 to 6.11.1

lib/tokenize/expressions/array-expression/newline.js

8

lib/tokenize/expressions/array-expression/array-expression.js

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

const {
isNewlineBetweenElements,
isMultiLine,
isIncreaseIndent,
isCurrentNewLine,
} = require('./new-line');
} = require('./newline');

@@ -71,3 +71,3 @@ const {types} = require('@putout/babel');

const elements = path.get('elements');
const shouldIncreaseIndent = !isIncreaseIndent(path);
const shouldIncreaseIndent = isIncreaseIndent(path);

@@ -81,3 +81,3 @@ print('[');

const isNewLine = isNewlineBetweenElements(path, {
const isNewLine = isMultiLine(path, {
elements,

@@ -84,0 +84,0 @@ maxElementsInOneLine,

{
"name": "@putout/printer",
"version": "6.11.0",
"version": "6.11.1",
"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