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

g2-ops-config

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

g2-ops-config - npm Package Compare versions

Comparing version 0.0.21 to 0.0.22

3

dist/index.js

@@ -45,7 +45,6 @@ 'use strict';

var application = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : configParams.application;
return console.log(configParams) || 'http://' + configParams.auth.user + ':' + configParams.auth.pass + '@' + configParams.endpoint + '/' + application + '/' + profile;
return 'http://' + configParams.auth.user + ':' + configParams.auth.pass + '@' + configParams.endpoint + '/' + application + '/' + profile;
};
function getYamlPromise(profile, application) {
console.log(configFileURL(profile, application));
return _axios2.default.get(configFileURL(profile, application)).then(function (response) {

@@ -52,0 +51,0 @@ return response.data;

{
"name": "g2-ops-config",
"version": "0.0.21",
"version": "0.0.22",
"description": "To fetch and maintain cloud configs for difference projects",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -33,7 +33,5 @@ // @flow

export const configFileURL = (profile: string, application?: string = configParams.application): string =>
console.log(configParams) ||
`http://${configParams.auth.user}:${configParams.auth.pass}@${configParams.endpoint}/${application}/${profile}`
function getYamlPromise(profile, application) {
console.log(configFileURL(profile, application))
return axios.get(configFileURL(profile, application)).then((response) => response.data)

@@ -40,0 +38,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