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

yaml-eslint-parser

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yaml-eslint-parser - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

48

lib/convert.js

@@ -400,7 +400,2 @@ "use strict";

column++;
if (c === "\n") {
line++;
column = 0;
break;
}
index++;

@@ -419,2 +414,3 @@ }

addToken(tokens, "Punctuator", punctuatorLoc, code);
let lineFeed = false;
while (index < text.length) {

@@ -425,7 +421,13 @@ const c = text[index];

}
column++;
if (c === "\n") {
if (lineFeed) {
break;
}
line++;
column = 0;
lineFeed = true;
}
else {
column++;
}
index++;

@@ -443,3 +445,5 @@ }

};
addToken(tokens, "BlockLiteral", tokenLoc, code);
if (tokenLoc.range[0] < tokenLoc.range[1]) {
addToken(tokens, "BlockLiteral", tokenLoc, code);
}
}

@@ -472,7 +476,2 @@ else {

column++;
if (c === "\n") {
line++;
column = 0;
break;
}
index++;

@@ -491,2 +490,3 @@ }

addToken(tokens, "Punctuator", punctuatorLoc, code);
let lineFeed = false;
while (index < text.length) {

@@ -497,7 +497,13 @@ const c = text[index];

}
column++;
if (c === "\n") {
if (lineFeed) {
break;
}
line++;
column = 0;
lineFeed = true;
}
else {
column++;
}
index++;

@@ -515,3 +521,5 @@ }

};
addToken(tokens, "BlockFolded", tokenLoc, code);
if (tokenLoc.range[0] < tokenLoc.range[1]) {
addToken(tokens, "BlockFolded", tokenLoc, code);
}
}

@@ -551,3 +559,5 @@ else {

};
addToken(tokens, "Identifier", tokenLoc, code);
if (tokenLoc.range[0] < tokenLoc.range[1]) {
addToken(tokens, "Identifier", tokenLoc, code);
}
}

@@ -623,3 +633,5 @@ else {

};
addToken(tokens, "Identifier", tokenLoc, code);
if (tokenLoc.range[0] < tokenLoc.range[1]) {
addToken(tokens, "Identifier", tokenLoc, code);
}
}

@@ -660,3 +672,5 @@ else {

};
addToken(tokens, "Identifier", tokenLoc, code);
if (tokenLoc.range[0] < tokenLoc.range[1]) {
addToken(tokens, "Identifier", tokenLoc, code);
}
}

@@ -663,0 +677,0 @@ else {

{
"name": "yaml-eslint-parser",
"version": "0.0.6",
"version": "0.0.7",
"description": "A YAML parser that produces output compatible with ESLint",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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