@tamagui/use-store 1.96.0 → 1.97.0
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.
|
@@ -29,7 +29,7 @@ __export(useStoreDebug_exports, {
|
|
|
29
29
|
useDebugStoreComponent: () => useDebugStoreComponent
|
|
30
30
|
});
|
|
31
31
|
module.exports = __toCommonJS(useStoreDebug_exports);
|
|
32
|
-
var import_react = __toESM(require("react"));
|
|
32
|
+
var import_react = __toESM(require("react"), 1);
|
|
33
33
|
const { ReactCurrentOwner } = import_react.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, useCurrentComponent = () => ReactCurrentOwner && ReactCurrentOwner.current && ReactCurrentOwner.current.elementType ? ReactCurrentOwner.current.elementType : {};
|
|
34
34
|
function useDebugStoreComponent(StoreCons) {
|
|
35
35
|
const cmp = useCurrentComponent();
|
|
@@ -30,7 +30,7 @@ __export(useStoreDebug_exports, {
|
|
|
30
30
|
useDebugStoreComponent: () => useDebugStoreComponent
|
|
31
31
|
});
|
|
32
32
|
module.exports = __toCommonJS(useStoreDebug_exports);
|
|
33
|
-
var import_react = __toESM(require("react")), ReactCurrentOwner = import_react.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, useCurrentComponent = function() {
|
|
33
|
+
var import_react = __toESM(require("react"), 1), ReactCurrentOwner = import_react.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, useCurrentComponent = function() {
|
|
34
34
|
return ReactCurrentOwner && ReactCurrentOwner.current && ReactCurrentOwner.current.elementType ? ReactCurrentOwner.current.elementType : {};
|
|
35
35
|
};
|
|
36
36
|
function useDebugStoreComponent(StoreCons) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Users/n8/tamagui/packages/use-store/src/useStoreDebug.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;mBAAuC,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;mBAAuC,8BAI/BA,oBAAuBC,aAAAA,QAC5BC,mDADKF,mBAEKG,sBAAsB,WAAA;AACjC,SAAOH,qBACLA,kBAAkBI,WAClBJ,kBAAkBI,QAAQC,cACxBL,kBAAkBI,QAAQC,cAC1B,CAAC;AACP;AAEO,SAASC,uBAAuBC,WAAc;AACnD,MAAMC,MAAML,oBAAAA;AAGZM,cAAYC,IAAIH,SAAAA,GACXI,gBAAgBC,IAAIJ,GAAAA,KACvBG,gBAAgBE,IAAIL,KAAK,oBAAIM,IAAAA,CAAAA;AAE/B,MAAMC,SAASJ,gBAAgBK,IAAIR,GAAAA;AACnCO,SAAOL,IAAIH,SAAAA,OAEXU,8BAAgB,WAAA;AACd,WAAO,WAAA;AACLR,kBAAYS,OAAOX,SAAAA,GACnBQ,OAAOG,OAAOX,SAAAA;IAChB;EACF,GAAG,CAAA,CAAE;AACP;AAEO,IAAMY,cAAc,SAACC,WAAgBC,MAAAA;MACxBA,qBACXV,sBADDJ,aAAYc,sBAAAA,KAAKC,mBAAa,QAAlBD,wBAAAA,SAAAA,SAAAA,oBAAoBE;AACtC,UAAOZ,uBAAAA,gBAAgBK,IAAII,SAAAA,OAAAA,QAApBT,yBAAAA,SAAAA,SAAAA,qBAAgCC,IAAIL,SAAAA;AAC7C,GAEaI,kBAAkB,oBAAIa,IAAAA,GACtBf,cAAc,oBAAIK,IAAAA;",
|
|
5
5
|
"names": ["ReactCurrentOwner", "React", "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED", "useCurrentComponent", "current", "elementType", "useDebugStoreComponent", "StoreCons", "cmp", "DebugStores", "add", "DebugComponents", "has", "set", "Set", "stores", "get", "useLayoutEffect", "delete", "shouldDebug", "component", "info", "storeInstance", "constructor", "Map"]
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/use-store",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.97.0",
|
|
4
4
|
"types": "./types/index.d.ts",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
7
|
+
"type": "module",
|
|
7
8
|
"files": [
|
|
8
9
|
"src",
|
|
9
10
|
"types",
|
|
@@ -28,10 +29,10 @@
|
|
|
28
29
|
}
|
|
29
30
|
},
|
|
30
31
|
"dependencies": {
|
|
31
|
-
"@tamagui/simple-hash": "1.
|
|
32
|
+
"@tamagui/simple-hash": "1.97.0"
|
|
32
33
|
},
|
|
33
34
|
"devDependencies": {
|
|
34
|
-
"@tamagui/build": "1.
|
|
35
|
+
"@tamagui/build": "1.97.0",
|
|
35
36
|
"@testing-library/react": "^14.0.0",
|
|
36
37
|
"react": "^18.2.0",
|
|
37
38
|
"vitest": "^0.34.3"
|