Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@putout/printer

Package Overview
Dependencies
Maintainers
1
Versions
748
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
15.23.1
to
15.24.0
+5
lib/tokenize/expressions/object-pattern/wrong-shorthand.js
'use strict';
module.exports.wrongShorthand = ({computed, isAssign, keyPath, valuePath}) => {
return !computed && !isAssign && keyPath.node.name !== valuePath.node.name;
};
+1
-1
'use strict';
const {types} = require('@putout/babel');
const {wrongShorthand} = require('./wrong-shortand');
const {wrongShorthand} = require('./wrong-shorthand');

@@ -6,0 +6,0 @@ const {

@@ -17,9 +17,7 @@ 'use strict';

if (!exists(constraint))
return;
if (exists(constraint)) {
write(' extends ');
traverse(constraint);
}
write(' extends ');
traverse(constraint);
const defaultPath = path.get('default');

@@ -26,0 +24,0 @@

{
"name": "@putout/printer",
"version": "15.23.1",
"version": "15.24.0",
"type": "commonjs",

@@ -5,0 +5,0 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",

'use strict';
module.exports.wrongShorthand = ({computed, isAssign, keyPath, valuePath}) => {
return !computed && !isAssign && keyPath.node.name !== valuePath.node.name;
};

Sorry, the diff of this file is too big to display