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

guardian-js

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

guardian-js - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

4

dist/Endpoint.d.ts

@@ -8,3 +8,3 @@ interface IEndpoint {

request: (params: Object) => Promise<Object>;
search: (query: string, filters: object) => Function;
search: (query: string, filters: object) => Promise<unknown>;
getById: (id: string) => Function;

@@ -19,3 +19,3 @@ }

request: (params: Object) => Promise<any>;
search: (query: string, filters: object) => Function;
search: (query: string, filters: object) => Promise<unknown>;
getById: (id: string) => Function;

@@ -22,0 +22,0 @@ constructor(endpoint: string, key: string, useSSL: boolean, availableFunctions?: Array<string>);

{
"name": "guardian-js",
"version": "4.0.0",
"version": "4.0.1",
"description": "A JavaScript lib for the Guardian's api",

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

@@ -25,3 +25,3 @@ import { get } from 'request';

request: (params: Object) => Promise<Object>,
search: (query: string, filters: object) => Function,
search: (query: string, filters: object) => Promise<unknown>,
getById: (id: string) => Function,

@@ -37,3 +37,3 @@ }

request: (params: Object) => Promise<any>;
search: (query: string, filters: object) => Function;
search: (query: string, filters: object) => Promise<unknown>;
getById: (id: string) => Function;

@@ -81,2 +81,2 @@

}
}
}
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