{"_id":"mobx-miniprogram-lite","_rev":"28-3f101ce6b5e2f8f8be3c2fcb57f2c75a","name":"mobx-miniprogram-lite","dist-tags":{"alpha":"0.0.3-alpha.3","latest":"0.0.7"},"versions":{"0.0.1-alpha.0":{"name":"mobx-miniprogram-lite","version":"0.0.1-alpha.0","keywords":[],"author":{"name":"XHFkindergarten@gmail.com"},"license":"ISC","_id":"mobx-miniprogram-lite@0.0.1-alpha.0","maintainers":[{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"}],"dist":{"shasum":"9df6ca24af96a219a215fec97c09b292e510df3d","tarball":"https://registry.npmjs.org/mobx-miniprogram-lite/-/mobx-miniprogram-lite-0.0.1-alpha.0.tgz","fileCount":15,"integrity":"sha512-V23gDtMdb+j6S4l3Xrb1GD9iK8KPYNy8jeCAIaTLR7JgAbh1GRiGUYB6uL1wHb3QWE91B0PtfyxWJkqHrPh8BA==","signatures":[{"sig":"MEUCIQCqTAt9NL8uLeYQ96g2FraJPY9SlK+nn499ZHQDkArz/gIgM0C4HDIBHrBO8ZT6lvkQ1A5GNEIJlvtAmQyw+demSgM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1260151},"main":"lib/index.common.js","types":"lib/index.d.ts","module":"lib/index.js","gitHead":"6c7a4bbcef4a5b87a1af4ac7d04cf6cea1417836","scripts":{"cz":"git-cz","dev":"tsc -w & tsc-alias -w & node ./scripts/build.js -w","build":"tsc && tsc-alias && node ./scripts/build.js","release:alpha":"standard-version -t mobx-miniprogram-lite --release-as patch --prerelease alpha"},"_npmUser":{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"},"deprecated":"deprecated","_npmVersion":"8.19.4","description":"lightweight mobx-binding for wechat-miniprogram","directories":{},"_nodeVersion":"16.20.1","_hasShrinkwrap":false,"devDependencies":{"mobx":"^6.10.0","esbuild":"^0.19.2","prettier":"^3.0.2","tsc-alias":"^1.8.7","typescript":"^5.1.6","standard-version":"^9.5.0","@types/wechat-miniprogram":"^3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/mobx-miniprogram-lite_0.0.1-alpha.0_1692598904709_0.9380923040477653","host":"s3://npm-registry-packages"}},"0.0.1-alpha.1":{"name":"mobx-miniprogram-lite","version":"0.0.1-alpha.1","keywords":["mobx","miniprogram","wechat"],"author":{"name":"XHFkindergarten@gmail.com"},"license":"ISC","_id":"mobx-miniprogram-lite@0.0.1-alpha.1","maintainers":[{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"}],"dist":{"shasum":"cfc1aafb93eb1b91bba8f25db74c96fa9c947260","tarball":"https://registry.npmjs.org/mobx-miniprogram-lite/-/mobx-miniprogram-lite-0.0.1-alpha.1.tgz","fileCount":13,"integrity":"sha512-8Lu2J1nY+5bjApxbzCEmSvsHvB3QKAcGRNakeGtIwDQ66OdON3si56Xb2R+esOSoLx6XJvVmGSJGRux5WB2zIQ==","signatures":[{"sig":"MEYCIQCKYFrBMFlwSE9gusRzfTNvMmEhqq8GcNLcW00ja9FrUQIhAOh3Nm8HYZNNibNKzlyynnqyvnazZ45k6/o4+DbD5/+U","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1076738},"main":"lib/index.common.js","types":"lib/index.d.ts","module":"lib/index.js","gitHead":"353d0a5fe7d3d154ef616ca24012b17cb570e775","scripts":{"cz":"git-cz","dev":"tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/build.js -w","build":"tsc && tsc-alias && cross-env NODE_ENV=production node ./scripts/build.js","release":"standard-version -t mobx-miniprogram-lite --release-as patch","release:alpha":"standard-version -t mobx-miniprogram-lite --release-as patch --prerelease alpha"},"_npmUser":{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"},"deprecated":"deprecate alpha versions","_npmVersion":"8.19.4","description":"lightweight mobx-binding for wechat-miniprogram","directories":{},"_nodeVersion":"16.20.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mobx":"^6.10.0","esbuild":"^0.19.2","prettier":"^3.0.2","cross-env":"^7.0.3","tsc-alias":"^1.8.7","typescript":"^5.1.6","standard-version":"^9.5.0","@types/wechat-miniprogram":"^3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/mobx-miniprogram-lite_0.0.1-alpha.1_1692608517944_0.6718288310032192","host":"s3://npm-registry-packages"}},"0.0.1-alpha.2":{"name":"mobx-miniprogram-lite","version":"0.0.1-alpha.2","keywords":["mobx","miniprogram","wechat"],"author":{"name":"XHFkindergarten@gmail.com"},"license":"ISC","_id":"mobx-miniprogram-lite@0.0.1-alpha.2","maintainers":[{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"}],"dist":{"shasum":"115d873724cd7653627e945682536937aa707cb0","tarball":"https://registry.npmjs.org/mobx-miniprogram-lite/-/mobx-miniprogram-lite-0.0.1-alpha.2.tgz","fileCount":13,"integrity":"sha512-PwBZ9M7sbOtC590tGvvSczlLmUBHNaCkROp3UtJF3O5CNFHz93obNcHROc9Pj1AJe0GKsdP9f0xnlrQJwmQmhA==","signatures":[{"sig":"MEUCIB640STP5d77VdOeDDLEK15Tsq2egwyuZ6m8X8fZPg96AiEA3zYXQJx9YvEUtiq9wQlexZW7CvdNdQ6cSsS+vLeTY6I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1812669},"main":"lib/index.common.js","types":"lib/index.d.ts","module":"lib/index.js","gitHead":"3853fa10e0304b95312adb742a736cf84fbdd28c","scripts":{"cz":"git-cz","dev":"tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/build.js -w","build":"tsc && tsc-alias && cross-env NODE_ENV=production node ./scripts/build.js","release":"standard-version -t mobx-miniprogram-lite --release-as patch","release:alpha":"standard-version -t mobx-miniprogram-lite --release-as patch --prerelease alpha"},"_npmUser":{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"},"deprecated":"deprecate alpha versions","_npmVersion":"8.19.4","description":"lightweight mobx-binding for wechat-miniprogram","directories":{},"_nodeVersion":"16.20.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mobx":"^6.10.0","esbuild":"^0.19.2","prettier":"^3.0.2","cross-env":"^7.0.3","tsc-alias":"^1.8.7","typescript":"^5.1.6","standard-version":"^9.5.0","@types/wechat-miniprogram":"^3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/mobx-miniprogram-lite_0.0.1-alpha.2_1692609028782_0.6366510160430523","host":"s3://npm-registry-packages"}},"0.0.1-alpha.3":{"name":"mobx-miniprogram-lite","version":"0.0.1-alpha.3","keywords":["mobx","miniprogram","wechat"],"author":{"name":"XHFkindergarten@gmail.com"},"license":"ISC","_id":"mobx-miniprogram-lite@0.0.1-alpha.3","maintainers":[{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"}],"dist":{"shasum":"1049d806a5b7bcba2acf1b9c8ebfe631fe8b3c92","tarball":"https://registry.npmjs.org/mobx-miniprogram-lite/-/mobx-miniprogram-lite-0.0.1-alpha.3.tgz","fileCount":14,"integrity":"sha512-JQZrowyGvrSyfNwxzxIhFFULrohG9eoVpSQs8knWGEsGBzuPLzQPJZQN9zNSTw05+aX7M6w1xSZaefV0pAt3Sg==","signatures":[{"sig":"MEUCIQCyg0EV4HXHKCMLF1+0p2QMiNivoYpPvaevh+8oNJ6lEQIgCloOL1fnPMV/Fp3+03l7uO29hS31brD9c2bzpnERBOg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":854264},"main":"lib/index.common.js","types":"lib/index.d.ts","module":"lib/index.js","gitHead":"0c5ede209ba2cdd7135a8fb0e3813c08a7e79c51","scripts":{"cz":"git-cz","dev":"tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/build.js -w","tsc":"tsc && tsc-alias","build":"tsc && cross-env NODE_ENV=production node ./scripts/build.js","release":"standard-version -t mobx-miniprogram-lite --release-as patch","release:alpha":"standard-version -t mobx-miniprogram-lite --release-as patch --prerelease alpha"},"_npmUser":{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"},"deprecated":"deprecate alpha versions","_npmVersion":"8.19.4","description":"lightweight mobx-binding for wechat-miniprogram","directories":{},"_nodeVersion":"16.20.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mobx":"^6.10.0","esbuild":"^0.19.2","prettier":"^3.0.2","cross-env":"^7.0.3","tsc-alias":"^1.8.7","typescript":"^5.1.6","standard-version":"^9.5.0","@types/wechat-miniprogram":"^3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/mobx-miniprogram-lite_0.0.1-alpha.3_1692620165616_0.39089015643052916","host":"s3://npm-registry-packages"}},"0.0.1-alpha.4":{"name":"mobx-miniprogram-lite","version":"0.0.1-alpha.4","keywords":["mobx","miniprogram","wechat"],"author":{"name":"XHFkindergarten@gmail.com"},"license":"ISC","_id":"mobx-miniprogram-lite@0.0.1-alpha.4","maintainers":[{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"}],"dist":{"shasum":"a2e86931b3a2fa0225384d373f1b43d2e5293069","tarball":"https://registry.npmjs.org/mobx-miniprogram-lite/-/mobx-miniprogram-lite-0.0.1-alpha.4.tgz","fileCount":19,"integrity":"sha512-5LTyyxV7QcYEL+jkKM5JBcqQLlKSOj5ECKyTNvP4zJgwAkPpYEWI/6AdvQNGRaylQf4LRVbmINPDDChQyEvBlw==","signatures":[{"sig":"MEUCIFl/0zDNpVa++dPBS/VX3yt5RXwpqb94u2ngTHft4CWtAiEAuIIUIymMzGD4eL3zvyOr75rI5qsuig5rhVdQiAvAL04=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":859617},"main":"lib/index.common.js","types":"lib/index.d.ts","module":"lib/index.js","gitHead":"f7faf0e0590c7f6660558fa3c5417af45d47bfad","scripts":{"cz":"git-cz","dev":"tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/build.js -w","tsc":"tsc && tsc-alias","build":"tsc && cross-env NODE_ENV=production node ./scripts/build.js","release":"standard-version -t mobx-miniprogram-lite --release-as patch","release:alpha":"standard-version -t mobx-miniprogram-lite --release-as patch --prerelease alpha"},"_npmUser":{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"},"deprecated":"deprecate alpha versions","_npmVersion":"8.19.4","description":"lightweight mobx-binding for wechat-miniprogram","directories":{},"_nodeVersion":"16.20.1","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mobx":"^6.10.0","esbuild":"^0.19.2","prettier":"^3.0.2","cross-env":"^7.0.3","tsc-alias":"^1.8.7","typescript":"^5.1.6","standard-version":"^9.5.0","@types/wechat-miniprogram":"^3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/mobx-miniprogram-lite_0.0.1-alpha.4_1692882371163_0.7273531376037099","host":"s3://npm-registry-packages"}},"0.0.1":{"name":"mobx-miniprogram-lite","version":"0.0.1","keywords":["mobx","miniprogram","wechat"],"author":{"name":"XHFkindergarten@gmail.com"},"license":"ISC","_id":"mobx-miniprogram-lite@0.0.1","maintainers":[{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"}],"dist":{"shasum":"ba781bfaf0f96f1dfbfd98aec32f79835ef742d4","tarball":"https://registry.npmjs.org/mobx-miniprogram-lite/-/mobx-miniprogram-lite-0.0.1.tgz","fileCount":19,"integrity":"sha512-l7klqu/eCq0n/wVxM2cuAFJxAvLHSNccEkPQ8VzEosLJKh0a0tgauonOYbbmuXL/h19gRcr6TAO6IQ+WH96RDQ==","signatures":[{"sig":"MEQCIEhAx3PWROiIR77A0hGbO55+Sm8ARjiFKcR8UqBSJGKJAiBBrYQWBK1BTy2ILxyNWTbP11v7FkyAf7JPkaa67HMgjg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":893606},"main":"lib/index.common.js","types":"lib/index.d.ts","module":"lib/index.js","gitHead":"6689da65c9419decb065a89be776ce9b1898d242","scripts":{"cz":"git-cz","dev":"tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/build.js -w","tsc":"tsc && tsc-alias","build":"tsc && cross-env NODE_ENV=production node ./scripts/build.js","release":"standard-version -t mobx-miniprogram-lite --release-as patch","release:alpha":"standard-version -t mobx-miniprogram-lite --release-as patch --prerelease alpha"},"_npmUser":{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"},"deprecated":"deprecate alpha versions","_npmVersion":"8.19.4","description":"lightweight mobx-binding for wechat-miniprogram","directories":{},"_nodeVersion":"16.20.1","_hasShrinkwrap":false,"devDependencies":{"mobx":"^6.10.0","esbuild":"^0.19.2","prettier":"^3.0.2","cross-env":"^7.0.3","tsc-alias":"^1.8.7","typescript":"^5.1.6","standard-version":"^9.5.0","@types/wechat-miniprogram":"^3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/mobx-miniprogram-lite_0.0.1_1692931544994_0.8401809945614664","host":"s3://npm-registry-packages"}},"0.0.2-alpha.0":{"name":"mobx-miniprogram-lite","version":"0.0.2-alpha.0","keywords":["mobx","miniprogram","wechat"],"author":{"name":"XHFkindergarten@gmail.com"},"license":"ISC","_id":"mobx-miniprogram-lite@0.0.2-alpha.0","maintainers":[{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"}],"dist":{"shasum":"d15c9bbd6cae65681e5cac1f383db6901601463f","tarball":"https://registry.npmjs.org/mobx-miniprogram-lite/-/mobx-miniprogram-lite-0.0.2-alpha.0.tgz","fileCount":17,"integrity":"sha512-1WNWXh6fPmj3DfkJ0XQCUBI3e/czMM2Fe1GwluPvHuGdA+jAhmGQKSq8+O59hgwWPKaHbOsWhplz/hkXa8K+Dw==","signatures":[{"sig":"MEUCIEzLSIEZjZhh+ktfPwW3Q+KMGwndd3/qpYI9elMM4egqAiEAmJI7xiSHJJOVTZtfVl2IlGMEYCLqqnvFTVHqk14WkNg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":896891},"main":"lib/index.common.js","types":"lib/index.d.ts","module":"lib/index.js","gitHead":"02ee668f6e023025a94426810dc0ba2280782917","scripts":{"cz":"git-cz","dev":"tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/build.js -w","tsc":"tsc && tsc-alias","build":"tsc && cross-env NODE_ENV=production node ./scripts/build.js","release":"standard-version -t mobx-miniprogram-lite --release-as patch","release:alpha":"standard-version -t mobx-miniprogram-lite --release-as patch --prerelease alpha"},"_npmUser":{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"},"deprecated":"deprecate alpha versions","_npmVersion":"8.19.4","description":"lightweight mobx-binding for wechat-miniprogram","directories":{},"_nodeVersion":"16.20.1","dependencies":{"mobx":"^6.10.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"esbuild":"^0.19.2","prettier":"^3.0.2","cross-env":"^7.0.3","tsc-alias":"^1.8.7","typescript":"^5.1.6","standard-version":"^9.5.0","@types/wechat-miniprogram":"^3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/mobx-miniprogram-lite_0.0.2-alpha.0_1693314983263_0.9626318524788824","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"mobx-miniprogram-lite","version":"0.0.2","keywords":["mobx","miniprogram","wechat"],"author":{"name":"XHFkindergarten@gmail.com"},"license":"ISC","_id":"mobx-miniprogram-lite@0.0.2","maintainers":[{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"}],"dist":{"shasum":"f2031a10756050bf98b0f9f350102b75e91e1063","tarball":"https://registry.npmjs.org/mobx-miniprogram-lite/-/mobx-miniprogram-lite-0.0.2.tgz","fileCount":17,"integrity":"sha512-Bo97vQGJxTzM8pjLQlXGLUJLbO+mg8xUXrX92rpYpkUYDb97a+tswZ3JDwZL0P11mslC/L1jxk1CrUWfgEXIZw==","signatures":[{"sig":"MEYCIQC/v+rQKDgHS/PSfWZLfZ3i1gtw1JGkMm0SIbkdK55H2QIhANitkqpdXVHa11DeqBGGcjX1XuktG24Eq4nPwWTEjRj6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":896883},"main":"lib/index.common.js","types":"lib/index.d.ts","module":"lib/index.js","gitHead":"7ac341bbd68e91a54de18fc5e8fd354616815f83","scripts":{"cz":"git-cz","dev":"tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/build.js -w","tsc":"tsc && tsc-alias","build":"tsc && cross-env NODE_ENV=production node ./scripts/build.js","release":"standard-version -t mobx-miniprogram-lite --release-as patch","release:alpha":"standard-version -t mobx-miniprogram-lite --release-as patch --prerelease alpha"},"_npmUser":{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"},"deprecated":"deprecate alpha versions","_npmVersion":"8.19.4","description":"lightweight mobx-binding for wechat-miniprogram","directories":{},"_nodeVersion":"16.20.1","dependencies":{"mobx":"^6.10.0"},"_hasShrinkwrap":false,"devDependencies":{"esbuild":"^0.19.2","prettier":"^3.0.2","cross-env":"^7.0.3","tsc-alias":"^1.8.7","typescript":"^5.1.6","standard-version":"^9.5.0","@types/wechat-miniprogram":"^3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/mobx-miniprogram-lite_0.0.2_1693315269103_0.050815459311243094","host":"s3://npm-registry-packages"}},"0.0.3-alpha.0":{"name":"mobx-miniprogram-lite","version":"0.0.3-alpha.0","keywords":["mobx","miniprogram","wechat"],"author":{"name":"XHFkindergarten@gmail.com"},"license":"ISC","_id":"mobx-miniprogram-lite@0.0.3-alpha.0","maintainers":[{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"}],"dist":{"shasum":"a95c31e1ed5c9d760b392de1203db1f7fbdf9644","tarball":"https://registry.npmjs.org/mobx-miniprogram-lite/-/mobx-miniprogram-lite-0.0.3-alpha.0.tgz","fileCount":63,"integrity":"sha512-WRb+OvO1qbyZzSK3YpmKLlYpj2F4ie1zE4XpW5js52bEFWjevSxQQ+5TZTzRD3s/c991pFUfKNmjuduA8GDIfg==","signatures":[{"sig":"MEUCIQDYUixXx6L9pk7aRDfphNhQtLca9V4vAgwWqaZEQPvpZAIgMKmBwgpBfRrlHirE/O6DvZecSLdP42kOT3IPD+dX8e0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1107844},"main":"lib/index.common.js","types":"lib/index.d.ts","module":"lib/index.js","gitHead":"76feff1d8c0dad23ba1c38c37dfa1ef1dcb02a83","scripts":{"cz":"git-cz","dev":"tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/build.js -w","tsc":"tsc && tsc-alias","test":"jest","build":"tsc && cross-env NODE_ENV=production node ./scripts/build.js","prepare":"husky install","release":"standard-version -t mobx-miniprogram-lite --release-as patch","release:alpha":"standard-version -t mobx-miniprogram-lite --release-as patch --prerelease alpha"},"_npmUser":{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"},"deprecated":"deprecate alpha versions","_npmVersion":"8.19.4","description":"lightweight mobx-binding for wechat-miniprogram","directories":{},"_nodeVersion":"16.20.1","dependencies":{"mobx":"^6.10.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.6.4","husky":"^8.0.3","esbuild":"^0.19.2","ts-node":"^10.9.1","prettier":"^3.0.2","@swc/core":"^1.3.80","@swc/jest":"^0.2.29","cross-env":"^7.0.3","tsc-alias":"^1.8.7","typescript":"^5.1.6","@jest/types":"^29.6.3","@types/jest":"^29.5.4","@types/node":"^20.5.7","standard-version":"^9.5.0","miniprogram-simulate":"^1.6.0","jest-environment-jsdom":"^29.6.4","@types/wechat-miniprogram":"^3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/mobx-miniprogram-lite_0.0.3-alpha.0_1693638677773_0.1261951471628775","host":"s3://npm-registry-packages"}},"0.0.3-alpha.1":{"name":"mobx-miniprogram-lite","version":"0.0.3-alpha.1","keywords":["mobx","miniprogram","wechat"],"author":{"name":"XHFkindergarten@gmail.com"},"license":"ISC","_id":"mobx-miniprogram-lite@0.0.3-alpha.1","maintainers":[{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"}],"dist":{"shasum":"c86c9ad16cb7b7287e22277e307469a6309df5e7","tarball":"https://registry.npmjs.org/mobx-miniprogram-lite/-/mobx-miniprogram-lite-0.0.3-alpha.1.tgz","fileCount":70,"integrity":"sha512-S/5HqYgGB+cPv1RPF3/twioKQH3PcfBoAUWEC4KN46iicMwM11zcuSkM/zNJ/N85KG2KNwALfG5ZA2fkNQyPQA==","signatures":[{"sig":"MEQCICIwKIDpn7HG0qXIeWcj2ZUoqT+uTZr2IguyqFQCMTp6AiATwphU4ILhOz19xcDX2HPDvjyQef3reP9ugg/nSGFmqg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1131329},"main":"lib/index.common.js","types":"lib/index.d.ts","module":"lib/index.js","gitHead":"5b54e030838b326f6dd67e7ba5bd85f1c83514d7","scripts":{"cz":"git-cz","dev":"tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/build.js -w","tsc":"tsc && tsc-alias","test":"jest","build":"tsc && cross-env NODE_ENV=production node ./scripts/build.js","prepare":"husky install","release":"standard-version -t mobx-miniprogram-lite --release-as patch","release:alpha":"standard-version -t mobx-miniprogram-lite --release-as patch --prerelease alpha"},"_npmUser":{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"},"deprecated":"deprecate alpha versions","_npmVersion":"8.19.4","description":"lightweight mobx-binding for wechat-miniprogram","directories":{},"_nodeVersion":"16.20.1","dependencies":{"mobx":"^6.10.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.6.4","husky":"^8.0.3","esbuild":"^0.19.2","ts-node":"^10.9.1","prettier":"^3.0.2","@swc/core":"^1.3.80","@swc/jest":"^0.2.29","cross-env":"^7.0.3","tsc-alias":"^1.8.7","typescript":"^5.1.6","@jest/types":"^29.6.3","@types/jest":"^29.5.4","@types/node":"^20.5.7","standard-version":"^9.5.0","miniprogram-simulate":"^1.6.0","jest-environment-jsdom":"^29.6.4","@types/wechat-miniprogram":"^3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/mobx-miniprogram-lite_0.0.3-alpha.1_1694526364938_0.2514495301214539","host":"s3://npm-registry-packages"}},"0.0.3-alpha.2":{"name":"mobx-miniprogram-lite","version":"0.0.3-alpha.2","keywords":["mobx","miniprogram","wechat"],"author":{"name":"XHFkindergarten@gmail.com"},"license":"ISC","_id":"mobx-miniprogram-lite@0.0.3-alpha.2","maintainers":[{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"}],"dist":{"shasum":"eb911a0622e0638f37c299afc59723ed4519b761","tarball":"https://registry.npmjs.org/mobx-miniprogram-lite/-/mobx-miniprogram-lite-0.0.3-alpha.2.tgz","fileCount":123,"integrity":"sha512-hIAGVXUsTUMapGtc82NXN+UXBVWCKAYzeeG1T6rEqtTfeWozwQJgWVwIfNctqD6emBWLHOVTDEQLRXVGErzmvA==","signatures":[{"sig":"MEUCIQCW6W66d+TyQWxoq5+c1jOj58FMBtmKXH830C+DhkqaPQIgahTevWuk+/iZJi2McVaHFNWDsfqOoEmyVoVRda4L390=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1281999},"main":"lib/index.common.js","types":"lib/index.d.ts","module":"lib/index.js","gitHead":"585626444593797cab5ffa9f85f3fc76b336a27f","scripts":{"cz":"git-cz","dev":"tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/build.js -w","tsc":"tsc && tsc-alias","test":"jest","build":"tsc && cross-env NODE_ENV=production node ./scripts/build.js","prepare":"husky install","release":"standard-version -t mobx-miniprogram-lite --release-as patch","release:alpha":"standard-version -t mobx-miniprogram-lite --release-as patch --prerelease alpha"},"_npmUser":{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"},"deprecated":"deprecate alpha versions","_npmVersion":"8.19.4","description":"lightweight mobx-binding for wechat-miniprogram","directories":{},"_nodeVersion":"16.20.1","dependencies":{"mobx":"^6.10.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.6.4","husky":"^8.0.3","esbuild":"^0.19.2","ts-node":"^10.9.1","prettier":"^3.0.2","@swc/core":"^1.3.80","@swc/jest":"^0.2.29","cross-env":"^7.0.3","tsc-alias":"^1.8.7","typescript":"^5.1.6","@jest/types":"^29.6.3","@types/jest":"^29.5.4","@types/node":"^20.5.7","standard-version":"^9.5.0","miniprogram-simulate":"^1.6.0","jest-environment-jsdom":"^29.6.4","@types/wechat-miniprogram":"^3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/mobx-miniprogram-lite_0.0.3-alpha.2_1694695893811_0.8715114757697289","host":"s3://npm-registry-packages"}},"0.0.3-alpha.3":{"name":"mobx-miniprogram-lite","version":"0.0.3-alpha.3","keywords":["mobx","miniprogram","wechat"],"author":{"name":"XHFkindergarten@gmail.com"},"license":"ISC","_id":"mobx-miniprogram-lite@0.0.3-alpha.3","maintainers":[{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"}],"dist":{"shasum":"8adba305f52f2c4b5fd613bc28c2b7af68c129c3","tarball":"https://registry.npmjs.org/mobx-miniprogram-lite/-/mobx-miniprogram-lite-0.0.3-alpha.3.tgz","fileCount":123,"integrity":"sha512-xEta1c6SdNKxXQBLzY/35ZOfTYbLXiZ3hyXLwyJGHpMwnLDSQJaORgqbYq5jnZ2p5RzDr+yRHQIQII18cn2Uug==","signatures":[{"sig":"MEUCIQCKrcj9gMaS6zwH0Qx/+aSv+Scz09c+8UrsS5+1hOalvgIgPuKpZwvqDD4MzoOVaq6A4cdDE8yTpL37YoONSND6Wo4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1285287},"main":"lib/index.common.js","types":"lib/index.d.ts","module":"lib/index.js","gitHead":"5817b789d415bb5714661c5000ba203d8f90efdc","scripts":{"cz":"git-cz","dev":"tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/build.js -w","tsc":"tsc && tsc-alias","test":"jest","build":"tsc && cross-env NODE_ENV=production node ./scripts/build.js","prepare":"husky install","release":"standard-version -t mobx-miniprogram-lite --release-as patch","release:alpha":"standard-version -t mobx-miniprogram-lite --release-as patch --prerelease alpha"},"_npmUser":{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"},"deprecated":"deprecate alpha versions","_npmVersion":"8.19.4","description":"lightweight mobx-binding for wechat-miniprogram","directories":{},"_nodeVersion":"16.20.1","dependencies":{"mobx":"^6.10.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.6.4","husky":"^8.0.3","esbuild":"^0.19.2","ts-node":"^10.9.1","prettier":"^3.0.2","@swc/core":"^1.3.80","@swc/jest":"^0.2.29","cross-env":"^7.0.3","tsc-alias":"^1.8.7","typescript":"^5.1.6","@jest/types":"^29.6.3","@types/jest":"^29.5.4","@types/node":"^20.5.7","standard-version":"^9.5.0","miniprogram-simulate":"^1.6.0","jest-environment-jsdom":"^29.6.4","@types/wechat-miniprogram":"^3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/mobx-miniprogram-lite_0.0.3-alpha.3_1695025799152_0.18631477628681403","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"mobx-miniprogram-lite","version":"0.0.3","keywords":["mobx","miniprogram","wechat"],"author":{"name":"XHFkindergarten@gmail.com"},"license":"MIT","_id":"mobx-miniprogram-lite@0.0.3","maintainers":[{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"}],"dist":{"shasum":"e7d027ef5d8b0be7af02043c6ef6e99f745fed97","tarball":"https://registry.npmjs.org/mobx-miniprogram-lite/-/mobx-miniprogram-lite-0.0.3.tgz","fileCount":125,"integrity":"sha512-iEYnMF0U6KlZWOdbMB22yz6wIqoUj+qyqQwOuEsNwU0vgUnkzbsQ6H5oh13NpJXCtNvQJj/Wh5J/RVtF0Tl3vw==","signatures":[{"sig":"MEQCIGHgtTeK19w53FKY82a9T4PW2QpPrUH0C8sYlfcVMwUeAiBq95efxVtiI75ZRcjtgVL6Yrm9BPVXVdwyjkoeNyAb2w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1823758},"main":"lib/index.common.js","types":"lib/index.d.ts","module":"lib/index.js","gitHead":"18f311e71bed67790c00718415047bde8a731ae0","scripts":{"cz":"git-cz","dev":"pnpm clean && tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/build.js -w","tsc":"tsc && tsc-alias","test":"jest","build":"pnpm clean && tsc && cross-env NODE_ENV=production node ./scripts/build.js","clean":"rimraf lib","prepare":"husky install","release":"standard-version -t mobx-miniprogram-lite --release-as patch","release:alpha":"standard-version -t mobx-miniprogram-lite --release-as patch --prerelease alpha"},"_npmUser":{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"},"_npmVersion":"8.19.4","description":"lightweight mobx-binding for wechat-miniprogram","directories":{},"_nodeVersion":"16.20.1","dependencies":{"mobx":"^6.10.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.4","husky":"^8.0.3","rimraf":"^5.0.5","esbuild":"^0.19.2","ts-node":"^10.9.1","prettier":"^3.0.2","@swc/core":"^1.3.80","@swc/jest":"^0.2.29","cross-env":"^7.0.3","tsc-alias":"^1.8.7","es6-symbol":"^3.1.3","typescript":"^5.1.6","@jest/types":"^29.6.3","@types/jest":"^29.5.4","@types/node":"^20.5.7","standard-version":"^9.5.0","miniprogram-simulate":"^1.6.0","jest-environment-jsdom":"^29.6.4","@types/wechat-miniprogram":"^3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/mobx-miniprogram-lite_0.0.3_1697698553014_0.03752089747887011","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"mobx-miniprogram-lite","version":"0.0.4","keywords":["mobx","miniprogram","wechat"],"author":{"name":"XHFkindergarten@gmail.com"},"license":"MIT","_id":"mobx-miniprogram-lite@0.0.4","maintainers":[{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"}],"dist":{"shasum":"710a436140b3e33850f0295a3ddcd6603c497c78","tarball":"https://registry.npmjs.org/mobx-miniprogram-lite/-/mobx-miniprogram-lite-0.0.4.tgz","fileCount":125,"integrity":"sha512-u8ImiZT0BS03/Tp7LUoDuxd5eggvCYPJ2GgSWSyrP/aSRLonEHep8TrItn1kn+Lz/2WVGpM9wGCbjyefHtUGAA==","signatures":[{"sig":"MEYCIQCF5mVuFh/6PSghXrG4V51p7oNDXARZWIB00EOphRqsPQIhAK+dEcek+WC53s2QfAN9/o97iH2S/apMWhMnV/IbhwRS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1416347},"main":"lib/index.common.js","types":"lib/index.d.ts","module":"lib/index.js","gitHead":"06ba6a0b444b9170e6df28008389b520aac7f609","scripts":{"cz":"git-cz","dev":"pnpm clean && tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/build.js -w","tsc":"tsc && tsc-alias","test":"jest","build":"pnpm clean && tsc && cross-env NODE_ENV=production node ./scripts/build.js","clean":"rimraf lib","example":"tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/dev_example.js","prepare":"husky install","release":"standard-version -t mobx-miniprogram-lite --release-as patch","release:alpha":"standard-version -t mobx-miniprogram-lite --release-as patch --prerelease alpha"},"_npmUser":{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"},"_npmVersion":"8.19.4","description":"lightweight mobx-binding for wechat-miniprogram","directories":{},"_nodeVersion":"16.20.1","dependencies":{"mobx":"^6.10.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.4","husky":"^8.0.3","rimraf":"^5.0.5","esbuild":"^0.19.2","ts-node":"^10.9.1","prettier":"^3.0.2","@swc/core":"^1.3.80","@swc/jest":"^0.2.29","cross-env":"^7.0.3","tsc-alias":"^1.8.7","es6-symbol":"^3.1.3","typescript":"^5.1.6","@jest/types":"^29.6.3","@types/jest":"^29.5.4","@types/node":"^20.5.7","standard-version":"^9.5.0","miniprogram-simulate":"^1.6.0","jest-environment-jsdom":"^29.6.4","@types/wechat-miniprogram":"^3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/mobx-miniprogram-lite_0.0.4_1698723871144_0.16593007971488727","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"mobx-miniprogram-lite","version":"0.0.5","keywords":["mobx","miniprogram","wechat"],"author":{"name":"XHFkindergarten@gmail.com"},"license":"MIT","_id":"mobx-miniprogram-lite@0.0.5","maintainers":[{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"}],"dist":{"shasum":"6137d2b6a214e06863cc7f8c6bb8797f474d76db","tarball":"https://registry.npmjs.org/mobx-miniprogram-lite/-/mobx-miniprogram-lite-0.0.5.tgz","fileCount":134,"integrity":"sha512-6I5P/K7W4I7wep1amTVGyVOa+Dzpb2Dnlgi1EbF4zEOUeFfnYgYHVJduBVThjTeIFsY00et2TCpnLQZGEXE1Ug==","signatures":[{"sig":"MEYCIQDlMrMb/01ibPa1js21wW+auFo8AbM0le70+2RiESsVggIhAKFy6jzAJEBl0fNYgsVSNn/DCY4giDIBX2j2eEy6/U+i","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1474395},"main":"lib/index.common.js","types":"lib/index.d.ts","module":"lib/index.js","gitHead":"cab8d74778d1ecefae8b0200b110e128051ce4e9","scripts":{"cz":"git-cz","dev":"pnpm clean && tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/build.js -w","tsc":"tsc && tsc-alias","test":"jest","build":"pnpm clean && tsc && cross-env NODE_ENV=production node ./scripts/build.js","clean":"rimraf lib","example":"tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/dev_example.js","prepare":"husky install","release":"standard-version -t mobx-miniprogram-lite --release-as patch","release:alpha":"standard-version -t mobx-miniprogram-lite --release-as patch --prerelease alpha"},"_npmUser":{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"},"_npmVersion":"8.19.4","description":"lightweight mobx-binding for wechat-miniprogram","directories":{},"_nodeVersion":"16.20.1","dependencies":{"mobx":"^6.10.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.4","husky":"^8.0.3","rimraf":"^5.0.5","esbuild":"^0.19.2","ts-node":"^10.9.1","prettier":"^3.0.2","@swc/core":"^1.3.80","@swc/jest":"^0.2.29","cross-env":"^7.0.3","tsc-alias":"^1.8.7","es6-symbol":"^3.1.3","typescript":"^5.1.6","@jest/types":"^29.6.3","@types/jest":"^29.5.4","@types/node":"^20.5.7","standard-version":"^9.5.0","miniprogram-simulate":"^1.6.0","jest-environment-jsdom":"^29.6.4","@types/wechat-miniprogram":"^3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/mobx-miniprogram-lite_0.0.5_1699965786010_0.2944577235840147","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"mobx-miniprogram-lite","version":"0.0.6","keywords":["mobx","miniprogram","wechat"],"author":{"name":"XHFkindergarten@gmail.com"},"license":"MIT","_id":"mobx-miniprogram-lite@0.0.6","maintainers":[{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"}],"dist":{"shasum":"f2e9b364bcce1c3e2922829e2c747907ba77d7af","tarball":"https://registry.npmjs.org/mobx-miniprogram-lite/-/mobx-miniprogram-lite-0.0.6.tgz","fileCount":134,"integrity":"sha512-GohzGs7Xdyyf9oXvMKd6eg/5wTDD9qMPl/j3j78OBeQicoIFh1vJ7K0KZbvYnz7WbkF5BvRvUIJhuJwMvCwMKw==","signatures":[{"sig":"MEUCIQD1C8pwf/vHikN62A5rm0EQY10DFG+tMAmyj2d47UIC8AIgedewCKGzbMedJ3Q54wap4ZEYT230peievjlt2TbnhLI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1474426},"main":"lib/index.common.js","types":"lib/index.d.ts","module":"lib/index.js","gitHead":"d4cd3704505e11e4d5b285824402504de5a20031","scripts":{"cz":"git-cz","dev":"pnpm clean && tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/build.js -w","tsc":"tsc && tsc-alias","test":"jest","build":"pnpm clean && tsc && cross-env NODE_ENV=production node ./scripts/build.js","clean":"rimraf lib","example":"tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/dev_example.js","prepare":"husky install","release":"standard-version -t mobx-miniprogram-lite --release-as patch","release:alpha":"standard-version -t mobx-miniprogram-lite --release-as patch --prerelease alpha"},"_npmUser":{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"},"_npmVersion":"8.19.4","description":"lightweight mobx-binding for wechat-miniprogram","directories":{},"_nodeVersion":"16.20.1","dependencies":{"mobx":"^6.10.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.6.4","husky":"^8.0.3","rimraf":"^5.0.5","esbuild":"^0.19.2","ts-node":"^10.9.1","prettier":"^3.0.2","@swc/core":"^1.3.80","@swc/jest":"^0.2.29","cross-env":"^7.0.3","tsc-alias":"^1.8.7","es6-symbol":"^3.1.3","typescript":"^5.1.6","@jest/types":"^29.6.3","@types/jest":"^29.5.4","@types/node":"^20.5.7","standard-version":"^9.5.0","miniprogram-simulate":"^1.6.0","jest-environment-jsdom":"^29.6.4","@types/wechat-miniprogram":"^3.4.1"},"_npmOperationalInternal":{"tmp":"tmp/mobx-miniprogram-lite_0.0.6_1700103184617_0.707468139295317","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"mobx-miniprogram-lite","version":"0.0.7","description":"lightweight mobx-binding for wechat-miniprogram","main":"lib/index.common.js","module":"lib/index.js","types":"lib/index.d.ts","scripts":{"tsc":"tsc && tsc-alias","clean":"rimraf lib","build":"pnpm clean && tsc && cross-env NODE_ENV=production node ./scripts/build.js","dev":"pnpm clean && tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/build.js -w","example":"tsc -w & tsc-alias -w & cross-env NODE_ENV=development node ./scripts/dev_example.js","cz":"git-cz --disable-emoji","release":"standard-version -t mobx-miniprogram-lite --release-as patch","release:alpha":"standard-version -t mobx-miniprogram-lite --release-as patch --prerelease alpha","test":"jest","prepare":"husky install"},"keywords":["mobx","miniprogram","wechat"],"author":{"name":"XHFkindergarten@gmail.com"},"license":"MIT","dependencies":{"mobx":"^6.10.0"},"devDependencies":{"@jest/types":"^29.6.3","@swc/core":"^1.3.80","@swc/jest":"^0.2.29","@types/jest":"^29.5.4","@types/node":"^20.5.7","@types/wechat-miniprogram":"^3.4.1","cross-env":"^7.0.3","es6-symbol":"^3.1.3","esbuild":"^0.19.2","git-cz":"^4.9.0","husky":"^8.0.3","jest":"^29.6.4","jest-environment-jsdom":"^29.6.4","miniprogram-simulate":"^1.6.0","prettier":"^3.0.2","rimraf":"^5.0.5","standard-version":"^9.5.0","ts-node":"^10.9.1","tsc-alias":"^1.8.7","typescript":"^5.1.6"},"_id":"mobx-miniprogram-lite@0.0.7","gitHead":"f7f1a07fc661d49b7c7c65b531bc6b981d4bd750","_nodeVersion":"20.16.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-M7I0141uA95d2oZduITPuqoBsvz6EdW+qES3/qSF67Tbxit57P+V96NATSPqRhH4R0pLwd7Gnq28EQ3Hjd60ww==","shasum":"b3e1f6b475a9039ea65c55af9f4a00fd0d80dc25","tarball":"https://registry.npmjs.org/mobx-miniprogram-lite/-/mobx-miniprogram-lite-0.0.7.tgz","fileCount":17,"unpackedSize":1003504,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBNiwoI2egTPxUAkPkZFWAkKVPvvYlmy2psJj2J+V944AiEA1o84HCAVCRKv0dHmmx8vkaeh9tNxnEmKGyTvmu+jwvA="}]},"_npmUser":{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"},"directories":{},"maintainers":[{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mobx-miniprogram-lite_0.0.7_1729154854840_0.16975544419008215"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-21T06:21:44.708Z","modified":"2024-10-17T08:47:35.215Z","0.0.1-alpha.0":"2023-08-21T06:21:44.924Z","0.0.1-alpha.1":"2023-08-21T09:01:58.113Z","0.0.1-alpha.2":"2023-08-21T09:10:29.022Z","0.0.1-alpha.3":"2023-08-21T12:16:05.944Z","0.0.1-alpha.4":"2023-08-24T13:06:11.441Z","0.0.1":"2023-08-25T02:45:45.257Z","0.0.2-alpha.0":"2023-08-29T13:16:23.596Z","0.0.2":"2023-08-29T13:21:09.400Z","0.0.3-alpha.0":"2023-09-02T07:11:18.140Z","0.0.3-alpha.1":"2023-09-12T13:46:05.266Z","0.0.3-alpha.2":"2023-09-14T12:51:34.095Z","0.0.3-alpha.3":"2023-09-18T08:29:59.405Z","0.0.3":"2023-10-19T06:55:53.305Z","0.0.4":"2023-10-31T03:44:31.457Z","0.0.5":"2023-11-14T12:43:06.262Z","0.0.6":"2023-11-16T02:53:05.182Z","0.0.7":"2024-10-17T08:47:35.031Z"},"author":{"name":"XHFkindergarten@gmail.com"},"license":"MIT","keywords":["mobx","miniprogram","wechat"],"description":"lightweight mobx-binding for wechat-miniprogram","maintainers":[{"name":"xhfkindergarten","email":"xhfkindergarten@gmail.com"}],"readme":"# <img style=\"width:40px;\" alt=\"MOBX\" src=\"https://mobx.js.org/assets/mobx.png\"> mobx-miniprogram-lite\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/XHFkindergarten/mobx-miniprogram-lite/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/mobx-miniprogram-lite.svg?style=flat)](https://www.npmjs.com/package/mobx-miniprogram-lite) [![test coverage](https://img.shields.io/badge/coverage-95.68%25-green)]()\n\n<p style=\"text-align:center;\">\n  <span>简体中文</span> |\n  <a href=\"./README_en_US.md\">English</a> |\n  <a href=\"https://developers.weixin.qq.com/s/GNZlomm87hM3\">Example</a>\n</p>\n\n- 基于 [mobx](https://zh.mobx.js.org/README.html) 实现数据的深度监听，响应式更新视图。\n- 支持 [computed](https://mobx.js.org/computeds.html) 派生计算。\n- 公共状态管理。\n- 基于原生 JS 编写小程序逻辑层，获得更好的代码组织结构。\n\n## 安装\n\n```\nnpm install mobx-miniprogram-lite\n```\n\n## 快速开始\n\n### 1.定义可观测的数据\n\n```typescript\nimport { observable } from 'mobx-miniprogram-lite'\n\nexport const countStore = observable({\n  // 被观测的数据\n  value: 0,\n  // 计算属性\n  get double() {\n    return this.value * 2\n  },\n  // 修改数据的方法\n  addValue() {\n    this.value++\n  }\n})\n```\n\n### 2.将数据与 `Page/Component` 绑定\n\n- Page 页面实例\n\n```typescript\nimport { connectPage } from 'mobx-miniprogram-lite'\nimport { countStore } from './count'\n\nconnectPage({\n  store: {\n    count: countStore\n  }\n})\n```\n\n- Component 组件实例\n\n```typescript\nimport { connectComponent } from 'mobx-miniprogram-lite'\nimport { countStore } from './count'\n\nconnectComponent({\n  store: {\n    count: countStore\n  }\n})\n```\n\n### 3.渲染和交互\n\n- 在组件方法中调用数据方法\n\n```typescript\nimport { connectPage } from 'mobx-miniprogram-lite'\nimport { countStore } from './count'\n\nconnectPage({\n  store: {\n    count: countStore\n  },\n  bindTapAdd() {\n    this.store.count.addValue()\n  }\n})\n```\n\n- 在 WXML 中绑定数据和交互事件\n\n```html\n<view> value: {{count.value}} </view>\n<view> value * 2: {{count.doubleValue}} </view>\n<view bindtap=\"bindTapAdd\"> click me to add value </view>\n```\n\n这样就完成了一个数字累加器的简单实现。\n\n## 灵感来源\n\n- [Westore - 小程序项目分层架构](https://github.com/Tencent/westore)\n\n## 代码案例\n\nhttps://developers.weixin.qq.com/s/7U4VcFmN7pKx\n\n## 核心概念\n\n- observable\n  - 被观测的数据，只有修改的数据是可观测状态时，mobx 才能触发自动响应。\n- action\n  - 数据的修改动作需要在 action 函数中完成。\n- computed\n  - 从被观测的数据中派生计算出来的数据，会随着被观测数据的改变而自动更新。\n\n## 文档\n\n### 创建可观测的数据\n\n- [observable](https://mobx.js.org/observable-state.html#observable)：使一个数据结构变为可观测的。\n\n其中的数据及其深层数据均会变为可观测的，其中的 getter 函数将会变为 computed 数据，其中的函数属性将会变为 action 函数。\n\n```typescript\nimport { observable } from 'mobx-miniprogram-lite'\n\n// 可观测数组\nconst todos = observable([\n  { title: 'Spoil tea', completed: true },\n  { title: 'Make coffee', completed: false }\n])\n\n// 可观测对象\nconst counter = observable({\n  value: 0,\n  get double() {\n    return this.value * 2\n  },\n  addValue() {\n    this.value++\n  }\n})\n```\n\n- [makeObservable](https://mobx.js.org/observable-state.html#makeobservable)\n\n和 observable 的作用一致，但是作用于 class 数据。第一个参数为类的实例，第二个参数用于对类的属性进行类型断言。\n\n```typescript\nimport {\n  makeObservable,\n  observable,\n  computed,\n  action,\n  flow\n} from 'mobx-miniprogram-lite'\n\nclass Doubler {\n  value\n\n  constructor(value) {\n    makeObservable(this, {\n      value: observable,\n      double: computed,\n      increment: action\n    })\n    this.value = value\n  }\n\n  get double() {\n    return this.value * 2\n  }\n\n  increment() {\n    this.value++\n  }\n}\n\n// 对于继承场景，只能使用 makeObservable API\nclass SubClass extends Doubler {\n  constructor(value) {\n    super(value)\n    makeObservable(this, {\n      triple: computed\n    })\n  }\n\n  // 使用父类中的值\n  get triple() {\n    return this.value * 3\n  }\n}\n```\n\n- [makeAutoObservable](https://mobx.js.org/observable-state.html#makeautoobservable)\n\nmakeAutoObservable 是 makeObservable 的自动推导模式，根据属性的类型自动推断为 `observable`、`action`、`computed` 等类型。但是相对来说有一定限制，例如不能用于子类。\n\n```typescript\nimport { makeAutoObservable } from 'mobx-miniprogram-lite'\n\nclass Doubler {\n  value\n\n  readonly description = '静态字段'\n\n  constructor(value) {\n    makeAutoObservable(\n      this,\n      // 和 makeObservable 一样，第二个参数 override 支持指定字段的类型\n      {\n        // 将 description 字段标记为无需观测\n        description: false\n      }\n    )\n    this.value = value\n  }\n\n  get double() {\n    return this.value * 2\n  }\n\n  increment() {\n    this.value++\n  }\n\n  async fetch() {\n    const response = await fetch('/api/value')\n    this.value = response.json()\n  }\n}\n```\n\n### 更新数据\n\n> [Updating state using actions](https://mobx.js.org/actions.html)\n\n当我们希望更新一个被 mobx 观测的数据时，应该通过 **`action`** 来完成这一操作（对于 mobx 来说，这不是必须的，但是强烈推荐这样做）。当你使用任意一个状态管理库时都能够看到类似的概念，这样做的好处是：\n\n1. action 动作会在 mobx 的 _事务_ 中执行，多个 action 动作同时触发时它们将会被批处理，中间态不会对外暴露，避免导致一些 bug。\n2. 通过显式地声明 action 能够帮助开发者更好的组织代码，在定位问题时明确数据更新是如何触发的。\n\n相比其他状态管理库，mobx 有其特殊性——不依赖特定的 API 语法，通过原生 JS 赋值即可触发状态的更新。这在给开发者带来极大便利的同时，也带来了一定的风险，试想在一个大型项目中存在 N 处对数据的直接更改，开发者在定位问题时很难定位到哪一处更改导致了最终的结果。\n\nmobx 默认开启了 `enforceActions: true`，运行时如果不通过 action 而是直接修改数据，控制台将会抛出 warning：_[MobX] Since strict-mode is enabled, changing (observed) observable values without using an action is not allowed. Tried to modify: XXStore@XXProperty._\n\n- observable\n\n```typescript\nimport { observable, action } from 'mobx-miniprogram-lite'\n\n// ✅\nconst counter = observable({\n  value: 0,\n  // 被 observable 包裹的【非异步】函数自动成为 action\n  updateValue() {\n    this.value++\n  }\n})\n\n// ❌\nconst counter = observable({\n  value: 0\n})\nconst updateValue = () => {\n  // 非 action\n  counter.value++\n}\n// ✅\nconst counter = observable({\n  value: 0\n})\n// 使用 action 包裹，使函数成为 action 函数\nconst updateValue = action(() => {\n  counter.value++\n})\n```\n\n- makeAutoObservable\n\n```typescript\nimport { makeAutoObservable } from 'mobx-miniprogram-lite'\n\nclass Store {\n  constructor() {\n    makeAutoObservable(this)\n  }\n\n  value = 0\n\n  // 和 observable 相同，makeAutoObservable 会自动识别对象中的函数并包装为 action。\n  updateValue() {\n    this.value++\n  }\n}\n```\n\n- makeObservable\n\n```typescript\nimport { makeObservable, observable, action } from 'mobx-miniprogram-lite'\n\nclass Store {\n  constructor() {\n    makeObservable(this, {\n      value: observable,\n      // 手动声明 updateValue 是一个 action\n      updateValue: action\n    })\n  }\n\n  value = 0\n\n  updateValue() {\n    this.value++\n  }\n}\n```\n\n- 异步更新\n\n由于 mobx 的事务是同步的，因此异步数据更新无法被事务捕获，异步函数也无法被包装成 action。\n\n```typescript\nimport { observable, runInAction } from 'mobx-miniprogram-lite'\n\n// ❌\nconst counter = observable({\n  value: 0,\n  async updateValueAsync() {\n    // do something\n    await fetchData()\n\n    // update\n    this.value++ // 仍会抛出 warning\n  }\n})\n\n// ✅\nconst counter = observable({\n  value: 0,\n  updateValue() {\n    this.value++\n  }\n  async updateValueAsync() {\n    // do something\n    await fetchData()\n\n    // 由于 updateValue 是一个 action，因此数据是在事务中完成的更新\n    this.updateValue()\n  }\n})\n\n// ✅\nconst counter = observable({\n  value: 0,\n  async updateValueAsync() {\n    // do something\n    await fetchData()\n\n    // runInAction 是 action 函数的立即执行版本，被 runInAction 包裹的函数会立即在事务中执行\n    runInAction(() => {\n      this.value++\n    })\n  }\n})\n\n\n```\n\n### 绑定到小程序组件\n\n由于 Page 和 Component 的生命周期存在差异，因此 mobx-miniprogram-lite 通过两个不同的 API 来绑定数据和组件。它们的区别仅仅是函数名称的不同，函数参数和类型是完全一致的。\n\n开发者要做的就是将小程序原生 API 替换为 mobx-miniprogram-lite 导出的 API：\n\n- `Page({})` → `connectPage({})`\n- `Component({})` → `connectComponent({})`\n\n并且通过 store 属性完成数据源的注入即可。\n\n#### Page\n\n```typescript\nimport { connectPage } from 'mobx-miniprogram-lite'\nimport counterStore from './stores/counter'\nimport todoStore from './stores/todo'\n\nconnectPage({\n  // 通过 store 属性注入观测数据\n  store: {\n    counter: counterStore,\n    todo: todoStore\n  },\n  onLoad() {},\n  onUnload() {},\n  data: {}\n})\n```\n\n#### Component\n\n```typescript\nimport { connectComponent } from 'mobx-miniprogram-lite'\nimport counterStore from './stores/counter'\nimport todoStore from './stores/todo'\n\nconnectComponent({\n  // 通过 store 属性注入观测数据\n  store: {\n    counter: counterStore,\n    todo: todoStore\n  },\n  lifetimes: {\n    attached() {},\n    detached() {}\n  },\n  data: {}\n})\n```\n\n#### 模板渲染\n\nstore 中的数据源，会被 mobx-miniprogram-lite 自动映射到 data 中，例如：\n\n- `this.store.todo.length` → `this.data.todo.length`\n\n因此，可以直接在 wxml 中通过 store 属性中的属性名访问到对应数据：\n\n```html\n<view>length: {{todo.length}}</view>\n```\n\n#### 调用数据层方法\n\nmobx-miniprogram-lite 并没有将 store 中的函数自动绑定到小程序组件中，而是推荐开发者手动进行调用：\n\n```typescript\nconnectPage({\n  store: {\n    todo: todoStore\n  },\n  toggleTodo(e: WechatMiniprogram.TouchEvent) {\n    const index = e.target.dataset.index\n    this.store.todo.toggleTodo(index)\n  }\n})\n```\n\n在小程序事件处理函数中往往需要处理交互事件，这部分逻辑属于视图层，如果和数据层逻辑写在一起会造成耦合与污染，因此更推荐开发者将视图层逻辑和数据层逻辑拆分。\n\n## 性能\n\n由于 mobx-miniprogram-lite 的底层对可观测对象进行了深度遍历，随着数据量的增大，性能损耗也将会线性增长，如果你的业务数据量十分庞大，请谨慎使用。\n\n以下为数据条数大约带来的额外计算时长（相比原生 setData）：\n\n| 数据条数 | 耗时（毫秒） |\n| -------- | ------------ |\n| 100      | 1            |\n| 1000     | 3            |\n| 10000    | 30           |\n\n### 优化手段\n\nmobx-miniprogram-lite 为每一个 store 的子属性单独创建观测实例，因此不要将多个数据字段存放在一起，以此达到最优的性能。\n\n```typescript\nimport { connectPage, observable } from 'mobx-miniprogram-lite'\n\n// ❌\nconst listStore = observable({\n  // states-observer\n  // loading 更新时，也会触发 list 的重新计算\n  states = {\n    list: [...], // 长达 5000 条数据\n    loading: false,\n  }\n})\n\n// ✅\nconst listStore = observable({\n  // list-observer\n  list: [...], // 长达 5000 条数据\n  // loading-observer\n  // 当 loading 的值发生改变时，仅重新计算 loading\n  loading: false,\n})\n\nconnectPage({\n  store: {\n    list: listStore\n  }\n})\n```\n","readmeFilename":"README.md"}