@putout/test 14.4.0 → 14.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,10 +11,10 @@ import {
11
11
  } from 'node:path';
12
12
  import process from 'node:process';
13
13
  import {eslint} from '@putout/eslint';
14
- import tryToCatch from 'try-to-catch';
14
+ import {tryToCatch} from 'try-to-catch';
15
15
  import {extend} from 'supertape';
16
16
  import {lint} from '@putout/eslint/lint';
17
- import tryCatch from 'try-catch';
17
+ import {tryCatch} from 'try-catch';
18
18
 
19
19
  const {keys} = Object;
20
20
  const {isArray} = Array;
package/lib/fixture.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const process = require('node:process');
4
- const tryCatch = require('try-catch');
4
+ const {tryCatch} = require('try-catch');
5
5
 
6
6
  const isUpdate = () => Boolean(Number(process.env.UPDATE));
7
7
  const TS = {
@@ -12,7 +12,7 @@ const {
12
12
  basename,
13
13
  } = require('node:path');
14
14
 
15
- const tryToCatch = require('try-to-catch');
15
+ const {tryToCatch} = require('try-to-catch');
16
16
 
17
17
  const test = require('supertape');
18
18
  const processFile = require('@putout/cli-process-file');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/test",
3
- "version": "14.4.0",
3
+ "version": "14.4.2",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "Test runner for 🐊Putout plugins ",
@@ -48,8 +48,8 @@
48
48
  "montag": "^1.2.1",
49
49
  "putout": "*",
50
50
  "supertape": "^11.0.3",
51
- "try-catch": "^3.0.0",
52
- "try-to-catch": "^3.0.0"
51
+ "try-catch": "^4.0.0",
52
+ "try-to-catch": "^4.0.0"
53
53
  },
54
54
  "keywords": [
55
55
  "putout",