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

clarity-pattern-parser

Package Overview
Dependencies
Maintainers
1
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clarity-pattern-parser - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

16

dist/main.js

@@ -1230,6 +1230,4 @@ (function webpackUniversalModuleDefinition(root, factory) {

while (true) {
let mark = this.cursor.mark();
const node = this._pattern.parse(this.cursor);
const node = this._pattern.parse(this.cursor, this.parseError);
if (this.cursor.hasUnresolvedError()) {

@@ -1245,6 +1243,5 @@ this._processMatch();

}
mark = this.cursor.mark();
this.cursor.next();
if (this._divider != null) {

@@ -1747,2 +1744,8 @@ const mark = this.cursor.mark();

this.nodes.push(node);
if (node.endIndex === this.cursor.lastIndex()) {
this._processMatch();
break;
}
this.cursor.next();

@@ -1752,3 +1755,2 @@

const mark = this.cursor.mark();
const node = this._divider.parse(this.cursor);

@@ -1755,0 +1757,0 @@

@@ -90,2 +90,9 @@ "use strict";

this.nodes.push(node);
if (node.endIndex === this.cursor.lastIndex()) {
this._processMatch();
break;
}
this.cursor.next();

@@ -92,0 +99,0 @@

@@ -82,6 +82,4 @@ "use strict";

while (true) {
var mark = this.cursor.mark();
var node = this._pattern.parse(this.cursor);
var node = this._pattern.parse(this.cursor, this.parseError);
if (this.cursor.hasUnresolvedError()) {

@@ -100,7 +98,6 @@ this._processMatch();

mark = this.cursor.mark();
this.cursor.next();
if (this._divider != null) {
var _mark = this.cursor.mark();
var mark = this.cursor.mark();

@@ -110,3 +107,3 @@ var _node = this._divider.parse(this.cursor);

if (this.cursor.hasUnresolvedError()) {
this.cursor.moveToMark(_mark);
this.cursor.moveToMark(mark);

@@ -113,0 +110,0 @@ this._processMatch();

{
"name": "clarity-pattern-parser",
"type": "module",
"version": "1.0.8",
"version": "1.0.9",
"description": "",

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

@@ -44,2 +44,8 @@ import CompositePattern from "./CompositePattern.js";

this.nodes.push(node);
if (node.endIndex === this.cursor.lastIndex()) {
this._processMatch();
break;
}
this.cursor.next();

@@ -49,3 +55,2 @@

const mark = this.cursor.mark();
const node = this._divider.parse(this.cursor);

@@ -52,0 +57,0 @@

@@ -39,6 +39,4 @@ import ValuePattern from "./ValuePattern.js";

while (true) {
let mark = this.cursor.mark();
const node = this._pattern.parse(this.cursor);
const node = this._pattern.parse(this.cursor, this.parseError);
if (this.cursor.hasUnresolvedError()) {

@@ -54,6 +52,5 @@ this._processMatch();

}
mark = this.cursor.mark();
this.cursor.next();
if (this._divider != null) {

@@ -60,0 +57,0 @@ const mark = this.cursor.mark();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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