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

@cmpsr/contentful-core

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cmpsr/contentful-core - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

6

CHANGELOG.md
# @cmpsr/contentful-core
## 0.1.8
### Patch Changes
- 4da10b9: Adds null returns for null data
## 0.1.7

@@ -4,0 +10,0 @@

2

lib/components/ComponentRendererWithQuery/ComponentRendererWithQuery.js

@@ -38,3 +38,5 @@ "use strict";

});
if (!data) return null;
const key = Object.keys(data)[0];
if (!key) return null;
const dataToParse = key.indexOf('Collection') >= 0 ? data[key].items[0] : data[key];

@@ -41,0 +43,0 @@ return /*#__PURE__*/_react.default.createElement(_ComponentRenderer.ComponentRenderer, {

4

package.json
{
"name": "@cmpsr/contentful-core",
"version": "0.1.7",
"version": "0.1.8",
"description": "Base Composer components for standing up a React/NextJS app that can dynamically render components based on Contentful Model types mapped to components and queries.",

@@ -43,3 +43,3 @@ "author": "Ryan Hefner <hi@ryanhefner.com>",

},
"gitHead": "ea6934e997d7367347a6cdb63d281284f936490e"
"gitHead": "21b508875ce8874f6ebd22f1c01247f9386cbf89"
}

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