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

config

Package Overview
Dependencies
Maintainers
2
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

config - npm Package Compare versions

Comparing version 1.29.3 to 1.29.4

5

History.md

@@ -0,1 +1,6 @@

1.29.4 / 2018-02-03
===================
* Re-publish - last changes didn't make it to npm
1.29.3 / 2018-02-03

@@ -2,0 +7,0 @@ ===================

37

lib/config.js

@@ -35,2 +35,15 @@ // config.js (c) 2010-2015 Loren West and other contributors

// Define soft dependencies so transpilers don't include everything
var COFFEE_DEP = "coffee-script",
ICED_DEP = "iced-coffee-script",
JS_YAML_DEP = "js-yaml",
YAML_DEP = "yaml",
JSON5_DEP = "json5",
HJSON_DEP = "hjson",
TOML_DEP = "toml",
CSON_DEP = "cson",
PPARSER_DEP = "properties",
XML_DEP = "x2js",
TS_DEP = "ts-node";
/**

@@ -880,3 +893,3 @@ * <p>Application Configurations</p>

if (!require.extensions['.ts']) {
require('ts-node').register({
require(TS_DEP).register({
lazy: true,

@@ -909,3 +922,3 @@ compilerOptions: {

Coffee = require("coffee-script");
Coffee = require(COFFEE_DEP);

@@ -921,3 +934,3 @@ // coffee-script >= 1.7.0 requires explicit registration for require() to work

else if (extension === 'iced') {
Iced = require("iced-coffee-script");
Iced = require(ICED_DEP);

@@ -988,3 +1001,3 @@ // coffee-script >= 1.7.0 requires explicit registration for require() to work

// Try to load the better js-yaml module
Yaml = require('js-yaml');
Yaml = require(JS_YAML_DEP);
}

@@ -994,3 +1007,3 @@ catch (e) {

// If it doesn't exist, load the fallback visionmedia yaml module.
VisionmediaYaml = require('yaml');
VisionmediaYaml = require(YAML_DEP);
}

@@ -1026,3 +1039,3 @@ catch (e) { }

if (!JSON5) {
JSON5 = require('json5');
JSON5 = require(JSON5_DEP);
}

@@ -1036,3 +1049,3 @@

if (!JSON5) {
JSON5 = require('json5');
JSON5 = require(JSON5_DEP);
}

@@ -1045,3 +1058,3 @@

if (!HJSON) {
HJSON = require('hjson');
HJSON = require(HJSON_DEP);
}

@@ -1054,3 +1067,3 @@

if(!TOML) {
TOML = require('toml');
TOML = require(TOML_DEP);
}

@@ -1062,3 +1075,3 @@

if (!CSON) {
CSON = require('cson');
CSON = require(CSON_DEP);
}

@@ -1074,3 +1087,3 @@ // Allow comments in CSON files

if (!PPARSER) {
PPARSER = require('properties');
PPARSER = require(PPARSER_DEP);
}

@@ -1081,3 +1094,3 @@ configObject = PPARSER.parse(content, { namespaces: true, variables: true, sections: true });

if (!XML) {
XML = require('x2js');
XML = require(XML_DEP);
}

@@ -1084,0 +1097,0 @@

{
"name": "config",
"version": "1.29.3",
"version": "1.29.4",
"main": "./lib/config.js",

@@ -5,0 +5,0 @@ "description": "Configuration control for production node deployments",

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