{"_id":"autobind-decorator","_rev":"360200","name":"autobind-decorator","description":"Decorator for binding method to an object","dist-tags":{"latest":"2.4.0"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"time":{"modified":"2021-07-13T08:47:58.000Z","created":"2015-04-11T13:16:33.731Z","2.4.0":"2018-11-30T23:42:40.260Z","2.3.1":"2018-11-17T05:38:13.366Z","2.3.0":"2018-11-17T03:43:33.440Z","2.2.1":"2018-11-03T01:43:06.825Z","2.2.0":"2018-11-02T09:56:35.410Z","2.1.0":"2017-07-01T05:12:27.384Z","2.0.0":"2017-06-28T00:18:38.690Z","1.4.3":"2017-06-25T07:30:40.847Z","1.4.2":"2017-06-23T10:18:24.884Z","1.4.1":"2017-05-18T02:33:07.047Z","1.4.0":"2017-04-09T08:28:06.668Z","1.3.4":"2016-09-22T21:43:03.499Z","1.3.3":"2016-01-11T00:48:42.293Z","1.3.2":"2015-08-23T19:14:23.784Z","1.3.1":"2015-08-22T21:53:50.025Z","1.3.0":"2015-08-18T18:43:54.998Z","1.2.0":"2015-05-07T05:32:57.560Z","1.1.0":"2015-04-12T18:29:28.943Z","1.0.0":"2015-04-11T13:16:33.731Z"},"users":{"pilsy":true,"danharper":true,"ubi":true,"stefanof":true,"vasz":true,"godcore":true,"dkannan":true,"distinctgrey":true,"nohomey":true,"geraugu":true,"xudaolong":true,"cmtegner":true,"kodekracker":true,"uptonking":true,"lijsh":true,"dmitri.koshevoy":true,"bohdantkachenko":true,"sapjax":true,"hexcola":true,"cygik":true,"stone-jin":true,"vikatt":true},"author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/andreypopp/autobind-decorator.git"},"versions":{"2.4.0":{"name":"autobind-decorator","version":"2.4.0","description":"Decorator for binding method to an object","main":"lib/cjs/index.js","module":"lib/esm/index.js","es":"src/index.js","types":"index.d.ts","scripts":{"clean":"rm -rf lib","build:es5":"babel src --out-dir lib/cjs --ignore \"src/__tests__/*.js\"","build:module":"babel --no-babelrc --config-file ./src/.babelrc.es.js src --out-dir lib/esm --ignore \"src/__tests__/*.js\"","build":"npm run build:es5 && npm run build:module","prepare":" npm run clean && npm run build","lint":"xo","test":"jest --coverage","release":"standard-version","prepublishOnly":"npm run lint && npm test"},"author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.1.5","@babel/core":"^7.1.6","@babel/plugin-proposal-decorators":"^7.1.6","@babel/preset-env":"^7.1.6","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","jest":"^23.6.0","regenerator-runtime":"^0.13.1","standard-version":"^4.4.0","xo":"^0.23.0"},"xo":{"overrides":[{"files":"src/__tests__/*.js","parser":"babel-eslint","rules":{"no-global-assign":"off","no-self-compare":"off","func-names":"off","func-name-matching":"off"},"globals":["describe","test","beforeEach","afterEach"]}]},"repository":{"type":"git","url":"git+https://github.com/andreypopp/autobind-decorator.git"},"engines":{"node":">=8.10","npm":">=6.4.1"},"gitHead":"b6eb37def5fd8bb1b876d866ae50c0d80d78ab0c","bugs":{"url":"https://github.com/andreypopp/autobind-decorator/issues"},"homepage":"https://github.com/andreypopp/autobind-decorator#readme","_id":"autobind-decorator@2.4.0","_npmVersion":"6.4.1","_nodeVersion":"8.10.0","_npmUser":{"name":"stevemao","email":"maochenyan@gmail.com"},"dist":{"shasum":"ea9e1c98708cf3b5b356f7cf9f10f265ff18239c","size":7103,"noattachment":false,"key":"/autobind-decorator/-/autobind-decorator-2.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/autobind-decorator/download/autobind-decorator-2.4.0.tgz"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/autobind-decorator_2.4.0_1543621360168_0.0028694731441711863"},"_hasShrinkwrap":false,"publish_time":1543621360260,"_cnpm_publish_time":1543621360260},"2.3.1":{"name":"autobind-decorator","version":"2.3.1","description":"Decorator for binding method to an object","main":"lib/index.js","module":"src/index.js","types":"index.d.ts","scripts":{"clean":"rm -rf lib","build":"babel src --out-dir lib --ignore \"src/__tests__/*.js\"","lint":"xo","test":"npm run lint && jest --coverage","release":"standard-version","prepublish":"npm run clean && npm run build && npm test"},"author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.1.5","@babel/core":"^7.1.6","@babel/plugin-proposal-decorators":"^7.1.6","@babel/preset-env":"^7.1.6","babel-core":"^7.0.0-bridge.0","babel-eslint":"^10.0.1","babel-jest":"^23.6.0","jest":"^23.6.0","regenerator-runtime":"^0.13.1","standard-version":"^4.4.0","xo":"^0.23.0"},"xo":{"parser":"babel-eslint","globals":["describe","test","beforeEach","afterEach"],"overrides":[{"files":"src/__tests__/*.js","rules":{"no-global-assign":"off","no-self-compare":"off","func-names":"off","func-name-matching":"off"}}]},"repository":{"type":"git","url":"git+https://github.com/andreypopp/autobind-decorator.git"},"engines":{"node":">=8.10","npm":">=6.4.1"},"gitHead":"5770efb2d0eea17c68d96931ddf06d2d6fc36e2c","bugs":{"url":"https://github.com/andreypopp/autobind-decorator/issues"},"homepage":"https://github.com/andreypopp/autobind-decorator#readme","_id":"autobind-decorator@2.3.1","_npmVersion":"6.4.1","_nodeVersion":"8.10.0","_npmUser":{"name":"stevemao","email":"maochenyan@gmail.com"},"dist":{"shasum":"d7ef8b752d6874ffe713f45431018a6565f9e8da","size":6837,"noattachment":false,"key":"/autobind-decorator/-/autobind-decorator-2.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/autobind-decorator/download/autobind-decorator-2.3.1.tgz"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/autobind-decorator_2.3.1_1542433093222_0.33380874576626396"},"_hasShrinkwrap":false,"publish_time":1542433093366,"_cnpm_publish_time":1542433093366},"2.3.0":{"name":"autobind-decorator","version":"2.3.0","description":"Decorator for binding method to an object","main":"lib/index.js","module":"src/index.js","types":"./index.d.ts","scripts":{"build":"make build","build-test":"make build-test","test":"make test","lint":"make lint","clean":"make clean","release":"make release"},"author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.26.0","babel-eslint":"^7.0.0","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-preset-es2015":"^6.16.0","babelify":"^7.3.0","core-js":"^0.9.18","eslint":"^3.8.0","mochify":"^2.18.1","phantomjs":"^2.1.7","standard-version":"^4.4.0"},"repository":{"type":"git","url":"git+https://github.com/andreypopp/autobind-decorator.git"},"engines":{"node":">=8.10","npm":">=6.4.1"},"gitHead":"9db2c88e1211f633c95d72ad17cc36a5c1c8e547","bugs":{"url":"https://github.com/andreypopp/autobind-decorator/issues"},"homepage":"https://github.com/andreypopp/autobind-decorator#readme","_id":"autobind-decorator@2.3.0","_npmVersion":"6.4.1","_nodeVersion":"8.10.0","_npmUser":{"name":"stevemao","email":"maochenyan@gmail.com"},"dist":{"shasum":"578c7a47aaac09ec418958b060fce4a23f5234cd","size":8639,"noattachment":false,"key":"/autobind-decorator/-/autobind-decorator-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/autobind-decorator/download/autobind-decorator-2.3.0.tgz"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/autobind-decorator_2.3.0_1542426213336_0.3297599158472917"},"_hasShrinkwrap":false,"publish_time":1542426213440,"_cnpm_publish_time":1542426213440},"2.2.1":{"name":"autobind-decorator","version":"2.2.1","description":"Decorator for binding method to an object","main":"lib/index.js","module":"src/index.js","types":"./index.d.ts","scripts":{"build":"make build","build-test":"make build-test","test":"make test","lint":"make lint","clean":"make clean","release":"make release"},"author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.26.0","babel-eslint":"^7.0.0","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-preset-es2015":"^6.16.0","babelify":"^7.3.0","core-js":"^0.9.18","eslint":"^3.8.0","mochify":"^2.18.1","phantomjs":"^2.1.7","standard-version":"^4.4.0"},"repository":{"type":"git","url":"git+https://github.com/andreypopp/autobind-decorator.git"},"gitHead":"e0dfd0f7d157c0ab9b9c5caf8380fe0704981fc4","bugs":{"url":"https://github.com/andreypopp/autobind-decorator/issues"},"homepage":"https://github.com/andreypopp/autobind-decorator#readme","_id":"autobind-decorator@2.2.1","_npmVersion":"6.4.1","_nodeVersion":"9.2.1","_npmUser":{"name":"stevemao","email":"maochenyan@gmail.com"},"dist":{"shasum":"acabfddec272b9c98323dab5dc94f63c61b35855","size":7929,"noattachment":false,"key":"/autobind-decorator/-/autobind-decorator-2.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/autobind-decorator/download/autobind-decorator-2.2.1.tgz"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/autobind-decorator_2.2.1_1541209386690_0.7498512042511509"},"_hasShrinkwrap":false,"publish_time":1541209386825,"_cnpm_publish_time":1541209386825},"2.2.0":{"name":"autobind-decorator","version":"2.2.0","description":"Decorator for binding method to an object","main":"lib/index.js","module":"src/index.js","types":"./index.d.ts","scripts":{"build":"make build","build-test":"make build-test","test":"make test","lint":"make lint","clean":"make clean","release":"make release"},"author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.16.0","babel-eslint":"^7.0.0","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-preset-es2015":"^6.16.0","babelify":"^7.3.0","core-js":"^0.9.18","eslint":"^3.8.0","mochify":"^2.18.1","phantomjs":"^2.1.7","standard-version":"^4.2.0"},"repository":{"type":"git","url":"git+https://github.com/andreypopp/autobind-decorator.git"},"gitHead":"18f2374cadce653eeb016703d30d747634c6bbe4","bugs":{"url":"https://github.com/andreypopp/autobind-decorator/issues"},"homepage":"https://github.com/andreypopp/autobind-decorator#readme","_id":"autobind-decorator@2.2.0","_npmVersion":"6.4.1","_nodeVersion":"9.2.1","_npmUser":{"name":"stevemao","email":"maochenyan@gmail.com"},"dist":{"shasum":"4a37e838a1ab209d9cb6ed239252d9a49ce35566","size":7823,"noattachment":false,"key":"/autobind-decorator/-/autobind-decorator-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/autobind-decorator/download/autobind-decorator-2.2.0.tgz"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/autobind-decorator_2.2.0_1541152590586_0.27839607895245333"},"_hasShrinkwrap":false,"publish_time":1541152595410,"_cnpm_publish_time":1541152595410},"2.1.0":{"name":"autobind-decorator","version":"2.1.0","description":"Decorator for binding method to an object","main":"lib/index.js","types":"./index.d.ts","scripts":{"build":"make build","build-test":"make build-test","test":"make test","lint":"make lint","clean":"make clean","preversion":"npm run build && npm run build-test && npm run lint && npm run test"},"author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.16.0","babel-eslint":"^7.0.0","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-preset-es2015":"^6.16.0","babelify":"^7.3.0","core-js":"^0.9.18","eslint":"^3.8.0","mochify":"^2.18.1","phantomjs":"^2.1.7","standard-version":"^4.2.0"},"repository":{"type":"git","url":"git+https://github.com/andreypopp/autobind-decorator.git"},"gitHead":"4b5821e5558f01a23b2c7a7003faae687523fda1","bugs":{"url":"https://github.com/andreypopp/autobind-decorator/issues"},"homepage":"https://github.com/andreypopp/autobind-decorator#readme","_id":"autobind-decorator@2.1.0","_npmVersion":"5.0.4","_nodeVersion":"7.10.0","_npmUser":{"name":"stevemao","email":"maochenyan@gmail.com"},"dist":{"shasum":"4451240dbfeff46361c506575a63ed40f0e5bc68","size":7286,"noattachment":false,"key":"/autobind-decorator/-/autobind-decorator-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/autobind-decorator/download/autobind-decorator-2.1.0.tgz"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/autobind-decorator-2.1.0.tgz_1498885947249_0.8996865698136389"},"directories":{},"publish_time":1498885947384,"_hasShrinkwrap":false,"_cnpm_publish_time":1498885947384},"2.0.0":{"name":"autobind-decorator","version":"2.0.0","description":"Decorator for binding method to an object","main":"lib/index.js","types":"./index.d.ts","scripts":{"build":"make build","build-test":"make build-test","test":"make test","lint":"make lint","clean":"make clean","preversion":"npm run build && npm run build-test && npm run lint && npm run test"},"author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.16.0","babel-eslint":"^7.0.0","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-preset-es2015":"^6.16.0","babelify":"^7.3.0","core-js":"^0.9.18","eslint":"^3.8.0","mochify":"^2.18.1","phantomjs":"^2.1.7"},"repository":{"type":"git","url":"git+https://github.com/andreypopp/autobind-decorator.git"},"gitHead":"1052701f113d12d08398a725ad1751b69128b466","bugs":{"url":"https://github.com/andreypopp/autobind-decorator/issues"},"homepage":"https://github.com/andreypopp/autobind-decorator#readme","_id":"autobind-decorator@2.0.0","_shasum":"618b2fd3b956e0708be9ac57aeb4d46177523ec6","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"stevemao","email":"maochenyan@gmail.com"},"dist":{"shasum":"618b2fd3b956e0708be9ac57aeb4d46177523ec6","size":31632,"noattachment":false,"key":"/autobind-decorator/-/autobind-decorator-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/autobind-decorator/download/autobind-decorator-2.0.0.tgz"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/autobind-decorator-2.0.0.tgz_1498609117866_0.8048100206069648"},"directories":{},"publish_time":1498609118690,"_hasShrinkwrap":false,"_cnpm_publish_time":1498609118690},"1.4.3":{"name":"autobind-decorator","version":"1.4.3","description":"Decorator for binding method to an object","main":"lib/index.js","types":"./index.d.ts","scripts":{"build":"make build","build-test":"make build-test","test":"make test","lint":"make lint","prepublish":"npm run build","preversion":"npm run build && npm run build-test && npm run lint && npm run test"},"author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.16.0","babel-eslint":"^7.0.0","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-preset-es2015":"^6.16.0","babelify":"^7.3.0","core-js":"^0.9.18","eslint":"^3.8.0","mochify":"^2.18.1","phantomjs":"^2.1.7"},"repository":{"type":"git","url":"git+https://github.com/andreypopp/autobind-decorator.git"},"gitHead":"4b36adfed585408409a678839ff4ce7ef40d7cc7","bugs":{"url":"https://github.com/andreypopp/autobind-decorator/issues"},"homepage":"https://github.com/andreypopp/autobind-decorator#readme","_id":"autobind-decorator@1.4.3","_shasum":"4c96ffa77b10622ede24f110f5dbbf56691417d1","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"stevemao","email":"maochenyan@gmail.com"},"dist":{"shasum":"4c96ffa77b10622ede24f110f5dbbf56691417d1","size":31584,"noattachment":false,"key":"/autobind-decorator/-/autobind-decorator-1.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/autobind-decorator/download/autobind-decorator-1.4.3.tgz"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/autobind-decorator-1.4.3.tgz_1498375840738_0.513899008743465"},"directories":{},"publish_time":1498375840847,"_cnpm_publish_time":1498375840847,"_hasShrinkwrap":false},"1.4.2":{"name":"autobind-decorator","version":"1.4.2","description":"Decorator for binding method to an object","main":"lib/index.js","types":"./index.d.ts","scripts":{"build":"make build","build-test":"make build-test","test":"make test","lint":"make lint","preversion":"npm run build && npm run build-test && npm run lint && npm run test"},"author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.16.0","babel-eslint":"^7.0.0","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-preset-es2015":"^6.16.0","babelify":"^7.3.0","core-js":"^0.9.18","eslint":"^3.8.0","mochify":"^2.18.1","phantomjs":"^2.1.7"},"repository":{"type":"git","url":"git+https://github.com/andreypopp/autobind-decorator.git"},"gitHead":"de26c85a7277cc67ce32251a21d710b80cc1cc62","bugs":{"url":"https://github.com/andreypopp/autobind-decorator/issues"},"homepage":"https://github.com/andreypopp/autobind-decorator#readme","_id":"autobind-decorator@1.4.2","_shasum":"bced7bab92d8c28dd57403aab077adbfa9670386","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"stevemao","email":"maochenyan@gmail.com"},"dist":{"shasum":"bced7bab92d8c28dd57403aab077adbfa9670386","size":6811,"noattachment":false,"key":"/autobind-decorator/-/autobind-decorator-1.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/autobind-decorator/download/autobind-decorator-1.4.2.tgz"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/autobind-decorator-1.4.2.tgz_1498213104800_0.10736411670222878"},"directories":{},"publish_time":1498213104884,"_hasShrinkwrap":false,"_cnpm_publish_time":1498213104884},"1.4.1":{"name":"autobind-decorator","version":"1.4.1","description":"Decorator for binding method to an object","main":"lib/index.js","types":"./index.d.ts","scripts":{"build":"make build","build-test":"make build-test","test":"make test","lint":"make lint","preversion":"npm run build && npm run build-test && npm run lint && npm run test"},"author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.16.0","babel-eslint":"^7.0.0","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-preset-es2015":"^6.16.0","babelify":"^7.3.0","core-js":"^0.9.18","eslint":"^3.8.0","mochify":"^2.18.1","phantomjs":"^2.1.7"},"repository":{"type":"git","url":"git+https://github.com/andreypopp/autobind-decorator.git"},"gitHead":"0d6f653afc8d47df451b75b58c094d6cec92f28b","bugs":{"url":"https://github.com/andreypopp/autobind-decorator/issues"},"homepage":"https://github.com/andreypopp/autobind-decorator#readme","_id":"autobind-decorator@1.4.1","_shasum":"e05887e92e6466d43ec247c0692f8774d95ca3fd","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"stevemao","email":"maochenyan@gmail.com"},"dist":{"shasum":"e05887e92e6466d43ec247c0692f8774d95ca3fd","size":6810,"noattachment":false,"key":"/autobind-decorator/-/autobind-decorator-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/autobind-decorator/download/autobind-decorator-1.4.1.tgz"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/autobind-decorator-1.4.1.tgz_1495074784200_0.3944884338416159"},"directories":{},"publish_time":1495074787047,"_hasShrinkwrap":false,"_cnpm_publish_time":1495074787047},"1.4.0":{"name":"autobind-decorator","version":"1.4.0","description":"Decorator for binding method to an object","main":"lib/index.js","types":"./index.d.ts","scripts":{"build":"make build","build-test":"make build-test","test":"make test","lint":"make lint","preversion":"npm run build && npm run build-test && npm run lint && npm run test"},"author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel-cli":"^6.16.0","babel-eslint":"^7.0.0","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-preset-es2015":"^6.16.0","babelify":"^7.3.0","core-js":"^0.9.18","eslint":"^3.8.0","mochify":"^2.18.1","phantomjs":"^2.1.7"},"repository":{"type":"git","url":"git+https://github.com/andreypopp/autobind-decorator.git"},"gitHead":"cc1820154b50646a33ba2ef4c77d85cf14ee804d","bugs":{"url":"https://github.com/andreypopp/autobind-decorator/issues"},"homepage":"https://github.com/andreypopp/autobind-decorator#readme","_id":"autobind-decorator@1.4.0","_shasum":"c56b560a0d31318c0fcfc22d0597992358799872","_from":".","_npmVersion":"3.10.10","_nodeVersion":"7.2.1","_npmUser":{"name":"stevemao","email":"maochenyan@gmail.com"},"dist":{"shasum":"c56b560a0d31318c0fcfc22d0597992358799872","size":6146,"noattachment":false,"key":"/autobind-decorator/-/autobind-decorator-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/autobind-decorator/download/autobind-decorator-1.4.0.tgz"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/autobind-decorator-1.4.0.tgz_1491726486415_0.7606497986707836"},"directories":{},"publish_time":1491726486668,"_hasShrinkwrap":false,"_cnpm_publish_time":1491726486668},"1.3.4":{"name":"autobind-decorator","version":"1.3.4","description":"Decorator for binding method to an object","main":"lib/index.js","scripts":{"build":"make build","build-test":"make build-test","test":"make test","lint":"make lint","preversion":"npm run build && npm run build-test && npm run lint && npm run test"},"author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel":"^5.0.12","babel-eslint":"^4.0.0","babelify":"^6.0.2","core-js":"^0.9.6","eslint":"^1.0.0","mocha":"^2.2.4","mochify":"^2.7.1","phantomjs":"^1.9.16"},"repository":{"type":"git","url":"git+https://github.com/andreypopp/autobind-decorator.git"},"gitHead":"225e412db6587184972acb2827e6a9dd097682cb","bugs":{"url":"https://github.com/andreypopp/autobind-decorator/issues"},"homepage":"https://github.com/andreypopp/autobind-decorator#readme","_id":"autobind-decorator@1.3.4","_shasum":"b67560e6bbbb68a35c049c82d6351ea0e82d820d","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"stevemao","email":"maochenyan@gmail.com"},"dist":{"shasum":"b67560e6bbbb68a35c049c82d6351ea0e82d820d","size":5971,"noattachment":false,"key":"/autobind-decorator/-/autobind-decorator-1.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/autobind-decorator/download/autobind-decorator-1.3.4.tgz"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/autobind-decorator-1.3.4.tgz_1474580581318_0.13595622940920293"},"directories":{},"publish_time":1474580583499,"_cnpm_publish_time":1474580583499,"_hasShrinkwrap":false},"1.3.3":{"name":"autobind-decorator","version":"1.3.3","description":"Decorator for binding method to an object","main":"lib/index.js","scripts":{"test":"make test"},"author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel":"^5.0.12","babel-eslint":"^4.0.0","babelify":"^6.0.2","core-js":"^0.9.6","eslint":"^1.0.0","mocha":"^2.2.4","mochify":"^2.7.1","phantomjs":"^1.9.16"},"gitHead":"75a7fbcd2ff052b9766e1d6dd9d48fbd8ce315a1","_id":"autobind-decorator@1.3.3","_shasum":"41b1915ee742859c872b5d1743d10745254b83b4","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"andreypopp","email":"8mayday@gmail.com"},"dist":{"shasum":"41b1915ee742859c872b5d1743d10745254b83b4","size":5769,"noattachment":false,"key":"/autobind-decorator/-/autobind-decorator-1.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/autobind-decorator/download/autobind-decorator-1.3.3.tgz"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"directories":{},"publish_time":1452473322293,"_cnpm_publish_time":1452473322293,"_hasShrinkwrap":false},"1.3.2":{"name":"autobind-decorator","version":"1.3.2","description":"Decorator for binding method to an object","main":"lib/index.js","scripts":{"test":"make test"},"author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel":"^5.0.12","babel-eslint":"^3.1.0","babelify":"^6.0.2","core-js":"^0.9.6","eslint":"^0.20.0","mocha":"^2.2.4","mochify":"^2.7.1","phantomjs":"^1.9.16"},"gitHead":"d83c468168c64c87d11744e3abee5a233132bb05","_id":"autobind-decorator@1.3.2","_shasum":"13efda597497151aaa9f5a033793b7df7079e845","_from":".","_npmVersion":"3.1.3","_nodeVersion":"0.12.7","_npmUser":{"name":"andreypopp","email":"8mayday@gmail.com"},"dist":{"shasum":"13efda597497151aaa9f5a033793b7df7079e845","size":5659,"noattachment":false,"key":"/autobind-decorator/-/autobind-decorator-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/autobind-decorator/download/autobind-decorator-1.3.2.tgz"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"directories":{},"publish_time":1440357263784,"_cnpm_publish_time":1440357263784,"_hasShrinkwrap":false},"1.3.1":{"name":"autobind-decorator","version":"1.3.1","description":"Decorator for binding method to an object","main":"lib/index.js","scripts":{"test":"make test"},"author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel":"^5.0.12","babel-eslint":"^3.1.0","babelify":"^6.0.2","core-js":"^0.9.6","eslint":"^0.20.0","mocha":"^2.2.4","mochify":"^2.7.1","phantomjs":"^1.9.16"},"gitHead":"b3352011bcf989e7b83546583ad62f5c9a52a6a9","_id":"autobind-decorator@1.3.1","_shasum":"dea202b10f2aa59957dc78c057ae9b28a19a6ca4","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},"dist":{"shasum":"dea202b10f2aa59957dc78c057ae9b28a19a6ca4","size":5572,"noattachment":false,"key":"/autobind-decorator/-/autobind-decorator-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/autobind-decorator/download/autobind-decorator-1.3.1.tgz"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"directories":{},"publish_time":1440280430025,"_cnpm_publish_time":1440280430025,"_hasShrinkwrap":false},"1.3.0":{"name":"autobind-decorator","version":"1.3.0","description":"Decorator for binding method to an object","main":"lib/index.js","author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel":"^5.0.12","babel-eslint":"^3.1.0","babelify":"^6.0.2","core-js":"^0.9.6","eslint":"^0.20.0","mocha":"^2.2.4","mochify":"^2.7.1","phantomjs":"^1.9.16"},"gitHead":"ad6be0caccb17d32e2d2c093a8a8eafa76c754b2","_id":"autobind-decorator@1.3.0","scripts":{},"_shasum":"1aeb0d547f3d1982bb1e07088e7c336a98dc13c9","_from":".","_npmVersion":"3.1.3","_nodeVersion":"0.12.7","_npmUser":{"name":"andreypopp","email":"8mayday@gmail.com"},"dist":{"shasum":"1aeb0d547f3d1982bb1e07088e7c336a98dc13c9","size":5515,"noattachment":false,"key":"/autobind-decorator/-/autobind-decorator-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/autobind-decorator/download/autobind-decorator-1.3.0.tgz"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"directories":{},"publish_time":1439923434998,"_cnpm_publish_time":1439923434998,"_hasShrinkwrap":false},"1.2.0":{"name":"autobind-decorator","version":"1.2.0","description":"Decorator for binding method to an object","main":"lib/index.js","author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel":"^5.0.12","babel-eslint":"^3.1.0","babelify":"^6.0.2","core-js":"^0.9.6","eslint":"^0.20.0","mocha":"^2.2.4","mochify":"^2.7.1","phantomjs":"^1.9.16"},"gitHead":"7877e7728ae3341ce083e54419df3097fd0cc6a2","_id":"autobind-decorator@1.2.0","scripts":{},"_shasum":"289cdb97a1822909cfb9596297f595f56d45416f","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"andreypopp","email":"8mayday@gmail.com"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"dist":{"shasum":"289cdb97a1822909cfb9596297f595f56d45416f","size":5428,"noattachment":false,"key":"/autobind-decorator/-/autobind-decorator-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/autobind-decorator/download/autobind-decorator-1.2.0.tgz"},"directories":{},"publish_time":1430976777560,"_cnpm_publish_time":1430976777560,"_hasShrinkwrap":false},"1.1.0":{"name":"autobind-decorator","version":"1.1.0","description":"Decorator for binding method to an object","main":"lib/index.js","author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel":"^5.0.12","babelify":"^6.0.2","mocha":"^2.2.4","mochify":"^2.7.1","phantomjs":"^1.9.16"},"gitHead":"4544e93e7f51bbe5174e5f1539c6c26896f119be","_id":"autobind-decorator@1.1.0","scripts":{},"_shasum":"798041fc4586b94f9d28a6fe40e0a340debbdce1","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"andreypopp","email":"8mayday@gmail.com"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"dist":{"shasum":"798041fc4586b94f9d28a6fe40e0a340debbdce1","size":3129,"noattachment":false,"key":"/autobind-decorator/-/autobind-decorator-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/autobind-decorator/download/autobind-decorator-1.1.0.tgz"},"directories":{},"publish_time":1428863368943,"_cnpm_publish_time":1428863368943,"_hasShrinkwrap":false},"1.0.0":{"name":"autobind-decorator","version":"1.0.0","description":"Decorator for binding method to an object","main":"lib/index.js","author":{"name":"Andrey Popp","email":"8mayday@gmail.com"},"license":"MIT","devDependencies":{"babel":"^5.0.12","babelify":"^6.0.2","mocha":"^2.2.4","mochify":"^2.7.1","phantomjs":"^1.9.16"},"gitHead":"fb29744229f06bec8575e089f7c5fe28a407c6e5","_id":"autobind-decorator@1.0.0","scripts":{},"_shasum":"ead55090ecb00893a578c877aa8c39b44d6ccbdc","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.12.2","_npmUser":{"name":"andreypopp","email":"8mayday@gmail.com"},"maintainers":[{"name":"andreypopp","email":"8mayday@gmail.com"},{"name":"domarmstrong","email":"dom@dom-armstrong.co.uk"},{"name":"stevemao","email":"maochenyan@gmail.com"}],"dist":{"shasum":"ead55090ecb00893a578c877aa8c39b44d6ccbdc","size":2359,"noattachment":false,"key":"/autobind-decorator/-/autobind-decorator-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/autobind-decorator/download/autobind-decorator-1.0.0.tgz"},"directories":{},"publish_time":1428758193731,"_cnpm_publish_time":1428758193731,"_hasShrinkwrap":false}},"readme":"# autobind decorator\n\nA class or method decorator which binds methods to the instance so `this` is always correct, even when the method is detached.\n\nThis is particularly useful for situations like React components, where you often pass methods as event handlers and would otherwise need to `.bind(this)`.\n\n```js\n// Before:\n<button onClick={ this.handleClick.bind(this) }></button>\n\n// After:\n<button onClick={ this.handleClick }></button>\n```\n\nAs [decorators](https://github.com/wycats/javascript-decorators) are a part of [future ECMAScript standard](https://github.com/tc39/proposals) they can only be used with transpilers such as [Babel](http://babeljs.io).\n\n## Installation\n\n```\nnpm install autobind-decorator\n```\n\n### Supported platforms\n\n#### Output\n\nWe target IE11+ browsers (see [out browserslist](./src/browserslist)) with the following caveats:\n\n`main`: ES5\n\n`module`: ES5 + ES modules to enable tree shaking\n\n`es`: modern JS\n\nOn consuming modern JS, you can transpile the script to your target environment ([@babel/preset-env](https://babeljs.io/docs/en/babel-preset-env) is recommended) to minimise the cost. For more details, please read https://babeljs.io/blog/2018/06/26/on-consuming-and-publishing-es2015+-packages.\n\n#### Dev\n\nnode 8.10+ with latest npm\n\n## Babel 6 users (legacy only)\n\nThe implementation of the decorator transform is currently on hold as the syntax is not final. If you would like to use this project with Babel 6, you may use [babel-plugin-transform-decorators-legacy](https://github.com/loganfsmyth/babel-plugin-transform-decorators-legacy) which implement Babel 5 decorator transform for Babel 6.\n\n## Babel 7 users\n\n### Legacy\n\nBabel 7's [`@babel/plugin-proposal-decorators`](https://babeljs.io/docs/en/babel-plugin-proposal-decorators) officially supports the same logic that babel-plugin-transform-decorators-legacy has, but integrates better with Babel 7's other plugins. You can enable this with\n\n```json\n{\n  \"plugins\": [\n    [\"@babel/plugin-proposal-decorators\", { \"legacy\": true }],\n  ]\n}\n```\n\nin your Babel configuration. Note that `legacy: true` is specifically needed if you\nwant to get the same behavior as `transform-decorators-legacy` because there\nare newer versions of the decorator specification coming out, and they do not\nbehave the same way.\n\n### Modern\n\nFor now, you'll have to use one of the solutions in https://github.com/nicolo-ribaudo/legacy-decorators-migration-utility. We are trying to keep this module up-to-date with the latest spec. For more details, please read https://babeljs.io/blog/2018/09/17/decorators.\n\n## TypeScript users\n\nThis package will work out of the box with TypeScript (no Babel needed) and includes the `.d.ts` typings along with it.\n\n## Examples\n\n### Recommended way to bind a method\n\nUse `@boundMethod` on a method\n\n```js\nimport {boundMethod} from 'autobind-decorator'\n\nclass Component {\n  constructor(value) {\n    this.value = value\n  }\n\n  @boundMethod\n  method() {\n    return this.value\n  }\n}\n\nlet component = new Component(42)\nlet method = component.method // .bind(component) isn't needed!\nmethod() // returns 42\n```\n\n`@boundMethod` makes `method` into an auto-bound method, replacing the explicit bind call later.\n\n### Discouraged approaches\n\nMagical `@autobind` that can be used on both classes and methods\n\n```js\nimport autobind from 'autobind-decorator'\n\nclass Component {\n  constructor(value) {\n    this.value = value\n  }\n\n  @autobind\n  method() {\n    return this.value\n  }\n}\n\nlet component = new Component(42)\nlet method = component.method // .bind(component) isn't needed!\nmethod() // returns 42\n\n// Also usable on the class to bind all methods\n// Please see performance section below if you decide to autobind your class\n@autobind\nclass Component { }\n```\n\nUse `@boundClass` on a class\n\nPlease see performance section below if you decide to autobind your class\n\n```js\nimport {boundClass} from 'autobind-decorator'\n\n@boundClass\nclass Component {\n  constructor(value) {\n    this.value = value\n  }\n\n  method() {\n    return this.value\n  }\n}\n\nlet component = new Component(42)\nlet method = component.method // .bind(component) isn't needed!\nmethod() // returns 42\n```\n\n## Performance\n\n`autobind` (`boundMethod`) on a method is lazy and is only bound once. :thumbsup:\n\nHowever,\n\n> It is unnecessary to do that to every function. This is just as bad as autobinding (on a class). You only need to bind functions that you pass around. e.g. `onClick={this.doSomething}`. Or `fetch.then(this.handleDone)`\n  -- Dan Abramov‏\n\nYou should avoid using `autobind` (`boundClass`) on a class. :thumbsdown:\n\n> I was the guy who came up with\nautobinding in older Reacts and I'm glad\nto see it gone. It might save you a few\nkeystrokes but it allocates functions\nthat'll never be called in 90% of cases\nand has noticeable performance\ndegradation. Getting rid of autobinding\nis a good thing\n  -- Peter Hunt\n\n## Alternative\n\n- [Class field declarations](https://babeljs.io/docs/en/babel-plugin-proposal-class-properties) - This is also not standard JavaScript yet (Stage 3).\n","_attachments":{},"homepage":"https://github.com/andreypopp/autobind-decorator#readme","bugs":{"url":"https://github.com/andreypopp/autobind-decorator/issues"},"license":"MIT"}