putout 41.7.1 → 41.7.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.
- package/ChangeLog +5 -0
- package/lib/parse-options/apply-module-type-rules.js +4 -4
- package/package.json +1 -1
- package/putout.json +1 -2
package/ChangeLog
CHANGED
|
@@ -11,6 +11,8 @@ const commonjs = () => ({
|
|
|
11
11
|
match: {
|
|
12
12
|
'*.js': {
|
|
13
13
|
'nodejs/convert-esm-to-commonjs': 'on',
|
|
14
|
+
'nodejs/add-missing-strict-mode': 'on',
|
|
15
|
+
'nodejs/remove-useless-strict-mode': 'off',
|
|
14
16
|
},
|
|
15
17
|
'.eslintrc.json': {
|
|
16
18
|
'eslint': 'on',
|
|
@@ -23,10 +25,8 @@ const esm = () => ({
|
|
|
23
25
|
match: {
|
|
24
26
|
'*.js': {
|
|
25
27
|
'nodejs/convert-commonjs-to-esm': 'on',
|
|
26
|
-
'nodejs/add-strict-mode': 'off',
|
|
27
|
-
|
|
28
|
-
'{test,*.spec.js}': {
|
|
29
|
-
'tape/convert-mock-require-to-mock-import': 'on',
|
|
28
|
+
'nodejs/add-missing-strict-mode': 'off',
|
|
29
|
+
'nodejs/remove-useless-strict-mode': 'on',
|
|
30
30
|
},
|
|
31
31
|
'.eslintrc.json': {
|
|
32
32
|
'eslint': 'on',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "putout",
|
|
3
|
-
"version": "41.7.
|
|
3
|
+
"version": "41.7.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
6
6
|
"description": "🐊 Pluggable and configurable code transformer with built-in ESLint, Babel and support of js, jsx, typescript, flow, markdown, yaml and json",
|
package/putout.json
CHANGED