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

@putout/cli-match

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@putout/cli-match - npm Package Compare versions

Comparing version

to
2.2.0

11

lib/match.js

@@ -1,10 +0,8 @@

import {join} from 'path';
import {join} from 'node:path';
import {
readFile as _readFile,
writeFile as _writeFile,
} from 'fs/promises';
} from 'node:fs/promises';
import tryCatch from 'try-catch';
import tryToCatch from 'try-to-catch';
import matchErrors, {

@@ -21,6 +19,3 @@ NO_PATTERN,

const {
parse,
stringify,
} = JSON;
const {parse, stringify} = JSON;

@@ -27,0 +22,0 @@ const superStringify = (a) => `${stringify(a, null, 4)}\n`;

{
"name": "@putout/cli-match",
"version": "2.0.0",
"version": "2.2.0",
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",

@@ -8,3 +8,2 @@ "description": "convert \"rules\" section to \"match\" in .putout.json",

"main": "lib/match.js",
"commitType": "colon",
"type": "module",

@@ -36,11 +35,9 @@ "release": false,

"devDependencies": {
"@putout/test": "^5.0.0",
"c8": "^7.5.0",
"escover": "^2.1.0",
"c8": "^8.0.0",
"eslint": "^8.0.1",
"eslint-plugin-n": "^15.2.4",
"eslint-plugin-putout": "^16.0.0",
"eslint-plugin-n": "^16.0.0",
"eslint-plugin-putout": "^19.0.0",
"lerna": "^6.0.1",
"madrun": "^9.0.0",
"nodemon": "^2.0.1",
"nodemon": "^3.0.1",
"putout": "*",

@@ -47,0 +44,0 @@ "supertape": "^8.0.0"

@@ -29,8 +29,7 @@ # @putout/cli-match [![NPM version][NPMIMGURL]][NPMURL]

```js
import {cwd} from 'process';
import {cwd} from 'node:process';
import {
readFile,
writeFile,
} from 'fs/promises';
} from 'node:fs/promises';
import match from '@putout/cli-match';

@@ -37,0 +36,0 @@