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
194
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 2.0.13 to 2.0.14

26

index.d.ts

@@ -206,2 +206,28 @@ export declare class Node {

export type TextInspection = {
pattern: Pattern | null;
astNode: Node | null;
match: {
text: string;
startIndex: number;
endIndex: number;
} | null;
error: {
text: string;
startIndex: number;
endIndex: number;
} | null;
tokens: {
startIndex: number;
options: string[] | null;
} | null;
isComplete: boolean;
parseStack: Node[] | null;
};
export declare class TextInspector {
inspect(text: string, pattern: Pattern): TextInspection;
static inspect(text: string, pattern: Pattern): TextInspection;
}
export declare class ParseError {

@@ -208,0 +234,0 @@ constructor(message: string, index: number, pattern: Pattern);

3

package.json
{
"name": "clarity-pattern-parser",
"type": "module",
"version": "2.0.13",
"version": "2.0.14",
"description": "",

@@ -12,2 +12,3 @@ "main": "./lib/index.js",

},
"types": "./index.d.ts",
"keywords": [],

@@ -14,0 +15,0 @@ "devDependencies": {

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