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

@buildinams/react-storyblok

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@buildinams/react-storyblok - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

4

dist/client/getBlocksRenderer/index.js

@@ -75,6 +75,6 @@ "use strict";

return null;
const { _editable } = item, itemRest = __rest(item, ["_editable"]);
const { _uid, _editable } = item, itemRest = __rest(item, ["_uid", "_editable"]);
const containerSpread = (0, useStoryblokPreviewSpread_1.useStoryblokPreviewSpread)(_editable);
const additionalItemProps = propsPerItem === null || propsPerItem === void 0 ? void 0 : propsPerItem(item, index);
return ((0, jsx_runtime_1.jsx)(Component, Object.assign({ index: index, containerSpread: containerSpread }, propsRest, itemRest, additionalItemProps), `${item.component}-${index}`));
return ((0, jsx_runtime_1.jsx)(Component, Object.assign({ index: index }, propsRest, itemRest, additionalItemProps, { containerSpread: containerSpread }), _uid || `${item.component}-${index}`));
}) }));

@@ -81,0 +81,0 @@ };

@@ -121,6 +121,5 @@ import { ISbCache, ISbComponentType, ISbStoriesParams, ISbStoryData, ISbStoryParams } from "storyblok-js-client";

export interface Item {
_editable?: string;
_uid?: string;
slug: string;
component: string;
_editable: string;
}
{
"name": "@buildinams/react-storyblok",
"description": "Opinionated Reactjs Storyblok wrapper",
"version": "0.3.0",
"version": "0.3.1",
"license": "MIT",

@@ -6,0 +6,0 @@ "author": "Build in Amsterdam <development@buildinamsterdam.com> (https://www.buildinamsterdam.com/)",

@@ -208,6 +208,5 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

export interface Item {
_editable?: string;
_uid?: string;
slug: string;
component: string;
_editable: string;
}

Sorry, the diff of this file is not supported yet

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