@putout/plugin-optional-chaining 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +4 -5
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -21,10 +21,10 @@ npm i @putout/plugin-optional-chaining
21
21
 
22
22
  ## Rules
23
23
 
24
- - ✅ [convert-logical-to-optional][#convert-logical-to-optional];
25
- - ✅ [convert-optional-to-logical][#convert-optional-to-logical];
26
- - ✅ [convert-logical-assign-to-optional][#convert-logical-assign-to-optional];
27
- - ✅ [convert-optional-assign-to-logical][#convert-logical-assign-to-optional];
24
+ - ✅ [convert-logical-to-optional](#convert-logical-to-optional);
25
+ - ✅ [convert-optional-to-logical](#convert-optional-to-logical);
26
+ - ✅ [convert-logical-assign-to-optional](#convert-logical-assign-to-optional);
27
+ - ✅ [convert-optional-assign-to-logical](#convert-logical-assign-to-optional);
28
28
 
29
29
  ## Config
30
30
 
@@ -47,7 +47,6 @@ npm i @putout/plugin-optional-chaining
47
47
  >
48
48
  > (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_AND)
49
49
 
50
-
51
50
  Checkout out in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/d308302b95800920d324b799f1a948e3/99d03cb297d17446885829e8583b3cc7777367c5).
52
51
 
53
52
  ### ❌ Example of incorrect code
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@putout/plugin-optional-chaining",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "type": "commonjs",
5
5
  "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
6
6
  "description": "🐊Putout plugin adds ability apply optional chaining",
7
- "homepage": "https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-optional-chaining#readme",
7
+ "homepage": "https://github.com/coderaiser/putout/tree/master/packages/plugin-optional-chaining#readme",
8
8
  "main": "lib/index.js",
9
9
  "release": false,
10
10
  "tag": false,
@@ -41,7 +41,7 @@
41
41
  "nodemon": "^3.0.1"
42
42
  },
43
43
  "peerDependencies": {
44
- "putout": ">=36"
44
+ "putout": ">=37"
45
45
  },
46
46
  "license": "MIT",
47
47
  "engines": {