{"_id":"@emotion/weak-memoize","_rev":"3449055","name":"@emotion/weak-memoize","description":"A memoization function that uses a WeakMap","dist-tags":{"latest":"0.4.0"},"maintainers":[{"name":"andarist","email":""},{"name":"emmatown","email":""},{"name":"emotion-release-bot","email":"mitchell+emotion-release-bot@hamil.town"},{"name":"tkh44","email":"kye.hohenberger@gmail.com"}],"time":{"modified":"2026-04-09T09:30:43.000Z","created":"2018-07-15T04:05:23.831Z","10.0.0-really-unsafe-please-do-not-use.0":"2018-09-27T23:34:19.836Z","0.4.0":"2024-07-19T06:51:59.797Z","0.3.1":"2023-05-06T08:49:17.225Z","0.3.0":"2022-07-31T09:06:37.807Z","0.2.5":"2019-12-22T23:11:25.008Z","0.2.4":"2019-09-17T12:51:18.960Z","0.2.3":"2019-06-25T23:08:51.962Z","0.2.2":"2018-11-20T12:35:05.280Z","0.2.1":"2018-11-13T05:11:51.954Z","0.2.0":"2018-10-13T07:34:59.020Z","0.1.3":"2018-09-20T20:57:44.153Z","0.1.2":"2018-07-29T01:31:47.679Z","0.1.1":"2018-07-15T04:05:23.831Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/emotion-js/emotion.git#main"},"versions":{"10.0.0-really-unsafe-please-do-not-use.0":{"name":"@emotion/weak-memoize","version":"10.0.0-really-unsafe-please-do-not-use.0","description":"A memoization function that uses a WeakMap","main":"dist/weak-memoize.cjs.js","module":"dist/weak-memoize.esm.js","license":"MIT","repository":{"type":"git","url":"https://github.com/emotion-js/emotion/tree/master/next-packages/weak-memoize"},"publishConfig":{"access":"public"},"umd:main":"./dist/index.min.js","browser":{"./dist/weak-memoize.cjs.js":"./dist/weak-memoize.browser.cjs.js"},"gitHead":"a5f3825603dffd69fddb44bf5f29afd7c49eabd5","_resolved":"","_integrity":"","_from":"file:emotion-weak-memoize-10.0.0-really-unsafe-please-do-not-use.0.tgz","readmeFilename":"README.md","_id":"@emotion/weak-memoize@10.0.0-really-unsafe-please-do-not-use.0","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"mitchellhamilton","email":"mitchell@mitchellhamilton.me"},"dist":{"shasum":"ebb8b0ddb82654c7b7aaa4e60e36a493b4158466","size":2462,"noattachment":false,"key":"/@emotion/weak-memoize/-/@emotion/weak-memoize-10.0.0-really-unsafe-please-do-not-use.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@emotion/weak-memoize/download/@emotion/weak-memoize-10.0.0-really-unsafe-please-do-not-use.0.tgz"},"maintainers":[{"name":"andarist","email":""},{"name":"emmatown","email":""},{"name":"emotion-release-bot","email":"mitchell+emotion-release-bot@hamil.town"},{"name":"tkh44","email":"kye.hohenberger@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weak-memoize_10.0.0-really-unsafe-please-do-not-use.0_1538091259697_0.3385137481296874"},"_hasShrinkwrap":false,"publish_time":1538091259836,"_cnpm_publish_time":1538091259836,"_cnpmcore_publish_time":"2021-12-16T12:21:07.675Z"},"0.4.0":{"name":"@emotion/weak-memoize","version":"0.4.0","description":"A memoization function that uses a WeakMap","main":"dist/emotion-weak-memoize.cjs.js","module":"dist/emotion-weak-memoize.esm.js","types":"dist/emotion-weak-memoize.cjs.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/emotion-js/emotion.git#main"},"scripts":{"test:typescript":"dtslint types"},"publishConfig":{"access":"public"},"devDependencies":{"@definitelytyped/dtslint":"0.0.112","typescript":"^5.4.5"},"exports":{".":{"module":"./dist/emotion-weak-memoize.esm.js","import":"./dist/emotion-weak-memoize.cjs.mjs","default":"./dist/emotion-weak-memoize.cjs.js"},"./package.json":"./package.json"},"gitHead":"d57cfcb6daf48fc5458f91b4db2e072fbc2863e4","bugs":{"url":"https://github.com/emotion-js/emotion/issues"},"homepage":"https://github.com/emotion-js/emotion/tree/main#readme","_id":"@emotion/weak-memoize@0.4.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"5e13fac887f08c44f76b0ccaf3370eb00fec9bb6","size":2359,"noattachment":false,"key":"/@emotion/weak-memoize/-/@emotion/weak-memoize-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@emotion/weak-memoize/download/@emotion/weak-memoize-0.4.0.tgz"},"_npmUser":{"name":"emotion-release-bot","email":"emotion-release-bot@hamil.town"},"directories":{},"maintainers":[{"name":"andarist","email":""},{"name":"emmatown","email":""},{"name":"emotion-release-bot","email":"mitchell+emotion-release-bot@hamil.town"},{"name":"tkh44","email":"kye.hohenberger@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weak-memoize_0.4.0_1721371919640_0.5692501995695682"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-07-19T06:51:59.797Z","publish_time":1721371919797,"_source_registry_name":"default","_cnpm_publish_time":1721371919797},"0.3.1":{"name":"@emotion/weak-memoize","version":"0.3.1","description":"A memoization function that uses a WeakMap","main":"dist/emotion-weak-memoize.cjs.js","module":"dist/emotion-weak-memoize.esm.js","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/emotion-js/emotion.git#main"},"scripts":{"test:typescript":"dtslint types"},"publishConfig":{"access":"public"},"devDependencies":{"@definitelytyped/dtslint":"0.0.112","typescript":"^4.5.5"},"exports":{".":{"module":"./dist/emotion-weak-memoize.esm.js","import":"./dist/emotion-weak-memoize.cjs.mjs","default":"./dist/emotion-weak-memoize.cjs.js"},"./package.json":"./package.json"},"gitHead":"1135f8e9d97ea711eb483368313afdfe7b176845","bugs":{"url":"https://github.com/emotion-js/emotion/issues"},"homepage":"https://github.com/emotion-js/emotion/tree/main#readme","_id":"@emotion/weak-memoize@0.3.1","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"shasum":"d0fce5d07b0620caa282b5131c297bb60f9d87e6","size":2486,"noattachment":false,"key":"/@emotion/weak-memoize/-/@emotion/weak-memoize-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@emotion/weak-memoize/download/@emotion/weak-memoize-0.3.1.tgz"},"_npmUser":{"name":"emotion-release-bot","email":"emotion-release-bot@hamil.town"},"directories":{},"maintainers":[{"name":"andarist","email":""},{"name":"emmatown","email":""},{"name":"emotion-release-bot","email":"mitchell+emotion-release-bot@hamil.town"},{"name":"tkh44","email":"kye.hohenberger@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weak-memoize_0.3.1_1683362957066_0.9312830075790961"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-06T08:49:17.225Z","publish_time":1683362957225,"_source_registry_name":"default","_cnpm_publish_time":1683362957225},"0.3.0":{"name":"@emotion/weak-memoize","version":"0.3.0","description":"A memoization function that uses a WeakMap","main":"dist/emotion-weak-memoize.cjs.js","module":"dist/emotion-weak-memoize.esm.js","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"git+https://github.com/emotion-js/emotion.git#main"},"scripts":{"test:typescript":"dtslint types"},"publishConfig":{"access":"public"},"devDependencies":{"@definitelytyped/dtslint":"0.0.112","typescript":"^4.5.5"},"exports":{".":{"module":"./dist/emotion-weak-memoize.esm.js","default":"./dist/emotion-weak-memoize.cjs.js"},"./package.json":"./package.json"},"gitHead":"a5f43a1ba3dae5141b9c356b8b7e13f7023895b3","bugs":{"url":"https://github.com/emotion-js/emotion/issues"},"homepage":"https://github.com/emotion-js/emotion/tree/main#readme","_id":"@emotion/weak-memoize@0.3.0","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"shasum":"ea89004119dc42db2e1dba0f97d553f7372f6fcb","size":2188,"noattachment":false,"key":"/@emotion/weak-memoize/-/@emotion/weak-memoize-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@emotion/weak-memoize/download/@emotion/weak-memoize-0.3.0.tgz"},"_npmUser":{"name":"emotion-release-bot","email":"mitchell+emotion-release-bot@hamil.town"},"directories":{},"maintainers":[{"name":"andarist","email":""},{"name":"emmatown","email":""},{"name":"emotion-release-bot","email":"mitchell+emotion-release-bot@hamil.town"},{"name":"tkh44","email":"kye.hohenberger@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weak-memoize_0.3.0_1659258397582_0.5529126217240707"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-31T09:07:06.684Z","publish_time":1659258397807,"_cnpm_publish_time":1659258397807},"0.2.5":{"name":"@emotion/weak-memoize","version":"0.2.5","description":"A memoization function that uses a WeakMap","main":"dist/weak-memoize.cjs.js","module":"dist/weak-memoize.esm.js","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"https://github.com/emotion-js/emotion/tree/master/packages/weak-memoize"},"scripts":{"test:typescript":"dtslint types"},"publishConfig":{"access":"public"},"devDependencies":{"dtslint":"^0.3.0"},"browser":{"./dist/weak-memoize.cjs.js":"./dist/weak-memoize.browser.cjs.js","./dist/weak-memoize.esm.js":"./dist/weak-memoize.browser.esm.js"},"_id":"@emotion/weak-memoize@0.2.5","_nodeVersion":"10.18.0","_npmVersion":"6.10.2","dist":{"shasum":"8eed982e2ee6f7f4e44c253e12962980791efd46","size":3069,"noattachment":false,"key":"/@emotion/weak-memoize/-/@emotion/weak-memoize-0.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@emotion/weak-memoize/download/@emotion/weak-memoize-0.2.5.tgz"},"maintainers":[{"name":"andarist","email":""},{"name":"emmatown","email":""},{"name":"emotion-release-bot","email":"mitchell+emotion-release-bot@hamil.town"},{"name":"tkh44","email":"kye.hohenberger@gmail.com"}],"_npmUser":{"name":"emotion-release-bot","email":"mitchell+emotion-release-bot@hamil.town"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weak-memoize_0.2.5_1577056284856_0.9828983155218582"},"_hasShrinkwrap":false,"publish_time":1577056285008,"_cnpm_publish_time":1577056285008},"0.2.4":{"name":"@emotion/weak-memoize","version":"0.2.4","description":"A memoization function that uses a WeakMap","main":"dist/weak-memoize.cjs.js","module":"dist/weak-memoize.esm.js","types":"types/index.d.ts","license":"MIT","repository":{"type":"git","url":"https://github.com/emotion-js/emotion/tree/master/packages/weak-memoize"},"scripts":{"test:typescript":"dtslint types"},"publishConfig":{"access":"public"},"devDependencies":{"dtslint":"^0.3.0"},"browser":{"./dist/weak-memoize.cjs.js":"./dist/weak-memoize.browser.cjs.js","./dist/weak-memoize.esm.js":"./dist/weak-memoize.browser.esm.js"},"_id":"@emotion/weak-memoize@0.2.4","_nodeVersion":"10.16.3","_npmVersion":"6.10.2","dist":{"shasum":"622a72bebd1e3f48d921563b4b60a762295a81fc","size":2320,"noattachment":false,"key":"/@emotion/weak-memoize/-/@emotion/weak-memoize-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@emotion/weak-memoize/download/@emotion/weak-memoize-0.2.4.tgz"},"maintainers":[{"name":"andarist","email":""},{"name":"emmatown","email":""},{"name":"emotion-release-bot","email":"mitchell+emotion-release-bot@hamil.town"},{"name":"tkh44","email":"kye.hohenberger@gmail.com"}],"_npmUser":{"name":"emotion-release-bot","email":"mitchell+emotion-release-bot@hamil.town"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weak-memoize_0.2.4_1568724678828_0.8168643590937887"},"_hasShrinkwrap":false,"publish_time":1568724678960,"_cnpm_publish_time":1568724678960},"0.2.3":{"name":"@emotion/weak-memoize","version":"0.2.3","description":"A memoization function that uses a WeakMap","main":"dist/weak-memoize.cjs.js","module":"dist/weak-memoize.esm.js","license":"MIT","repository":{"type":"git","url":"https://github.com/emotion-js/emotion/tree/master/packages/weak-memoize"},"publishConfig":{"access":"public"},"browser":{"./dist/weak-memoize.cjs.js":"./dist/weak-memoize.browser.cjs.js","./dist/weak-memoize.esm.js":"./dist/weak-memoize.browser.esm.js"},"_id":"@emotion/weak-memoize@0.2.3","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"shasum":"dfa0c92efe44a1d1a7974fb49ffeb40ef2da5a27","size":1477,"noattachment":false,"key":"/@emotion/weak-memoize/-/@emotion/weak-memoize-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@emotion/weak-memoize/download/@emotion/weak-memoize-0.2.3.tgz"},"maintainers":[{"name":"andarist","email":""},{"name":"emmatown","email":""},{"name":"emotion-release-bot","email":"mitchell+emotion-release-bot@hamil.town"},{"name":"tkh44","email":"kye.hohenberger@gmail.com"}],"_npmUser":{"name":"mitchellhamilton","email":"mitchell@mitchellhamilton.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weak-memoize_0.2.3_1561504131851_0.031710078172015654"},"_hasShrinkwrap":false,"publish_time":1561504131962,"_cnpm_publish_time":1561504131962},"0.2.2":{"name":"@emotion/weak-memoize","version":"0.2.2","description":"A memoization function that uses a WeakMap","main":"dist/weak-memoize.cjs.js","module":"dist/weak-memoize.esm.js","license":"MIT","repository":{"type":"git","url":"https://github.com/emotion-js/emotion/tree/master/packages/weak-memoize"},"publishConfig":{"access":"public"},"browser":{"./dist/weak-memoize.cjs.js":"./dist/weak-memoize.browser.cjs.js","./dist/weak-memoize.esm.js":"./dist/weak-memoize.browser.esm.js"},"_id":"@emotion/weak-memoize@0.2.2","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"mitchellhamilton","email":"mitchell@mitchellhamilton.me"},"dist":{"shasum":"63985d3d8b02530e0869962f4da09142ee8e200e","size":1341,"noattachment":false,"key":"/@emotion/weak-memoize/-/@emotion/weak-memoize-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@emotion/weak-memoize/download/@emotion/weak-memoize-0.2.2.tgz"},"maintainers":[{"name":"andarist","email":""},{"name":"emmatown","email":""},{"name":"emotion-release-bot","email":"mitchell+emotion-release-bot@hamil.town"},{"name":"tkh44","email":"kye.hohenberger@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weak-memoize_0.2.2_1542717305165_0.4829496182285382"},"_hasShrinkwrap":false,"publish_time":1542717305280,"_cnpm_publish_time":1542717305280},"0.2.1":{"name":"@emotion/weak-memoize","version":"0.2.1","description":"A memoization function that uses a WeakMap","main":"dist/weak-memoize.cjs.js","module":"dist/weak-memoize.esm.js","license":"MIT","repository":{"type":"git","url":"https://github.com/emotion-js/emotion/tree/master/packages/weak-memoize"},"publishConfig":{"access":"public"},"umd:main":"./dist/index.min.js","browser":{"./dist/weak-memoize.cjs.js":"./dist/weak-memoize.browser.cjs.js"},"_id":"@emotion/weak-memoize@0.2.1","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"mitchellhamilton","email":"mitchell@mitchellhamilton.me"},"dist":{"shasum":"d8f1e6d2f34fe9ee9917b7d307bb48f9dbcc4217","size":1773,"noattachment":false,"key":"/@emotion/weak-memoize/-/@emotion/weak-memoize-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@emotion/weak-memoize/download/@emotion/weak-memoize-0.2.1.tgz"},"maintainers":[{"name":"andarist","email":""},{"name":"emmatown","email":""},{"name":"emotion-release-bot","email":"mitchell+emotion-release-bot@hamil.town"},{"name":"tkh44","email":"kye.hohenberger@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weak-memoize_0.2.1_1542085911687_0.2058513191588025"},"_hasShrinkwrap":false,"publish_time":1542085911954,"_cnpm_publish_time":1542085911954},"0.2.0":{"name":"@emotion/weak-memoize","version":"0.2.0","description":"A memoization function that uses a WeakMap","main":"dist/weak-memoize.cjs.js","module":"dist/weak-memoize.esm.js","license":"MIT","repository":{"type":"git","url":"https://github.com/emotion-js/emotion/tree/master/packages/weak-memoize"},"publishConfig":{"access":"public"},"umd:main":"./dist/index.min.js","browser":{"./dist/weak-memoize.cjs.js":"./dist/weak-memoize.browser.cjs.js"},"_id":"@emotion/weak-memoize@0.2.0","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"mitchellhamilton","email":"mitchell@mitchellhamilton.me"},"dist":{"shasum":"139d8e112acd52c9e27d6b112d46c8dd5826a360","size":1716,"noattachment":false,"key":"/@emotion/weak-memoize/-/@emotion/weak-memoize-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@emotion/weak-memoize/download/@emotion/weak-memoize-0.2.0.tgz"},"maintainers":[{"name":"andarist","email":""},{"name":"emmatown","email":""},{"name":"emotion-release-bot","email":"mitchell+emotion-release-bot@hamil.town"},{"name":"tkh44","email":"kye.hohenberger@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weak-memoize_0.2.0_1539416098901_0.7947568708724995"},"_hasShrinkwrap":false,"publish_time":1539416099020,"_cnpm_publish_time":1539416099020},"0.1.3":{"name":"@emotion/weak-memoize","version":"0.1.3","description":"A memoization function that uses a WeakMap","main":"dist/weak-memoize.cjs.js","module":"dist/weak-memoize.esm.js","license":"MIT","repository":{"type":"git","url":"https://github.com/emotion-js/emotion/tree/master/next-packages/weak-memoize"},"publishConfig":{"access":"public"},"umd:main":"./dist/index.min.js","gitHead":"94fed7652759a0f1962da66b922299398e39fe4d","_resolved":"","_integrity":"","_from":"file:emotion-weak-memoize-0.1.3.tgz","_id":"@emotion/weak-memoize@0.1.3","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"mitchellhamilton","email":"mitchell@mitchellhamilton.me"},"dist":{"shasum":"b700d97385fa91affed60c71dfd51c67e9dad762","size":2205,"noattachment":false,"key":"/@emotion/weak-memoize/-/@emotion/weak-memoize-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@emotion/weak-memoize/download/@emotion/weak-memoize-0.1.3.tgz"},"maintainers":[{"name":"andarist","email":""},{"name":"emmatown","email":""},{"name":"emotion-release-bot","email":"mitchell+emotion-release-bot@hamil.town"},{"name":"tkh44","email":"kye.hohenberger@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weak-memoize_0.1.3_1537477063975_0.04406601625492601"},"_hasShrinkwrap":false,"publish_time":1537477064153,"_cnpm_publish_time":1537477064153},"0.1.2":{"name":"@emotion/weak-memoize","version":"0.1.2","description":"A memoization function that uses a WeakMap","main":"dist/weak-memoize.cjs.js","module":"dist/weak-memoize.esm.js","license":"MIT","repository":{"type":"git","url":"https://github.com/emotion-js/emotion/tree/master/next-packages/weak-memoize"},"publishConfig":{"access":"public"},"files":["src","dist"],"umd:main":"./dist/index.min.js","_id":"@emotion/weak-memoize@0.1.2","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"mitchellhamilton","email":"mitchell@mitchellhamilton.me"},"dist":{"shasum":"4e4afffc61fb82fd0e55a4ed3c3041fd0a765a5a","size":1510,"noattachment":false,"key":"/@emotion/weak-memoize/-/@emotion/weak-memoize-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@emotion/weak-memoize/download/@emotion/weak-memoize-0.1.2.tgz"},"maintainers":[{"name":"andarist","email":""},{"name":"emmatown","email":""},{"name":"emotion-release-bot","email":"mitchell+emotion-release-bot@hamil.town"},{"name":"tkh44","email":"kye.hohenberger@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weak-memoize_0.1.2_1532827907622_0.9072854827910217"},"_hasShrinkwrap":false,"publish_time":1532827907679,"_cnpm_publish_time":1532827907679},"0.1.1":{"name":"@emotion/weak-memoize","version":"0.1.1","description":"A memoization function that uses a WeakMap","main":"dist/weak-memoize.cjs.js","module":"dist/weak-memoize.esm.js","license":"MIT","repository":{"type":"git","url":"https://github.com/emotion-js/emotion/tree/master/next-packages/weak-memoize"},"publishConfig":{"access":"public"},"files":["src","dist"],"umd:main":"./dist/index.min.js","_id":"@emotion/weak-memoize@0.1.1","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"mitchellhamilton","email":"mitchell@mitchellhamilton.me"},"dist":{"shasum":"af1621e74f9357a3514776907c096c1a63ae9c26","size":1709,"noattachment":false,"key":"/@emotion/weak-memoize/-/@emotion/weak-memoize-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@emotion/weak-memoize/download/@emotion/weak-memoize-0.1.1.tgz"},"maintainers":[{"name":"andarist","email":""},{"name":"emmatown","email":""},{"name":"emotion-release-bot","email":"mitchell+emotion-release-bot@hamil.town"},{"name":"tkh44","email":"kye.hohenberger@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weak-memoize_0.1.1_1531627523783_0.7755800347580133"},"_hasShrinkwrap":false,"publish_time":1531627523831,"_cnpm_publish_time":1531627523831}},"readme":"# @emotion/weak-memoize\n\n> A memoization function that uses a WeakMap\n\n## Install\n\n```bash\nyarn add @emotion/weak-memoize\n```\n\n## Usage\n\nBecause @emotion/weak-memoize uses a WeakMap the argument must be a non primitive type, e.g. objects, functions, arrays and etc. The function passed to `weakMemoize` must also only accept a single argument.\n\n```jsx\nimport weakMemoize from '@emotion/weak-memoize'\n\nlet doThing = weakMemoize(({ someProperty }) => {\n  return { newName: someProperty }\n})\n\nlet obj = { someProperty: true }\n\nlet firstResult = doThing(obj)\n\nlet secondResult = doThing(obj)\n\nfirstResult === secondResult // true\n\nlet newObj = { someProperty: true }\n\nlet thirdResult = doThing(newObj)\n\nthirdResult === firstResult // false\n```\n","_attachments":{},"homepage":"https://github.com/emotion-js/emotion/tree/main#readme","bugs":{"url":"https://github.com/emotion-js/emotion/issues"},"license":"MIT"}