New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

coffee-lex

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coffee-lex - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

15

dist/coffee-lex.es.js

@@ -903,4 +903,2 @@ var babelHelpers = {};

setType(SEMICOLON);
} else if (consume('?')) {
setType(EXISTENCE);
} else if (consume('`')) {

@@ -913,4 +911,3 @@ setType(JS);

} else {
var raw = source.slice(start, index);
switch (raw) {
switch (consumed()) {
case 'if':

@@ -973,3 +970,7 @@ case 'unless':

} else if (consumeAny(OPERATORS)) {
setType(OPERATOR);
if (consumed() === '?') {
setType(EXISTENCE);
} else {
setType(OPERATOR);
}
} else if (consume('\\')) {

@@ -1147,2 +1148,6 @@ setType(CONTINUATION);

function consumed() {
return source.slice(start, index);
}
function setType(newType) {

@@ -1149,0 +1154,0 @@ location = new SourceLocation(newType, start);

@@ -909,4 +909,2 @@ (function (global, factory) {

setType(SEMICOLON);
} else if (consume('?')) {
setType(EXISTENCE);
} else if (consume('`')) {

@@ -919,4 +917,3 @@ setType(JS);

} else {
var raw = source.slice(start, index);
switch (raw) {
switch (consumed()) {
case 'if':

@@ -979,3 +976,7 @@ case 'unless':

} else if (consumeAny(OPERATORS)) {
setType(OPERATOR);
if (consumed() === '?') {
setType(EXISTENCE);
} else {
setType(OPERATOR);
}
} else if (consume('\\')) {

@@ -1153,2 +1154,6 @@ setType(CONTINUATION);

function consumed() {
return source.slice(start, index);
}
function setType(newType) {

@@ -1155,0 +1160,0 @@ location = new SourceLocation(newType, start);

{
"name": "coffee-lex",
"version": "1.1.1",
"version": "1.1.2",
"description": "Stupid lexer for CoffeeScript.",

@@ -5,0 +5,0 @@ "main": "dist/coffee-lex.umd.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