Socket
Socket
Sign inDemoInstall

edge-lexer

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edge-lexer - npm Package Compare versions

Comparing version 4.0.7 to 4.0.8

16

build/src/Tokenizer/index.js

@@ -122,3 +122,3 @@ "use strict";

if (tag.seekable && !tag.hasBrace) {
throw Exceptions_1.unopenedParen({ line: tag.line, col: tag.col }, tag.filename);
throw (0, Exceptions_1.unopenedParen)({ line: tag.line, col: tag.col }, tag.filename);
}

@@ -187,3 +187,3 @@ /**

if (scanner.leftOver.trim()) {
throw Exceptions_1.cannotSeekStatement(scanner.leftOver, scanner.loc, tag.filename);
throw (0, Exceptions_1.cannotSeekStatement)(scanner.leftOver, scanner.loc, tag.filename);
}

@@ -319,3 +319,3 @@ /**

*/
const anotherMustache = Detector_1.getMustache(scanner.leftOver, this.options.filename, scanner.loc.line, scanner.loc.col);
const anotherMustache = (0, Detector_1.getMustache)(scanner.leftOver, this.options.filename, scanner.loc.line, scanner.loc.col);
if (anotherMustache) {

@@ -422,3 +422,3 @@ this.handleMustacheOpening(scanner.leftOver, anotherMustache);

*/
const tag = Detector_1.getTag(line, this.options.filename, this.line, 0, this.tagsDef, this.options.claimTag);
const tag = (0, Detector_1.getTag)(line, this.options.filename, this.line, 0, this.tagsDef, this.options.claimTag);
if (tag) {

@@ -441,3 +441,3 @@ /**

*/
const mustache = Detector_1.getMustache(line, this.options.filename, this.line, 0);
const mustache = (0, Detector_1.getMustache)(line, this.options.filename, this.line, 0);
if (mustache) {

@@ -463,3 +463,3 @@ this.pushNewLine();

const { tag } = this.tagStatement;
throw Exceptions_1.unclosedParen({ line: tag.line, col: tag.col }, tag.filename);
throw (0, Exceptions_1.unclosedParen)({ line: tag.line, col: tag.col }, tag.filename);
}

@@ -472,3 +472,3 @@ /**

const { mustache } = this.mustacheStatement;
throw Exceptions_1.unclosedCurlyBrace({ line: mustache.line, col: mustache.col }, mustache.filename);
throw (0, Exceptions_1.unclosedCurlyBrace)({ line: mustache.line, col: mustache.col }, mustache.filename);
}

@@ -480,3 +480,3 @@ /**

const openedTag = this.openedTags[this.openedTags.length - 1];
throw Exceptions_1.unclosedTag(openedTag.properties.name, openedTag.loc.start, openedTag.filename);
throw (0, Exceptions_1.unclosedTag)(openedTag.properties.name, openedTag.loc.start, openedTag.filename);
}

@@ -483,0 +483,0 @@ }

{
"name": "edge-lexer",
"version": "4.0.7",
"version": "4.0.8",
"description": "Parses raw markup files to converts them to Edge tokens",

@@ -36,4 +36,4 @@ "main": "build/index.js",

"@adonisjs/mrm-preset": "^4.1.2",
"@adonisjs/require-ts": "^2.0.7",
"@types/node": "^16.3.3",
"@adonisjs/require-ts": "^2.0.8",
"@types/node": "^16.7.10",
"benchmark": "^2.1.4",

@@ -43,16 +43,16 @@ "dedent": "^0.7.0",

"doctoc": "^2.0.1",
"eslint": "^7.31.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-adonis": "^1.3.3",
"eslint-plugin-prettier": "^3.4.0",
"github-label-sync": "^2.0.1",
"husky": "^7.0.1",
"eslint-plugin-prettier": "^4.0.0",
"github-label-sync": "^2.0.2",
"husky": "^7.0.2",
"japa": "^3.1.1",
"mrm": "^3.0.2",
"mrm": "^3.0.8",
"np": "^7.5.0",
"prettier": "^2.3.2",
"typescript": "^4.4.0-dev.20210514"
"typescript": "^4.4.2"
},
"dependencies": {
"edge-error": "^2.0.5"
"edge-error": "^2.0.6"
},

@@ -59,0 +59,0 @@ "config": {

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