diff --git a/package.json b/package.json index 9101f72..4f2df42 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "dependencies": { "@joepie91/unreachable": "^1.0.0", "@promistream/decode-string": "^0.1.0", - "@promistream/from-node-stream": "^0.1.0", + "@promistream/from-node-stream": "^0.1.3", + "@promistream/parse-sitemap": "^0.1.0", "@promistream/pipe": "^0.1.4", "@promistream/simple-sink": "^0.1.1", "bhttp": "^1.2.8", diff --git a/yarn.lock b/yarn.lock index 0fc2de1..edad139 100644 --- a/yarn.lock +++ b/yarn.lock @@ -91,10 +91,10 @@ default-value "^1.0.0" error-chain "^0.1.0" -"@promistream/from-node-stream@^0.1.0": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@promistream/from-node-stream/-/from-node-stream-0.1.1.tgz#053ffbe41394cf7c986ccd73a5ab4f3fc700372e" - integrity sha512-Sd0AtyaTTJwc/GYurNwHJ3RrS/30hdz0VLK3inZPqPs6vfnInnzwxIjExros7jzknIa6OjnoHSuuIMf21mns9g== +"@promistream/from-node-stream@^0.1.3": + version "0.1.3" + resolved "https://registry.yarnpkg.com/@promistream/from-node-stream/-/from-node-stream-0.1.3.tgz#a439a74670a53de3d7ab968d9c93bc9d1d0c589c" + integrity sha512-ue1uxZ0UMF3tGMGwV61WOy1Cl9eGQPqwlo54uIUtGRgl3fsSgkWsgV1VxN9jPMtRejTAm3BxDbvHcOdybZwO3Q== dependencies: "@joepie91/unreachable" "^1.0.0" "@promistream/buffer" "^0.1.0" @@ -103,7 +103,7 @@ "@promistream/pipe" "^0.1.1" "@promistream/propagate-abort" "^0.1.3" "@promistream/propagate-peek" "^0.1.0" - "@promistream/simple-sink" "^0.1.0" + "@promistream/simple-sink" "^0.2.0" "@promistream/simple-source" "^0.1.1" bluebird "^3.7.2" debug "^4.3.1" @@ -136,7 +136,19 @@ debug "^4.3.1" p-pause "^0.1.0" -"@promistream/map@^0.1.1": +"@promistream/map-filter@^0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@promistream/map-filter/-/map-filter-0.1.0.tgz#2bb4988b386a2e520f2d1cc1b6f7d333a24266d0" + integrity sha512-kHO1NvwuxEB4tTZ9b4XR9iBBJftHxT/857KbkWRe0kSt6zvFIVYHSzmKz/cipUx1f2FrmpQC+R6R84MlHD+ugQ== + dependencies: + "@promistream/propagate-abort" "^0.1.6" + "@promistream/propagate-peek" "^0.1.1" + "@validatem/core" "^0.3.15" + "@validatem/is-function" "^0.1.0" + "@validatem/required" "^0.1.1" + bluebird "^3.7.2" + +"@promistream/map@^0.1.0", "@promistream/map@^0.1.1": version "0.1.1" resolved "https://registry.yarnpkg.com/@promistream/map/-/map-0.1.1.tgz#2f771372e5d1dd12f41b6efd57874014d406f123" integrity sha512-ggyNqWlvNXVY9Gf/pLUgbHROK8mEqu46hbpJftmN9etPr724YPhL+vxA7+9b6bBmTLAU1Tw4Th3BWG5EHVBn1g== @@ -148,6 +160,37 @@ "@validatem/required" "^0.1.1" bluebird "^3.5.4" +"@promistream/parse-sitemap@^0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@promistream/parse-sitemap/-/parse-sitemap-0.1.0.tgz#0d8860c4880d41611055a52cc2e73ac856caa2d5" + integrity sha512-UKrnXQg6llOhAJ+Z0YlDf+UoLP8pwWDKOPNcOgYXm2TSvYqmSfOuPrJaXKb6m/RnkaPwHUW0U0quLv7Vl4TKJQ== + dependencies: + "@joepie91/consumable" "^1.0.1" + "@promistream/map-filter" "^0.1.0" + "@promistream/parse-xml" "^0.1.0" + "@promistream/pipe" "^0.1.4" + +"@promistream/parse-xml@^0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@promistream/parse-xml/-/parse-xml-0.1.0.tgz#78b0da6bde76b5843738efdb5a385edc4b6f876b" + integrity sha512-hMEr+8h7wSrbhZnnejH3BVDtI09TjjpgdsF9Ip+ORrtoaZ1rDR68zHeK/HsikNBifM6o9EIsAly237MrIMY/dA== + dependencies: + "@joepie91/consumable" "^1.0.1" + "@promistream/buffer" "^0.1.0" + "@promistream/last-will" "^0.1.0" + "@promistream/map" "^0.1.0" + "@promistream/pipe" "^0.1.1" + "@validatem/allow-extra-properties" "^0.1.0" + "@validatem/array-of" "^0.1.2" + "@validatem/core" "^0.3.13" + "@validatem/default-to" "^0.1.0" + "@validatem/is-string" "^1.0.0" + "@validatem/required" "^0.1.1" + bluebird "^3.7.2" + debug "^4.3.1" + p-event "^4.2.0" + saxes "^5.0.1" + "@promistream/pipe@^0.1.1", "@promistream/pipe@^0.1.4": version "0.1.4" resolved "https://registry.yarnpkg.com/@promistream/pipe/-/pipe-0.1.4.tgz#ef05fe582a33768c7eb56ad20635e1b7b48ac95b" @@ -172,7 +215,7 @@ resolved "https://registry.yarnpkg.com/@promistream/propagate-peek/-/propagate-peek-0.1.1.tgz#c7dd69efcd894c408d7a3e9713b6a9036f70a501" integrity sha512-4xfkSmtPQzlvL4+KCquPHX7sPXiAACGJac/y7fB3Sv6ZKXAT/cjTfms1nEjlDGn1nroN0MzReBza2HnpF59deg== -"@promistream/simple-sink@^0.1.0", "@promistream/simple-sink@^0.1.1": +"@promistream/simple-sink@^0.1.1": version "0.1.1" resolved "https://registry.yarnpkg.com/@promistream/simple-sink/-/simple-sink-0.1.1.tgz#e3808179102ffe4bc10d70d681f19c649e1f3811" integrity sha512-M6dQMUIPjFTRB+xIwBMqIrPghWORoreGoNAl2F/5oshBlX6+X2F+RAeUuz6plDymwq2eoVL5pvSUR4zYdMdRjQ== @@ -188,6 +231,22 @@ "@validatem/wrap-value-as-option" "^0.1.0" bluebird "^3.5.4" +"@promistream/simple-sink@^0.2.0": + version "0.2.2" + resolved "https://registry.yarnpkg.com/@promistream/simple-sink/-/simple-sink-0.2.2.tgz#9ecfef4084d5dc62438f67e437d807a811d9c196" + integrity sha512-wiNuwq1gigmEDaNXduP7XcGQUku6J7ah316lyCdPbi3cxNTNdLKCMlWN3VLuldrmksHwjVt51hVK1HugZjwgMw== + dependencies: + "@promistream/is-aborted" "^0.1.1" + "@promistream/is-end-of-stream" "^0.1.1" + "@promistream/propagate-abort" "^0.1.6" + "@promistream/propagate-peek" "^0.1.1" + "@validatem/core" "^0.3.11" + "@validatem/is-function" "^0.1.0" + "@validatem/required" "^0.1.1" + "@validatem/wrap-value-as-option" "^0.1.0" + bluebird "^3.5.4" + result-buffer "^0.1.0" + "@promistream/simple-source@^0.1.1": version "0.1.3" resolved "https://registry.yarnpkg.com/@promistream/simple-source/-/simple-source-0.1.3.tgz#8139ed088f8249eb9a93287fc04213008325cf06" @@ -322,6 +381,32 @@ supports-color "^7.1.0" syncpipe "^1.0.0" +"@validatem/core@^0.3.13": + version "0.3.16" + resolved "https://registry.yarnpkg.com/@validatem/core/-/core-0.3.16.tgz#0852d49c0f45d8938bb530696f735b3809621d34" + integrity sha512-s5KqnQhQMg6QTa3X6ceVCr6stAsKN8GqdEgkiHpI0fJSO2JFxpwIi9BjeB++zbAQ4xd4SLwcUz+Ujg7xE0WHVA== + dependencies: + "@validatem/annotate-errors" "^0.1.2" + "@validatem/any-property" "^0.1.0" + "@validatem/error" "^1.0.0" + "@validatem/match-validation-error" "^0.1.0" + "@validatem/match-versioned-special" "^0.1.0" + "@validatem/match-virtual-property" "^0.1.0" + "@validatem/normalize-rules" "^0.1.0" + "@validatem/required" "^0.1.0" + "@validatem/validation-result" "^0.1.1" + "@validatem/virtual-property" "^0.1.0" + as-expression "^1.0.0" + assure-array "^1.0.0" + create-error "^0.3.1" + default-value "^1.0.0" + execall "^2.0.0" + flatten "^1.0.3" + indent-string "^4.0.0" + is-arguments "^1.0.4" + supports-color "^7.1.0" + syncpipe "^1.0.0" + "@validatem/default-to@^0.1.0": version "0.1.0" resolved "https://registry.yarnpkg.com/@validatem/default-to/-/default-to-0.1.0.tgz#62766a3ca24d2f61a96c713bcb629a5b3c6427c5" @@ -413,6 +498,14 @@ "@validatem/error" "^1.0.0" is-string "^1.0.5" +"@validatem/is-string@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@validatem/is-string/-/is-string-1.0.0.tgz#cc4a464f3bbc797aa7c7e124d11e5959b67636fd" + integrity sha512-j6fXuTgOrq94RbjSWeOzeKEcZ2ftnrG2ZHU16cGwC+gYn/st8JECXEpxSeZG8PJpn7V+PFaZeCKW9sJhonE1pA== + dependencies: + "@validatem/error" "^1.0.0" + is-string "^1.0.5" + "@validatem/match-special@^0.1.0": version "0.1.0" resolved "https://registry.yarnpkg.com/@validatem/match-special/-/match-special-0.1.0.tgz#4e0c28f1aee5bf53c1ef30bbf8c755d4946ae0ff" @@ -1810,6 +1903,11 @@ responselike@^2.0.0: dependencies: lowercase-keys "^2.0.0" +result-buffer@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/result-buffer/-/result-buffer-0.1.0.tgz#8b7ad5bc6c3e1352415e724194198edff90d6f36" + integrity sha512-asH3ChOeuCXK4LXhvtAINa6qj5TWuQ353wslgUwqrx6Zb0+WhI5coJ6sESF/IOuaAoHdf9st2Mlv7XmREUHaNw== + ret@~0.1.10: version "0.1.15" resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" @@ -1839,6 +1937,13 @@ safe-buffer@~5.1.0, safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== +saxes@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/saxes/-/saxes-5.0.1.tgz#eebab953fa3b7608dbe94e5dadb15c888fa6696d" + integrity sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw== + dependencies: + xmlchars "^2.2.0" + semver-compare@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/semver-compare/-/semver-compare-1.0.0.tgz#0dee216a1c941ab37e9efb1788f6afc5ff5537fc" @@ -2072,6 +2177,11 @@ wrappy@1: resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= +xmlchars@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" + integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== + xtend@~3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/xtend/-/xtend-3.0.0.tgz#5cce7407baf642cba7becda568111c493f59665a"