code-red
Advanced tools
Comparing version 0.1.5 to 0.1.6
# code-red changelog | ||
## 0.1.6 | ||
* Only use shorthand for non-computed properties ([#58](https://github.com/Rich-Harris/code-red/pull/58)) | ||
## 0.1.5 | ||
@@ -4,0 +8,0 @@ |
@@ -1030,3 +1030,3 @@ (function (global, factory) { | ||
if (node.value.type === 'Identifier' && ( | ||
if (!node.computed && node.value.type === 'Identifier' && ( | ||
(node.key.type === 'Identifier' && node.key.name === value[0].content) || | ||
@@ -1033,0 +1033,0 @@ (node.key.type === 'Literal' && node.key.value === value[0].content) |
{ | ||
"name": "code-red", | ||
"description": "code-red", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"repository": "Rich-Harris/code-red", | ||
@@ -6,0 +6,0 @@ "main": "dist/code-red.js", |
Sorry, the diff of this file is not supported yet
87096