@putout/engine-loader 17.0.4 → 17.0.5

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.
@@ -1,6 +1,6 @@
1
1
  import process from 'node:process';
2
2
  import {join} from 'node:path';
3
- import tryToCatch from 'try-to-catch';
3
+ import {tryToCatch} from 'try-to-catch';
4
4
  import {createRequire} from '../module.js';
5
5
  import {simpleImport as _simpleImport} from './simple-import.js';
6
6
 
package/lib/load/load.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import process from 'node:process';
2
2
  import {join} from 'node:path';
3
- import tryCatch from 'try-catch';
3
+ import {tryCatch} from 'try-catch';
4
4
  import {createRequire as _createRequire} from '../module.js';
5
5
 
6
6
  const bigFirst = (a) => `${a[0].toUpperCase()}${a.slice(1)}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/engine-loader",
3
- "version": "17.0.4",
3
+ "version": "17.0.5",
4
4
  "type": "module",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "load plugins and prepare them to run",
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "diff-match-patch": "^1.0.4",
28
28
  "try-catch": "^4.0.0",
29
- "try-to-catch": "^3.0.1"
29
+ "try-to-catch": "^4.0.0"
30
30
  },
31
31
  "keywords": [
32
32
  "putout",