react-hooks-global-states 16.0.1-beta → 16.0.1
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/jest.config.js +50 -0
- package/package.json +52 -2
- package/GlobalStore.cjs +0 -1
- package/GlobalStore.d.ts +0 -160
- package/GlobalStore.debugProps.cjs +0 -1
- package/GlobalStore.debugProps.d.ts +0 -5
- package/GlobalStore.debugProps.js +0 -1
- package/GlobalStore.debugProps.mjs +0 -1
- package/GlobalStore.js +0 -1
- package/GlobalStore.mjs +0 -1
- package/actions.cjs +0 -1
- package/actions.d.ts +0 -32
- package/actions.js +0 -1
- package/actions.mjs +0 -1
- package/bundle.cjs +0 -1
- package/bundle.js +0 -1
- package/bundle.mjs +0 -1
- package/createContext.cjs +0 -1
- package/createContext.d.ts +0 -15
- package/createContext.js +0 -1
- package/createContext.mjs +0 -1
- package/createGlobalState.cjs +0 -1
- package/createGlobalState.d.ts +0 -7
- package/createGlobalState.js +0 -1
- package/createGlobalState.mjs +0 -1
- package/index.d.ts +0 -9
- package/isRecord.cjs +0 -1
- package/isRecord.d.ts +0 -2
- package/isRecord.js +0 -1
- package/isRecord.mjs +0 -1
- package/shallowCompare.cjs +0 -1
- package/shallowCompare.d.ts +0 -52
- package/shallowCompare.js +0 -1
- package/shallowCompare.mjs +0 -1
- package/throwWrongKeyOnActionCollectionConfig.cjs +0 -12
- package/throwWrongKeyOnActionCollectionConfig.d.ts +0 -2
- package/throwWrongKeyOnActionCollectionConfig.js +0 -12
- package/throwWrongKeyOnActionCollectionConfig.mjs +0 -12
- package/types.cjs +0 -1
- package/types.d.ts +0 -1268
- package/types.js +0 -1
- package/types.mjs +0 -0
- package/uniqueId.cjs +0 -1
- package/uniqueId.d.ts +0 -7
- package/uniqueId.js +0 -1
- package/uniqueId.mjs +0 -1
package/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var S=Object.prototype.hasOwnProperty;var d=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of i(t))!S.call(e,a)&&a!==r&&n(e,a,{get:()=>t[a],enumerable:!(o=s(t,a))||o.enumerable});return e};var l=e=>d(n({},"__esModule",{value:!0}),e);var c={};module.exports=l(c);
|
package/types.mjs
DELETED
|
File without changes
|
package/uniqueId.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var o=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var c=(d,r)=>{for(var s in r)o(d,s,{get:r[s],enumerable:!0})},g=(d,r,s,e)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of B(r))!I.call(d,n)&&n!==s&&o(d,n,{get:()=>r[n],enumerable:!(e=i(r,n))||e.enumerable});return d};var T=d=>g(o({},"__esModule",{value:!0}),d);var y={};c(y,{default:()=>l,uniqueId:()=>u});module.exports=T(y);var u=(()=>{let d=0,r=()=>(d===Number.MAX_SAFE_INTEGER&&(d=0),d++),s=(n,a)=>{var t;return(t=globalThis.crypto)!=null&&t.randomUUID?(n!=null?n:"")+globalThis.crypto.randomUUID():(n!=null?n:"")+Date.now().toString(36)+a.toString(36)},e=n=>s(n,r());return e.for=n=>{let a=()=>s(n,r());return a.is=t=>typeof t=="string"&&t.startsWith(n),a.assert=function(t){if(!a.is(t))throw new Error(`The value "${String(t)}" does not match the expected prefix "${String(n)}"`)},a.strict=()=>a,a},e.of=()=>e.for(""),e.strict=()=>e,e})(),l=u;
|
package/uniqueId.d.ts
DELETED
package/uniqueId.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var o=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var B=Object.getOwnPropertyNames;var I=Object.prototype.hasOwnProperty;var c=(d,r)=>{for(var s in r)o(d,s,{get:r[s],enumerable:!0})},g=(d,r,s,e)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of B(r))!I.call(d,n)&&n!==s&&o(d,n,{get:()=>r[n],enumerable:!(e=i(r,n))||e.enumerable});return d};var T=d=>g(o({},"__esModule",{value:!0}),d);var y={};c(y,{default:()=>l,uniqueId:()=>u});module.exports=T(y);var u=(()=>{let d=0,r=()=>(d===Number.MAX_SAFE_INTEGER&&(d=0),d++),s=(n,a)=>{var t;return(t=globalThis.crypto)!=null&&t.randomUUID?(n!=null?n:"")+globalThis.crypto.randomUUID():(n!=null?n:"")+Date.now().toString(36)+a.toString(36)},e=n=>s(n,r());return e.for=n=>{let a=()=>s(n,r());return a.is=t=>typeof t=="string"&&t.startsWith(n),a.assert=function(t){if(!a.is(t))throw new Error(`The value "${String(t)}" does not match the expected prefix "${String(n)}"`)},a.strict=()=>a,a},e.of=()=>e.for(""),e.strict=()=>e,e})(),l=u;
|
package/uniqueId.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var o=(()=>{let t=0,a=()=>(t===Number.MAX_SAFE_INTEGER&&(t=0),t++),s=(n,d)=>{var r;return(r=globalThis.crypto)!=null&&r.randomUUID?(n!=null?n:"")+globalThis.crypto.randomUUID():(n!=null?n:"")+Date.now().toString(36)+d.toString(36)},e=n=>s(n,a());return e.for=n=>{let d=()=>s(n,a());return d.is=r=>typeof r=="string"&&r.startsWith(n),d.assert=function(r){if(!d.is(r))throw new Error(`The value "${String(r)}" does not match the expected prefix "${String(n)}"`)},d.strict=()=>d,d},e.of=()=>e.for(""),e.strict=()=>e,e})(),u=o;export{u as default,o as uniqueId};
|