@putout/plugin-nodejs 3.0.0 → 3.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 +0 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -83,15 +83,6 @@ const file1 = new URL('../../package.json', import.meta.url);
|
|
|
83
83
|
const file2 = new URL('../../package.json', import.meta.url);
|
|
84
84
|
```
|
|
85
85
|
|
|
86
|
-
### convert-promisify-to-fs-promises
|
|
87
|
-
|
|
88
|
-
#### ❌ Incorrect code example
|
|
89
|
-
|
|
90
|
-
```js
|
|
91
|
-
const fs = require('fs');
|
|
92
|
-
const readFile = promisify(fs.readFile);
|
|
93
|
-
```
|
|
94
|
-
|
|
95
86
|
### remove-process-exit
|
|
96
87
|
|
|
97
88
|
In most cases `process.exit()` is called from `bin` directory, if not - disable this rule using `match`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@putout/plugin-nodejs",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "putout plugin adds ability to transform code to new API of Node.js",
|