Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-svelte3

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-svelte3 - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

4

CHANGELOG.md

@@ -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 @@

4

index.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc