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

@kadira/storybook-addon-comments

Package Overview
Dependencies
Maintainers
6
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kadira/storybook-addon-comments - npm Package Compare versions

Comparing version 1.7.1 to 1.7.2

6

CHANGELOG.md
## Changelog
### v1.7.1
18-October-2016
Load comments just after we found the current user.
This fixes the issue of not loading comments for the current story just after reloaded.
### v1.7.0

@@ -4,0 +10,0 @@ 14-October-2016

@@ -120,2 +120,12 @@ 'use strict';

this.user = user;
// We don't load comments in the `setCurrentStory` if there's no loggedIn
// user.
// That's why we need to do this here.
if (user) {
var _currentStory = this.currentStory;
var sbKind = _currentStory.sbKind;
var sbStory = _currentStory.sbStory;
this.setCurrentStory(sbKind, sbStory);
}
}

@@ -122,0 +132,0 @@ }, {

2

package.json
{
"name": "@kadira/storybook-addon-comments",
"version": "1.7.1",
"version": "1.7.2",
"description": "Comments addon for Storybook",

@@ -5,0 +5,0 @@ "main": "preview.js",

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