Socket
Socket
Sign inDemoInstall

basic-parser

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.1.0

9

dist/basic-parser.js

@@ -103,6 +103,13 @@ var _extends = Object.assign || function (target) {

var isMatchEscaped = beforeChunk[beforeChunk.length - 1] === '\\';
if (beforeChunk) {
contexts.push(beforeChunk);
contexts.push(isMatchEscaped ? beforeChunk.slice(0, -1) : beforeChunk);
}
if (isMatchEscaped) {
contexts.push(regExpResult.input[regExpResult.index]);
continue;
}
renderers.some(function (renderer) {

@@ -109,0 +116,0 @@ var isInSomeRendererGroup = renderer.groupIndexes.some(function (groupIndex) {

@@ -63,6 +63,13 @@ // @flow

const isMatchEscaped = beforeChunk[beforeChunk.length - 1] === '\\'
if (beforeChunk) {
contexts.push(beforeChunk)
contexts.push(isMatchEscaped ? beforeChunk.slice(0, -1) : beforeChunk)
}
if (isMatchEscaped) {
contexts.push(regExpResult.input[regExpResult.index])
continue
}
renderers.some(renderer => {

@@ -69,0 +76,0 @@ const isInSomeRendererGroup = renderer.groupIndexes.some(

@@ -109,6 +109,13 @@ (function (global, factory) {

var isMatchEscaped = beforeChunk[beforeChunk.length - 1] === '\\';
if (beforeChunk) {
contexts.push(beforeChunk);
contexts.push(isMatchEscaped ? beforeChunk.slice(0, -1) : beforeChunk);
}
if (isMatchEscaped) {
contexts.push(regExpResult.input[regExpResult.index]);
continue;
}
renderers.some(function (renderer) {

@@ -115,0 +122,0 @@ var isInSomeRendererGroup = renderer.groupIndexes.some(function (groupIndex) {

@@ -63,6 +63,13 @@ // @flow

const isMatchEscaped = beforeChunk[beforeChunk.length - 1] === '\\'
if (beforeChunk) {
contexts.push(beforeChunk)
contexts.push(isMatchEscaped ? beforeChunk.slice(0, -1) : beforeChunk)
}
if (isMatchEscaped) {
contexts.push(regExpResult.input[regExpResult.index])
continue
}
renderers.some(renderer => {

@@ -69,0 +76,0 @@ const isInSomeRendererGroup = renderer.groupIndexes.some(

2

package.json
{
"name": "basic-parser",
"version": "1.0.3",
"version": "1.1.0",
"description": "An extremely basic token-based parser",

@@ -5,0 +5,0 @@ "repository": "https://github.com/amsul/basic-parser",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc