{"_id":"lazy-get-decorator","_rev":"6-c36821ff442de3e67e97a44acb4a63fa","name":"lazy-get-decorator","dist-tags":{"latest":"3.0.0"},"versions":{"1.2.2":{"name":"lazy-get-decorator","version":"1.2.2","description":"Stub package for the soon-to-be-renamed \"typescript-lazy-get-decorator\"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"MIT","_id":"lazy-get-decorator@1.2.2","_nodeVersion":"11.0.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-rC903tTnSyKi3noMnMhPX9IdnrDblKcu736pi9tPKYeUZZIujcrrux1L+9M+5uP0ajI410ZHJcmwEpl8FFtrwA==","shasum":"7cc6a3a3ecb458eccc078d2d8233ffe009371e47","tarball":"https://registry.npmjs.org/lazy-get-decorator/-/lazy-get-decorator-1.2.2.tgz","fileCount":3,"unpackedSize":435,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcarJ8CRA9TVsSAnZWagAAHr0P/jQst48ACaHbLhkp3WQs\nk2hQPaDcJjhtYU59a8O7j6RBtGiVGI4s5gAQXEzVUnmpGcwqWGS2qcnutn6V\nelQ/uQSuEZ123MmpWIO+I/cLTPNz5MJCPyMNWKipkXbzn3u3ViER9WeY4Eu8\nkKBT3zHgHMhPETQsjaBztsN8CRiYR5JQsoc0mdahdfmPs44HA87y6+svBDIb\ns5wfLYAjmKn5yFKWdCu19OXBIPkXXgYcPTcYJ8aL81Q32947P6rrDGSmppFe\nqP1xVRGHNzZhHN9NrSctcVTw9mzGjN2htbZBuLPe6y5SFPtcUKzpwCIw12Wd\nVDfP4aGFNha43ztt+YTQeMHvKP8K/bmBz/WN7Zk/uoi7i5Gw4MPILIkj+Nbs\nQYe1WjJJ4zOjgEU3rsahlD6oH4kZcD0B7Hsn2uFRoXJc8/ii8Cc4XDC9XIxH\nEbMz7BN8NNG5Nxvd7jejuSdCzaOL92eEjuASpimkzAdXl+myfMBQIOGtlTPo\ntR0zw9Yt0ljZu60ftviUKsLb7UvJc9P4jpJvmZcdEGRI6fj7WbPBdgADaU8B\nunp1DbsmF4hBDgezpgQnF7/WKxvf2F//8xydzXK5k2VaQVTt3PzZK4Spxt0n\n3GlTcILKxT/Iq922Ob3SS/gDF9RzxAQUz3737tjJESGB7czaAXqZbSKTHTJu\nYBsg\r\n=5s00\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDPKKZS8S3IY9l4tQ7T+ppK2Tx+TsqIk8qxpkPWKhut2AiATNhBTq34L8hglNiM+kEudG1rE17SBu0xPSxHl/3noeA=="}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lazy-get-decorator_1.2.2_1550496379703_0.02490551860807977"},"_hasShrinkwrap":false},"2.0.0":{"name":"lazy-get-decorator","version":"2.0.0","description":"Lazily evaluates a getter on an object and caches the returned value","main":"LazyGetter.js","browser":"_bundle/umd.js","jsdelivr":"_bundle/umd.min.js","fesm5":"_bundle/fesm5.js","esm5":"_bundle/fesm5.js","fesm2015":"_bundle/fesm2015.js","esm2015":"_bundle/fesm5.js","es2015":"esm2015/LazyGetter.js","types":"LazyGetter.d.ts","module":"_bundle/fesm5.js","typings":"LazyGetter.d.ts","scripts":{"test:babel:legacy":"babel --config-file ./.babelrc.legacy -o test/LazyGetter.legacy.js test/LazyGetter.js","test:babel:new":"babel --config-file ./.babelrc.new -o test/LazyGetter.new.js test/LazyGetter.js","test:compile":"concurrently -n tsc:test \"tsc -p tsconfig.test.json\" \"npm:test:babel:*\"","test":"nyc mocha --check-leaks --exit --full-trace test/LazyGetter.legacy.js test/LazyGetter.new.js test/LazyGetter.typescript.js","pretest":"concurrently -n build:src,build:test,clean \"alo build --targets cjs\" \"npm run test:compile && ts-node pretest-postprocess.ts\" \"rimraf coverage\"","build":"alo build","lint":"alo tslint -p ./tsconfig.lib.json","lint:fix":"npm run lint -- --fix"},"repository":{"type":"git","url":"git+https://github.com/Alorel/typescript-lazy-get-decorator.git"},"keywords":["typescript","babel","lazy get","lazy getter","lazy","get","getter","cache","memoise","memoize","decorator"],"author":{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://alorel.github.io"},"license":"MIT","bugs":{"url":"https://github.com/Alorel/typescript-lazy-get-decorator/issues"},"homepage":"https://github.com/Alorel/typescript-lazy-get-decorator","devDependencies":{"@alorel-personal/build-tools":"4.4.8","@alorel-personal/conventional-changelog-alorel":"2.0.4","@alorel-personal/semantic-release":"1.4.0","@alorel-personal/tslint-rules":"4.1.1","@babel/cli":"^7.2.3","@babel/core":"^7.3.4","@babel/plugin-proposal-class-properties":"~7.3.4","@babel/plugin-proposal-decorators":"~7.3.0","@semantic-release/changelog":"~3.0.0","@semantic-release/exec":"~3.3.2","@semantic-release/git":"~7.0.8","@semantic-release/github":"^5.2.10","@semantic-release/npm":"^5.0.2","@types/chai":"^4.1.7","@types/lodash":"~4.14.121","@types/mocha":"^5.2.6","@types/node":"~11.10.4","chai":"^4.2.0","concurrently":"~4.1.0","coveralls":"~3.0.3","cross-spawn":"~6.0.5","lodash":"~4.17.5","mocha":"^6.0.2","nyc":"~13.3.0","rimraf":"~2.6.3","semantic-release":"~15.13.3","source-map-support":"^0.5.10","ts-node":"^8.0.2","tslib":"~1.9.0","typescript":"^3.3.3"},"dependencies":{},"_id":"lazy-get-decorator@2.0.0","_npmVersion":"6.5.0","_nodeVersion":"11.10.1","_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"dist":{"integrity":"sha512-qVy1dWI69X8/mWMDXeI71uqbdBtlNrh09exQa8hM5COVUinhHMZ9anYLhpSF5tbCvnKi/AHtvxU4xBaFJo/40g==","shasum":"6333f45feb1ac8fa86af7c8f119822a8b42594c3","tarball":"https://registry.npmjs.org/lazy-get-decorator/-/lazy-get-decorator-2.0.0.tgz","fileCount":14,"unpackedSize":49850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcesOECRA9TVsSAnZWagAAsTkP/j/f0N68CfQy+HTkjYjg\n5f+b/2VZuv3m9Fr/pBRgLGKrr2usH8wkd8JmA++GlMkVGmrBPFBhpeCIWIsZ\na4K47kvS91voYwsXP5UfXbDOIYsHdXGs1xrR0NmNjGW2pChw2RpxZXauHmY4\nK3oJ7xVVfym/qWzdMTG16bHOVeWIUToW6CZ3myh9KiJRrlD8HAr1to55ryKD\nU57CDTp+tELxnQ24CGLLU58n17/EueXLGiR2kgO80fx1JEL4ujXl+HrIGFwW\ny6Fgda+EPTBO6+4uM1XmKi3iQeDGtGTgOifKBfjV7dKtrmAdImVzrpMpCirP\nvdgdDB1yGp9KKWGFKa01krXlq/q7LYKI68t1FRdYfMMxMVW8BAaXZ5Vd0Txv\nafUURmPL2ROv0sx88CUuY1OnN9ZsjPU5O21vIDbxjJsujd+OqgNooHcxeEeD\nCajXc4W0zQ/y5TuaCSAkeZORI8QvQJC5EdP9vDTY19J06U3UZx5mG7zdd4Md\nrjfVQYtfrM1gPKpDNV4TwaEVYu8uh0D35UZ5j6lsICRPx5obDYPiwXiHWbbQ\n9jPpmqebPQW+WlQdTAsm4oYa8IaprujQO0AyhMijg+HtFimAQTO1NixYSokq\nYuZVRkV9pHWbHmeec832vhhIMSmqdf42esih/UK+JiPg4oTEVolRpeYXXhEh\n8Dmr\r\n=jn1I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDK3TIxm/tvK3KpQsTHgeOuoJlaO+BBxc5gRqJLkcObmAiAJ+KmjHeJDqhk1zj5KgTVTVL9x7V5V3w3M6oq3J1SJ2g=="}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lazy-get-decorator_2.0.0_1551549316138_0.06158838018825885"},"_hasShrinkwrap":false},"2.1.0":{"name":"lazy-get-decorator","version":"2.1.0","description":"Lazily evaluates a getter on an object and caches the returned value","main":"LazyGetter.js","es2015":"esm2015/LazyGetter.js","scripts":{"test:babel:legacy":"babel --config-file ./.babelrc.legacy -o test/LazyGetter.legacy.js test/LazyGetter.js","test:babel:new":"babel --config-file ./.babelrc.new -o test/LazyGetter.new.js test/LazyGetter.js","test:compile":"concurrently -n tsc:test \"tsc -p tsconfig.test.json\" \"npm:test:babel:*\"","test":"nyc mocha --check-leaks --exit --full-trace test/LazyGetter.legacy.js test/LazyGetter.new.js test/LazyGetter.typescript.js","pretest":"concurrently -n build:src,build:test,clean \"alo build --targets cjs\" \"npm run test:compile && ts-node pretest-postprocess.ts\" \"rimraf coverage\"","build":"alo build","lint":"alo tslint -p ./tsconfig.lib.json","lint:fix":"npm run lint -- --fix"},"repository":{"type":"git","url":"git+https://github.com/Alorel/typescript-lazy-get-decorator.git"},"keywords":["typescript","babel","lazy get","lazy getter","lazy","get","getter","cache","memoise","memoize","decorator"],"author":{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://alorel.github.io"},"license":"MIT","bugs":{"url":"https://github.com/Alorel/typescript-lazy-get-decorator/issues"},"homepage":"https://github.com/Alorel/typescript-lazy-get-decorator","devDependencies":{"@alorel-personal/build-tools":"4.4.11","@alorel-personal/conventional-changelog-alorel":"2.0.4","@alorel-personal/semantic-release":"1.4.0","@alorel-personal/tslint-rules":"4.1.1","@babel/cli":"^7.2.3","@babel/core":"^7.3.4","@babel/plugin-proposal-class-properties":"~7.3.4","@babel/plugin-proposal-decorators":"~7.3.0","@semantic-release/changelog":"~3.0.0","@semantic-release/exec":"~3.3.2","@semantic-release/git":"~7.0.8","@semantic-release/github":"~5.2.10","@semantic-release/npm":"~5.1.4","@types/chai":"^4.1.7","@types/lodash":"~4.14.122","@types/mocha":"^5.2.6","@types/node":"~11.10.5","chai":"~4.2.0","concurrently":"~4.1.0","coveralls":"~3.0.3","cross-spawn":"~6.0.5","lodash":"~4.17.5","mocha":"^6.0.2","nyc":"~13.3.0","rimraf":"~2.6.3","semantic-release":"~15.13.3","source-map-support":"^0.5.10","ts-node":"~8.0.3","tslib":"~1.9.0","typescript":"^3.3.3"},"dependencies":{},"browser":"_bundle/umd.js","jsdelivr":"_bundle/umd.min.js","fesm5":"_bundle/fesm5.js","esm5":"_bundle/fesm5.js","fesm2015":"_bundle/fesm2015.js","esm2015":"_bundle/fesm5.js","types":"LazyGetter.d.ts","module":"_bundle/fesm5.js","typings":"LazyGetter.d.ts","_id":"lazy-get-decorator@2.1.0","_npmVersion":"6.5.0","_nodeVersion":"11.11.0","_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"dist":{"integrity":"sha512-CoIJtCRmUSfN3ne0nmvtMtQsMV0DX0JCzzNy/+TmfcQhpswyUtMRcmWmUl6iog0K8kuCywjkYEToLw5RUNqDCw==","shasum":"8404204f0c0731ce8ae8712dbee086300f788cd6","tarball":"https://registry.npmjs.org/lazy-get-decorator/-/lazy-get-decorator-2.1.0.tgz","fileCount":14,"unpackedSize":55932,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgl90CRA9TVsSAnZWagAALlgP/0Ij+mrdX37mONZj/xPx\nqsMLlxNFlcsAWshQOgFOt2amuNN53jnzscn1LDNe41L+EAGFahhcroQaPF02\nJsPO/3prUpi63di96h5a19PyTPFC8cVSPWDckPjp+bbQjQ0nicwlvnwUj2Jn\nvBtBBpborwnUAFwMOQt1SNHBX/FD5pl3RU2k+/iCFs/kYX/4NL4LZ6zMec4c\nPSoAgvdjJjp+Z6jFPLBXXnnkDxZ3H6DOv01DAS3ciRj0hcUngNqpmR3KpE5M\nS5LmeoHjs66XaOuXIhzKgMETWNvsLOLXyby6b2/3C7fw8faEvHtYiklr0E9r\nCeliwKbnvqjZPZTse7hnVgvbdhscI2GETXAsJt/q9cwmCf+MyAZt1bkxl9Z4\nku1l01O+IM1ab+m598krNX+d7WO6ll+pdNzx+P26AS7BEHAL/dVSpTyIYlji\n7KBRebC49RAaHz0xdXeJOa0sgq+dJRfeL8mkOJRoct5/lEfwUJDJYDPEzeNm\nfgJ1QPblWzWE1JxGJXuxEUhB0fU25QhCv8twrsbrifXKNEChP2Ro5R+CoPI7\nfg0CCvredRjeCgIZcQutFDAeqTTCl1+/fsDKvqRtHn95g+eGOihhBIwHP5Fh\nhAP5/x5YOMNeaCYKvvZss1/vuUUkDmAriSWcSGo75BF+wqrSlRcUlUhMIMTR\nf+2L\r\n=0ius\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFs4HUD1f8mEWoM3D/COqjrDsBlS/ynb6YNzqfJ+TuoQAiEAtg5uo3SqOcXCTYDDR070NSqWEjWSI3kiT1ZqICyuX4M="}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lazy-get-decorator_2.1.0_1552047986956_0.5196391284612027"},"_hasShrinkwrap":false},"2.2.0":{"name":"lazy-get-decorator","version":"2.2.0","description":"Lazily evaluates a getter on an object and caches the returned value","main":"LazyGetter.js","es2015":"esm2015/LazyGetter.js","repository":{"type":"git","url":"git+https://github.com/Alorel/typescript-lazy-get-decorator.git"},"keywords":["typescript","babel","lazy get","lazy getter","lazy","get","getter","cache","memoise","memoize","decorator"],"author":{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://alorel.github.io"},"license":"MIT","bugs":{"url":"https://github.com/Alorel/typescript-lazy-get-decorator/issues"},"homepage":"https://github.com/Alorel/typescript-lazy-get-decorator","browser":"_bundle/umd.js","jsdelivr":"_bundle/umd.min.js","fesm5":"_bundle/fesm5.js","esm5":"_bundle/fesm5.js","fesm2015":"_bundle/fesm2015.js","esm2015":"_bundle/fesm5.js","types":"LazyGetter.d.ts","module":"_bundle/fesm5.js","typings":"LazyGetter.d.ts","_id":"lazy-get-decorator@2.2.0","_npmVersion":"6.5.0","_nodeVersion":"11.14.0","_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"dist":{"integrity":"sha512-UhU+k+Wpkutdeg0y4TBbyCB3snHYfywe++FYDIYBJbO4rZUXevnAcgucq8MaervoXESYJt/lN9JASND5YhcFTg==","shasum":"dd3b1d2a432800d435c2491038324f202f2a620d","tarball":"https://registry.npmjs.org/lazy-get-decorator/-/lazy-get-decorator-2.2.0.tgz","fileCount":23,"unpackedSize":74786,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcvKGpCRA9TVsSAnZWagAAl/MP/R5bZ1az9fsFofZ0xJG+\noHFh8aNOpF1nmz/jp3jowiI+UJmirQbA44tw5+HpwhE3YfBZDV6NRX7PzKa2\nfdR6ojNYtk23uJ2IfDAMNgHfD7bUlm8W7LI5oocrftx4uR3zhEnYa68lc1pS\nLA8X6LMxJrZ0Mni4AugJTKos7D/RHpyaALhp0+OBn39ZDI1dsGQfXINmXFSD\nwHsInhREYYqq9stH+9DsrVY//cUS3MOayUwRtUJcglxbTPkAX67N5i6xVK05\nFq39SFdTzURWm95N+yKKA6HMCLexdWLSzk9VnaxL+Z/204VIcP+56Ir4Mkr/\nVEdo3MWp6cdpLfL3J0WICdPBOH++dkakLRH81N9nuCW4zVxDzxzLmdraLY1I\nu0CQF8b37NZapiRiYChXlrBIK+cFimUJElLPIh69hTY2AVkZd24LjVWuNMpR\nc8sjBSIqTM4MowyzPmic4Hf1O2kkQTrJciYKVi3V1t01zQpIte/Y8B3O0xZJ\n5iMMicGxFKNPw3VRtmFzhgIuVLRY+x3Per17cw3nN2Z+267vdZefPwi+/Stv\nchnapXfK5dvwRoXFdG675sXaTvvKjapZJ90hl/SNrZLSqp5Nx7KClQXfWXO/\nNH1SKHHZ/GyH5cktmA5SheIiiIDchwcizno3e+WmU49GujG1DgOBuQVbY8EQ\nUNFv\r\n=UBog\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+DroBbwbAqJjXOVvAA0WbwAApmzml8QczCpJA7d0IGwIhALg/64YTWtHjc2ut30yJCyCNHucIM7e9DRrFBJoRvXEq"}]},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lazy-get-decorator_2.2.0_1555866024089_0.6598693525336221"},"_hasShrinkwrap":false},"2.2.1":{"name":"lazy-get-decorator","version":"2.2.1","description":"Lazily evaluates a getter on an object and caches the returned value","main":"LazyGetter.js","repository":{"type":"git","url":"git+https://github.com/Alorel/typescript-lazy-get-decorator.git"},"keywords":["typescript","babel","lazy get","lazy getter","lazy","get","getter","cache","memoise","memoize","decorator"],"author":{"name":"Arturas Molcanovas","email":"a.molcanovas@gmail.com","url":"https://alorel.github.io"},"license":"MIT","bugs":{"url":"https://github.com/Alorel/typescript-lazy-get-decorator/issues"},"homepage":"https://github.com/Alorel/typescript-lazy-get-decorator","es2015":"_bundle/fesm2015.js","browser":"_bundle/umd.js","jsdelivr":"_bundle/umd.min.js","fesm5":"_bundle/fesm5.js","esm5":"_bundle/fesm5.js","fesm2015":"_bundle/fesm2015.js","esm2015":"_bundle/fesm5.js","types":"LazyGetter.d.ts","module":"_bundle/fesm5.js","typings":"LazyGetter.d.ts","gitHead":"96b23a2d0b760d689d5914e7a6c4cde88ecc2640","_id":"lazy-get-decorator@2.2.1","_nodeVersion":"16.17.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Z5uxqhXT+h3s1az3JaEAi9eh8+p4pIUE3qJGgfkx9zIEiA3bIpg4ChxODLwCpFr9S+PDEJ/2Q1UaMqy8RdVCxg==","shasum":"f8f69111974a60e38bda7293f1a078b80eea3aca","tarball":"https://registry.npmjs.org/lazy-get-decorator/-/lazy-get-decorator-2.2.1.tgz","fileCount":23,"unpackedSize":74914,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLsVAVe6SrBKtjC2A1Y8HeSc7nFpWDIC3LilVUPKboqgIgKk4v1rpbaaciYkA9FFLe52weGOp7p9SIq5ZcOEcwgec="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVEEAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpdEw/8C+9yTHT9uNve58FIoYXwXRhDvgRvlQ4wJbU3lLbcTjVRKirr\r\nJ6sXPWUv5Cn2O+WHR3mhqhdJ+S6Rx0gjuP11FzIDEGTSTFwShGRxi43NR/ml\r\n1cklgj7xE1Qg9WjwqmAhNowl3qogsYMFCugO5xGCYhUk7WsU75qUHSeHEwPq\r\nsEBafopUMSQs7HWY70UgypWFrN9nbcxLoeDq/bWsBezK3wkjUoyPDOXdnkis\r\nGDi6xF0luXVqC7EcECn5cw1UaXxDYsOyOCQO5cg9Q7E9kFVFAUqPmaf1qMck\r\n/Ue5m7rM4SwOZM7TJ9/ODFpZuwyLdEqIkBoa6I+pPRc2YyGnReNZrQJn4/36\r\nsqV+B7zgaEvmPWPieo2pZcFeRYTTi19RyCn3enA8uViscEutFh9kO90LjNiG\r\n++AjtGaOQtIWYxVlRAnSQgu+gdzWTuIgsEUZ4FYSgqguzeq0HxznQz1IP0Xh\r\nIFVYFPTa2wdoeoHzg27BLDefymIranhu3hbWN9p4I5Y0GAzEU8zkq/N48qa+\r\nH2owJvW/GtFN4sru8T8T86cninLda9dpkSW4uCx6rpbRNob+qSHHij2W18+B\r\nyGf8H7JEMCU8Y6pkfAgyKqR8PuwxOtEZkXWIJu2/7BVRrPKP3hvAa315bq+m\r\ny1B/c5qne6ulx7Ym3HpmDpMfAkc7LeXWbxQ=\r\n=KhPi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"alorel","email":"a.molcanovas@gmail.com"},"directories":{},"maintainers":[{"name":"alorel","email":"a.molcanovas@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lazy-get-decorator_2.2.1_1666466048739_0.7757858097378401"},"_hasShrinkwrap":false},"3.0.0":{"name":"lazy-get-decorator","version":"3.0.0","description":"Lazily evaluates a getter on an object and caches the returned value","main":"cjs/index.js","module":"es/index.js","types":"index.d.ts","exports":{"./package.json":{"default":"./package.json"},".":{"types":"./index.d.ts","esm":"./es/index.js","module":"./es/index.js","import":"./es/index.js","node":"./cjs/index.js","default":"./cjs/index.js"}},"scripts":{"clean":"rm -rfv dist && mkdir dist","build":"concurrently npm:build:*","build:es":"tsc --outDir dist/es","build:cjs":"tsc --outDir dist/cjs --module commonjs","build:dts":"tsc --outDir dist --declaration --emitDeclarationOnly","build:cp":"cp -v LICENSE README.md package.json .npmrc dist/","watch":"npm --scripts-prepend-node-path=auto run clean  && tsc --watch","prewatch":"npm --scripts-prepend-node-path=auto run clean","prebuild":"npm --scripts-prepend-node-path=auto run clean","doctoc":"doctoc --github README.md","test:es2022":"TS_NODE_PROJECT=tsconfig.test.json nyc --report-dir coverage/es2022 mocha src/test.ts","test:es2017":"TS_NODE_COMPILER_OPTIONS=\"{\\\"target\\\":\\\"ES2017\\\"}\" TS_NODE_PROJECT=tsconfig.test.json nyc --report-dir coverage/es2017 mocha src/test.ts","test:watch":"npm --scripts-prepend-node-path=auto run test:es2022 -- --watch","lint":"eslint src --ext .ts","lint:fix":"npm --scripts-prepend-node-path=auto run lint -- --fix"},"repository":{"type":"git","url":"git+https://github.com/Alorel/typescript-lazy-get-decorator.git"},"keywords":["typescript","lazy get","lazy getter","lazy","get","getter","cache","memoise","memoize","decorator"],"author":{"name":"Artūras Molčanovas","email":"amolc@pm.me","url":"https://alorel.github.io"},"license":"LGPL-3.0-only","bugs":{"url":"https://github.com/Alorel/typescript-lazy-get-decorator/issues"},"homepage":"https://github.com/Alorel/typescript-lazy-get-decorator","devDependencies":{"@alorel/eslint-config-base":"^1.0.18","@alorel/eslint-config-typescript":"^1.0.17","@types/chai":"^4.3.8","@types/mocha":"^10.0.2","@types/node":"^20.8.5","@typescript-eslint/eslint-plugin":"^6.7.5","@typescript-eslint/parser":"^6.7.5","chai":"^4.3.10","concurrently":"^8.2.1","doctoc":"^2.2.1","eslint":"^8.51.0","mocha":"^10.2.0","nyc":"^15.1.0","source-map-support":"^0.5.21","ts-node":"^10.9.1","typescript":"^5.2.2"},"_id":"lazy-get-decorator@3.0.0","gitHead":"4fd3efbe1360d313a5d48a6db77d5265caaa5058","_nodeVersion":"20.8.1","_npmVersion":"10.1.0","dist":{"integrity":"sha512-fKISFWa3AzduGlLX62J8EZzodUlJVsGatdidrTIB4tu4R8MriPllsZB6BrpotUtARTc2jy2nXrYejZHISV7kVA==","shasum":"bce2ecd85ba884d20720918d14a4b555c091084c","tarball":"https://registry.npmjs.org/lazy-get-decorator/-/lazy-get-decorator-3.0.0.tgz","fileCount":9,"unpackedSize":23909,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH/Yc7JYgPCrcSpdhAUmVvYXyW1qgvtJUdu6gWx3YlzJAiEA1pZ8N4X/ur9pd/kYhz8SVmV76IMHfPw+lbDDnR8S0W8="}]},"_npmUser":{"name":"alorel","email":"amolc@pm.me"},"directories":{},"maintainers":[{"name":"alorel","email":"amolc@pm.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lazy-get-decorator_3.0.0_1697820376897_0.1752515638631249"},"_hasShrinkwrap":false}},"time":{"created":"2019-02-18T13:26:19.703Z","1.2.2":"2019-02-18T13:26:19.932Z","modified":"2023-10-20T16:46:17.311Z","2.0.0":"2019-03-02T17:55:16.252Z","2.1.0":"2019-03-08T12:26:27.163Z","2.2.0":"2019-04-21T17:00:24.422Z","2.2.1":"2022-10-22T19:14:08.922Z","3.0.0":"2023-10-20T16:46:17.124Z"},"maintainers":[{"name":"alorel","email":"amolc@pm.me"}],"description":"Lazily evaluates a getter on an object and caches the returned value","license":"LGPL-3.0-only","readme":"# Lazy Get decorator\n\nGetter decorator that memoises the return value\n\n[![MASTER CI status](https://github.com/Alorel/typescript-lazy-get-decorator/actions/workflows/core.yml/badge.svg)](https://github.com/Alorel/typescript-lazy-get-decorator/actions/workflows/core.yml?query=branch%3Amaster)\n[![NPM badge](https://img.shields.io/npm/v/lazy-get-decorator)](https://www.npmjs.com/package/lazy-get-decorator)\n[![dependencies badge](https://img.shields.io/librariesio/release/npm/lazy-get-decorator)](https://libraries.io/npm/lazy-get-decorator)\n[![Coverage Status](https://coveralls.io/repos/github/Alorel/typescript-lazy-get-decorator/badge.svg)](https://coveralls.io/github/Alorel/typescript-lazy-get-decorator)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n- [Installation](#installation)\n- [Usage](#usage)\n  - [Options](#options)\n  - [Using the result selector](#using-the-result-selector)\n- [Compatibility](#compatibility)\n- [Migrating from v2](#migrating-from-v2)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n# Installation\n\n```shell\nnpm install lazy-get-decorator\n```\n\n# Usage\n\n```typescript\nimport {LazyGetter} from 'lazy-get-decorator';\n\nclass MyClass {\n  @LazyGetter(/* optional config */)\n  get foo(): number {\n    // ...\n  } \n  \n  @LazyGetter(/* optional config */)\n  static get bar(): string {\n    // ...\n  }\n}\n```\n\n## Options\n\nAll options are optional\n\n| Name     | Type                                         | Default | Description                                                                                                                                                                                                      |\n|----------|----------------------------------------------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `global` | `boolean`                                    | `false` | If set to true, the lazy getter triggering on one class instance will end up saving the returned value on all class instances, current and future. Has no effect on static getters.                              |\n| `select` | `<T, R>(this: T, output: R, self: T) => any` |         | A function to determine whether we should save the results (returning a truthy value) or continue calling the original getter (returning a falsy value). The default behaviour is to always save the 1st result. |\n\n## Using the result selector\n\nThe following example will save the value only if the counter is `10` or above. The selector executes after the getter\nfunction, hence the offset of 1: the current value of 9 is returned and passed on to the result selector, but the\ncounter value is already incremented at this point.\n\n```typescript\nclass MyClass {\n  #counter = 0;\n  \n  @LazyGetter({select: v => v === 9})\n  get timesAccessed(): number {\n    return this.#counter++;\n  }\n}\n```\n\n# Compatibility\n\nThe library's only goal is to be compatible with Typescript 5 decorators which, at the time of writing, use the [2022-03 stage 3 decorators proposal](https://2ality.com/2022/10/javascript-decorators.html).\nIf you need experimental TS decorators or can't use a suitable Babel transform just stick to v2 - there are no new features in this release.\n\nTypescript has further gotchas depending on the compiler target you've set.\n\nES2022 and higher allows you to use a class' method as a result selector:\n\n```typescript\nclass MyClass {\n  static shouldMemoiseStatic = false;\n  shouldMemoiseInstance = true;\n  \n  @LazyGetter({select: MyClass.bar})\n  static get foo() {}\n\n  @LazyGetter({select: MyClass.prototype.bar2})\n  get foo2() {}\n\n  static bar() {\n    return this.shouldMemoiseStatic;\n  }\n  \n  bar2() {\n    return this.shouldMemoiseInstance;\n  }\n}\n```\n\nAttempting to do this on ES2021 or lower will result in a runtime error as of Typescript 5.2.\n\n# Migrating from v2\n\n- The function signature has changed to accept an object instead of multiple arguments\n- `makeNonConfigurable` option removed\n- `setProto` option renamed to `global`\n- The only officially supported version is now the non-experimental decorators of Typescript 5 - see [compatibility](#compatibility)\n- The ability to reset a memoised getter has been removed.\n   - If you need to do this as part of your unit tests, use a different class every time. The library's test suites have a few variations of this pattern - creating classes through a helper function, running similar tests through a helper function that accepts a class\n   - If you need this at runtime then it's not a lazy getter you have - add whatever checks you need in your getter's logic and don't decorate it\n","readmeFilename":"README.md","homepage":"https://github.com/Alorel/typescript-lazy-get-decorator","keywords":["typescript","lazy get","lazy getter","lazy","get","getter","cache","memoise","memoize","decorator"],"repository":{"type":"git","url":"git+https://github.com/Alorel/typescript-lazy-get-decorator.git"},"author":{"name":"Artūras Molčanovas","email":"amolc@pm.me","url":"https://alorel.github.io"},"bugs":{"url":"https://github.com/Alorel/typescript-lazy-get-decorator/issues"}}