@storybook/addon-ondevice-controls 8.6.2 → 8.6.4

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.
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  var __importDefault = (this && this.__importDefault) || function (mod) {
26
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
37
  };
@@ -93,8 +93,8 @@ function useDebouncedCallback(callback, wait, options) {
93
93
  const lastInvokeTime = (0, react_1.useRef)(0);
94
94
  const timerId = (0, react_1.useRef)(null);
95
95
  const lastArgs = (0, react_1.useRef)([]);
96
- const lastThis = (0, react_1.useRef)();
97
- const result = (0, react_1.useRef)();
96
+ const lastThis = (0, react_1.useRef)(undefined);
97
+ const result = (0, react_1.useRef)(undefined);
98
98
  const funcRef = (0, react_1.useRef)(callback);
99
99
  const mounted = (0, react_1.useRef)(true);
100
100
  funcRef.current = callback;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-ondevice-controls",
3
- "version": "8.6.2",
3
+ "version": "8.6.4",
4
4
  "description": "Display storybook controls on your device.",
5
5
  "keywords": [
6
6
  "addon",
@@ -32,8 +32,8 @@
32
32
  "dependencies": {
33
33
  "@storybook/addon-controls": "^8.6.6",
34
34
  "@storybook/core": "^8.6.6",
35
- "@storybook/react-native-theming": "^8.6.2",
36
- "@storybook/react-native-ui": "^8.6.2",
35
+ "@storybook/react-native-theming": "^8.6.4",
36
+ "@storybook/react-native-ui": "^8.6.4",
37
37
  "deep-equal": "^1.0.1",
38
38
  "prop-types": "^15.7.2",
39
39
  "react-native-modal-datetime-picker": "^18.0.0",
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "devDependencies": {
43
43
  "cross-env": "^7.0.3",
44
- "typescript": "^5.3.3"
44
+ "typescript": "~5.8.3"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@gorhom/bottom-sheet": ">=4",
@@ -53,5 +53,5 @@
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
- "gitHead": "eec6bdfc1fa3aa6536080009cb769cfa7785da1a"
56
+ "gitHead": "5e2acbea333d49887912046195384d371dfe153a"
57
57
  }