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.2

5

CHANGELOG.md
# bedrock-validation ChangeLog
## 5.6.2 - 2022-03-24
### Fixed
- Handle case that import schema has no default export.
## 5.6.1 - 2022-03-24

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

3

lib/main.js

@@ -41,3 +41,4 @@ /*!

const name = PATH.basename(file, PATH.extname(file));
const {default: api} = await import(PATH.join(schemaDir, file));
const module = await import(PATH.join(schemaDir, file));
const api = module.default || module;
if(typeof api === 'function') {

@@ -44,0 +45,0 @@ if(name in schemas) {

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

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