diff --git a/package.json b/package.json
index 9fd0d7d3..a8d5f91d 100644
--- a/package.json
+++ b/package.json
@@ -19,7 +19,7 @@
"license": "BSD-2-Clause",
"dependencies": {
"acorn": "^7.1.0",
- "acorn-jsx": "^5.1.0",
+ "acorn-jsx": "^5.2.0",
"eslint-visitor-keys": "^1.1.0"
},
"devDependencies": {
diff --git a/tests/fixtures/ecma-features/jsx/embedded-tags.result.js b/tests/fixtures/ecma-features/jsx/embedded-tags.result.js
index f16ee318..7b59582a 100644
--- a/tests/fixtures/ecma-features/jsx/embedded-tags.result.js
+++ b/tests/fixtures/ecma-features/jsx/embedded-tags.result.js
@@ -7,12 +7,12 @@ module.exports = {
},
"end": {
"line": 1,
- "column": 58
+ "column": 61
}
},
"range": [
0,
- 58
+ 61
],
"body": [
{
@@ -24,12 +24,12 @@ module.exports = {
},
"end": {
"line": 1,
- "column": 58
+ "column": 61
}
},
"range": [
0,
- 58
+ 61
],
"expression": {
"type": "JSXElement",
@@ -40,12 +40,12 @@ module.exports = {
},
"end": {
"line": 1,
- "column": 57
+ "column": 60
}
},
"range": [
0,
- 57
+ 60
],
"openingElement": {
"type": "JSXOpeningElement",
@@ -56,12 +56,12 @@ module.exports = {
},
"end": {
"line": 1,
- "column": 57
+ "column": 60
}
},
"range": [
0,
- 57
+ 60
],
"attributes": [
{
@@ -164,12 +164,12 @@ module.exports = {
},
"end": {
"line": 1,
- "column": 54
+ "column": 57
}
},
"range": [
22,
- 54
+ 57
],
"name": {
"type": "JSXIdentifier",
@@ -198,12 +198,12 @@ module.exports = {
},
"end": {
"line": 1,
- "column": 54
+ "column": 57
}
},
"range": [
28,
- 54
+ 57
],
"openingElement": {
"type": "JSXOpeningElement",
@@ -247,32 +247,32 @@ module.exports = {
"loc": {
"start": {
"line": 1,
- "column": 50
+ "column": 53
},
"end": {
"line": 1,
- "column": 54
+ "column": 57
}
},
"range": [
- 50,
- 54
+ 53,
+ 57
],
"name": {
"type": "JSXIdentifier",
"loc": {
"start": {
"line": 1,
- "column": 52
+ "column": 55
},
"end": {
"line": 1,
- "column": 53
+ "column": 56
}
},
"range": [
- 52,
- 53
+ 55,
+ 56
],
"name": "b"
}
@@ -287,15 +287,15 @@ module.exports = {
},
"end": {
"line": 1,
- "column": 50
+ "column": 53
}
},
"range": [
31,
- 50
+ 53
],
"value": "monkeys /> gorillas",
- "raw": "monkeys /> gorillas"
+ "raw": "monkeys /> gorillas"
}
]
}
@@ -572,12 +572,12 @@ module.exports = {
},
"end": {
"line": 1,
- "column": 50
+ "column": 53
}
},
"range": [
31,
- 50
+ 53
]
},
{
@@ -586,16 +586,16 @@ module.exports = {
"loc": {
"start": {
"line": 1,
- "column": 50
+ "column": 53
},
"end": {
"line": 1,
- "column": 51
+ "column": 54
}
},
"range": [
- 50,
- 51
+ 53,
+ 54
]
},
{
@@ -604,16 +604,16 @@ module.exports = {
"loc": {
"start": {
"line": 1,
- "column": 51
+ "column": 54
},
"end": {
"line": 1,
- "column": 52
+ "column": 55
}
},
"range": [
- 51,
- 52
+ 54,
+ 55
]
},
{
@@ -622,16 +622,16 @@ module.exports = {
"loc": {
"start": {
"line": 1,
- "column": 52
+ "column": 55
},
"end": {
"line": 1,
- "column": 53
+ "column": 56
}
},
"range": [
- 52,
- 53
+ 55,
+ 56
]
},
{
@@ -640,16 +640,16 @@ module.exports = {
"loc": {
"start": {
"line": 1,
- "column": 53
+ "column": 56
},
"end": {
"line": 1,
- "column": 54
+ "column": 57
}
},
"range": [
- 53,
- 54
+ 56,
+ 57
]
},
{
@@ -658,16 +658,16 @@ module.exports = {
"loc": {
"start": {
"line": 1,
- "column": 55
+ "column": 58
},
"end": {
"line": 1,
- "column": 56
+ "column": 59
}
},
"range": [
- 55,
- 56
+ 58,
+ 59
]
},
{
@@ -676,16 +676,16 @@ module.exports = {
"loc": {
"start": {
"line": 1,
- "column": 56
+ "column": 59
},
"end": {
"line": 1,
- "column": 57
+ "column": 60
}
},
"range": [
- 56,
- 57
+ 59,
+ 60
]
},
{
@@ -694,16 +694,16 @@ module.exports = {
"loc": {
"start": {
"line": 1,
- "column": 57
+ "column": 60
},
"end": {
"line": 1,
- "column": 58
+ "column": 61
}
},
"range": [
- 57,
- 58
+ 60,
+ 61
]
}
]
diff --git a/tests/fixtures/ecma-features/jsx/embedded-tags.src.js b/tests/fixtures/ecma-features/jsx/embedded-tags.src.js
index 48260fa6..317743ac 100644
--- a/tests/fixtures/ecma-features/jsx/embedded-tags.src.js
+++ b/tests/fixtures/ecma-features/jsx/embedded-tags.src.js
@@ -1 +1 @@
- right=monkeys /> gorillas />;
\ No newline at end of file
+ right=monkeys /> gorillas />;