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

contentful-management

Package Overview
Dependencies
Maintainers
4
Versions
585
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contentful-management - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

13

dist/entities/locale.js

@@ -55,13 +55,4 @@ 'use strict';

update: function update() {
// delete some properties which are returned by the server but shouldn't
// be sent back.
var locale = this;
// for the default locale, we can't send the fallback code back or we get an error
if (locale.default) {
delete locale.fallback_code;
} else {
// temporary fix due to property naming weirdness
locale.fallbackCode = locale.fallback_code;
delete locale.fallback_code;
}
// this property shouldn't be sent back if it exists
delete locale.default;

@@ -100,2 +91,4 @@ return (0, _instanceActions.createUpdateEntity)({

delete locale.internal_code;
// TODO this should be removed when the fallback locale issues are fixed
delete locale.fallback_code;
(0, _enhanceWithMethods2.default)(locale, createLocaleApi(http));

@@ -102,0 +95,0 @@ return (0, _freezeSys2.default)(locale);

{
"name": "contentful-management",
"version": "1.1.3",
"version": "1.1.4",
"description": "Client for Contentful's Content Management API",

@@ -5,0 +5,0 @@ "homepage": "https://www.contentful.com/developers/documentation/content-management-api/",

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

module.exports = '1.1.3'
module.exports = '1.1.4'

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