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

determination

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

determination - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

4

lib/index.js

@@ -12,4 +12,4 @@ 'use strict';

protocols: Joi.object().default({}),
defaults: Joi.object().default({}),
overrides: Joi.object().default({})
defaults: Joi.alternatives(Joi.string(), Joi.object()).default({}),
overrides: Joi.alternatives(Joi.string(), Joi.object()).default({})
}).required();

@@ -16,0 +16,0 @@

@@ -67,2 +67,9 @@ 'use strict';

if (typeof defaults === 'string') {
defaults = LoadJson(defaults);
}
if (typeof overrides === 'string') {
overrides = LoadJson(overrides);
}
const resolve = shortstopHandler(protocols, Path.dirname(config));

@@ -69,0 +76,0 @@

@@ -10,3 +10,3 @@ {

],
"version": "1.0.0",
"version": "1.1.0",
"author": "Trevor Livingston <tlivings@gmail.com>",

@@ -13,0 +13,0 @@ "repository": {

@@ -21,4 +21,4 @@ # determination

- `protocols` (_Object_) - optional mapping of protocols for [shortstop](https://github.com/krakenjs/shortstop).
- `defaults` (_Object_) - optional default configuration values.
- `overrides` (_Object_) - optional override configuration values.
- `defaults` (_Object_ | _String_) - optional default configuration values.
- `overrides` (_Object_ | _String_) - optional override configuration values.
- returns - a resolver.

@@ -25,0 +25,0 @@

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