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

@balena/contrato

Package Overview
Dependencies
Maintainers
0
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@balena/contrato - npm Package Compare versions

Comparing version 0.9.6-build-renovate-js-combinatorics-8300a4a59e0a5e376541dbf2570842119ab507a9-1 to 0.10.0-build-json-schema-is-valid-188ad5f996599f0d528343336f104d0883b36da6-1

build/json-schema.d.ts

8

build/contract.d.ts

@@ -8,3 +8,3 @@ import type { ContractObject } from './types/types';

rebuild(): void;
interpolate(options?: object): Contract;
interpolate(options?: object): this;
getVersion(): string;

@@ -18,5 +18,5 @@ getSlug(): string;

toJSON(): ContractObject;
addChild(contract: Contract, options?: object): Contract;
removeChild(contract: Contract, options?: object): Contract;
addChildren(contracts?: Contract[], options?: object): Contract;
addChild(contract: Contract, options?: object): this;
removeChild(contract: Contract, options?: object): this;
addChildren(contracts?: Contract[], options?: object): this;
getChildrenTypes(): Set<string>;

@@ -23,0 +23,0 @@ getChildByHash(childHash: string): Contract | undefined;

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

const uniqWith_1 = __importDefault(require("lodash/uniqWith"));
const skhema_1 = require("skhema");
const js_combinatorics_1 = require("js-combinatorics");
const semver_1 = require("semver");
const json_schema_1 = require("./json-schema");
const object_set_1 = __importDefault(require("./object-set"));

@@ -354,3 +354,3 @@ const matcher_cache_1 = __importDefault(require("./matcher-cache"));

if (options['filter']) {
const filterValidator = (0, partial_1.default)(skhema_1.isValid, options['filter']);
const filterValidator = (0, partial_1.default)(json_schema_1.isValid, options['filter']);
contracts = (0, filter_1.default)(contracts, (con) => {

@@ -357,0 +357,0 @@ return filterValidator(con.raw);

{
"name": "@balena/contrato",
"version": "0.9.6-build-renovate-js-combinatorics-8300a4a59e0a5e376541dbf2570842119ab507a9-1",
"version": "0.10.0-build-json-schema-is-valid-188ad5f996599f0d528343336f104d0883b36da6-1",
"description": "The official contract implementation",

@@ -37,13 +37,15 @@ "homepage": "https://github.com/product-os/contrato",

"dependencies": {
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"debug": "^3.2.6",
"handlebars": "^4.7.8",
"js-combinatorics": "^0.6.0",
"js-combinatorics": "^0.5.5",
"json-schema": "^0.4.0",
"lodash": "^4.17.19",
"object-hash": "^1.3.1",
"promised-handlebars": "^2.0.1",
"semver": "^5.7.1",
"skhema": "^5.3.2"
"semver": "^5.7.1"
},
"devDependencies": {
"@balena/lint": "^8.0.2",
"@balena/lint": "^8.2.8",
"@types/chai": "^4.2.11",

@@ -53,2 +55,3 @@ "@types/chai-as-promised": "^7.1.2",

"@types/js-combinatorics": "^0.5.32",
"@types/json-schema": "^7.0.15",
"@types/lodash": "^4.14.168",

@@ -76,4 +79,4 @@ "@types/mocha": "^10.0.6",

"versionist": {
"publishedAt": "2024-12-18T11:47:34.486Z"
"publishedAt": "2024-12-18T12:25:33.452Z"
}
}

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