@storybook/addons
Advanced tools
Comparing version 4.0.0-alpha.6 to 4.0.0-alpha.7
@@ -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) { |
{ | ||
"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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16613
10
384
3
+ Addedutil-deprecate@^1.0.2
+ Added@storybook/channels@4.0.0-alpha.7(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
- Removed@storybook/channels@4.0.0-alpha.6(transitive)