@storybook/core-events
Advanced tools
Comparing version 5.1.0-alpha.21 to 5.1.0-alpha.22
@@ -8,3 +8,3 @@ "use strict"; | ||
}); | ||
exports.STORY_THREW_EXCEPTION = exports.STORY_CHANGED = exports.STORY_ERRORED = exports.STORY_MISSING = exports.STORY_RENDERED = exports.STORY_RENDER = exports.STORY_ADDED = exports.STORY_INIT = exports.REGISTER_SUBSCRIPTION = exports.FORCE_RE_RENDER = exports.PREVIEW_KEYDOWN = exports.SELECT_STORY = exports.STORIES_CONFIGURED = exports.SET_STORIES = exports.GET_STORIES = exports.SET_CURRENT_STORY = exports.GET_CURRENT_STORY = exports.CHANNEL_CREATED = exports.default = void 0; | ||
exports.STORY_THREW_EXCEPTION = exports.STORY_CHANGED = exports.STORY_ERRORED = exports.STORY_MISSING = exports.STORY_RENDERED = exports.STORY_RENDER = exports.STORY_ADDED = exports.STORY_INIT = exports.REGISTER_SUBSCRIPTION = exports.FORCE_RE_RENDER = exports.PREVIEW_KEYDOWN = exports.SELECT_STORY = exports.STORIES_CONFIGURED = exports.SET_STORIES = exports.GET_STORIES = exports.SET_CURRENT_STORY = exports.GET_CURRENT_STORY = exports.CHANNEL_CREATED = exports["default"] = void 0; | ||
var events; // Enables: `import Events from ...` | ||
@@ -37,3 +37,3 @@ | ||
exports.default = _default; | ||
exports["default"] = _default; | ||
var CHANNEL_CREATED = events.CHANNEL_CREATED; | ||
@@ -40,0 +40,0 @@ exports.CHANNEL_CREATED = CHANNEL_CREATED; |
@@ -9,3 +9,3 @@ "use strict"; | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } } | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj["default"] = obj; return newObj; } } | ||
@@ -17,3 +17,3 @@ describe('Core Events', function () { | ||
it('Should export all values in the default export', function () { | ||
expect(_index.default.CHANNEL_CREATED).toBe('channelCreated'); | ||
expect(_index["default"].CHANNEL_CREATED).toBe('channelCreated'); | ||
}); | ||
@@ -20,0 +20,0 @@ it('Should export values as named exports', function () { |
{ | ||
"name": "@storybook/core-events", | ||
"version": "5.1.0-alpha.21", | ||
"version": "5.1.0-alpha.22", | ||
"description": "Event names used in storybook core", | ||
@@ -29,3 +29,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "99c262545d1c106802ada148883ed371901f971c" | ||
"gitHead": "daa8d43e0e3975d36bcdbb6b488d6def33f5b70a" | ||
} |
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
10766