@bbc/consumer-contracts
Advanced tools
Comparing version 4.3.0 to 4.3.1
@@ -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", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
90241
1880
0