{"_id":"react-error-boundaries","_rev":"32-c746f9904151b2e3be7991012b009503","name":"react-error-boundaries","description":"React HOC for error boundaries.","dist-tags":{"latest":"1.1.4"},"versions":{"0.1.1":{"name":"react-error-boundaries","version":"0.1.1","description":"React HOC for error boundaries.","main":"index.js","scripts":{"build":"webpack --progress --colors","start":"webpack-dev-server --config webpack.dev.config.js --progress --colors --hot --inline"},"repository":{"type":"git","url":"git+https://github.com/Chyrain/react-error-boundary.git"},"keywords":["react","HOC","error","boundary"],"author":{"name":"Chyrain.","email":"chyrain_v5kf@qq.com","url":"https://chyrain.github.io/"},"bugs":{"url":"https://github.com/Chyrain/react-error-boundary/issues"},"homepage":"https://github.com/Chyrain/react-error-boundary#readme","license":"MIT","dependencies":{"react":"^16.2.0","react-dom":"^16.2.0"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1","babel-preset-stage-3":"^6.24.1","html-webpack-plugin":"^2.30.1","open-browser-webpack-plugin":"0.0.5","webpack":"^3.10.0","webpack-dev-server":"^2.9.7"},"gitHead":"bca24bc809ed112ff43b4c67738efa83e0b76309","_id":"react-error-boundaries@0.1.1","_npmVersion":"5.5.1","_nodeVersion":"6.10.1","_npmUser":{"name":"chyrain","email":"chy19910810@163.com"},"dist":{"integrity":"sha512-I9uE1dqdyNtTM1GbZJ8mMFGd3G6bFvadfBRUmyPbpLIvbGyWQm8PQ6wUvCI4zQ0XQo65LD1Pv/NaVmCKwG0ezQ==","shasum":"7221be7ef25e87e0658232e02bf53933a70dae7c","tarball":"https://registry.npmjs.org/react-error-boundaries/-/react-error-boundaries-0.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICOuCns7U4Yxm8xn4Cs9fOtgGYdp0sRkoDGe6JL/5ROsAiBs+FOl2AENxDEXri9Yt87nP92ngojI1PPIF/svKfyelw=="}]},"maintainers":[{"name":"chyrain","email":"chy19910810@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-error-boundaries-0.1.1.tgz_1513866402570_0.5219928959850222"}},"0.1.2":{"name":"react-error-boundaries","version":"0.1.2","description":"React HOC for error boundaries.","main":"index.js","scripts":{"build":"webpack --progress --colors","start":"webpack-dev-server --config webpack.dev.config.js --progress --colors --hot --inline"},"repository":{"type":"git","url":"git+https://github.com/Chyrain/react-error-boundary.git"},"keywords":["react","HOC","error","boundary"],"author":{"name":"Chyrain.","email":"chyrain_v5kf@qq.com","url":"https://chyrain.github.io/"},"bugs":{"url":"https://github.com/Chyrain/react-error-boundary/issues"},"homepage":"https://github.com/Chyrain/react-error-boundary#readme","license":"MIT","dependencies":{"react":"^16.2.0","react-dom":"^16.2.0"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1","babel-preset-stage-3":"^6.24.1","html-webpack-plugin":"^2.30.1","open-browser-webpack-plugin":"0.0.5","webpack":"^3.10.0","webpack-dev-server":"^2.9.7"},"gitHead":"bca24bc809ed112ff43b4c67738efa83e0b76309","_id":"react-error-boundaries@0.1.2","_npmVersion":"5.5.1","_nodeVersion":"6.10.1","_npmUser":{"name":"chyrain","email":"chy19910810@163.com"},"dist":{"integrity":"sha512-smJYlBuiher477+gKMX+4iqN88U+wcMBUc92e8QzFFSMlSx/ksOZjzpsRZnaryR6fK+RwggG1dx0z5xxCeXq3w==","shasum":"149d9735b8fce8b3fb1bab7fac73606b7289906b","tarball":"https://registry.npmjs.org/react-error-boundaries/-/react-error-boundaries-0.1.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID3bzHVFhTazYgilWfrW79I4QYG/IGWOBBmpYbQWeDXYAiEAhBLXZXmnKSGNFHkt4SFC076QYviiBCrmzpLiBH4TYIM="}]},"maintainers":[{"name":"chyrain","email":"chy19910810@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-error-boundaries-0.1.2.tgz_1513867084600_0.46344188367947936"}},"0.1.3":{"name":"react-error-boundaries","version":"0.1.3","description":"React HOC for error boundaries.","main":"index.js","scripts":{"build":"webpack --progress --colors","start":"webpack-dev-server --config webpack.dev.config.js --progress --colors --hot --inline"},"repository":{"type":"git","url":"git+https://github.com/Chyrain/react-error-boundary.git"},"keywords":["react","HOC","error","boundary"],"author":{"name":"Chyrain.","email":"chyrain_v5kf@qq.com","url":"https://chyrain.github.io/"},"bugs":{"url":"https://github.com/Chyrain/react-error-boundary/issues"},"homepage":"https://github.com/Chyrain/react-error-boundary#readme","license":"MIT","dependencies":{"react":"^16.2.0","react-dom":"^16.2.0"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1","babel-preset-stage-3":"^6.24.1","html-webpack-plugin":"^2.30.1","open-browser-webpack-plugin":"0.0.5","webpack":"^3.10.0","webpack-dev-server":"^2.9.7"},"gitHead":"8371df3f53a60f78adf0c8f6283fa1ce2f3e94f8","_id":"react-error-boundaries@0.1.3","_npmVersion":"5.5.1","_nodeVersion":"6.10.1","_npmUser":{"name":"chyrain","email":"chy19910810@163.com"},"dist":{"integrity":"sha512-cVdhwKOq0KOZ9fAg3CICaDkmXCSYJF71KAt66mZoUYhSBeR1WixPTdIDzvrGWP7s/oAyiWnklh6Kpzs7V76FYA==","shasum":"6e0ffbab4625df32acf0de8173b534ac0f338e82","tarball":"https://registry.npmjs.org/react-error-boundaries/-/react-error-boundaries-0.1.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDa5lxTASatxmIzQ24xAp3QsYq0LFceDvee/tDoilKwQAiBrCLMkPwlswsO/iZj53rKbz8Z3hf6UnEue1D71lGXc5A=="}]},"maintainers":[{"name":"chyrain","email":"chy19910810@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-error-boundaries-0.1.3.tgz_1513867903879_0.9586323273833841"}},"0.1.4":{"name":"react-error-boundaries","version":"0.1.4","description":"React HOC for error boundaries.","main":"index.js","scripts":{"build":"webpack --progress --colors","start":"webpack-dev-server --config webpack.dev.config.js --progress --colors --hot --inline"},"repository":{"type":"git","url":"git+https://github.com/Chyrain/react-error-boundaries.git"},"keywords":["react","HOC","error","boundary"],"author":{"name":"Chyrain.","email":"chyrain_v5kf@qq.com","url":"https://chyrain.github.io/"},"bugs":{"url":"https://github.com/Chyrain/react-error-boundaries/issues"},"homepage":"https://github.com/Chyrain/react-error-boundaries#readme","license":"MIT","dependencies":{"react":"^16.2.0","react-dom":"^16.2.0"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1","babel-preset-stage-3":"^6.24.1","html-webpack-plugin":"^2.30.1","open-browser-webpack-plugin":"0.0.5","webpack":"^3.10.0","webpack-dev-server":"^2.9.7"},"gitHead":"83d8abd690186b6bd3517db19acfebfb6c017942","_id":"react-error-boundaries@0.1.4","_npmVersion":"5.5.1","_nodeVersion":"6.10.1","_npmUser":{"name":"chyrain","email":"chy19910810@163.com"},"dist":{"integrity":"sha512-ZGCsF0UFtYxMtWkndyH7Dpx7hViVW6VAmwQQfAdYdVU4RXWklzVPsZ4RTfsd6ZloRG8Gsty5+k9G8BFy+0Aogg==","shasum":"57e0bde51cfb8d7056e04dce1e8a0e6e933d12d8","tarball":"https://registry.npmjs.org/react-error-boundaries/-/react-error-boundaries-0.1.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGozBEmRGjyj+dFbbMOUzvuyFqaJsuZfi0ASn9m7ZYdNAiBqfn1MVQ7f12s0nCg2b5WZ102G43VyGVoOcUJl6NSwtw=="}]},"maintainers":[{"name":"chyrain","email":"chy19910810@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-error-boundaries-0.1.4.tgz_1513869167429_0.009487421484664083"}},"0.1.5":{"name":"react-error-boundaries","version":"0.1.5","description":"React HOC for error boundaries.","main":"dist/index.js","scripts":{"build":"webpack --progress --colors","start":"webpack-dev-server --config webpack.dev.config.js --progress --colors --hot --inline"},"repository":{"type":"git","url":"git+https://github.com/Chyrain/react-error-boundaries.git"},"keywords":["react","HOC","error","boundary"],"author":{"name":"Chyrain.","email":"chyrain_v5kf@qq.com","url":"https://chyrain.github.io/"},"bugs":{"url":"https://github.com/Chyrain/react-error-boundaries/issues"},"homepage":"https://github.com/Chyrain/react-error-boundaries#readme","license":"MIT","dependencies":{"react":"^16.2.0","react-dom":"^16.2.0"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1","babel-preset-stage-3":"^6.24.1","html-webpack-plugin":"^2.30.1","open-browser-webpack-plugin":"0.0.5","webpack":"^3.10.0","webpack-dev-server":"^2.9.7"},"gitHead":"83d8abd690186b6bd3517db19acfebfb6c017942","_id":"react-error-boundaries@0.1.5","_npmVersion":"5.6.0","_nodeVersion":"6.10.1","_npmUser":{"name":"chyrain","email":"chy19910810@163.com"},"dist":{"integrity":"sha512-d1ufkF/IRspNd8JuEzE7nW+AR+8T2CGC+VUO07aSMlqeZVRbSZRtO3fWKRyJPkchKF5VHIchrMD9TCq1WkZOkQ==","shasum":"d2eec0092b1d70c8fbdc37402ee12f9487e3e710","tarball":"https://registry.npmjs.org/react-error-boundaries/-/react-error-boundaries-0.1.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeNg4V5O7ihVqjuFB+18y2zT1gdRO6PMiAgD0bWVROBgIhALBbOcgcmkZOnzeZSmX+hCxoj2XwVunOGQ66rv/c4w2m"}]},"maintainers":[{"name":"chyrain","email":"chy19910810@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-error-boundaries-0.1.5.tgz_1513948293264_0.7860443007666618"}},"0.1.6":{"name":"react-error-boundaries","version":"0.1.6","description":"React HOC for error boundaries.","main":"dist/index.js","scripts":{"build":"webpack --progress --colors","start":"webpack-dev-server --config webpack.dev.config.js --progress --colors --hot --inline"},"repository":{"type":"git","url":"git+https://github.com/Chyrain/react-error-boundaries.git"},"keywords":["react","HOC","error","boundary"],"author":{"name":"Chyrain.","email":"chyrain_v5kf@qq.com","url":"https://chyrain.github.io/"},"bugs":{"url":"https://github.com/Chyrain/react-error-boundaries/issues"},"homepage":"https://github.com/Chyrain/react-error-boundaries#readme","license":"MIT","dependencies":{"react":"^16.2.0","react-dom":"^16.2.0"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1","babel-preset-stage-3":"^6.24.1","html-webpack-plugin":"^2.30.1","open-browser-webpack-plugin":"0.0.5","webpack":"^3.10.0","webpack-dev-server":"^2.9.7"},"gitHead":"83d8abd690186b6bd3517db19acfebfb6c017942","_id":"react-error-boundaries@0.1.6","_npmVersion":"5.6.0","_nodeVersion":"6.10.1","_npmUser":{"name":"chyrain","email":"chy19910810@163.com"},"dist":{"integrity":"sha512-w+cddnOARv2IDrCNvH8ndU5i8MCNepeOhvA5WnVfu3hQzEePewFfd3LIpTxuc6wOSluyUSb0b1GRda3OHxCsZA==","shasum":"bfe8aea7984ee01b4837fb9ec09a67e6d0406d9d","tarball":"https://registry.npmjs.org/react-error-boundaries/-/react-error-boundaries-0.1.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBXb+wPylSgD/gzDn7ki+bUGGdgfcBbOElt4axaQ/ydWAiAL4QxasKwVnCrYgiUN1/zugdKzp4jK/2iI123x4pMzLg=="}]},"maintainers":[{"name":"chyrain","email":"chy19910810@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-error-boundaries-0.1.6.tgz_1513949250452_0.7565412616822869"}},"0.1.7":{"name":"react-error-boundaries","version":"0.1.7","description":"React HOC for error boundaries.","main":"index.js","scripts":{"build":"webpack --progress --colors","start":"webpack-dev-server --config webpack.dev.config.js --progress --colors --hot --inline"},"repository":{"type":"git","url":"git+https://github.com/Chyrain/react-error-boundaries.git"},"keywords":["react","HOC","error","boundary"],"author":{"name":"Chyrain.","email":"chyrain_v5kf@qq.com","url":"https://chyrain.github.io/"},"bugs":{"url":"https://github.com/Chyrain/react-error-boundaries/issues"},"homepage":"https://github.com/Chyrain/react-error-boundaries#readme","license":"MIT","dependencies":{"react":"^16.2.0","react-dom":"^16.2.0"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1","babel-preset-stage-3":"^6.24.1","html-webpack-plugin":"^2.30.1","open-browser-webpack-plugin":"0.0.5","webpack":"^3.10.0","webpack-dev-server":"^2.9.7"},"gitHead":"83d8abd690186b6bd3517db19acfebfb6c017942","_id":"react-error-boundaries@0.1.7","_npmVersion":"5.6.0","_nodeVersion":"6.10.1","_npmUser":{"name":"chyrain","email":"chy19910810@163.com"},"dist":{"integrity":"sha512-YJGB4AS5F1DjSlOo0lDrHjau2iayxD7TKiDolq8fBPj0nJelzSExy+pVi8swaX3D2E27IX7X1J9Az6jXSX4gJg==","shasum":"54fe226d7e4f69e99572dfbc9377b7189e0539dd","tarball":"https://registry.npmjs.org/react-error-boundaries/-/react-error-boundaries-0.1.7.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEQjX+fxysjX2G/RjEXLBJHGyV2T+ghUfva4Xzmu69JZAiEAhMZkjhCvckBC6EP8UpZF6gHWbwRo3PLPm2syMpXkyW4="}]},"maintainers":[{"name":"chyrain","email":"chy19910810@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-error-boundaries-0.1.7.tgz_1513950157181_0.34264356922358274"}},"0.1.8":{"name":"react-error-boundaries","version":"0.1.8","description":"React HOC for error boundaries.","main":"lib/index.js","scripts":{"build":"babel src --out-dir lib","build:webpack":"webpack --progress --colors","start":"webpack-dev-server --config webpack.dev.config.js --progress --colors --hot --inline"},"repository":{"type":"git","url":"git+https://github.com/Chyrain/react-error-boundaries.git"},"keywords":["react","HOC","error","boundary"],"author":{"name":"Chyrain.","email":"chyrain_v5kf@qq.com","url":"https://chyrain.github.io/"},"bugs":{"url":"https://github.com/Chyrain/react-error-boundaries/issues"},"homepage":"https://github.com/Chyrain/react-error-boundaries#readme","license":"MIT","dependencies":{"react":"^16.2.0","react-dom":"^16.2.0"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1","babel-preset-stage-3":"^6.24.1","html-webpack-plugin":"^2.30.1","open-browser-webpack-plugin":"0.0.5","webpack":"^3.10.0","webpack-dev-server":"^2.9.7"},"gitHead":"83d8abd690186b6bd3517db19acfebfb6c017942","_id":"react-error-boundaries@0.1.8","_npmVersion":"5.6.0","_nodeVersion":"6.10.1","_npmUser":{"name":"chyrain","email":"chy19910810@163.com"},"dist":{"integrity":"sha512-PEW+amVqbdGNAeCwHaYtn6CCBynHj7I/VmpN9fhIl/PGsHxqBSs4PRNjaqQS8EWVI+n/nfnkb0t0emelCPC1lw==","shasum":"d3aa1edde250fb303b995bec6a2b1fc98ade43df","tarball":"https://registry.npmjs.org/react-error-boundaries/-/react-error-boundaries-0.1.8.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDG+G0jbaPfsJOZ2EuyGQaXClch60iaKQqFJ76kSQ3DFQIgNueM616vIX95BYfbFJUswEqvfn9tK3PHN2fwGAVRjWw="}]},"maintainers":[{"name":"chyrain","email":"chy19910810@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-error-boundaries-0.1.8.tgz_1513951032760_0.6535977947060019"}},"1.0.8":{"name":"react-error-boundaries","version":"1.0.8","description":"React HOC for error boundaries.","main":"lib/index.js","scripts":{"build":"babel src --out-dir lib","build:webpack":"webpack --progress --colors","start":"webpack-dev-server --config webpack.dev.config.js --progress --colors --hot --inline"},"repository":{"type":"git","url":"git+https://github.com/Chyrain/react-error-boundaries.git"},"keywords":["react","HOC","error","boundary"],"author":{"name":"Chyrain.","email":"chyrain_v5kf@qq.com","url":"https://chyrain.github.io/"},"bugs":{"url":"https://github.com/Chyrain/react-error-boundaries/issues"},"homepage":"https://github.com/Chyrain/react-error-boundaries#readme","license":"MIT","dependencies":{"react":"^16.2.0","react-dom":"^16.2.0","react-error-boundaries":"^1.0.6"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-class-properties":"^6.24.1","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1","babel-preset-stage-3":"^6.24.1","html-webpack-plugin":"^2.30.1","open-browser-webpack-plugin":"0.0.5","webpack":"^3.10.0","webpack-dev-server":"^2.9.7"},"gitHead":"fdffd8c740d0003d3ab83760b5eaa0cfe4dc8dd4","_id":"react-error-boundaries@1.0.8","_npmVersion":"5.6.0","_nodeVersion":"6.10.1","_npmUser":{"name":"chyrain","email":"chy19910810@163.com"},"dist":{"integrity":"sha512-57O0mTEKVLHjsIRwfheWxOwb2GFG+sglI+8lANxtmxayGC+3Tjvky5KSsxcgwemrSwR+1jQo9u1T7LEMQ59ekA==","shasum":"c449d16ff230150c279aa6131f274a21569bfcbd","tarball":"https://registry.npmjs.org/react-error-boundaries/-/react-error-boundaries-1.0.8.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChma7V6NnrhlRwcBZq37sHRrbr3qRRxjOPjG2Sbsc8pQIhAO2cR3ComHDeNc251XaOVcE6GIH213nqfVEWvuw9lZOP"}]},"maintainers":[{"name":"chyrain","email":"chy19910810@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-error-boundaries-1.0.8.tgz_1513997812529_0.34914517868310213"}},"1.0.9":{"name":"react-error-boundaries","version":"1.0.9","description":"React HOC for error boundaries.","main":"dist/commonjs/index.js","scripts":{"build":"npm run build:commonjs && npm run build:es && npm run build:umd","build:commonjs":"npm run clean:commonjs && cross-env NODE_ENV=production cross-env BABEL_ENV=commonjs babel src --out-dir dist/commonjs","build:es":"npm run clean:es && cross-env NODE_ENV=production cross-env BABEL_ENV=es babel src --out-dir dist/es","build:umd":"npm run clean:umd && cross-env NODE_ENV=production npm run webpack:umd","clean":"npm run clean:commonjs && npm run clean:es && npm run clean:umd","clean:commonjs":"rimraf dist/commonjs","clean:es":"rimraf dist/es","clean:umd":"rimraf dist/umd","webpack":"webpack --progress --colors --bail --define","webpack:umd":"npm run webpack umd","start":"webpack-dev-server --config webpack.dev.config.js --progress --colors --hot --inline"},"repository":{"type":"git","url":"git+https://github.com/Chyrain/react-error-boundaries.git"},"keywords":["react","HOC","error","boundary"],"author":{"name":"Chyrain.","email":"chyrain_v5kf@qq.com","url":"https://chyrain.github.io/"},"bugs":{"url":"https://github.com/Chyrain/react-error-boundaries/issues"},"homepage":"https://github.com/Chyrain/react-error-boundaries#readme","license":"MIT","dependencies":{"react":"^16.2.0","react-dom":"^16.2.0","react-error-boundaries":"^1.0.6"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015":"^6.24.1","babel-preset-es2015-rollup":"^3.0.0","babel-preset-react":"^6.24.1","babel-preset-stage-3":"^6.24.1","cross-env":"^5.1.3","html-webpack-plugin":"^2.30.1","open-browser-webpack-plugin":"0.0.5","webpack":"^3.10.0","webpack-dev-server":"^2.9.7"},"gitHead":"e179e5b3d541af3cb3244c9c0e0523bc63fc0029","_id":"react-error-boundaries@1.0.9","_npmVersion":"5.6.0","_nodeVersion":"6.10.1","_npmUser":{"name":"chyrain","email":"chy19910810@163.com"},"dist":{"integrity":"sha512-lt1mokq0yljJjG9P1QeVnKgLk+zE84CfGI6qtN4DqMRuZudLddVN0kM5lXaE9w4rZlmvJv5BLybpKwi+9X6U2w==","shasum":"081928697e88ed3d8a6bc1cd5af71fb68ee68c24","tarball":"https://registry.npmjs.org/react-error-boundaries/-/react-error-boundaries-1.0.9.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbe4b9TapJiDWA1ZkXsqZDtyBvkyBZIc1s6Nys9L0uvwIhALX8YkLLOC11hxqxh8zrNz0cgzeP+JlBB9SXXGVgTzt6"}]},"maintainers":[{"name":"chyrain","email":"chy19910810@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-error-boundaries-1.0.9.tgz_1514002764948_0.37014581612311304"}},"1.1.0":{"name":"react-error-boundaries","version":"1.1.0","description":"React HOC for error boundaries.","main":"dist/commonjs/index.js","scripts":{"build":"npm run build:commonjs && npm run build:es && npm run build:umd","build:commonjs":"npm run clean:commonjs && cross-env NODE_ENV=production cross-env BABEL_ENV=commonjs babel src --out-dir dist/commonjs","build:es":"npm run clean:es && cross-env NODE_ENV=production cross-env BABEL_ENV=es babel src --out-dir dist/es","build:umd":"npm run clean:umd && cross-env NODE_ENV=production npm run webpack:umd","clean":"npm run clean:commonjs && npm run clean:es && npm run clean:umd","clean:commonjs":"rimraf dist/commonjs","clean:es":"rimraf dist/es","clean:umd":"rimraf dist/umd","webpack":"webpack --progress --colors --bail --define","webpack:umd":"npm run webpack umd","start":"webpack-dev-server --config webpack.dev.config.js --progress --colors --hot --inline"},"repository":{"type":"git","url":"git+https://github.com/Chyrain/react-error-boundaries.git"},"keywords":["react","HOC","error","boundary"],"author":{"name":"Chyrain.","email":"chyrain_v5kf@qq.com","url":"https://chyrain.github.io/"},"bugs":{"url":"https://github.com/Chyrain/react-error-boundaries/issues"},"homepage":"https://github.com/Chyrain/react-error-boundaries#readme","license":"MIT","dependencies":{"react":"^16.2.0","react-dom":"^16.2.0","react-error-boundaries":"^1.0.6"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015":"^6.24.1","babel-preset-es2015-rollup":"^3.0.0","babel-preset-react":"^6.24.1","babel-preset-stage-3":"^6.24.1","cross-env":"^5.1.3","html-webpack-plugin":"^2.30.1","open-browser-webpack-plugin":"0.0.5","webpack":"^3.10.0","webpack-dev-server":"^2.9.7"},"gitHead":"b25f64070e61e48715f427cccec8f286da139a83","_id":"react-error-boundaries@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"6.10.1","_npmUser":{"name":"chyrain","email":"chy19910810@163.com"},"dist":{"integrity":"sha512-8ZVb52QXX6nuhjWzvFSmsENy77njyPK5Q5tFOsnUIigjpVnWRh/HkP2c/ZuvJBsnpKxbtlHDQjMM6AESMaghNQ==","shasum":"88169dd2bfb3393ec57f3e0b99cdabfdc7f7d15c","tarball":"https://registry.npmjs.org/react-error-boundaries/-/react-error-boundaries-1.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF04OrUVPSHOPbnODWbUgPjmQdDSMTHdPp1MdPSN9MdwAiAHyqWY+kA+oJ3FNVh+Uc/DLnPTcpCmRgQROlbh11577A=="}]},"maintainers":[{"name":"chyrain","email":"chy19910810@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-error-boundaries-1.1.0.tgz_1514081070456_0.09975711768493056"}},"1.1.1":{"name":"react-error-boundaries","version":"1.1.1","description":"React HOC for error boundaries.","main":"dist/commonjs/index.js","scripts":{"build":"npm run build:commonjs && npm run build:es && npm run build:umd","build:commonjs":"npm run clean:commonjs && cross-env NODE_ENV=production cross-env BABEL_ENV=commonjs babel src --out-dir dist/commonjs","build:es":"npm run clean:es && cross-env NODE_ENV=production cross-env BABEL_ENV=es babel src --out-dir dist/es","build:umd":"npm run clean:umd && cross-env NODE_ENV=production npm run webpack:umd","clean":"npm run clean:commonjs && npm run clean:es && npm run clean:umd","clean:commonjs":"rimraf dist/commonjs","clean:es":"rimraf dist/es","clean:umd":"rimraf dist/umd","webpack":"webpack --progress --colors --bail --define","webpack:umd":"npm run webpack umd","start":"webpack-dev-server --config webpack.dev.config.js --progress --colors --hot --inline"},"repository":{"type":"git","url":"git+https://github.com/Chyrain/react-error-boundaries.git"},"keywords":["react","HOC","error","boundary"],"author":{"name":"Chyrain.","email":"chyrain_v5kf@qq.com","url":"https://chyrain.github.io/"},"bugs":{"url":"https://github.com/Chyrain/react-error-boundaries/issues"},"homepage":"https://github.com/Chyrain/react-error-boundaries#readme","license":"MIT","peerDevDependencies":{"react":"^16.0.0","react-dom":"^16.0.0"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015":"^6.24.1","babel-preset-es2015-rollup":"^3.0.0","babel-preset-react":"^6.24.1","babel-preset-stage-3":"^6.24.1","cross-env":"^5.1.3","html-webpack-plugin":"^2.30.1","open-browser-webpack-plugin":"0.0.5","webpack":"^3.10.0","webpack-dev-server":"^2.9.7","react":"^16.2.0","react-dom":"^16.2.0"},"gitHead":"020ba916b562d779f4a1dfcdbe2dd0a0f683b7b8","_id":"react-error-boundaries@1.1.1","_npmVersion":"5.6.0","_nodeVersion":"6.10.1","_npmUser":{"name":"chyrain","email":"chy19910810@163.com"},"dist":{"integrity":"sha512-2U/VcRgZUv43cyG5IT7gvwPjlUeHmxFiLTHxYT559wzQ08T8R5cr6RlcVr6Ct0v+bXEBpcS+9SQshtO631hHZg==","shasum":"09465ba9547689dc7bf70583c9078147c2eea9ba","tarball":"https://registry.npmjs.org/react-error-boundaries/-/react-error-boundaries-1.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDdBRNaSeqIO6fglzVRDgphhKNbwpZmeCApxbRpilB3nAiEAlWI94nAeBdwt3KM8Yv1y7Ik9u3SjWGyRMX9B8KmRdNM="}]},"maintainers":[{"name":"chyrain","email":"chy19910810@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-error-boundaries-1.1.1.tgz_1514387948163_0.045332664623856544"}},"1.1.3":{"name":"react-error-boundaries","version":"1.1.3","description":"React HOC for error boundaries.","main":"dist/commonjs/index.js","scripts":{"build":"npm run build:commonjs && npm run build:es && npm run build:umd","build:commonjs":"npm run clean:commonjs && cross-env NODE_ENV=production cross-env BABEL_ENV=commonjs babel src --out-dir dist/commonjs","build:es":"npm run clean:es && cross-env NODE_ENV=production cross-env BABEL_ENV=es babel src --out-dir dist/es","build:umd":"npm run clean:umd && cross-env NODE_ENV=production npm run webpack:umd","clean":"npm run clean:commonjs && npm run clean:es && npm run clean:umd","clean:commonjs":"rimraf dist/commonjs","clean:es":"rimraf dist/es","clean:umd":"rimraf dist/umd","webpack":"webpack --progress --colors --bail --define","webpack:umd":"npm run webpack umd","build:example":"webpack --config webpack.dev.config.js --progress --colors","start":"webpack-dev-server --config webpack.dev.config.js --progress --colors --hot --inline"},"repository":{"type":"git","url":"git+https://github.com/Chyrain/react-error-boundaries.git"},"keywords":["react","HOC","error","boundary"],"author":{"name":"Chyrain.","email":"chyrain_v5kf@qq.com","url":"https://chyrain.github.io/"},"bugs":{"url":"https://github.com/Chyrain/react-error-boundaries/issues"},"homepage":"https://github.com/Chyrain/react-error-boundaries#readme","license":"MIT","peerDevDependencies":{"react":"^16.0.0","react-dom":"^16.0.0"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015":"^6.24.1","babel-preset-es2015-rollup":"^3.0.0","babel-preset-react":"^6.24.1","babel-preset-stage-3":"^6.24.1","cross-env":"^5.1.3","html-webpack-plugin":"^2.30.1","open-browser-webpack-plugin":"0.0.5","webpack":"^3.10.0","webpack-dev-server":"^2.9.7","react":"^16.2.0","react-dom":"^16.2.0"},"gitHead":"f5f980aee15e3d121daa9f99b364449626744518","_id":"react-error-boundaries@1.1.3","_npmVersion":"5.6.0","_nodeVersion":"6.10.1","_npmUser":{"name":"chyrain","email":"chy19910810@163.com"},"dist":{"integrity":"sha512-qlBGRH5p/vM2+X48tKIptEXYAc5b3XuW6aacp1G5lJ9kCnYxbUGK8ZlaINiGfio6Tjsolcc822qGoo5pUVOCcw==","shasum":"32c712557a270792f984e7228b445830332c8310","tarball":"https://registry.npmjs.org/react-error-boundaries/-/react-error-boundaries-1.1.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMAqPdYQ/K5h0OhYlAQzUd6GhWskfrTO7+XHD1aec5jgIhAM3BRo9s/cFMYIXBlZbSGUrqMSTJbz3FyJGR5Uw1sNzR"}]},"maintainers":[{"name":"chyrain","email":"chy19910810@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-error-boundaries-1.1.3.tgz_1515656102550_0.9347433941438794"}},"1.1.4":{"name":"react-error-boundaries","version":"1.1.4","description":"React HOC for error boundaries.","main":"dist/commonjs/index.js","scripts":{"build":"npm run build:commonjs && npm run build:es && npm run build:umd","build:commonjs":"npm run clean:commonjs && cross-env NODE_ENV=production cross-env BABEL_ENV=commonjs babel src --out-dir dist/commonjs","build:es":"npm run clean:es && cross-env NODE_ENV=production cross-env BABEL_ENV=es babel src --out-dir dist/es","build:umd":"npm run clean:umd && cross-env NODE_ENV=production npm run webpack:umd","clean":"npm run clean:commonjs && npm run clean:es && npm run clean:umd","clean:commonjs":"rimraf dist/commonjs","clean:es":"rimraf dist/es","clean:umd":"rimraf dist/umd","webpack":"webpack --progress --colors --bail --define","webpack:umd":"npm run webpack umd","build:example":"webpack --config webpack.dev.config.js --progress --colors","start":"webpack-dev-server --config webpack.dev.config.js --progress --colors --hot --inline"},"repository":{"type":"git","url":"git+https://github.com/Chyrain/react-error-boundaries.git"},"keywords":["react","HOC","error","boundary"],"author":{"name":"Chyrain.","email":"chyrain_v5kf@qq.com","url":"https://chyrain.github.io/"},"bugs":{"url":"https://github.com/Chyrain/react-error-boundaries/issues"},"homepage":"https://github.com/Chyrain/react-error-boundaries#readme","license":"MIT","peerDevDependencies":{"react":"^16.0.0","react-dom":"^16.0.0"},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015":"^6.24.1","babel-preset-es2015-rollup":"^3.0.0","babel-preset-react":"^6.24.1","babel-preset-stage-3":"^6.24.1","cross-env":"^5.1.3","html-webpack-plugin":"^2.30.1","open-browser-webpack-plugin":"0.0.5","webpack":"^3.10.0","webpack-dev-server":"^2.9.7","react":"^16.2.0","react-dom":"^16.2.0"},"gitHead":"2f19dc00445bbb8c0ddbb5f7e1ab126f983230cf","_id":"react-error-boundaries@1.1.4","_npmVersion":"5.6.0","_nodeVersion":"6.10.1","_npmUser":{"name":"chyrain","email":"chy19910810@163.com"},"dist":{"integrity":"sha512-2W0dpXmgzI0FA8lQwJVxMuRUTpRrv+PvtbGHiZj4mfsLx/lil8Hmtsi7LwOxONoOT2+dH7Yz4gmlrDDLOojPEw==","shasum":"d50f62439cf103538558160d86cffc7674eb9d3b","tarball":"https://registry.npmjs.org/react-error-boundaries/-/react-error-boundaries-1.1.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBnkplmrTcs76J2svX9AVd3XM5w3HOTIglF9MFH1h2+gAiEAvZsSRTkBwI42FseacFt98Lp8VuFMVijq3aADXoiyf0Q="}]},"maintainers":[{"name":"chyrain","email":"chy19910810@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-error-boundaries-1.1.4.tgz_1515661680058_0.7274441476911306"}}},"readme":"# react-error-boundaries\n\n[![version](https://img.shields.io/npm/v/react-error-boundaries.svg?style=flat-square)](http://npm.im/react-popconfirm)\n[![downloads](https://img.shields.io/npm/dm/react-error-boundaries.svg?style=flat-square)](http://npm-stat.com/charts.html?package=react-popconfirm&from=2017-04-07)\n[![MIT License](https://img.shields.io/npm/l/react-error-boundaries.svg?style=flat-square)](http://opensource.org/licenses/MIT)\n\nA reusable React error boundaries component. Based on React 16.2.0.\n\n> Error boundaries are React components that catch JavaScript errors anywhere in their child component tree, log those errors, and display a fallback UI instead of the component tree that crashed. Error boundaries catch errors during rendering, in lifecycle methods, and in constructors of the whole tree below them.\n\nEffect picture:\n\n![react-error-boundaries](https://raw.githubusercontent.com/Chyrain/MDPictures/master/res/react_error_boundaries.png)\n\n## Install\n\n```s\nnpm install react-error-boundaries\n```\n\n## Usage\n\nImport:\n\n```js\n// import all\nimport { ErrorBoundary, withErrorHandler, errorHandlerDecorator, FallbackView } from 'react-error-boundaries'\n// import default ErrorBoundary\nimport ErrorBoundary from 'react-error-boundaries'\n```\n\nIntro:\n\n- **ErrorBoundary**: React container component to handler error\n- **withErrorHandler**: React HOC to customize the errorCallback function and FallbackComponent\n- **errorHandlerDecorator**: By this, you can use error boundary as ES7 decorator\n- **FallbackView**: The default fallback component, show when error occur. props: `{ error: Objec, errorInfo: Object, closeErrorModal: Function }`(Unable in production, if import you will got undefined)\n\nUse as a component container:\n\n```js\n// import first\nimport React from 'react'\nimport ReactDOM from 'react-dom'\nimport ErrorBoundary from 'react-error-boundaries'\n\nconst App = () => {\n    return (\n    <ErrorBoundary>\n        <YourComponents />\n    </ErrorBoundary>\n    );\n}\nReactDOM.render(<App />, document.getElementById('root'));\n```\n\nAnd you can handle errors by providing an onError callback, and customize the FallbackComponent by providing a Component.\n\n> FallbackComponent will receive props:\n  - closeErrorModal: Function, call when click close button\n  - error: An error that has been thrown.\n  - errorInfo: An object with componentStack key. The property has information about component stack during thrown error.\n\n```js\n// import first\nimport React from 'react'\nimport ReactDOM from 'react-dom'\nimport ErrorBoundary from 'react-error-boundaries'\n\nfunction onError(error, errorInfo, props) {\n  // you can report Error to service here\n  console.error('onError:', error.message);\n}\n\nconst App = () => {\n    return (\n    <ErrorBoundary onError={onError} FallbackComponent={YourFallbackView}>\n        <YourComponents />\n    </ErrorBoundary>\n    );\n}\nReactDOM.render(<App />, document.getElementById('root'));\n```\n\nUse as class decorator:\n\n```js\n// import first\nimport React from 'react'\nimport { errorHandlerDecorator } from 'react-error-boundaries'\n\n// ES7 decorator, need babel plugin \"transform-decorators-legacy\"\n@errorHandlerDecorator\nclass YourComponent extends React.Component {\n  constructor(props) {\n    super(props);\n  }\n\n  render() {\n    return (\n      <div>\n        contents\n      </div>\n    );\n  }\n}\n// or not use @decorator just like this:\n// export default errorHandlerDecorator(YourComponent)\n\nfunction onError(error, errorInfo, props) {\n  // you can report Error to service here\n  console.log('onError:', error.message);\n}\n\nReactDOM.render(<YourComponent onError={onError} />, document.getElementById('root'));\n```\n\nYou can also customize the FallbackComponent in HOC way:\n\n```js\n// import first, FallbackView is default Fallback Component\nimport { withErrorHandler, FallbackView } from 'react-error-boundaries'\n\n// customize the errorCallback\nfunction onError(error, errorInfo, props) {\n  // you can report Error to service here\n  console.error('onError:', error.message);\n}\n\n/* example 1 */\n\nconst ComponentWithErrorBoundary = withErrorHandler(\n  YourFallbackComponent, // Fallback Component to display errors, to replace default FallbackView\n  YourComponent          // Component to decorate\n);\nReactDOM.render(<ComponentWithErrorBoundary onError={onError} />, document.getElementById('root'));\n\n/* example 2 */\n// customize as a ES7 decorator\nconst yourErrorHandlerDecorator = withErrorHandler(\n  YourFallbackComponent // Fallback Component to display errors, to replace default FallbackView\n);\n\n@yourErrorHandlerDecorator\nclass YourComponent extends React.component {\n    //......\n}\nReactDOM.render(<YourComponent onError={onError} />, document.getElementById('root'));\n```\n\n## Try example\n\nInput `i` in search input and error will throw.\n\n```shell\n# run example, auto open browser and enable hot loader\nnpm install\nnpm start\n```\n\n## How to disable it\n\nTo enable it by set `process.env.NODE_ENV` or `process.env.ERROR_ENV` as `development`, so you can disable it by setting `process.env.NODE_ENV` to be `production` and not set `process.env.ERROR_ENV` as `development`.\n\nWith webpack by setting like this to disable it:\n\n```js\nplugins: [\n  new webpack.DefinePlugin({\n    \"process.env\": {\n      NODE_ENV: '\"production\"'\n    }\n  })\n]\n```\n\nWith config like this to enable it even in NODE_ENV is production:\n\n```js\nplugins: [\n  new webpack.DefinePlugin({\n    \"process.env\": {\n      NODE_ENV: '\"production\"',\n      ERROR_ENV: '\"development\"'\n    }\n  })\n]\n```\n\n## License\n\nMIT","maintainers":[{"name":"chyrain","email":"chy19910810@163.com"}],"time":{"modified":"2022-05-14T10:23:30.351Z","created":"2017-12-21T14:26:42.671Z","0.1.1":"2017-12-21T14:26:42.671Z","0.1.2":"2017-12-21T14:38:04.698Z","0.1.3":"2017-12-21T14:51:44.011Z","0.1.4":"2017-12-21T15:12:47.499Z","0.1.5":"2017-12-22T13:11:33.341Z","0.1.6":"2017-12-22T13:27:30.541Z","0.1.7":"2017-12-22T13:42:38.322Z","0.1.8":"2017-12-22T13:57:12.850Z","1.0.0":"2017-12-22T14:09:35.035Z","1.0.1":"2017-12-22T14:31:38.080Z","1.0.2":"2017-12-22T15:13:59.119Z","1.0.3":"2017-12-22T15:22:01.398Z","1.0.4":"2017-12-22T16:25:42.702Z","1.0.5":"2017-12-22T16:46:10.871Z","1.0.6":"2017-12-22T16:48:33.756Z","1.0.7":"2017-12-22T17:12:14.680Z","1.0.8":"2017-12-23T02:56:52.634Z","1.0.9":"2017-12-23T04:19:25.117Z","1.1.0":"2017-12-24T02:04:30.528Z","1.1.1":"2017-12-27T15:19:08.264Z","1.1.2":"2018-01-11T07:24:19.573Z","1.1.3":"2018-01-11T07:35:02.724Z","1.1.4":"2018-01-11T09:08:00.254Z"},"homepage":"https://github.com/Chyrain/react-error-boundaries#readme","keywords":["react","HOC","error","boundary"],"repository":{"type":"git","url":"git+https://github.com/Chyrain/react-error-boundaries.git"},"author":{"name":"Chyrain.","email":"chyrain_v5kf@qq.com","url":"https://chyrain.github.io/"},"bugs":{"url":"https://github.com/Chyrain/react-error-boundaries/issues"},"license":"MIT","readmeFilename":"README.md"}