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

indicative-compiler

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

indicative-compiler - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

build/src/contracts.d.ts

@@ -25,3 +25,3 @@ import { ParsedRule, Message } from 'indicative-parser';

export interface ErrorFormatterContract<T extends any = any> {
addError(error: string | Error, field: string, rule: ParsedRule): void;
addError(error: string | Error, field: string, ruleName: ParsedRule['name'], args: ParsedRule['args']): void;
toJSON(): T[] | null;

@@ -28,0 +28,0 @@ }

@@ -28,5 +28,5 @@ "use strict";

message = typeof (message) === 'function' ? message(pointer, rule.name, rule.args) : message;
this.formatter.addError(message, pointer, rule);
this.formatter.addError(message, pointer, rule.name, rule.args);
}
}
exports.Collector = Collector;
{
"name": "indicative-compiler",
"version": "1.0.3",
"version": "1.0.4",
"description": "Indicative compiler to compile parsed schema into highly optimized functions",

@@ -5,0 +5,0 @@ "main": "build/index.js",

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