{"_id":"multipart-uploader","_rev":"26-d7e2b82914500a7cfd9a42b6c36c7965","name":"multipart-uploader","dist-tags":{"latest":"1.4.1"},"versions":{"1.1.1":{"name":"multipart-uploader","version":"1.1.1","description":"A customizable, useful and wonderful multi-part file uploader, support \"resume from break-point\".","main":"dist/multipart-uploader.js","module":"dist/multipart-uploader.js","homepage":"https://github.com/ibearye/multipart-uploader","repository":{"type":"git","url":"git+https://github.com/ibearye/multipart-uploader.git"},"dist":{"integrity":"sha512-5cKw+dAj93NNCCiB2SaoUrL7tGjoDwaljfYkRx+zatDjhU4oWKXqOiPZWMHwb2+jeze4oumbfcepE9iYsrYlkQ==","shasum":"a603bb9dcf86a35846b5f2ab8e27fea918d9f97a","tarball":"https://registry.npmjs.org/multipart-uploader/-/multipart-uploader-1.1.1.tgz","fileCount":6,"unpackedSize":255188,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhRFl2CRA9TVsSAnZWagAAR6oP/Rwdo5H/bT51rt3sL46v\n6UhGjBt/9AYBMH2uRlmhMoxTuWqOYP3uUmeuB98FZ0Q7dHnfmeO01tThwNqX\n1i6e63KiUkEdK3bny4t8wdha6YtGvbnu62HrGD9jxmM+k+oAvWZBTk6Eq3gJ\nbiML0TGyOd0qZS5+hShe+3yNLZU+3EahjVkbz26fWg4dK33PMsdMLM2GzIXT\nluntZ94v3FVc1bz4GerwBZAxfEpY/AS+kIGu0rL/AvrT5d/U/45n4sxd+8Fl\nF4MvIWzQaAXgeBw79pM2QMuIUZ/MO5qjGP9MSrDc4gvJhP27t+7zMEdJmT2T\nYLCtcZgyUV/ESBnl16obvz2D5mKKGMFG1zosD0ZJMeGkfXemtqDA7c+b057Y\nHh45SpsgsDqchxmFiTXN0LIT0bLEcOOe8usnXoliVhLrPjAEC3oie1/vWu8Y\nMkimJvUg+bZRo2HV3wLmlP/HKjfeCRYWNEzBAX8nf/7qWUl5tUX45jGux4L3\nSVoZUHj7wz9/A+fhz5I+cfzRIV6HX+rbtPJSr/7hIfOU4wXNFfYSvgQzQUit\neEbkCNxK9lpJfnx4pZm3MWz4mo4/RkFREof/Y6qwRu1x6WUJl1ObnXA2yAJT\nmWjgLwycALRkom0+9YjkyG6HjdPZlsbSfeJaj0XdN3XE/CS7mlSusvHJKc7l\nqkJ/\r\n=7MJy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIElmhmEP+QEyHK12cUGsdQSG0z7GQG2V+CDyNB4t1SR6AiBwEUZoyl3mMeSrXjgc8K7IrNIiDu2DaSQ8089WdV2yFA=="}]},"types":"./dist/src/index.d.ts","scripts":{"build":"export NODE_ENV=production && webpack","dev":"export NODE_ENV=development && webpack serve"},"keywords":["webworker","file","multipart upload","assume from break-point"],"author":{"name":"bearye"},"license":"MIT","devDependencies":{"@babel/preset-env":"^7.15.6","babel":"^6.23.0","babel-loader":"^8.2.2","clean-terminal-webpack-plugin":"^3.0.0","eslint":"^7.32.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.24.2","eslint-webpack-plugin":"^3.0.1","html-webpack-plugin":"^5.3.2","terser-webpack-plugin":"^5.2.4","ts-loader":"^9.2.5","typescript":"^4.4.3","webpack":"^5.52.1","webpack-cli":"^4.8.0","webpack-dev-server":"^4.2.0","worker-loader":"^3.0.8"},"dependencies":{"axios":"^0.21.4","core-js":"^3.17.3","spark-md5":"^3.0.2"},"gitHead":"f179f25095d2d4af611744ecc28ccc9ed19ab137","bugs":{"url":"https://github.com/ibearye/multipart-uploader/issues"},"_id":"multipart-uploader@1.1.1","_nodeVersion":"16.3.0","_npmVersion":"7.15.1","_npmUser":{"name":"bearye","email":"ibearye@163.com"},"directories":{},"maintainers":[{"name":"bearye","email":"ibearye@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multipart-uploader_1.1.1_1631869302422_0.030570009661829323"},"_hasShrinkwrap":false},"1.1.2":{"name":"multipart-uploader","version":"1.1.2","description":"A customizable, useful and wonderful multi-part file uploader, support \"resume from break-point\".","main":"dist/multipart-uploader.js","module":"dist/multipart-uploader.js","homepage":"https://github.com/ibearye/multipart-uploader","repository":{"type":"git","url":"git+https://github.com/ibearye/multipart-uploader.git"},"dist":{"integrity":"sha512-GkZ3hsSXT2HqIBEI8935lwD9nkKpYqPejMDF9XRcYFA7FI3wGNEhmu3er0MA+S7ocMfg6T9iBfwjNkcWn0M5WA==","shasum":"3b38d4b0f3569a8acdce91e9ce61c43a056c8b04","tarball":"https://registry.npmjs.org/multipart-uploader/-/multipart-uploader-1.1.2.tgz","fileCount":6,"unpackedSize":140595,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHQ9ZGdMQPcrwkCjcgOWFLgI4lSkdc0ifZcVAnGQ64nmAiEA3d4hMuBEou1WIMGuRNzxBI6aNptKxnQUETfE2hDBK4o="}]},"types":"./dist/src/index.d.ts","scripts":{"build":"export NODE_ENV=production && webpack","dev":"export NODE_ENV=development && webpack serve"},"keywords":["webworker","file","multipart upload","assume from break-point"],"author":{"name":"bearye"},"license":"MIT","devDependencies":{"@babel/preset-env":"^7.15.6","babel":"^6.23.0","babel-loader":"^8.2.2","clean-terminal-webpack-plugin":"^3.0.0","eslint":"^7.32.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.24.2","eslint-webpack-plugin":"^3.0.1","html-webpack-plugin":"^5.3.2","terser-webpack-plugin":"^5.2.4","ts-loader":"^9.2.5","typescript":"^4.4.3","webpack":"^5.52.1","webpack-cli":"^4.8.0","webpack-dev-server":"^4.2.0","worker-loader":"^3.0.8"},"dependencies":{"axios":"^0.21.4","core-js":"^3.17.3","spark-md5":"^3.0.2"},"gitHead":"e4dea1c973f089e2481a480fc12a275c72bfc37b","bugs":{"url":"https://github.com/ibearye/multipart-uploader/issues"},"_id":"multipart-uploader@1.1.2","_nodeVersion":"16.3.0","_npmVersion":"7.15.1","_npmUser":{"name":"bearye","email":"ibearye@163.com"},"directories":{},"maintainers":[{"name":"bearye","email":"ibearye@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multipart-uploader_1.1.2_1631925811490_0.6200522136919981"},"_hasShrinkwrap":false},"1.2.4":{"name":"multipart-uploader","version":"1.2.4","description":"A customizable, useful and wonderful multi-part file uploader, support \"resume from break-point\".","main":"dist/multipart-uploader.js","module":"dist/multipart-uploader.js","homepage":"https://github.com/ibearye/multipart-uploader","repository":{"type":"git","url":"git+https://github.com/ibearye/multipart-uploader.git"},"dist":{"integrity":"sha512-n1RrebnFKP8XfRXBbZHYaeVEKXqoYbYJdsIyeENTiR1Lib/pis6AQvtyAbNN2Itzy4rFS+IfDvExmuaDxCNRFw==","shasum":"f8cba3a71b99f05ee2513b757db45edd4fad613e","tarball":"https://registry.npmjs.org/multipart-uploader/-/multipart-uploader-1.2.4.tgz","fileCount":11,"unpackedSize":192818,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFmWe3RZg6eCTCkYONEE19QCMQ8EYKIxlojrMrnAzJywIhAJrUiFsvoDIqN3psZdWM7inl1Vn5QRHDA1fJy89QN5ah"}]},"types":"./dist/src/index.d.ts","scripts":{"build":"export NODE_ENV=production && webpack","dev":"export NODE_ENV=development && webpack serve"},"keywords":["webworker","file","multipart upload","assume from break-point"],"author":{"name":"bearye"},"license":"MIT","devDependencies":{"@babel/preset-env":"^7.15.6","babel":"^6.23.0","babel-loader":"^8.2.2","clean-terminal-webpack-plugin":"^3.0.0","eslint":"^7.32.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.24.2","eslint-webpack-plugin":"^3.0.1","html-webpack-plugin":"^5.3.2","terser-webpack-plugin":"^5.2.4","ts-loader":"^9.2.5","typescript":"^4.4.3","webpack":"^5.52.1","webpack-cli":"^4.8.0","webpack-dev-server":"^4.2.0","worker-loader":"^3.0.8"},"dependencies":{"axios":"^0.21.4","core-js":"^3.17.3","spark-md5":"^3.0.2"},"gitHead":"016b970f6b3ee9c002dedd2a62b39ca82a55fea2","bugs":{"url":"https://github.com/ibearye/multipart-uploader/issues"},"_id":"multipart-uploader@1.2.4","_nodeVersion":"16.3.0","_npmVersion":"7.15.1","_npmUser":{"name":"bearye","email":"ibearye@163.com"},"directories":{},"maintainers":[{"name":"bearye","email":"ibearye@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multipart-uploader_1.2.4_1631948939885_0.9594778390958147"},"_hasShrinkwrap":false},"1.2.5":{"name":"multipart-uploader","version":"1.2.5","description":"A customizable, useful and wonderful multi-part file uploader, support \"resume from break-point\".","main":"dist/multipart-uploader.js","module":"dist/multipart-uploader.js","homepage":"https://github.com/ibearye/multipart-uploader","repository":{"type":"git","url":"git+https://github.com/ibearye/multipart-uploader.git"},"dist":{"integrity":"sha512-V15BfDbRDcbfETvxVhvBqA+BHrhjh49D6XOwpQHQUCpK3knwMCqWW8ruH9m56CgvYberfeVI+p0pOeTJiS/q2A==","shasum":"0b3f9baf4aa770398b7b926a92c70ead566a158b","tarball":"https://registry.npmjs.org/multipart-uploader/-/multipart-uploader-1.2.5.tgz","fileCount":11,"unpackedSize":192856,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFZqbOaCGifWMvGVztRJHiFTY1dnMjPxhai6+u8VWGawIhALocm+SAhhFN/Y1s3AsffyxWmAWkaLRGbw/zUpljM2U7"}]},"types":"./dist/src/index.d.ts","scripts":{"build":"export NODE_ENV=production && webpack","dev":"export NODE_ENV=development && webpack serve"},"keywords":["webworker","file","multipart upload","assume from break-point"],"author":{"name":"Bearye","email":"ibearye@163.com","url":"https://bearye.cn"},"license":"MIT","devDependencies":{"@babel/preset-env":"^7.15.6","babel":"^6.23.0","babel-loader":"^8.2.2","clean-terminal-webpack-plugin":"^3.0.0","eslint":"^7.32.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.24.2","eslint-webpack-plugin":"^3.0.1","html-webpack-plugin":"^5.3.2","terser-webpack-plugin":"^5.2.4","ts-loader":"^9.2.5","typescript":"^4.4.3","webpack":"^5.52.1","webpack-cli":"^4.8.0","webpack-dev-server":"^4.2.0","worker-loader":"^3.0.8"},"dependencies":{"axios":"^0.21.4","core-js":"^3.17.3","spark-md5":"^3.0.2"},"gitHead":"016b970f6b3ee9c002dedd2a62b39ca82a55fea2","bugs":{"url":"https://github.com/ibearye/multipart-uploader/issues"},"_id":"multipart-uploader@1.2.5","_nodeVersion":"16.3.0","_npmVersion":"7.15.1","_npmUser":{"name":"bearye","email":"ibearye@163.com"},"directories":{},"maintainers":[{"name":"bearye","email":"ibearye@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multipart-uploader_1.2.5_1631953023433_0.21589124773024482"},"_hasShrinkwrap":false},"1.2.6":{"name":"multipart-uploader","version":"1.2.6","description":"A customizable, useful and wonderful multi-part file uploader, support \"resume from break-point\".","main":"dist/multipart-uploader.js","module":"dist/multipart-uploader.js","homepage":"https://github.com/ibearye/multipart-uploader","repository":{"type":"git","url":"git+https://github.com/ibearye/multipart-uploader.git"},"dist":{"integrity":"sha512-RB/thZidpRevBeIS+7a68Ry3sJy+WsKZ+zgJd+eIVRZX4etJrK/1RLdTrw7YGZyN4731N6G5PODP84wcEGFjUQ==","shasum":"9cad3f8764fc4a7c27e9f5fa3425500dc9bacbd3","tarball":"https://registry.npmjs.org/multipart-uploader/-/multipart-uploader-1.2.6.tgz","fileCount":11,"unpackedSize":193306,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOiA3/dFLtMQBNWzDnDlbT+jj3ljHas5khLLMyWv0UjwIgID+leGTucTUsm/E+nqjTT/AcqVE5ohoB3NPl2VenxGU="}]},"types":"./dist/src/index.d.ts","scripts":{"build":"export NODE_ENV=production && webpack","dev":"export NODE_ENV=development && webpack serve"},"keywords":["webworker","file","multipart upload","assume from break-point"],"author":{"name":"Bearye","email":"ibearye@163.com","url":"https://bearye.cn"},"license":"MIT","devDependencies":{"@babel/preset-env":"^7.15.6","babel":"^6.23.0","babel-loader":"^8.2.2","clean-terminal-webpack-plugin":"^3.0.0","eslint":"^7.32.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.24.2","eslint-webpack-plugin":"^3.0.1","html-webpack-plugin":"^5.3.2","terser-webpack-plugin":"^5.2.4","ts-loader":"^9.2.5","typescript":"^4.4.3","webpack":"^5.52.1","webpack-cli":"^4.8.0","webpack-dev-server":"^4.2.0","worker-loader":"^3.0.8"},"dependencies":{"axios":"^0.21.4","core-js":"^3.17.3","spark-md5":"^3.0.2"},"gitHead":"ca29ced8b9424444e1d1e95c30dacaa722be8401","bugs":{"url":"https://github.com/ibearye/multipart-uploader/issues"},"_id":"multipart-uploader@1.2.6","_nodeVersion":"16.3.0","_npmVersion":"7.24.1","_npmUser":{"name":"bearye","email":"ibearye@163.com"},"directories":{},"maintainers":[{"name":"bearye","email":"ibearye@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multipart-uploader_1.2.6_1635732329452_0.054998975643459236"},"_hasShrinkwrap":false},"1.2.7":{"name":"multipart-uploader","version":"1.2.7","description":"A customizable, useful and wonderful multi-part file uploader, support \"resume from break-point\".","main":"dist/multipart-uploader.js","module":"dist/multipart-uploader.js","homepage":"https://github.com/ibearye/multipart-uploader","repository":{"type":"git","url":"git+https://github.com/ibearye/multipart-uploader.git"},"dist":{"integrity":"sha512-lvLyaiW6Svd/zvC6XtVH5msSiPI4PBLYPBixyl3T9uGu7SPaOGg6wPJ10/UWv2tEIRIaVDW8JFrd5YNJkwcKbQ==","shasum":"f831016376c3d69aa5d03e1b955550ff0477237a","tarball":"https://registry.npmjs.org/multipart-uploader/-/multipart-uploader-1.2.7.tgz","fileCount":11,"unpackedSize":193471,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFge9pGaBJCs3UIUviUhXKykbNBWV8CQmd5Gg2rJkuaeAiBV/BpeNx0AqtFnag7IaEla2HCZKikj0nviYQMlrqqKMQ=="}]},"types":"./dist/src/index.d.ts","scripts":{"build":"export NODE_ENV=production && webpack","dev":"export NODE_ENV=development && webpack serve"},"keywords":["webworker","file","multipart upload","assume from break-point"],"author":{"name":"Bearye","email":"ibearye@163.com","url":"https://bearye.cn"},"license":"MIT","devDependencies":{"@babel/preset-env":"^7.15.6","babel":"^6.23.0","babel-loader":"^8.2.2","clean-terminal-webpack-plugin":"^3.0.0","eslint":"^7.32.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.24.2","eslint-webpack-plugin":"^3.0.1","html-webpack-plugin":"^5.3.2","terser-webpack-plugin":"^5.2.4","ts-loader":"^9.2.5","typescript":"^4.4.3","webpack":"^5.52.1","webpack-cli":"^4.8.0","webpack-dev-server":"^4.2.0","worker-loader":"^3.0.8"},"dependencies":{"axios":"^0.21.4","core-js":"^3.17.3","spark-md5":"^3.0.2"},"gitHead":"8244ca725492eb30d97722d777d1ff475931d743","bugs":{"url":"https://github.com/ibearye/multipart-uploader/issues"},"_id":"multipart-uploader@1.2.7","_nodeVersion":"16.3.0","_npmVersion":"7.24.1","_npmUser":{"name":"bearye","email":"ibearye@163.com"},"directories":{},"maintainers":[{"name":"bearye","email":"ibearye@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multipart-uploader_1.2.7_1635733201884_0.519062878519907"},"_hasShrinkwrap":false},"1.2.8":{"name":"multipart-uploader","version":"1.2.8","description":"A customizable, useful and wonderful multi-part file uploader, support \"resume from break-point\".","main":"./dist/index.js","module":"./dist/index.js","homepage":"https://github.com/ibearye/multipart-uploader","repository":{"type":"git","url":"git+https://github.com/ibearye/multipart-uploader.git"},"dist":{"integrity":"sha512-yfa4OvNYtF8SYh3pz7EMj5aaG2PsySS5HDMLHe7MqEBC0lS3h0g03xskiutSWL3FKUvLsyY20P76UhOhnv6Fgw==","shasum":"f0b1f50b6052e57291ae336b7271971ede3c3e89","tarball":"https://registry.npmjs.org/multipart-uploader/-/multipart-uploader-1.2.8.tgz","fileCount":11,"unpackedSize":193449,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIETgWcCHCFmmMNp7qJPLoXQ/4q8UJUxeSeMZLIOdOg4/AiEAqqlGNwhVkhjMAqWguyr7UegpMI/ys1xkM0OjkIQClPA="}]},"types":"./dist/src/index.d.ts","scripts":{"build":"export NODE_ENV=production && webpack","dev":"export NODE_ENV=development && webpack serve"},"keywords":["webworker","file","multipart upload","assume from break-point"],"author":{"name":"Bearye","email":"ibearye@163.com","url":"https://bearye.cn"},"license":"MIT","devDependencies":{"@babel/preset-env":"^7.15.6","babel":"^6.23.0","babel-loader":"^8.2.2","clean-terminal-webpack-plugin":"^3.0.0","eslint":"^7.32.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.24.2","eslint-webpack-plugin":"^3.0.1","html-webpack-plugin":"^5.3.2","terser-webpack-plugin":"^5.2.4","ts-loader":"^9.2.5","typescript":"^4.4.3","webpack":"^5.52.1","webpack-cli":"^4.8.0","webpack-dev-server":"^4.2.0","worker-loader":"^3.0.8"},"dependencies":{"axios":"^0.21.4","core-js":"^3.17.3","spark-md5":"^3.0.2"},"gitHead":"244b9cb98fe9a3b143aab4cabf20c46c7ece76ff","bugs":{"url":"https://github.com/ibearye/multipart-uploader/issues"},"_id":"multipart-uploader@1.2.8","_nodeVersion":"16.3.0","_npmVersion":"7.24.1","_npmUser":{"name":"bearye","email":"ibearye@163.com"},"directories":{},"maintainers":[{"name":"bearye","email":"ibearye@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multipart-uploader_1.2.8_1635839910061_0.0031816298572258095"},"_hasShrinkwrap":false},"1.3.0":{"name":"multipart-uploader","version":"1.3.0","description":"A customizable, useful and wonderful multi-part file uploader, support \"resume from break-point\".","main":"./dist/index.js","module":"./dist/index.js","homepage":"https://github.com/ibearye/multipart-uploader","repository":{"type":"git","url":"git+https://github.com/ibearye/multipart-uploader.git"},"dist":{"integrity":"sha512-bTVi5B7abGwuO5+KXMAVa+t0LAkE1zwJ/FOXarZ2KPrcYR1Ev1bJ69wrQ0HSkm3e8CJ2oBZq3d5vv/tAYwBB7Q==","shasum":"a5c345551fc203d8b34a31cec6e6822d7a55790e","tarball":"https://registry.npmjs.org/multipart-uploader/-/multipart-uploader-1.3.0.tgz","fileCount":11,"unpackedSize":193722,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDqwhvOUS+HFdqYaUYa1DQg/YJSJlxXJ7iLpFVVhOedoAiBfV9x2ze/KsYCC80DtD/bNVX3CYjjTXZ8Kep+G3IzNuQ=="}]},"types":"./dist/src/index.d.ts","scripts":{"build":"export NODE_ENV=production && webpack","dev":"export NODE_ENV=development && webpack serve"},"keywords":["webworker","file","multipart upload","assume from break-point"],"author":{"name":"Bearye","email":"ibearye@163.com","url":"https://bearye.cn"},"license":"MIT","devDependencies":{"@babel/preset-env":"^7.15.6","babel":"^6.23.0","babel-loader":"^8.2.2","clean-terminal-webpack-plugin":"^3.0.0","eslint":"^7.32.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.24.2","eslint-webpack-plugin":"^3.0.1","html-webpack-plugin":"^5.3.2","terser-webpack-plugin":"^5.2.4","ts-loader":"^9.2.5","typescript":"^4.4.3","webpack":"^5.52.1","webpack-cli":"^4.8.0","webpack-dev-server":"^4.2.0","worker-loader":"^3.0.8"},"dependencies":{"axios":"^0.21.4","core-js":"^3.17.3","spark-md5":"^3.0.2"},"gitHead":"8e8cb8b262c59c6e0aad54e8ceb8d828aa6d9714","bugs":{"url":"https://github.com/ibearye/multipart-uploader/issues"},"_id":"multipart-uploader@1.3.0","_nodeVersion":"16.3.0","_npmVersion":"7.24.1","_npmUser":{"name":"bearye","email":"ibearye@163.com"},"directories":{},"maintainers":[{"name":"bearye","email":"ibearye@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multipart-uploader_1.3.0_1635844832046_0.7684509539046811"},"_hasShrinkwrap":false},"1.3.1":{"name":"multipart-uploader","version":"1.3.1","description":"A customizable, useful and wonderful multi-part file uploader, support \"resume from break-point\".","main":"./dist/index.js","module":"./dist/index.js","homepage":"https://github.com/ibearye/multipart-uploader","repository":{"type":"git","url":"git+https://github.com/ibearye/multipart-uploader.git"},"dist":{"integrity":"sha512-J2vW4OpHviEJJA6Jbt66sb8BMlLwvrYxH8+4z+z16FyjNXp+Xg0h1PSEevIUazLN/zPrlDWD/iE38TwM3oPbAw==","shasum":"a267669a14796606c89d76f26eb17b5a22f1ac88","tarball":"https://registry.npmjs.org/multipart-uploader/-/multipart-uploader-1.3.1.tgz","fileCount":11,"unpackedSize":193690,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtIMYyhgDh3WPUbCxYi/56fiiq1w070fQoWctUWaJ3JAIgF0rsWdqp/QrYHIat/o9xZUED3Zu3aUN90AORuo6sloU="}]},"types":"./dist/src/index.d.ts","scripts":{"build":"export NODE_ENV=production && webpack","dev":"export NODE_ENV=development && webpack serve"},"keywords":["webworker","file","multipart upload","assume from break-point"],"author":{"name":"Bearye","email":"ibearye@163.com","url":"https://bearye.cn"},"license":"MIT","devDependencies":{"@babel/preset-env":"^7.15.6","babel":"^6.23.0","babel-loader":"^8.2.2","clean-terminal-webpack-plugin":"^3.0.0","eslint":"^7.32.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.24.2","eslint-webpack-plugin":"^3.0.1","html-webpack-plugin":"^5.3.2","terser-webpack-plugin":"^5.2.4","ts-loader":"^9.2.5","typescript":"^4.4.3","webpack":"^5.52.1","webpack-cli":"^4.8.0","webpack-dev-server":"^4.2.0","worker-loader":"^3.0.8"},"dependencies":{"axios":"^0.21.4","core-js":"^3.17.3","spark-md5":"^3.0.2"},"gitHead":"3574dae16defc1deec4a8e440503bd15eda799f5","bugs":{"url":"https://github.com/ibearye/multipart-uploader/issues"},"_id":"multipart-uploader@1.3.1","_nodeVersion":"16.3.0","_npmVersion":"7.24.1","_npmUser":{"name":"bearye","email":"ibearye@163.com"},"directories":{},"maintainers":[{"name":"bearye","email":"ibearye@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multipart-uploader_1.3.1_1635902074819_0.9674256187458659"},"_hasShrinkwrap":false},"1.4.0":{"name":"multipart-uploader","version":"1.4.0","description":"A customizable, useful and wonderful multi-part file uploader, support \"resume from break-point\".","main":"./dist/index.js","module":"./dist/index.js","homepage":"https://github.com/ibearye/multipart-uploader","repository":{"type":"git","url":"git+https://github.com/ibearye/multipart-uploader.git"},"dist":{"integrity":"sha512-qODi1TAvzfGXcvcVzJ0S6/LdNSoqxUBfJnXvzra7xGzghrOk4S2Jk6hQGtHx4p36rrS7QbpnLyxfA9+WBUxK7Q==","shasum":"5bf1519aa470a8fbeea53bb21bdbc9a2f0522133","tarball":"https://registry.npmjs.org/multipart-uploader/-/multipart-uploader-1.4.0.tgz","fileCount":11,"unpackedSize":193825,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCy8zugKReJhlVEsF0/TYDEaUa2H2k3m/8RRwF6qqXxVAIhAM+929d13Sk6JpIFkELevudmhpLCj0v64Fow3yAxDX1E"}]},"types":"./dist/src/index.d.ts","scripts":{"build":"export NODE_ENV=production && webpack","dev":"export NODE_ENV=development && webpack serve"},"keywords":["webworker","file","multipart upload","assume from break-point"],"author":{"name":"Bearye","email":"ibearye@163.com","url":"https://bearye.cn"},"license":"MIT","devDependencies":{"@babel/preset-env":"^7.15.6","babel":"^6.23.0","babel-loader":"^8.2.2","clean-terminal-webpack-plugin":"^3.0.0","eslint":"^7.32.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.24.2","eslint-webpack-plugin":"^3.0.1","html-webpack-plugin":"^5.3.2","terser-webpack-plugin":"^5.2.4","ts-loader":"^9.2.5","typescript":"^4.4.3","webpack":"^5.52.1","webpack-cli":"^4.8.0","webpack-dev-server":"^4.2.0","worker-loader":"^3.0.8"},"dependencies":{"axios":"^0.21.4","core-js":"^3.17.3","spark-md5":"^3.0.2"},"gitHead":"7df350d05f761876f3942ac26ff54aeee00ac31b","bugs":{"url":"https://github.com/ibearye/multipart-uploader/issues"},"_id":"multipart-uploader@1.4.0","_nodeVersion":"16.3.0","_npmVersion":"7.24.1","_npmUser":{"name":"bearye","email":"ibearye@163.com"},"directories":{},"maintainers":[{"name":"bearye","email":"ibearye@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multipart-uploader_1.4.0_1635909642438_0.5955179710356509"},"_hasShrinkwrap":false},"1.4.1":{"name":"multipart-uploader","version":"1.4.1","description":"A customizable, useful and wonderful multi-part file uploader, support \"resume from break-point\".","main":"./dist/index.js","module":"./dist/index.js","homepage":"https://github.com/ibearye/multipart-uploader","repository":{"type":"git","url":"git+https://github.com/ibearye/multipart-uploader.git"},"dist":{"integrity":"sha512-uSdjWCGNHOSlQ12LgC9edC8CNoJ7JFAmofNvuH+Gd7Z4fwedvVPZgmaOP91qPF+xQIL2+IrTwkEKQPzsp1vQsw==","shasum":"20d5cb8fc21a84215a9cf21c10211b3979203c5a","tarball":"https://registry.npmjs.org/multipart-uploader/-/multipart-uploader-1.4.1.tgz","fileCount":11,"unpackedSize":193823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2z2nCRA9TVsSAnZWagAAgBoP/02nUi0jGvLXdIiIcUZX\nVjk1nie1smwwOWiy1k8fko42uITFA/H8X7cIeCFHqNWePC+BfvTF6szdMc7m\nlhTxoPMvw8PyUXTJWQX8m3BrZ9b9sHSJhpoPGwdDxr3tj4kiqL56EW5E50Yq\njWuPu0Jh4ERVOOKsXQZohwf55ABB8ITFrljjn4cJLmbuHMx2B2n0SdrRwVPZ\ndutyF3irUvb4ncTjkrbWQOk4VJhLRcH5435/Kaq2JTWHCiVrneWIn4tTunim\ngnZCd4kNQn7u/NoNPkGbQU3CaMOvTtyR0dXqBLFlFcHoa4aNA7wfnjOla2M3\nbSzMu+/DR11NxuXZZcOWmgN8x0AhuHU2PIexsoiO4yKCcQvNWGHAW7AN7vvR\nWNnPlAXpDTp2z/dGzGwyeGhcQSYPaW6f8RsKMxf+qkMvvP4Q7Lf5kFRN1/9x\nnV8mJZOf0qMU/62SM0Pn/QQM/F1gdUI2+jckXDHU5nlBzt9ipSnXt4yaQpsL\nsjGif41GDeh6hGFSiEQcq+l6ZjNUVHW3rWlIMYbQ0UwHKrmPoT0eftDNKixx\nqoLQewhQmeoelVnYB2Dt4J4dmugZ9Pz1tRS1IyYYGWrTueAe6chLrG7ey3Ju\nNCEFAPgD6577LfKvlSgSoFiP2knBL0GLxJGsu2hXQ+hc1QMUbwBqA0B4fkDS\nxU61\r\n=msDo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA3bXvJFjL9lf9/2R4fgQbJk4dfxEG0VoW+QWbpfd+9qAiEApP7EOI3dzDvueVyzp9l1bCd15fHbSOJAJcv97w1rOl8="}]},"types":"./dist/src/index.d.ts","scripts":{"build":"export NODE_ENV=production && webpack","dev":"export NODE_ENV=development && webpack serve"},"keywords":["webworker","file","multipart upload","assume from break-point"],"author":{"name":"Bearye","email":"ibearye@163.com","url":"https://bearye.cn"},"license":"MIT","devDependencies":{"@babel/preset-env":"^7.15.6","babel":"^6.23.0","babel-loader":"^8.2.2","clean-terminal-webpack-plugin":"^3.0.0","eslint":"^7.32.0","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-import":"^2.24.2","eslint-webpack-plugin":"^3.0.1","html-webpack-plugin":"^5.3.2","terser-webpack-plugin":"^5.2.4","ts-loader":"^9.2.5","typescript":"^4.4.3","webpack":"^5.52.1","webpack-cli":"^4.8.0","webpack-dev-server":"^4.2.0","worker-loader":"^3.0.8"},"dependencies":{"axios":"^0.21.4","core-js":"^3.17.3","spark-md5":"^3.0.2"},"gitHead":"35c0fb6aa9d978e131a6a55dcf94f18a6ed9aa1f","bugs":{"url":"https://github.com/ibearye/multipart-uploader/issues"},"_id":"multipart-uploader@1.4.1","_nodeVersion":"16.3.0","_npmVersion":"7.24.1","_npmUser":{"name":"bearye","email":"ibearye@163.com"},"directories":{},"maintainers":[{"name":"bearye","email":"ibearye@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multipart-uploader_1.4.1_1635917023329_0.19993728272569888"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-17T05:15:45.477Z","1.0.0":"2021-09-17T05:15:45.753Z","modified":"2022-05-10T00:50:37.200Z","1.0.1":"2021-09-17T06:05:09.849Z","1.1.0":"2021-09-17T08:15:08.884Z","1.1.1":"2021-09-17T09:01:42.571Z","1.1.2":"2021-09-18T00:43:31.701Z","1.2.0":"2021-09-18T06:28:35.233Z","1.2.1":"2021-09-18T06:33:31.347Z","1.2.2":"2021-09-18T06:48:58.571Z","1.2.3":"2021-09-18T07:01:36.777Z","1.2.4":"2021-09-18T07:09:00.106Z","1.2.5":"2021-09-18T08:17:03.688Z","1.2.6":"2021-11-01T02:05:29.617Z","1.2.7":"2021-11-01T02:20:02.081Z","1.2.8":"2021-11-02T07:58:30.287Z","1.3.0":"2021-11-02T09:20:32.256Z","1.3.1":"2021-11-03T01:14:34.971Z","1.4.0":"2021-11-03T03:20:42.608Z","1.4.1":"2021-11-03T05:23:43.503Z"},"maintainers":[{"name":"bearye","email":"ibearye@163.com"}],"description":"A customizable, useful and wonderful multi-part file uploader, support \"resume from break-point\".","keywords":["webworker","file","multipart upload","assume from break-point"],"author":{"name":"Bearye","email":"ibearye@163.com","url":"https://bearye.cn"},"license":"MIT","readme":"# MultipartUploader\n\n![](https://img.shields.io/npm/dy/multipart-uploader) ![](https://img.shields.io/npm/l/multipart-uploader?style=flat) ![](https://img.shields.io/npm/v/multipart-uploader)\n\nA customizable, useful and wonderful multi-part file uploader, support \"resume from break-point\".\n\n## Install\n\nusing npm:\n\n```shell\nnpm i multipart-uploader\n```\n\nusing CDN:\n\ncoming soon...\n\n## Quick Start\n\nimport multipart-uploader\n\n```javascript\nimport MultipartUploader from 'multipart-uploader';\n```\n\ncomfigure uploader\n\n```javascript\nMultipartUploader.defaults.checkApi = 'your check api';\nMultipartUploader.defaults.uploadApi = 'your upload api';\nMultipartUploader.defaults.mergeApi = 'your merge api';\n```\n\nupload the file\n\n```javascript\nconst uploader = new MultipartUploader({ file });\n//☝️ the file is the instance of File, it usually comes from:\n// const file = document.getElementById('file').files[0]\n\n// call the method `assume` to upload file after `finish compute md5`\nuploader.on('finish-compute-md5', () => {\n  uploader.assume();\n});\n```\n\n## API Reference\n\n### new MultipartUploader(options)\n\n#### options\n\n| Option              | Type       | Requred | Default            | Desciption                                                                        |\n| ------------------- | ---------- | ------- | ------------------ | --------------------------------------------------------------------------------- |\n| file                | `File`     | ✅      |                    | the file to be uploaded.                                                          |\n| chunkSize           | `number`   |         | `1024 * 1024 * 25` | each chunk size that divided.                                                     |\n| checkApi            | `string`   |         |                    | check api.                                                                        |\n| uploadApi           | `string`   |         |                    | upload api.                                                                       |\n| mergeApi            | `string`   |         |                    | merge api.                                                                        |\n| checkEachChunk      | `boolean`  |         | `false`            | whether make a check request for each chunk or not.                               |\n| concurrentLimit     | number     |         | `8`                | how many chunks are being uploaded at a time.                                     |\n| customCheckRequest  | `Function` |         | \\*                 | custom the check request, the option detail is in below.                          |\n| customUploadRequest | `Function` |         | \\*                 | custom the upload request, the option detail is in below.                         |\n| customMergeRequest  | `Function` |         | \\*                 | custom the merge request, the option detail is in below.                          |\n| shouldUpload        | `Function` |         | \\*                 | decide current chunk whether should upload or not, the option detail is in below. |\n| shouldMerge         | `Function` |         | \\*                 | decide whether should make a merge request or not, the option detail is in below. |\n| request | AxiosInstance | | axios.create() | MultipartUploader will take requests use this http-tool. |\n\n> All options exclude `file` can be configured in `MultipartUploader.defaults`❗️❗️❗️\n\n#### customCheckRequest\n\nThis option is a function, one param will be provided, and the param is an Object contains these properties:\n\n1. `file: File` - the uploaded file;\n2. `md5: string` - the md5 of file;\n3. `chunks: number` - the count of file chunks;\n4. `chunk?: Blob` - the chunk of curent upload task, this options will be provided while the `checkEachChunk` option is `true`;\n5. `chunkNumber?: number` - the number of current chunk in `chunkList`. it also will be provided while the `checkEachChunk` option is `true`.\n\nAnd funcion should return an Object contains these optional properties:\n\n1. `method?: string` - request method, default is `GET` while missing;\n2. `headers?: Object` - request headers, default is `{}` while missing;\n3. `params?: Object` - request params, is key-value Object, default is `{}` while missing;\n4. `data?: any` - request data, default is `null` while missing.\n\nfor a further understandding, here is the builtin `customCheckRequest` function:\n\n```javascript\nfunction(params) {\n  const p = params;\n  p.filename = p.file.name;\n  Reflect.deleteProperty(p, 'file');\n  return {\n    params: p,\n  };\n}\n```\n\nAfter understandding this option, you can configure `customUploadReqeust` and `customMergeRequest` options. they both has one param and should return an Object like the above.\n\n> All custom function will be called by uploader instance, do not pass arrow function❗️❗️❗️\n\n#### customUploadRequest\n\nIt is very similar to customCheckRequest. the only difference is the param `chunk` and `chunkNumber` always exist.\n\nHere is the builtin `customUploadRequest` function:\n\n```javascript\nfunction(params) {\n  const { chunk, chunkNumber, md5, file } = params;\n  const data = new FormData();\n  data.append('chunk', chunk);\n  data.append('chunkNumber', String(chunkNumber));\n  data.append('filename', file.name);\n  data.append('md5', md5);\n  return {\n    data,\n  };\n}\n```\n\n#### customMergeRequest\n\nthe Obvious truth is that there is no things need to describe. but you should know that, the function param `chunk` and `chunkNumber` always do not exist.\n\nHere is the builtin `customMergeRequest` function:\n\n```javascript\nfunction(params) {\n  const { md5, file, chunks } = params;\n  return { data: { md5, filename: file.name, chunks } };\n}\n```\n\n#### shouldUpload\n\nThis function takes an important role in \"resume from break-point\", each chunk will call this function before uploading to dicide to upload or not. Two params will be provided.\n\nThe first param is the returns of checking request, it depend on you server response.\n\nthe second param is an Object contains `file`, `md5`, `chunks`, `chunk`, `chunkNumber` properties.\n\nYou should return an boolean value, true makes chunk to upload, false makes not.\n\nThis is the builtin `shouldUpload` function below, obviously, it do not support \"resume from break-point\", it pass every chunks to be uploaded:\n\n```javascript\nfunction() {\n  return true;\n}\n```\n\n#### shouldMerge\n\nThe returns of this function will decide to whether make merge request or not fater finishing uploading all chunks. This function has one Object param contains `file`, `md5`, `chunks` properties.\n\nHere is the builtin `shouldMerge` function:\n\n```javascript\nfunction() {\n  return true;\n}\n```\n\n### Property\n\n#### static `defaults`: Object\n\nThe default configurations. You can configure it and every instances of MultipartUploader will use these option.\n\n1. `defaults.chunkSize: number`;\n2. `defaults.checkApi: string`;\n3. `defaults.checkEachChunk: boolean`;\n4. `defaults.concurrentLimit: number`;\n5. `defaults.uploadApi: string`;\n6. `defaults.mergeApi: string`;\n7. `defaults.customCheckRequest: Function`;\n8. `defaults.customUploadRequest: Function`;\n9. `defaults.customMergeRequest: Function`.\n10. `defaults.shouldUpload: Function`.\n11. `defaults.shouldMerge: Function`.\n\n#### readonly `file`: File\n\nequal to `options.file` passed.\n\n#### readonly `chunkList`: Blob[]\n\nAfter `new`, the file will be divided to a several amounts of single chunk, `chunkList` is a Blob Array contain these chunks.\n\n#### readonly `chunks`: number\n\nthe chunks count of the file, equal to `chunkList.length`\n\n#### readonly `uploaded`: number[]\n\nchunk will be upload separately, `uploaded` is a Array cotains the each chunk's progress.\n\n#### `active`: boolean\n\nupload status. calling `assume` method successfully turn `active` to `true`, `pause` turn to `false`.\n\n#### get `md5`: string\n\nthe file's md5, it is `undefined` before `finish-compute-md5`.\n\n#### get `progress`: {uploaded: number, percent: number}\n\nthe uploading progress.\n\n1. `uploaded` - the total size uploaded;\n2. `percent` - the percent of the whole file, 0-1.\n\n### Method\n\n#### assume(): Promise<boolean>\n\nStart or continue to upload, it should be call after the event `finish-compute-md5` was fired.\n\n#### pause(): Promise<boolean>\n\nPause the upload mission.\n\n#### merge(): Promise<any>\n\nmerge chunks to a file. This function will be call when all chunks have been uploaded and the `shouldMerge` function returns `true`;\n\nYou can configure the `shouldMerge` function to return false, then do something else, and call `merge` function yourself.\n\n#### on(event: string, callback: Function): void\n\nAdd a listener to uploader, the function will be called while firing events related.\n\n#### off(event, callback: Function): void\n\nRemove a listener from uploader.\n\n#### offAll(event): void\n\nRemove all listeners of one event from uploader.\n\n### Events\n\n| Event                | Callback                                       |\n| -------------------- | ---------------------------------------------- |\n| `before-compute-md5` | `() => any`                                    |\n| `finish-compute-md5` | `(md5: string) => any`                         |\n| `before-upload`      | `() => any`                                    |\n| `uploading`          | `() => any`                                    |\n| `finish-upload`      | `() => any`                                    |\n| `progress`           | `({uploaded: number, percent: number}) => any` |\n| `before-merge`       | `() => any`                                    |\n| `finish-merge`       | `(mergeRes: any) => any`                       |\n| `paused`             | `() => any`                                    |\n\n## Example\n\nlook `./examle` folder. The web-side demo is base on VUE.\n\n> Do not use the example code for you upload service❗️❗️❗️\n>\n> The example is only for dev-test, there are a lot of problems in demo-code.❗️❗️❗️\n","readmeFilename":"README.md","homepage":"https://github.com/ibearye/multipart-uploader","repository":{"type":"git","url":"git+https://github.com/ibearye/multipart-uploader.git"},"bugs":{"url":"https://github.com/ibearye/multipart-uploader/issues"}}