eslint-plugin-svelte3
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -0,1 +1,5 @@ | ||
# v1.2.3 | ||
- Fix a weird edge case where fixes to problems could be lost in certain cases | ||
# v1.2.2 | ||
@@ -2,0 +6,0 @@ |
@@ -62,7 +62,7 @@ 'use strict'; | ||
if (message.fix) { | ||
while (transformed_code[message.fix.range[0]] === message.fix.text[0]) { | ||
while (message.fix.range[0] < message.fix.range[1] && transformed_code[message.fix.range[0]] === message.fix.text[0]) { | ||
message.fix.range[0]++; | ||
message.fix.text = message.fix.text.slice(1); | ||
} | ||
while (transformed_code[message.fix.range[1] - 1] === message.fix.text[message.fix.text.length - 1]) { | ||
while (message.fix.range[0] < message.fix.range[1] && transformed_code[message.fix.range[1] - 1] === message.fix.text[message.fix.text.length - 1]) { | ||
message.fix.range[1]--; | ||
@@ -69,0 +69,0 @@ message.fix.text = message.fix.text.slice(0, -1); |
{ | ||
"name": "eslint-plugin-svelte3", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "An ESLint plugin for Svelte v3 components.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19564