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

convict

Package Overview
Dependencies
Maintainers
9
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

convict - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

7

lib/convict.js

@@ -264,3 +264,6 @@ /**

var o = traverseSchema(schema, path);
return o ? (typeof o.format === 'string' ? o.format : typeof o.default) : null;
if (o == null) return null;
if (typeof o.format === 'string') return o.format;
if (o.default != null) return typeof o.default;
return null;
}

@@ -322,2 +325,4 @@

// TODO: Rename this `rv` variable (supposedly "return value") into something
// more meaningful.
var rv = {

@@ -324,0 +329,0 @@ getProperties: function() {

10

package.json

@@ -12,3 +12,3 @@ {

],
"version": "1.1.2",
"version": "1.1.3",
"license": "Apache-2.0",

@@ -43,3 +43,3 @@ "homepage": "https://github.com/mozilla/node-convict",

"depd": "1.1.0",
"moment": "2.11.2",
"moment": "2.12.0",
"optimist": "0.6.1",

@@ -50,7 +50,7 @@ "validator": "4.6.1",

"devDependencies": {
"coveralls": "2.11.6",
"eslint": "1.10.3",
"coveralls": "2.11.8",
"eslint": "2.4.0",
"istanbul": "0.4.2",
"mocha": "2.4.5",
"mocha-lcov-reporter": "1.0.0",
"mocha-lcov-reporter": "1.2.0",
"must": "0.13.1",

@@ -57,0 +57,0 @@ "obj_diff": "0.3.0"

@@ -74,2 +74,4 @@ # Node-convict

Example `server.js`:
```javascript

@@ -91,2 +93,10 @@ var http = require('http');

To launch your example server, and set a port:
```bash
node ./server.js --port 8080
```
*Note*: arguments *must* be supplied with the double-hyphen `--arg`. (Single hypen's are not supported at this time.)
## The Schema

@@ -93,0 +103,0 @@

Sorry, the diff of this file is not supported yet

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