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
612
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 8.6.0 to 8.6.1

4

lib/printer.js

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

const {maybePlugin} = require('./tokenize/maybe/index');
const {maybeVisitor} = require('./tokenize/maybe/index');
const visitors = require('./tokenize/visitors');

@@ -19,2 +19,2 @@

module.exports.visitors = visitors;
module.exports.maybePlugin = maybePlugin;
module.exports.maybeVisitor = maybeVisitor;
'use strict';
const {ArrayExpression} = require('./array-expression');
const {maybePlugin} = require('../../maybe');
const {maybeVisitor} = require('../../maybe');

@@ -9,3 +9,3 @@ module.exports.TupleExpression = (path, operations, semantics) => {

write('#');
maybePlugin(ArrayExpression, path, operations, semantics);
maybeVisitor(ArrayExpression, path, operations, semantics);
};

@@ -35,3 +35,3 @@ 'use strict';

module.exports.maybePlugin = (plugin, path, printer, options) => {
module.exports.maybeVisitor = (plugin, path, printer, options) => {
if (isFn(plugin))

@@ -38,0 +38,0 @@ return plugin(path, printer, options);

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

maybeFile,
maybePlugin,
maybeVisitor,
maybeThrow,

@@ -225,3 +225,3 @@ } = require('./maybe');

// this is main thing
maybePlugin(currentTraverse, path, printer, semantics);
maybeVisitor(currentTraverse, path, printer, semantics);
parseTrailingComments(path, printer, semantics);

@@ -228,0 +228,0 @@ maybeThrow(i !== currentIndent, path, `☝️Looks like indent level changed after token visitor: '{{ type }}', for code: '{{ path }}'`);

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