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 1.70.4 to 1.71.0

8

lib/tokenize/statements/import-declaration.js

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

if (spec.isImportSpecifier()) {
const {imported, local} = spec.node;
maybe.print(index, ', ');

@@ -31,4 +32,9 @@ maybe.print(!wasSpecifier, '{');

wasSpecifier = true;
print(imported.name);
print(spec.get('imported'));
if (imported.name !== local.name) {
print(' as ');
print(spec.node.local.name);
}
maybe.print(index === n, '}');

@@ -35,0 +41,0 @@

2

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