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

ohm-js

Package Overview
Dependencies
Maintainers
3
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ohm-js - npm Package Compare versions

Comparing version 16.3.4 to 16.4.0

dist/dist/built-in-rules.d.ts

55

index.d.ts

@@ -9,2 +9,29 @@ // DO NOT EDIT! This file is autogenerated from scripts/data/index.d.ts.template.

/**
* Constructors for parsing expressions (aka pexprs). (Except for `any`
* and `end`, which are not constructors but singleton instances.)
*/
const pexprs: {
PExpr: typeof PExpr;
Terminal: typeof Terminal;
Range: typeof Range;
Param: typeof Param;
Alt: typeof Alt;
Extend: typeof Extend;
Splice: typeof Splice;
Seq: typeof Seq;
Iter: typeof Iter;
Star: typeof Star;
Plus: typeof Plus;
Opt: typeof Opt;
Not: typeof Not;
Lookahead: typeof Lookahead;
Lex: typeof Lex;
Apply: typeof Apply;
UnicodeChar: typeof UnicodeChar;
CaseInsensitiveTerminal: typeof CaseInsensitiveTerminal;
any: PExpr;
end: PExpr;
};
/**
* Instantiate the Grammar defined by source. If specified, namespace is

@@ -102,3 +129,29 @@ * the Namespace to use when resolving external references in the grammar.

interface PExpr {}
class PExpr {
getArity(): number;
isNullable(): boolean;
toString(): string;
toDisplayString(): string;
}
class Terminal extends PExpr {}
class Range extends PExpr {}
class Param extends PExpr {}
class Alt extends PExpr {
terms: PExpr[];
}
class Extend extends Alt {}
class Splice extends Alt {}
class Seq extends PExpr {
factors: PExpr[];
}
class Iter extends PExpr {}
class Star extends Iter {}
class Plus extends Iter {}
class Opt extends Iter {}
class Not extends PExpr {}
class Lookahead extends PExpr {}
class Lex extends PExpr {}
class Apply extends PExpr {}
class UnicodeChar extends PExpr {}
class CaseInsensitiveTerminal extends PExpr {}

@@ -105,0 +158,0 @@ /**

2

package.json
{
"name": "ohm-js",
"version": "16.3.4",
"version": "16.4.0",
"description": "An object-oriented language for parsing and pattern matching",

@@ -5,0 +5,0 @@ "repository": "https://github.com/harc/ohm",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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