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
101
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.1.2 to 6.1.3

2

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

@@ -5,0 +5,0 @@ "description": "operate on ast",

@@ -27,4 +27,11 @@ # Operate [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]

```js
const {replaceWith} = require('putout').operator;
replaceWith(path, ContinueStatement);
const {
operator,
types,
} = require('putout');
const {ContinueStatement} = types;
const {replaceWith} = operator;
replaceWith(path, ContinueStatement());
```

@@ -35,5 +42,14 @@

```js
const {replaceWithMultiple} = require('putout').operator;
const {
operator,
types,
} = require('putout');
replaceWith(path, [
const {replaceWithMultiple} = operator;
const {
ExpressionStatement,
ContinueStatement,
} = types;
replaceWithMultiple(path, [
ExpressionStatement(path.node.argument),

@@ -40,0 +56,0 @@ ContinueStatement,

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