File tree 3 files changed +9
-3
lines changed
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,12 @@ Fixed for any bug fixes.
9
9
Security to invite users to upgrade in case of vulnerabilities.
10
10
-->
11
11
12
+ ## [ 1.6.1] - 2022/08/04
13
+
14
+ ### Fixed
15
+
16
+ - readme escape pipes for safe destructuring
17
+
12
18
## [ 1.6.0] - 2022/07/27
13
19
14
20
### Added
Original file line number Diff line number Diff line change @@ -98,10 +98,10 @@ Below is a list of all available snippets and the triggers of each one. The **
98
98
| Trigger | Description | Result JS/TS |
99
99
| -------: | ------------------------------- | ---------------------------------------- |
100
100
| ` cod→ ` | const object dest | ` const {prop, prop} = name█ ` |
101
- | ` cods→ ` | const object dest safe | `const {prop, prop} = name | | {}█` |
101
+ | ` cods→ ` | const object dest safe | ` const {prop, prop} = name \|\ | {}█ ` |
102
102
| ` codr→ ` | const object dest with rest | ` const {prop, prop, ...rest} = name█ ` |
103
103
| ` cad→ ` | const array dest | ` const [prop, prop] = name█ ` |
104
- | ` cads→ ` | const array dest safe | `const [ prop, prop] = name | | [ ] █` |
104
+ | ` cads→ ` | const array dest safe | ` const [prop, prop] = name \|\ | []█ ` |
105
105
| ` cadr→ ` | const array dest with rest | ` const [prop, prop, ...rest] = name█ ` |
106
106
| ` pd→ ` | parameter object dest | ` {prop, prop}█ ` |
107
107
| ` pdr→ ` | parameter object dest with rest | ` {prop, prop, ...rest}█ ` |
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " const-props-snippets" ,
3
3
"description" : " VS Code Const & Props snippets for JS and TS" ,
4
- "version" : " 1.6.0 " ,
4
+ "version" : " 1.6.1 " ,
5
5
"displayName" : " Const & Props Snippets" ,
6
6
"publisher" : " deinsoftware" ,
7
7
"icon" : " images/light-icon.png" ,
You can’t perform that action at this time.
0 commit comments