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.3 to 16.3.4

6

index.d.ts

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

* grammarFromScriptElement was removed in Ohm v16.0. See
* https://git.io/Jwow5 for more info.
* https://ohmjs.org/d/gfs for more info.
* @deprecated

@@ -32,3 +32,3 @@ */

* grammarsFromScriptElements was removed in Ohm v16.0. See
* https://git.io/Jwow5 for more info.
* https://ohmjs.org/d/gfs for more info.
* @deprecated

@@ -312,3 +312,3 @@ */

*/
isOptional: boolean;
isOptional(): boolean;

@@ -315,0 +315,0 @@ /**

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

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

@@ -171,3 +171,3 @@ 'use strict';

'NOTE: A _syntactic rule_ is a rule whose name begins with a capital letter. ' +
'See https://git.io/JiYgP for more details.';
'See https://ohmjs.org/d/svl for more details.';

@@ -302,3 +302,3 @@ function applicationOfSyntacticRuleFromLexicalContext(ruleName, applyExpr) {

'\nNOTE: as of Ohm v16, there is no default action for iteration nodes — see ',
' https://git.io/JRwtG for details.',
' https://ohmjs.org/d/dsa for details.',
].join('\n');

@@ -305,0 +305,0 @@ }

@@ -143,3 +143,3 @@ 'use strict';

`it should use a rest parameter, e.g. \`${k}(...children) {}\`. ` +
'NOTE: this is new in Ohm v16 — see https://git.io/Jz4CI for details.';
'NOTE: this is new in Ohm v16 — see https://ohmjs.org/d/ati for details.';
} else {

@@ -146,0 +146,0 @@ details = `expected ${expected}, got ${actual}`;

@@ -298,3 +298,3 @@ 'use strict';

throw new Error(
'grammarFromScriptElement was removed in Ohm v16.0. See https://git.io/Jwow5 for more info.'
'grammarFromScriptElement was removed in Ohm v16.0. See https://ohmjs.org/d/gfs for more info.'
);

@@ -305,3 +305,3 @@ }

throw new Error(
'grammarsFromScriptElements was removed in Ohm v16.0. See https://git.io/Jwow5 for more info.'
'grammarsFromScriptElements was removed in Ohm v16.0. See https://ohmjs.org/d/gfs for more info.'
);

@@ -308,0 +308,0 @@ }

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