Socket
Socket
Sign inDemoInstall

gonzales-pe-sl

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gonzales-pe-sl - npm Package Compare versions

Comparing version 3.2.6 to 3.2.7

17

CHANGELOG.md

@@ -8,4 +8,19 @@ # Changelog

:star: — some new thing has been added.
:green_apple: — some bad thing has been fixed.
:green_apple: — some bad thing has been fixed.
---
# GONZALES-PE-SL FORK CHANGES
As of 3.2.6 The sasstools team decided to fork and maintain a separate copy of gonzales-pe named gonzales-pe-sl. Our intention is to still provide fixes etc back into gonzales-pe but at the same time allow sass-lint and anyone else who feels like they want to depend on this fork to continue and progress with any issues that remain unfixed/unmerged in the base repository. We will be looking to support this fork for as long as is necessary.
## 21.04.2016, Version 3.2.7
:green_apple: - Removed postinstall bash specific scripts, to work on the development version you will manually need to run these now but installing from NPM now won't fail for all users not using bash.
:green_apple: - Fixed CRLF line endings and line/column numbers for `.sass`, `.scss` syntaxes.
:green_apple: - Fixed @extends not reporting correctly in Sass.
---
## 07.02.2016, Version 3.2.6

@@ -12,0 +27,0 @@

@@ -76,4 +76,16 @@ 'use strict';module.exports = function(css,tabSize){var TokenType=require('../token-types');var tokens=[];var urlMode=false;var blockMode=0;var c=undefined; // Current character

else if(c === '!' && cn === '='){parseInequality(css);} // If current character is a punctuation mark:
else if(c in Punctuation){ // Add it to the list of tokens:
pushToken(Punctuation[c],c,col);if(c === '\n' || c === '\r'){ln++;col = 0;} // Go to next line
else if(c in Punctuation){ // Check for CRLF here or just LF
if(c === '\r' && cn === '\n' || c === '\n'){ /*
* If \r we know the next character is \n due to statement above
* so we push a CRLF token type to the token list and importantly
* skip the next character so as not to double count newlines or
* columns etc
*/if(c === '\r'){pushToken(TokenType.Newline,'\r\n',col);pos++; // If crlf skip the next character and push crlf token
}else if(c === '\n'){ /*
* If just a Lf newline and not part of CRLF newline we can just
* push punctuation as usual
*/pushToken(Punctuation[c],c,col);}ln++; // Go to next line
col = 0; // Reset the column count
}else if(c !== '\r' && c !== '\n'){ // Handle all other punctuation and add to list of tokens
pushToken(Punctuation[c],c,col);} // Go to next line
if(c === ')')urlMode = false; // Exit url mode

@@ -80,0 +92,0 @@ if(c === '{')blockMode++; // Enter a block

@@ -72,4 +72,16 @@ 'use strict';module.exports = function(css,tabSize){var TokenType=require('../token-types');var tokens=[];var urlMode=false;var blockMode=0;var c=undefined; // Current character

else if(c === '!' && cn === '='){parseInequality(css);} // If current character is a punctuation mark:
else if(c in Punctuation){ // Add it to the list of tokens:
pushToken(Punctuation[c],c,col);if(c === '\n' || c === '\r'){ln++;col = 0;} // Go to next line
else if(c in Punctuation){ // Check for CRLF here or just LF
if(c === '\r' && cn === '\n' || c === '\n'){ /*
* If \r we know the next character is \n due to statement above
* so we push a CRLF token type to the token list and importantly
* skip the next character so as not to double count newlines or
* columns etc
*/if(c === '\r'){pushToken(TokenType.Newline,'\r\n',col);pos++; // If crlf skip the next character and push crlf token
}else if(c === '\n'){ /*
* If just a Lf newline and not part of CRLF newline we can just
* push punctuation as usual
*/pushToken(Punctuation[c],c,col);}ln++; // Go to next line
col = 0; // Reset the column count
}else if(c !== '\r' && c !== '\n'){ // Handle all other punctuation and add to list of tokens
pushToken(Punctuation[c],c,col);} // Go to next line
if(c === ')')urlMode = false; // Exit url mode

@@ -76,0 +88,0 @@ if(c === '{')blockMode++; // Enter a block

8

package.json
{
"name": "gonzales-pe-sl",
"description": "Temporary gonzales-pe fork for sass-lint",
"version": "3.2.6",
"homepage": "http://github.com/tonyganch/gonzales-pe",
"bugs": "http://github.com/tonyganch/gonzales-pe/issues",
"version": "3.2.7",
"homepage": "https://github.com/DanPurdy/gonzales-pe",
"bugs": "https://github.com/DanPurdy/gonzales-pe/issues",
"license": "MIT",

@@ -16,3 +16,3 @@ "author": {

"type": "git",
"url": "http://github.com/tonyganch/gonzales-pe.git"
"url": "https://github.com/DanPurdy/gonzales-pe.git"
},

@@ -19,0 +19,0 @@ "scripts": {

Sorry, the diff of this file is too big to display

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