New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@putout/compare

Package Overview
Dependencies
Maintainers
1
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@putout/compare - npm Package Compare versions

Comparing version 9.8.0 to 9.9.0

9

lib/comparators.js

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

isBlock,
isJSXText,
} = require('@babel/types');

@@ -36,2 +37,3 @@

const comparators = [
compareJSXTexts,
compareAny,

@@ -110,1 +112,8 @@ comparePrimitives,

function compareJSXTexts(node, template) {
if (!isJSXText(node) || !isJSXText(template))
return false;
return /^\s+$/.test(template.value) && /^\s+$/.test(node.value);
}

2

package.json
{
"name": "@putout/compare",
"version": "9.8.0",
"version": "9.9.0",
"type": "commonjs",

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

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