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

libraries.io

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libraries.io - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [1.6.1](https://github.com/ffflorian/api-clients/tree/master/packages/libraries.io/compare/libraries.io@1.6.0...libraries.io@1.6.1) (2019-07-11)
**Note:** Version bump only for package libraries.io
# [1.6.0](https://github.com/ffflorian/api-clients/tree/master/packages/libraries.io/compare/libraries.io@1.5.0...libraries.io@1.6.0) (2019-06-09)

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

2

dist/api/APIBase.d.ts

@@ -7,3 +7,2 @@ import { APIClient } from '@ffflorian/api-client';

constructor(apiClient: APIClient, options: ClientOptions);
protected checkApiKey(apiName?: string): void;
/**

@@ -19,2 +18,3 @@ * Set a new API URL.

setApiKey(apiKey: string): void;
protected checkApiKey(apiName?: string): void;
}

@@ -8,8 +8,2 @@ "use strict";

}
APIBase.prototype.checkApiKey = function (apiName) {
apiName = "the \"" + apiName + "\"" || 'this';
if (!this.options.apiKey) {
throw new Error("An API key needs to be set in order to use " + apiName + " API");
}
};
/**

@@ -29,2 +23,8 @@ * Set a new API URL.

};
APIBase.prototype.checkApiKey = function (apiName) {
apiName = "the \"" + apiName + "\"" || 'this';
if (!this.options.apiKey) {
throw new Error("An API key needs to be set in order to use " + apiName + " API");
}
};
return APIBase;

@@ -31,0 +31,0 @@ }());

{
"author": "Florian Keller <github@floriankeller.de>",
"dependencies": {
"@ffflorian/api-client": "0.5.0"
"@ffflorian/api-client": "0.5.1"
},

@@ -12,5 +12,5 @@ "description": "A libraries.io API client",

"rimraf": "2.6.3",
"ts-node": "8.2.0",
"ts-node": "8.3.0",
"typedoc": "0.14.2",
"typescript": "3.5.1"
"typescript": "3.5.3"
},

@@ -37,4 +37,4 @@ "files": [

},
"version": "1.6.0",
"gitHead": "1f512e6aba28e3808a59c5021a3f2523b28f52ef"
"version": "1.6.1",
"gitHead": "f780bea9c48c3ce89768af6e745de0c0420b3a28"
}

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