New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

contentful

Package Overview
Dependencies
Maintainers
5
Versions
464
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contentful - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

26

index.d.ts
// Type definitions for contentful
// Definitions by: Miika Hänninen <https://github.com/googol>
export interface AxiosProxyConfig {
host: string;
port?: number;
auth?: {
username: string;
password: string;
};
}
export interface CreateClientParams {

@@ -9,3 +18,5 @@ space: string;

host?: string;
agent?: any;
httpAgent?: any;
httpsAgent?: any;
proxy?: AxiosProxyConfig;
headers?: any;

@@ -68,3 +79,3 @@ resolveLinks?: boolean;

displayField: string;
Array: string;
fields: Array<Field>;
toPlainObject(): ContentType;

@@ -109,2 +120,13 @@ }

export interface Field {
disabled: boolean;
id: string;
linkType?: string;
localized: boolean;
name: string;
omitted: boolean;
required: boolean;
type: string;
}
export function createClient(params: CreateClientParams): ContentfulClientApi;

2

package.json
{
"name": "contentful",
"description": "Client for Contentful's Content Delivery API",
"version": "4.2.0",
"version": "4.2.1",
"homepage": "https://www.contentful.com/developers/documentation/content-delivery-api/",

@@ -6,0 +6,0 @@ "main": "./dist/contentful.node.js",

@@ -226,5 +226,5 @@ [![npm](https://img.shields.io/npm/v/contentful.svg)](https://www.npmjs.com/package/contentful)

- Yes, there is also a type definition file
- **Is there a caching done by the SDK ?**
- **Is the SDK doing any caching?**
- No, check this [issue](https://github.com/contentful/contentful.js/issues/83) for more infos
- 😱 **something is wrong what should I do?**
- 😱 **Something is wrong what should I do?**
- If it is a bug related to the code create a Github issue and make sure to remove any credential for your code before sharing it.

@@ -231,0 +231,0 @@ - If you need to share your credentials, for example you have an issue with your space, please create a support ticket in the [support page](parameters).

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

module.exports = '4.2.0'
module.exports = '4.2.1'

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

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

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

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

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