@putout/engine-loader 5.0.0 → 6.0.1

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.
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [NPMIMGURL]: https://img.shields.io/npm/v/@putout/engine-loader.svg?style=flat&longCache=true
4
4
  [NPMURL]: https://npmjs.org/package/@putout/engine-loader"npm"
5
5
 
6
- Load putout `plugins`, `processors`.
6
+ Load 🐊[**Putout**](https://github.com/coderaiser/putout) `Plugins` and `Processors`.
7
7
 
8
8
  ## Install
9
9
 
@@ -17,6 +17,6 @@ module.exports = ({plugin, rule}) => {
17
17
  return;
18
18
  }
19
19
 
20
- throw Error(`☝️ Plugin "${rule}" type cannot be determined. Supported plugin types: https://git.io/JqcMn`);
20
+ throw Error(`☝️ Cannot determine type of plugin '${rule}'. Here is list of supported plugins: https://git.io/JqcMn`);
21
21
  };
22
22
 
@@ -9,7 +9,7 @@ const babelTransform = require('./transforms/babel');
9
9
 
10
10
  const getMessage = (a) => a
11
11
  .replace(/@babel\/plugin-|babel-plugin-/, '')
12
- .replace(/-/g, ' ');
12
+ .replaceAll('-', ' ');
13
13
 
14
14
  const getModulePath = (name) => {
15
15
  const [, path] = tryCatch(require.resolve, name);
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@putout/engine-loader",
3
- "version": "5.0.0",
3
+ "version": "6.0.1",
4
+ "type": "commonjs",
4
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
5
6
  "description": "load plugins and prepare them to run",
6
- "homepage": "https://github.com/coderaiser/putout/tree/master/packages/engine-loader",
7
+ "homepage": "https://github.com/coderaiser/putout/tree/master/packages/engine-loader#readme",
7
8
  "main": "lib/index.js",
8
9
  "release": false,
9
10
  "tag": false,
@@ -24,7 +25,7 @@
24
25
  },
25
26
  "dependencies": {
26
27
  "@babel/core": "^7.12.3",
27
- "@putout/engine-parser": "^4.0.1",
28
+ "@putout/engine-parser": "^5.0.0",
28
29
  "diff-match-patch": "^1.0.4",
29
30
  "nano-memoize": "^1.1.8",
30
31
  "once": "^1.4.0",
@@ -40,25 +41,25 @@
40
41
  "@cloudcmd/stub": "^3.0.0",
41
42
  "@putout/plugin-convert-commonjs-to-esm": "*",
42
43
  "@putout/plugin-remove-unused-variables": "*",
43
- "@putout/processor-markdown": "*",
44
44
  "@putout/processor-javascript": "*",
45
+ "@putout/processor-markdown": "*",
45
46
  "c8": "^7.5.0",
46
47
  "eslint": "^8.0.1",
47
48
  "eslint-plugin-node": "^11.0.0",
48
- "eslint-plugin-putout": "^12.0.0",
49
+ "eslint-plugin-putout": "^14.0.0",
49
50
  "estrace": "^3.0.2",
50
51
  "just-camel-case": "^4.0.2",
51
52
  "lerna": "^4.0.0",
52
- "madrun": "^8.0.1",
53
+ "madrun": "^9.0.0",
53
54
  "mock-require": "^3.0.3",
54
55
  "montag": "^1.0.0",
55
56
  "nodemon": "^2.0.1",
56
57
  "putout": "*",
57
- "supertape": "^6.0.0"
58
+ "supertape": "^7.0.0"
58
59
  },
59
60
  "license": "MIT",
60
61
  "engines": {
61
- "node": ">=14"
62
+ "node": ">=16"
62
63
  },
63
64
  "publishConfig": {
64
65
  "access": "public"