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

indicative

Package Overview
Dependencies
Maintainers
2
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

indicative - npm Package Compare versions

Comparing version 7.4.0 to 7.4.1

10

package.json
{
"name": "indicative",
"version": "7.4.0",
"version": "7.4.1",
"description": "Concise data validation library for Node.js and browsers",

@@ -84,7 +84,7 @@ "main": "index.js",

"dependencies": {
"indicative-compiler": "^7.2.0",
"indicative-formatters": "^7.2.2",
"indicative-parser": "^7.1.1",
"indicative-rules": "^7.2.3"
"indicative-compiler": "^7.2.1",
"indicative-formatters": "^7.2.3",
"indicative-parser": "^7.1.2",
"indicative-rules": "^7.3.0"
}
}
export declare class CacheManager<T extends any> {
private _cache;
private cache;
set(key: string, value: T): void;
get(key: string): T | undefined;
}

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

constructor() {
this._cache = new Map();
this.cache = new Map();
}
set(key, value) {
this._cache.set(key, value);
this.cache.set(key, value);
}
get(key) {
return this._cache.get(key);
return this.cache.get(key);
}
}
exports.CacheManager = CacheManager;

@@ -1,4 +0,3 @@

import { ErrorFormatterContract } from 'indicative-compiler';
import { ErrorCollectorFn } from 'indicative-compiler/build/src/contracts';
import { Schema, Messages, TypedSchema, ParsedTypedSchema } from 'indicative-parser';
import { ErrorFormatterContract, ErrorCollectorFn } from 'indicative-compiler';
export declare type ValidatorConfig = {

@@ -5,0 +4,0 @@ cacheKey?: string;

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