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 7.0.4 to 7.0.5

8

build/src/Validator/Collector.js

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

Object.defineProperty(exports, "__esModule", { value: true });
const pope_1 = require("pope");
const lodash_set_1 = __importDefault(require("lodash.set"));

@@ -30,2 +31,9 @@ class Collector {

this.hasErrors = true;
if (message && typeof (message) === 'string') {
message = pope_1.pope(message, {
field: pointer,
args: rule.args,
validation: rule.name,
});
}
message = message || `${rule.name} validation failed on ${pointer}`;

@@ -32,0 +40,0 @@ message = typeof (message) === 'function' ? message(pointer, rule.name, rule.args) : message;

5

package.json
{
"name": "indicative-compiler",
"version": "7.0.4",
"version": "7.0.5",
"description": "Indicative compiler to compile parsed schema into highly optimized functions",

@@ -88,3 +88,4 @@ "main": "build/index.js",

"lodash.memoize": "^4.1.2",
"lodash.set": "^4.3.2"
"lodash.set": "^4.3.2",
"pope": "^2.0.2"
},

@@ -91,0 +92,0 @@ "publishConfig": {

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