Socket
Socket
Sign inDemoInstall

@financial-times/cmdb.js

Package Overview
Dependencies
Maintainers
15
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/cmdb.js - npm Package Compare versions

Comparing version 3.4.3 to 3.5.0

2

package.json
{
"name": "@financial-times/cmdb.js",
"description": "A javascript library for interacting with the CMDB v3",
"version": "3.4.3",
"version": "3.5.0",
"main": "dist/cmdb.js",

@@ -6,0 +6,0 @@ "browser": "dist/cmdb.mjs",

@@ -15,3 +15,4 @@ import querystring from 'querystring';

* @param {string} config.apikey - The apikey to send to CMDB API
* @param {Object} [config.logger] - A logger objet with the Winston API
* @param {Object} [config.fetch=isomorphic-unfetch] - A http client with the fetch API
* @param {Object} [config.logger] - A logger object with the Winston API
* @param {boolean} [config.verbose=false] - Whether to enable logging

@@ -21,2 +22,3 @@ */

api = 'https://cmdb.in.ft.com/v3/',
fetch: client = fetch,
verbose = false,

@@ -31,2 +33,3 @@ logger,

this.apikey = apikey;
this.fetch = client;
this.verbose = verbose;

@@ -168,3 +171,3 @@ this._logger = this.verbose ? logger || console : noOpLogger();

return fetch(
return this.fetch(
`${this.api}${path}`,

@@ -171,0 +174,0 @@ this._getFetchCredentials(locals, { method, body, timeout })

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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