Socket
Socket
Sign inDemoInstall

@jupiterone/integration-sdk-entity-validator

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupiterone/integration-sdk-entity-validator - npm Package Compare versions

Comparing version 13.2.0 to 13.3.0

dist/src/singleton.d.ts

1

dist/src/index.d.ts
export * from './validator';
export { unknownPropertySymbol, isEntityValidationError, type EntityValidationError, } from './entityValidationError';
export { getValidator, getValidatorSync } from './singleton';

5

dist/src/index.js

@@ -17,3 +17,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.isEntityValidationError = exports.unknownPropertySymbol = void 0;
exports.getValidatorSync = exports.getValidator = exports.isEntityValidationError = exports.unknownPropertySymbol = void 0;
__exportStar(require("./validator"), exports);

@@ -23,2 +23,5 @@ var entityValidationError_1 = require("./entityValidationError");

Object.defineProperty(exports, "isEntityValidationError", { enumerable: true, get: function () { return entityValidationError_1.isEntityValidationError; } });
var singleton_1 = require("./singleton");
Object.defineProperty(exports, "getValidator", { enumerable: true, get: function () { return singleton_1.getValidator; } });
Object.defineProperty(exports, "getValidatorSync", { enumerable: true, get: function () { return singleton_1.getValidatorSync; } });
//# sourceMappingURL=index.js.map

@@ -43,3 +43,11 @@ "use strict";

addSchemas(schema) {
this.ajvInstance.addSchema(schema);
const schemas = Array.isArray(schema) ? schema : [schema];
for (const schema of schemas) {
if (schema !== false && schema !== true && schema.$id) {
if (this.ajvInstance.getSchema(schema.$id)) {
this.ajvInstance.removeSchema(schema.$id);
}
}
this.ajvInstance.addSchema(schema);
}
return this;

@@ -46,0 +54,0 @@ }

{
"name": "@jupiterone/integration-sdk-entity-validator",
"version": "13.2.0",
"version": "13.3.0",
"description": "Validator for JupiterOne integration entities",

@@ -35,3 +35,3 @@ "main": "dist/src/index.js",

},
"gitHead": "7d41ae482fae0cf26f99243939000af055531131"
"gitHead": "40e735b259bf13a0c7ab9470391487979b34ff9e"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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