@storybook/instrumenter 6.4.0-alpha.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # Storybook Instrumenter
2
+
3
+ The Storybook Instrumenter is used to patch a (3rd party) module to track and intercept function invocations for step-through debugging using the Interactions addon.
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ require("core-js/modules/web.dom-collections.for-each.js");
4
+
5
+ require("core-js/modules/es.object.keys.js");
6
+
7
+ Object.defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+ var _exportNames = {
11
+ EVENTS: true,
12
+ instrument: true
13
+ };
14
+ Object.defineProperty(exports, "EVENTS", {
15
+ enumerable: true,
16
+ get: function get() {
17
+ return _instrumenter.EVENTS;
18
+ }
19
+ });
20
+ Object.defineProperty(exports, "instrument", {
21
+ enumerable: true,
22
+ get: function get() {
23
+ return _instrumenter.instrument;
24
+ }
25
+ });
26
+
27
+ var _instrumenter = require("./instrumenter");
28
+
29
+ var _types = require("./types");
30
+
31
+ Object.keys(_types).forEach(function (key) {
32
+ if (key === "default" || key === "__esModule") return;
33
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
34
+ if (key in exports && exports[key] === _types[key]) return;
35
+ Object.defineProperty(exports, key, {
36
+ enumerable: true,
37
+ get: function get() {
38
+ return _types[key];
39
+ }
40
+ });
41
+ });