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

@bbc/consumer-contracts

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bbc/consumer-contracts - npm Package Compare versions

Comparing version 4.3.0 to 4.3.1

9

lib/validator.ts

@@ -11,7 +11,10 @@ import { Contract } from "./contract";

let schemaValidationResults: ValidationResultWithContext[] = [];
await Promise.all(contracts.map(contract => contract.validate((err, result) => {
schemaValidationResults.push({ err, ...result, contract, });
})));
for (const contract of contracts) {
await contract.validate((err, result) => {
schemaValidationResults.push({ err, ...result, contract });
});
}
cb(undefined, schemaValidationResults);
};
{
"name": "@bbc/consumer-contracts",
"version": "4.3.0",
"version": "4.3.1",
"description": "Consumer driven contracts for Node.js",

@@ -5,0 +5,0 @@ "main": "dist/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