Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@eik/common

Package Overview
Dependencies
Maintainers
4
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eik/common - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [2.0.1](https://github.com/eik-lib/common/compare/v2.0.0...v2.0.1) (2021-02-09)
### Bug Fixes
* correctly return default type from eik-config class ([fadaea7](https://github.com/eik-lib/common/commit/fadaea794346c77ce60b07fb8efd3684fc2c3911))
# [2.0.0](https://github.com/eik-lib/common/compare/v1.6.0...v2.0.0) (2021-02-08)

@@ -2,0 +9,0 @@

5

lib/classes/eik-config.js

@@ -6,3 +6,3 @@ const { promisify } = require('util');

const SingleDestMultipleSourcesError = require('./single-dest-multiple-source-error');
const { validate, assert } = require('../schemas');
const { assert, schema } = require('../schemas');

@@ -34,4 +34,3 @@ const _config = Symbol('config');

get type() {
const valid = validate.type(this[_config].type);
return valid.value;
return this[_config].type || schema.properties.type.default;
}

@@ -38,0 +37,0 @@

2

package.json
{
"name": "@eik/common",
"version": "2.0.0",
"version": "2.0.1",
"description": "Common utilities for Eik modules",

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