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

good-enough-parser

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

good-enough-parser - npm Package Compare versions

Comparing version 1.1.19 to 1.1.20

4

dist/cjs/lang/groovy.js

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

startsWith: '$',
symbols: /[a-zA-Z_][a-zA-Z0-9_]+/,
symbols: /[a-zA-Z_][a-zA-Z0-9_]*/,
operators: ['.'],

@@ -66,3 +66,3 @@ },

],
symbols: /[a-zA-Z$_][a-zA-Z0-9$_]+/,
symbols: /[a-zA-Z$_][a-zA-Z0-9$_]*/,
numbers,

@@ -69,0 +69,0 @@ operators,

@@ -75,2 +75,3 @@ "use strict";

match(checkpoint) {
var _a;
const rootCursor = this.seekNext(checkpoint.cursor);

@@ -101,2 +102,6 @@ const rootNode = rootCursor.node;

}
else if ((rootNode === null || rootNode === void 0 ? void 0 : rootNode.type) === 'string-value' && ((_a = this.matchers) === null || _a === void 0 ? void 0 : _a.length)) {
const matcher = this.matchers[0];
return matcher.match({ context: checkpoint.context, cursor: rootCursor });
}
return null;

@@ -103,0 +108,0 @@ }

@@ -50,3 +50,3 @@ /**

startsWith: '$',
symbols: /[a-zA-Z_][a-zA-Z0-9_]+/,
symbols: /[a-zA-Z_][a-zA-Z0-9_]*/,
operators: ['.'],

@@ -63,3 +63,3 @@ },

],
symbols: /[a-zA-Z$_][a-zA-Z0-9$_]+/,
symbols: /[a-zA-Z$_][a-zA-Z0-9$_]*/,
numbers,

@@ -66,0 +66,0 @@ operators,

@@ -70,2 +70,3 @@ import { safeHandler } from '../handler';

match(checkpoint) {
var _a;
const rootCursor = this.seekNext(checkpoint.cursor);

@@ -96,2 +97,6 @@ const rootNode = rootCursor.node;

}
else if ((rootNode === null || rootNode === void 0 ? void 0 : rootNode.type) === 'string-value' && ((_a = this.matchers) === null || _a === void 0 ? void 0 : _a.length)) {
const matcher = this.matchers[0];
return matcher.match({ context: checkpoint.context, cursor: rootCursor });
}
return null;

@@ -98,0 +103,0 @@ }

{
"name": "good-enough-parser",
"description": "Parse and query computer programs source code",
"version": "1.1.19",
"version": "1.1.20",
"repository": "https://github.com/zharinov/good-enough-parser.git",

@@ -40,12 +40,12 @@ "author": "Sergei Zharinov",

"klona": "2.0.5",
"moo": "0.5.1"
"moo": "0.5.2"
},
"devDependencies": {
"@homer0/prettier-plugin-jsdoc": "5.1.4",
"@homer0/prettier-plugin-jsdoc": "5.1.5",
"@renovate/eslint-plugin": "https://github.com/renovatebot/eslint-plugin#v0.0.4",
"@types/jest": "28.1.8",
"@types/node": "16.11.56",
"@typescript-eslint/eslint-plugin": "5.35.1",
"@typescript-eslint/parser": "5.35.1",
"eslint": "8.23.0",
"@types/jest": "29.2.0",
"@types/node": "16.18.0",
"@typescript-eslint/eslint-plugin": "5.40.1",
"@typescript-eslint/parser": "5.40.1",
"eslint": "8.26.0",
"eslint-config-prettier": "8.5.0",

@@ -56,14 +56,14 @@ "eslint-plugin-import": "2.26.0",

"husky": "8.0.1",
"jest": "29.0.1",
"jest": "29.2.1",
"jest-watch-select-projects": "2.0.0",
"jest-watch-suspend": "1.1.2",
"jest-watch-typeahead": "2.1.1",
"jest-watch-typeahead": "2.2.0",
"npm-run-all": "4.1.5",
"prettier": "2.7.1",
"pretty-quick": "3.1.3",
"release-it": "15.4.0",
"ts-jest": "28.0.8",
"release-it": "15.5.0",
"ts-jest": "29.0.3",
"ts-node": "10.9.1",
"ttypescript": "1.5.13",
"typescript": "4.8.2",
"typescript": "4.8.4",
"upath": "2.0.1"

@@ -70,0 +70,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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