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

contentful

Package Overview
Dependencies
Maintainers
5
Versions
452
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 3.2.1 to 3.3.0

10

dist/create-cda-api.js

@@ -123,2 +123,3 @@ 'use strict';

* @param {string} id
* @param {Object=} query - Object with search parameters. In this method it's only useful for `locale`.
* @return {Promise<Entities.Entry>} Promise for an Entry

@@ -130,3 +131,5 @@ * @example

function getEntry(id) {
return http.get('entries/' + id).then(function (response) {
var query = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
return http.get('entries/' + id, (0, _createRequestConfig2.default)({ query: query })).then(function (response) {
return (0, _entry.wrapEntry)(response.data);

@@ -159,2 +162,3 @@ }, errorHandler);

* @param {string} id
* @param {Object=} query - Object with search parameters. In this method it's only useful for `locale`.
* @return {Promise<Entities.Asset>} Promise for an Asset

@@ -166,3 +170,5 @@ * @example

function getAsset(id) {
return http.get('assets/' + id).then(function (response) {
var query = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
return http.get('assets/' + id, (0, _createRequestConfig2.default)({ query: query })).then(function (response) {
return (0, _asset.wrapAsset)(response.data);

@@ -169,0 +175,0 @@ }, errorHandler);

7

dist/create-http-client.js

@@ -17,2 +17,6 @@ 'use strict';

var _qs = require('qs');
var _qs2 = _interopRequireDefault(_qs);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -62,4 +66,5 @@

headers: headers,
agent: agent
agent: agent,
paramsSerializer: _qs2.default.stringify
});
}

@@ -53,3 +53,4 @@ {

"json-stringify-safe": "^5.0.1",
"lodash": "^4.2.0"
"lodash": "^4.2.0",
"qs": "^6.1.0"
},

@@ -96,3 +97,3 @@ "devDependencies": {

},
"version": "3.2.1"
"version": "3.3.0"
}

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

module.exports = '3.2.1'
module.exports = '3.3.0'

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