@putout/plugin-nodejs 18.16.0 → 18.16.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,7 +11,7 @@ const initCommons = template.ast(`
11
11
  const require = createRequire(import.meta.url);
12
12
  `);
13
13
 
14
- export const report = () => '"__filename", "__dirname" and "require" should be declared in ESM';
14
+ export const report = () => `Declare '__filename', '__dirname' and 'require' in ESM`;
15
15
 
16
16
  export const fix = ({scope}) => {
17
17
  const programScope = scope.getProgramParent();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putout/plugin-nodejs",
3
- "version": "18.16.0",
3
+ "version": "18.16.2",
4
4
  "type": "module",
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",