Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tagged-comment-parser

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tagged-comment-parser - npm Package Compare versions

Comparing version 1.3.5 to 1.3.6

4

package.json
{
"name": "tagged-comment-parser",
"version": "1.3.5",
"version": "1.3.6",
"main": "index.js",

@@ -11,3 +11,3 @@ "types": "index.d.ts",

"@kristiandupont/dev-deps": "^2.16.0",
"peggy": "3.0.2"
"peggy": "4.0.0"
},

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

@@ -1,2 +0,2 @@

// Generated by Peggy 3.0.2.
// @generated by Peggy 4.0.0.
//

@@ -7,2 +7,3 @@ // https://peggyjs.org/

function peg$subclass(child, parent) {

@@ -227,12 +228,12 @@ function C() { this.constructor = child; }

var peg$f15 = function(content) { return content.join('').trim() };
var peg$currPos = 0;
var peg$savedPos = 0;
var peg$currPos = options.peg$currPos | 0;
var peg$savedPos = peg$currPos;
var peg$posDetailsCache = [{ line: 1, column: 1 }];
var peg$maxFailPos = 0;
var peg$maxFailExpected = [];
var peg$silentFails = 0;
var peg$maxFailPos = peg$currPos;
var peg$maxFailExpected = options.peg$maxFailExpected || [];
var peg$silentFails = options.peg$silentFails | 0;
var peg$result;
if ("startRule" in options) {
if (options.startRule) {
if (!(options.startRule in peg$startRuleFunctions)) {

@@ -312,5 +313,7 @@ throw new Error("Can't start parsing from rule \"" + options.startRule + "\".");

} else {
p = pos - 1;
while (!peg$posDetailsCache[p]) {
p--;
if (pos >= peg$posDetailsCache.length) {
p = peg$posDetailsCache.length - 1;
} else {
p = pos;
while (!peg$posDetailsCache[--p]) {}
}

@@ -616,4 +619,4 @@

s1 = [];
if (peg$r0.test(input.charAt(peg$currPos))) {
s2 = input.charAt(peg$currPos);
s2 = input.charAt(peg$currPos);
if (peg$r0.test(s2)) {
peg$currPos++;

@@ -627,4 +630,4 @@ } else {

s1.push(s2);
if (peg$r0.test(input.charAt(peg$currPos))) {
s2 = input.charAt(peg$currPos);
s2 = input.charAt(peg$currPos);
if (peg$r0.test(s2)) {
peg$currPos++;

@@ -655,4 +658,4 @@ } else {

s2 = [];
if (peg$r1.test(input.charAt(peg$currPos))) {
s3 = input.charAt(peg$currPos);
s3 = input.charAt(peg$currPos);
if (peg$r1.test(s3)) {
peg$currPos++;

@@ -665,4 +668,4 @@ } else {

s2.push(s3);
if (peg$r1.test(input.charAt(peg$currPos))) {
s3 = input.charAt(peg$currPos);
s3 = input.charAt(peg$currPos);
if (peg$r1.test(s3)) {
peg$currPos++;

@@ -683,4 +686,4 @@ } else {

s4 = [];
if (peg$r1.test(input.charAt(peg$currPos))) {
s5 = input.charAt(peg$currPos);
s5 = input.charAt(peg$currPos);
if (peg$r1.test(s5)) {
peg$currPos++;

@@ -693,4 +696,4 @@ } else {

s4.push(s5);
if (peg$r1.test(input.charAt(peg$currPos))) {
s5 = input.charAt(peg$currPos);
s5 = input.charAt(peg$currPos);
if (peg$r1.test(s5)) {
peg$currPos++;

@@ -744,4 +747,4 @@ } else {

s2 = [];
if (peg$r2.test(input.charAt(peg$currPos))) {
s3 = input.charAt(peg$currPos);
s3 = input.charAt(peg$currPos);
if (peg$r2.test(s3)) {
peg$currPos++;

@@ -754,4 +757,4 @@ } else {

s2.push(s3);
if (peg$r2.test(input.charAt(peg$currPos))) {
s3 = input.charAt(peg$currPos);
s3 = input.charAt(peg$currPos);
if (peg$r2.test(s3)) {
peg$currPos++;

@@ -792,4 +795,4 @@ } else {

s2 = [];
if (peg$r3.test(input.charAt(peg$currPos))) {
s3 = input.charAt(peg$currPos);
s3 = input.charAt(peg$currPos);
if (peg$r3.test(s3)) {
peg$currPos++;

@@ -802,4 +805,4 @@ } else {

s2.push(s3);
if (peg$r3.test(input.charAt(peg$currPos))) {
s3 = input.charAt(peg$currPos);
s3 = input.charAt(peg$currPos);
if (peg$r3.test(s3)) {
peg$currPos++;

@@ -832,4 +835,4 @@ } else {

s1 = [];
if (peg$r4.test(input.charAt(peg$currPos))) {
s2 = input.charAt(peg$currPos);
s2 = input.charAt(peg$currPos);
if (peg$r4.test(s2)) {
peg$currPos++;

@@ -843,4 +846,4 @@ } else {

s1.push(s2);
if (peg$r4.test(input.charAt(peg$currPos))) {
s2 = input.charAt(peg$currPos);
s2 = input.charAt(peg$currPos);
if (peg$r4.test(s2)) {
peg$currPos++;

@@ -871,4 +874,4 @@ } else {

s1 = [];
if (peg$r5.test(input.charAt(peg$currPos))) {
s2 = input.charAt(peg$currPos);
s2 = input.charAt(peg$currPos);
if (peg$r5.test(s2)) {
peg$currPos++;

@@ -882,4 +885,4 @@ } else {

s1.push(s2);
if (peg$r5.test(input.charAt(peg$currPos))) {
s2 = input.charAt(peg$currPos);
s2 = input.charAt(peg$currPos);
if (peg$r5.test(s2)) {
peg$currPos++;

@@ -905,2 +908,11 @@ } else {

if (options.peg$library) {
return /** @type {any} */ ({
peg$result,
peg$currPos,
peg$FAILED,
peg$maxFailExpected,
peg$maxFailPos
});
}
if (peg$result !== peg$FAILED && peg$currPos === input.length) {

@@ -924,4 +936,5 @@ return peg$result;

module.exports = {
StartRules: ["start"],
SyntaxError: peg$SyntaxError,
parse: peg$parse
};
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