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

@putout/operate

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@putout/operate - npm Package Compare versions

Comparing version 6.10.0 to 6.11.0

13

lib/compute.js
'use strict';
const tryCatch = require('try-catch');
const {isObjectExpression} = require('@babel/types');

@@ -56,4 +58,11 @@

if (keyValue === keyPropertyValue)
return [COMPUTED, extract(property.value)];
if (keyValue !== keyPropertyValue)
continue;
const [error, value] = tryCatch(extract, property.value);
if (error)
break;
return [COMPUTED, value];
}

@@ -60,0 +69,0 @@

8

package.json
{
"name": "@putout/operate",
"version": "6.10.0",
"version": "6.11.0",
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",

@@ -26,3 +26,4 @@ "description": "operate on ast",

"dependencies": {
"@babel/types": "^7.12.6"
"@babel/types": "^7.12.6",
"try-catch": "^3.0.0"
},

@@ -47,4 +48,3 @@ "keywords": [

"putout": "*",
"supertape": "^6.0.0",
"try-catch": "^3.0.0"
"supertape": "^6.0.0"
},

@@ -51,0 +51,0 @@ "license": "MIT",

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