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

bedrock-validation

Package Overview
Dependencies
Maintainers
5
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bedrock-validation - npm Package Compare versions

Comparing version

to
5.6.3

5

CHANGELOG.md
# bedrock-validation ChangeLog
## 5.6.3 - 2022-03-24
### Fixed
- Fix slow loading of schemas in same dir (load in parallel).
## 5.6.2 - 2022-03-24

@@ -4,0 +9,0 @@

7

lib/main.js

@@ -28,3 +28,3 @@ /*!

// load all schemas
// load all schemas in directory order
const schemaDirs = bedrock.config.validation.schema.paths;

@@ -40,3 +40,4 @@ const jsExt = '.js';

});
for(const file of files) {
// load files in parallel
await Promise.all(files.map(async file => {
const name = PATH.basename(file, PATH.extname(file));

@@ -65,3 +66,3 @@ const module = await import(PATH.join(schemaDir, file));

}
}
}));
}

@@ -68,0 +69,0 @@ }

{
"name": "bedrock-validation",
"version": "5.6.2",
"version": "5.6.3",
"description": "Bedrock validation",

@@ -5,0 +5,0 @@ "main": "./lib",