Socket
Socket
Sign inDemoInstall

@kadira/react-storybook-addon-info

Package Overview
Dependencies
23
Maintainers
6
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.4 to 3.0.5

9

CHANGELOG.md
# Change Log
### v3.0.5
* Over-indentation of ending tag in source code is fixed. See [#13](https://github.com/kadirahq/react-storybook-addon-info/pull/13)
### v3.0.4
* Remove the need to use json-loader with webpack when using this package.
See: [#12](https://github.com/kadirahq/react-storybook-addon-info/issues/12)
### v3.0.0
* Add the version which works as an React Storybook addon.

7

dist/components/Node.js

@@ -113,2 +113,5 @@ 'use strict';

// Keep a copy so that further mutations to containerStyle don't impact us:
var containerStyleCopy = (0, _assign2.default)({}, containerStyle);
// tag with children

@@ -120,3 +123,3 @@ return _react2.default.createElement(

'div',
{ style: containerStyle },
{ style: containerStyleCopy },
_react2.default.createElement(

@@ -140,3 +143,3 @@ 'span',

'div',
{ style: containerStyle },
{ style: containerStyleCopy },
_react2.default.createElement(

@@ -143,0 +146,0 @@ 'span',

{
"name": "@kadira/react-storybook-addon-info",
"version": "3.0.4",
"version": "3.0.5",
"description": "A React Storybook addon to show additional information for your stories.",

@@ -5,0 +5,0 @@ "repository": {

@@ -45,6 +45,9 @@ import React from 'react';

}
// Keep a copy so that further mutations to containerStyle don't impact us:
const containerStyleCopy = Object.assign({}, containerStyle);
// tag with children
return <div>
<div style={containerStyle}>
<div style={containerStyleCopy}>
<span style={tagStyle}>&lt;{name}</span>

@@ -55,3 +58,3 @@ <Props node={node} />

{React.Children.map(children, childElement => <Node node={childElement} depth={depth + 1}/>)}
<div style={containerStyle}>
<div style={containerStyleCopy}>
<span style={tagStyle}>&lt;/{name}&gt;</span>

@@ -58,0 +61,0 @@ </div>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc