Socket
Socket
Sign inDemoInstall

@storybook/addons

Package Overview
Dependencies
Maintainers
12
Versions
1495
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/addons - npm Package Compare versions

Comparing version 4.0.0-alpha.6 to 4.0.0-alpha.7

dist/make-decorator.js

16

dist/index.js

@@ -6,3 +6,3 @@ 'use strict';

});
exports.AddonStore = exports.mockChannel = undefined;
exports.AddonStore = exports.makeDecorator = exports.mockChannel = undefined;

@@ -21,2 +21,11 @@ var _keys = require('babel-runtime/core-js/object/keys');

var _makeDecorator = require('./make-decorator');
Object.defineProperty(exports, 'makeDecorator', {
enumerable: true,
get: function get() {
return _makeDecorator.makeDecorator;
}
});
var _global = require('global');

@@ -56,2 +65,7 @@

}, {
key: 'hasChannel',
value: function hasChannel() {
return Boolean(this.channel);
}
}, {
key: 'setChannel',

@@ -58,0 +72,0 @@ value: function setChannel(channel) {

7

package.json
{
"name": "@storybook/addons",
"version": "4.0.0-alpha.6",
"version": "4.0.0-alpha.7",
"description": "Storybook addons store",

@@ -23,5 +23,6 @@ "keywords": [

"dependencies": {
"@storybook/channels": "4.0.0-alpha.6",
"global": "^4.3.2"
"@storybook/channels": "4.0.0-alpha.7",
"global": "^4.3.2",
"util-deprecate": "^1.0.2"
}
}

@@ -5,2 +5,3 @@ // Resolves to window in browser and to global in node

export mockChannel from './storybook-channel-mock';
export { makeDecorator } from './make-decorator';

@@ -26,2 +27,6 @@ export class AddonStore {

hasChannel() {
return Boolean(this.channel);
}
setChannel(channel) {

@@ -28,0 +33,0 @@ this.channel = channel;

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