diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index a59e44b..4c168cb 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -8,7 +8,7 @@ on: - master jobs: - upload-assets: + test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index c154eb9..7ff3db5 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ bisection-key ### Usage ```edn -[cirru/bisection-key "0.1.5"] +[cirru/bisection-key "0.1.6-a1"] ``` [![Clojars Project](https://img.shields.io/clojars/v/cirru/bisection-key.svg)](https://clojars.org/cirru/bisection-key) @@ -32,6 +32,9 @@ bisection-key.core/max-id ; "z" (bisection-key.util/assoc-before v "b" 2) ; (assoc v "aT" 2) (bisection-key.util/assoc-prepend v 2) ; (assoc v "G" 2) (bisection-key.util/assoc-append v 2) ; (assoc v "n" 2) + +(bisection-key.util/get-min-key v) ; "a" +(bisection-key.util/get-max-key v) ; "b" ``` Charset: diff --git a/calcit.cirru b/calcit.cirru index b5e39a8..64d638e 100644 --- a/calcit.cirru +++ b/calcit.cirru @@ -1,5 +1,8 @@ {} + :users $ {} + |root $ {} (:id |root) (:name |root) (:nickname |root) (:password |d41d8cd98f00b204e9800998ecf8427e) (:avatar nil) (:theme :star-trail) + |Q7nwO-CJS $ {} (:name |chen) (:id |Q7nwO-CJS) (:nickname |chen) (:avatar nil) (:password |d41d8cd98f00b204e9800998ecf8427e) (:theme :star-trail) :ir $ {} (:package |bisection-key) :root $ {} (:ns |main) (:def |main!) :files $ {} @@ -725,8 +728,10 @@ |x $ {} (:type :leaf) (:by |root) (:at 1514652854417) (:text |assoc-after) (:id |HyQ3nEBH7M) |v $ {} (:type :leaf) (:by |root) (:at 1514652851815) (:text |assoc-before) (:id |rJK2VHrXz) |yj $ {} (:type :leaf) (:by |root) (:at 1514691488265) (:text |assoc-prepend) (:id |BygNiiCSQf) + |yx $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475787386) (:text |get-max-key) (:id |X0rxpPMS4) |r $ {} (:type :leaf) (:by |root) (:at 1514652493004) (:text |key-after) (:id |S1G8QHr7z) |y $ {} (:type :leaf) (:by |root) (:at 1514691258177) (:text |key-prepend) (:id |Syl1acArQM) + |yv $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475784819) (:text |get-min-key) (:id |WGeKbJssa) :defs $ {} |test-frequent-prepend $ {} (:type :expr) (:by |root) (:at 1514650058549) (:id |SyeXCY4SXM) :data $ {} @@ -844,6 +849,114 @@ :data $ {} |T $ {} (:type :leaf) (:by |root) (:at 1514691523691) (:text ||m) (:id |r1eNniRrmf) |j $ {} (:type :leaf) (:by |root) (:at 1514691504630) (:text |2) (:id |SyM_3i0r7G) + |test-get-key $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475752193) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475763424) (:text |deftest) (:id |ac7ME_cP2b) + |j $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475752193) (:text |test-get-key) (:id |IHnJcAz1pf) + |r $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475752193) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475766988) (:text |testing) (:id |hU8AdPOsd3) + |j $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475821281) (:text "|\"get min key") (:id |80mXuwB0x-) + |r $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475771142) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475772300) (:text |is) (:id |bnJZOKpbyo) + |j $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475773445) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475773260) (:text |=) (:id |OacItKCy3l) + |j $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475775258) (:text "|\"a") (:id |3E-zk-v8t) + |r $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475778411) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475797275) (:text |get-min-key) (:id |bxUeD5fb6) + |j $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475798062) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475798451) (:text |{}) (:id |dnpf1QKayt) + |j $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475798766) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475800408) (:text "|\"a") (:id |mec59oWqb9) + |j $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475800852) (:text |1) (:id |GjN4AZRdDB) + :id |2_fgIGDJiw + |r $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475801505) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475804666) (:text "|\"b") (:id |mmoyoo4KB5leaf) + |j $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475805791) (:text |2) (:id |NsHTGD6fN) + :id |mmoyoo4KB5 + :id |maFuFTfnB + :id |v6XbojZ7T + :id |n7fDkiHlRW + :id |gRd12G8yH + :id |T_mQfumzYD + |v $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475752193) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475766988) (:text |testing) (:id |hU8AdPOsd3) + |j $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475770285) (:text "|\"get max key") (:id |80mXuwB0x-) + |r $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475771142) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475772300) (:text |is) (:id |bnJZOKpbyo) + |j $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475773445) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475773260) (:text |=) (:id |OacItKCy3l) + |j $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475826789) (:text "|\"b") (:id |3E-zk-v8t) + |r $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475778411) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475833413) (:text |get-max-key) (:id |bxUeD5fb6) + |j $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475798062) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475798451) (:text |{}) (:id |dnpf1QKayt) + |j $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475798766) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475800408) (:text "|\"a") (:id |mec59oWqb9) + |j $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475800852) (:text |1) (:id |GjN4AZRdDB) + :id |2_fgIGDJiw + |r $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475801505) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475804666) (:text "|\"b") (:id |mmoyoo4KB5leaf) + |j $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475805791) (:text |2) (:id |NsHTGD6fN) + :id |mmoyoo4KB5 + :id |maFuFTfnB + :id |v6XbojZ7T + :id |n7fDkiHlRW + :id |gRd12G8yH + :id |p5aBTUIuhE + |x $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475836232) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475837536) (:text |testing) (:id |a7aWO16jileaf) + |j $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475845590) (:text "|\"get nil") (:id |a4B-yo825c) + |r $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475846043) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475846371) (:text |is) (:id |NFgdxHe1RD) + |j $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475846813) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475846717) (:text |=) (:id |r46ZzEtL_n) + |j $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475849164) (:text |nil) (:id |mCwkD-8iD) + |r $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475851333) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475853384) (:text |get-min-key) (:id |glhF_utX0) + |j $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475854868) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475855223) (:text |{}) (:id |GT6wqmJYm7) + :id |HUdtaIiqoJ + :id |wxCKUZKSS + :id |ZWMj2E_rPl + :id |TqnDyM0vZ6 + |v $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475846043) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475846371) (:text |is) (:id |NFgdxHe1RD) + |j $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475846813) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475846717) (:text |=) (:id |r46ZzEtL_n) + |j $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475849164) (:text |nil) (:id |mCwkD-8iD) + |r $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475851333) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475858785) (:text |get-max-key) (:id |glhF_utX0) + |j $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475854868) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475855223) (:text |{}) (:id |GT6wqmJYm7) + :id |HUdtaIiqoJ + :id |wxCKUZKSS + :id |ZWMj2E_rPl + :id |5DNzEKN9pF + :id |a7aWO16ji + :id |Dte4rLqFtX |test-shorten $ {} (:type :expr) (:by |root) (:at 1518602679684) (:id |rJlgTtKbwG) :data $ {} |T $ {} (:type :leaf) (:by |root) (:at 1518602743294) (:text |deftest) (:id |H1WgTtFWwf) @@ -1286,34 +1399,6 @@ |v $ {} (:type :leaf) (:by |root) (:at 1514652010514) (:text |min-id) (:id |Hy4ZuZHHQM) |x $ {} (:type :leaf) (:by |root) (:at 1514652012295) (:text |bisect) (:id |Hk7_-SrQM) :defs $ {} - |assoc-after $ {} (:type :expr) (:by |root) (:at 1514652745250) (:id |H1gbINHH7f) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514652745250) (:text |defn) (:id |B1WW8ErSXf) - |j $ {} (:type :leaf) (:by |root) (:at 1514652745250) (:text |assoc-after) (:id |ByMWIVSSXG) - |r $ {} (:type :expr) (:by |root) (:at 1514652695166) (:id |rJXJ7EBr7f) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514652702835) (:text |dict) (:id |SkeVQEHBQG) - |j $ {} (:type :leaf) (:by |root) (:at 1514652705777) (:text |base-key) (:id |SydQVBSQG) - |r $ {} (:type :leaf) (:by |root) (:at 1514652731993) (:text |v) (:id |BJxGB4SH7G) - |v $ {} (:type :expr) (:by |root) (:at 1514652707161) (:id |B1iQVHS7f) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514652708054) (:text |let) (:id |B1iQVHS7fleaf) - |j $ {} (:type :expr) (:by |root) (:at 1514652708284) (:id |Hy72QVHBQG) - :data $ {} - |T $ {} (:type :expr) (:by |root) (:at 1514652708426) (:id |BJ43Q4rBmM) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514652711856) (:text |new-key) (:id |BkfnmVrSXM) - |j $ {} (:type :expr) (:by |root) (:at 1514652713021) (:id |HJgZVNSr7M) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514652756071) (:text |key-after) (:id |H1W4EHHmz) - |r $ {} (:type :leaf) (:by |root) (:at 1514652722947) (:text |dict) (:id |B1X5EVrSQz) - |v $ {} (:type :leaf) (:by |root) (:at 1514652978496) (:text |base-key) (:id |r1e9NrBHXG) - |r $ {} (:type :expr) (:by |root) (:at 1514652725071) (:id |H1bpNESH7G) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514652725866) (:text |assoc) (:id |H1bpNESH7Gleaf) - |b $ {} (:type :leaf) (:by |root) (:at 1514652728233) (:text |dict) (:id |B17kr4HBQM) - |j $ {} (:type :leaf) (:by |root) (:at 1514652726942) (:text |new-key) (:id |H1f04NSHXG) - |r $ {} (:type :leaf) (:by |root) (:at 1514652733100) (:text |v) (:id |r1erHVHSQf) |assoc-append $ {} (:type :expr) (:by |root) (:at 1514691370581) (:id |r1eQNjAB7z) :data $ {} |T $ {} (:type :leaf) (:by |root) (:at 1514691370581) (:text |defn) (:id |SJbmVjASXf) @@ -1348,68 +1433,6 @@ |j $ {} (:type :leaf) (:by |root) (:at 1514691425125) (:text |dict) (:id |ryMuPoAHQz) |r $ {} (:type :leaf) (:by |root) (:at 1514691425442) (:text |k) (:id |r17FPsCHQM) |v $ {} (:type :leaf) (:by |root) (:at 1514691426680) (:text |v) (:id |Bk9PsCr7M) - |assoc-before $ {} (:type :expr) (:by |root) (:at 1514652695166) (:id |BJgk7NrHQz) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514652695166) (:text |defn) (:id |Hkbk7VHSXf) - |j $ {} (:type :leaf) (:by |root) (:at 1514652695166) (:text |assoc-before) (:id |SJG174rH7z) - |r $ {} (:type :expr) (:by |root) (:at 1514652695166) (:id |rJXJ7EBr7f) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514652702835) (:text |dict) (:id |SkeVQEHBQG) - |j $ {} (:type :leaf) (:by |root) (:at 1514652705777) (:text |base-key) (:id |SydQVBSQG) - |r $ {} (:type :leaf) (:by |root) (:at 1514652731993) (:text |v) (:id |BJxGB4SH7G) - |v $ {} (:type :expr) (:by |root) (:at 1514652707161) (:id |B1iQVHS7f) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514652708054) (:text |let) (:id |B1iQVHS7fleaf) - |j $ {} (:type :expr) (:by |root) (:at 1514652708284) (:id |Hy72QVHBQG) - :data $ {} - |T $ {} (:type :expr) (:by |root) (:at 1514652708426) (:id |BJ43Q4rBmM) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514652711856) (:text |new-key) (:id |BkfnmVrSXM) - |j $ {} (:type :expr) (:by |root) (:at 1514652713021) (:id |HJgZVNSr7M) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514652719436) (:text |key-before) (:id |H1W4EHHmz) - |b $ {} (:type :leaf) (:by |root) (:at 1514652964526) (:text |dict) (:id |H1WhXSSrQz) - |j $ {} (:type :leaf) (:by |root) (:at 1514652722000) (:text |base-key) (:id |B1FNVrB7G) - |r $ {} (:type :expr) (:by |root) (:at 1514652725071) (:id |H1bpNESH7G) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514652725866) (:text |assoc) (:id |H1bpNESH7Gleaf) - |b $ {} (:type :leaf) (:by |root) (:at 1514652728233) (:text |dict) (:id |B17kr4HBQM) - |j $ {} (:type :leaf) (:by |root) (:at 1514652726942) (:text |new-key) (:id |H1f04NSHXG) - |r $ {} (:type :leaf) (:by |root) (:at 1514652733100) (:text |v) (:id |r1erHVHSQf) - |assoc-prepend $ {} (:type :expr) (:by |root) (:at 1514691381239) (:id |rJgaNj0r7z) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514691381239) (:text |defn) (:id |H1bTNsRrmG) - |j $ {} (:type :leaf) (:by |root) (:at 1514691381239) (:text |assoc-prepend) (:id |SkzTNoCrmG) - |r $ {} (:type :expr) (:by |root) (:at 1514691370581) (:id |Bk7QNiRrXf) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514691386114) (:text |dict) (:id |Sk-Bj0BmM) - |j $ {} (:type :leaf) (:by |root) (:at 1514691386513) (:text |v) (:id |ByeMHsRSmM) - |v $ {} (:type :expr) (:by |root) (:at 1514691387650) (:id |S1NroRHXM) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514691393599) (:text |assert) (:id |S1NroRHXMleaf) - |j $ {} (:type :expr) (:by |root) (:at 1514691393944) (:id |SyZ9rs0rXf) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514691394682) (:text |map?) (:id |rJgcriAH7M) - |j $ {} (:type :leaf) (:by |root) (:at 1514691395584) (:text |dict) (:id |rJxiBiAB7f) - |r $ {} (:type :leaf) (:by |root) (:at 1514691404794) (:text "||dict should be a map") (:id |SyRBiCrXM) - |x $ {} (:type :expr) (:by |root) (:at 1514691407108) (:id |BywLoCSmG) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514691412692) (:text |let) (:id |BywLoCSmGleaf) - |j $ {} (:type :expr) (:by |root) (:at 1514691412970) (:id |HyMa8jCBQG) - :data $ {} - |T $ {} (:type :expr) (:by |root) (:at 1514691413115) (:id |B1mpUoAr7f) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514691414356) (:text |k) (:id |HkWaIiRBmf) - |j $ {} (:type :expr) (:by |root) (:at 1514691414694) (:id |Hkkws0rmz) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514691451143) (:text |key-prepend) (:id |Bk70LiRS7G) - |j $ {} (:type :leaf) (:by |root) (:at 1514691421903) (:text |dict) (:id |SJ-rPoCSXM) - |r $ {} (:type :expr) (:by |root) (:at 1514691423144) (:id |rJePDs0SQf) - :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514691423901) (:text |assoc) (:id |rJePDs0SQfleaf) - |j $ {} (:type :leaf) (:by |root) (:at 1514691425125) (:text |dict) (:id |ryMuPoAHQz) - |r $ {} (:type :leaf) (:by |root) (:at 1514691425442) (:text |k) (:id |r17FPsCHQM) - |v $ {} (:type :leaf) (:by |root) (:at 1514691426680) (:text |v) (:id |Bk9PsCr7M) |key-after $ {} (:type :expr) (:by |root) (:at 1514649716043) (:id |Byx3uuEHXG) :data $ {} |T $ {} (:type :leaf) (:by |root) (:at 1514649716043) (:text |defn) (:id |S1b3duNSQG) @@ -1508,14 +1531,52 @@ :data $ {} |T $ {} (:type :leaf) (:by |root) (:at 1514652342032) (:text |inc) (:id |B1ahfrHmG) |j $ {} (:type :leaf) (:by |root) (:at 1514652505126) (:text |position) (:id |ByQAnzrBXM) - |key-append $ {} (:type :expr) (:by |root) (:at 1514691009323) (:id |ByeKatCBQG) + |get-min-key $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475686698) :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514691009323) (:text |defn) (:id |HJ-tTK0rXf) - |j $ {} (:type :leaf) (:by |root) (:at 1514691009323) (:text |key-append) (:id |ByztatRBQG) + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475686698) (:text |defn) (:id |31F1RuhZ5z) + |j $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475686698) (:text |get-min-key) (:id |bz-kWHCCpo) + |r $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475686698) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475692943) (:text |x) (:id |_aW8KV9AjG) + :id |ibCyMMUwe7 + |v $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475693410) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475696212) (:text |apply) (:id |3-aop2TdoMleaf) + |j $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475696727) (:text |min) (:id |nBqK7FZJoD) + |r $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475697650) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475698315) (:text |keys) (:id |YhgCkGW_K) + |j $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475698848) (:text |x) (:id |WOwzn-6dq0) + :id |WscddTGIJc + :id |3-aop2TdoM + :id |R4g-_JorFV + |get-max-key $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475705680) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475705680) (:text |defn) (:id |THFAG3LCtV) + |j $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475705680) (:text |get-max-key) (:id |TlAOGOI_9L) + |r $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475705680) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475710399) (:text |apply) (:id |fnxNipqqT) + |j $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475715477) (:text |max) (:id |6UeLtvGsR) + |r $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475715843) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475716807) (:text |keys) (:id |mpDx57JqkT) + |j $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475717496) (:text |x) (:id |1bKiYkcBZ) + :id |GjTA2ZM2e7 + :id |RtWJ5gJHb- + |n $ {} (:type :expr) (:by |Q7nwO-CJS) (:at 1596475711633) + :data $ {} + |T $ {} (:type :leaf) (:by |Q7nwO-CJS) (:at 1596475711924) (:text |x) (:id |QPdxEUaTMf) + :id |0CcYyROqiE + :id |RfN8-idkKZ + |key-prepend $ {} (:type :expr) (:by |root) (:at 1514691005591) (:id |SygUTY0rQz) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514691005591) (:text |defn) (:id |r1-8TtCHmf) + |j $ {} (:type :leaf) (:by |root) (:at 1514691005591) (:text |key-prepend) (:id |ByfU6Y0H7G) |r $ {} (:type :expr) (:by |root) (:at 1514649716043) (:id |Skmhuu4HXz) :data $ {} |D $ {} (:type :leaf) (:by |root) (:at 1514653103503) (:text |dict) (:id |HkzP3BBBmf) - |x $ {} (:type :expr) (:by |root) (:at 1514652018729) (:id |B1K9WBrQz) + |v $ {} (:type :expr) (:by |root) (:at 1514652018729) (:id |B1K9WBrQz) :data $ {} |T $ {} (:type :leaf) (:by |root) (:at 1514652022576) (:text |assert) (:id |H1oOWHBXzleaf) |j $ {} (:type :expr) (:by |root) (:at 1514652023870) (:id |BklxtWrHQf) @@ -1523,7 +1584,7 @@ |T $ {} (:type :leaf) (:by |root) (:at 1514652523659) (:text |map?) (:id |r1gKZSHmf) |j $ {} (:type :leaf) (:by |root) (:at 1514652051100) (:text |dict) (:id |BkXtWrSQf) |r $ {} (:type :leaf) (:by |root) (:at 1514652057041) (:text "||dict should be a map") (:id |HJWItbSrQG) - |xT $ {} (:type :expr) (:by |root) (:at 1514691059063) (:id |r1ilcCH7G) + |x $ {} (:type :expr) (:by |root) (:at 1514691059063) (:id |r1ilcCH7G) :data $ {} |T $ {} (:type :leaf) (:by |root) (:at 1514691059492) (:text |if) (:id |r1ilcCH7Gleaf) |j $ {} (:type :expr) (:by |root) (:at 1514691059844) (:id |Skx3e9RBmM) @@ -1538,10 +1599,10 @@ :data $ {} |T $ {} (:type :expr) (:by |root) (:at 1514652113785) (:id |Byx5A-BSQz) :data $ {} - |D $ {} (:type :leaf) (:by |root) (:at 1514691132796) (:text |last-key) (:id |BJ-5C-SSQM) + |D $ {} (:type :leaf) (:by |root) (:at 1514691195839) (:text |first-key) (:id |BJ-5C-SSQM) |T $ {} (:type :expr) (:by |root) (:at 1514652199673) (:id |HJeEzBBmM) :data $ {} - |D $ {} (:type :leaf) (:by |root) (:at 1514691144821) (:text |last) (:id |ByelVzHrXM) + |D $ {} (:type :leaf) (:by |root) (:at 1514691198325) (:text |first) (:id |ByelVzHrXM) |b $ {} (:type :expr) (:by |root) (:at 1514691149169) (:id |SJlBLqCHQf) :data $ {} |D $ {} (:type :leaf) (:by |root) (:at 1514691149987) (:text |sort) (:id |Hk-r85CSQG) @@ -1552,8 +1613,98 @@ |v $ {} (:type :expr) (:by |root) (:at 1514652250766) (:id |rylbK7BHQM) :data $ {} |T $ {} (:type :leaf) (:by |root) (:at 1514652291432) (:text |bisect) (:id |HybzwGHB7M) - |j $ {} (:type :leaf) (:by |root) (:at 1514691175400) (:text |last-key) (:id |rk0KGSS7z) - |r $ {} (:type :leaf) (:by |root) (:at 1514691177778) (:text |max-id) (:id |HJed5CS7G) + |b $ {} (:type :leaf) (:by |root) (:at 1514691202476) (:text |min-id) (:id |SyZtt90BQf) + |j $ {} (:type :leaf) (:by |root) (:at 1514691215646) (:text |first-key) (:id |rk0KGSS7z) + |assoc-after $ {} (:type :expr) (:by |root) (:at 1514652745250) (:id |H1gbINHH7f) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514652745250) (:text |defn) (:id |B1WW8ErSXf) + |j $ {} (:type :leaf) (:by |root) (:at 1514652745250) (:text |assoc-after) (:id |ByMWIVSSXG) + |r $ {} (:type :expr) (:by |root) (:at 1514652695166) (:id |rJXJ7EBr7f) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514652702835) (:text |dict) (:id |SkeVQEHBQG) + |j $ {} (:type :leaf) (:by |root) (:at 1514652705777) (:text |base-key) (:id |SydQVBSQG) + |r $ {} (:type :leaf) (:by |root) (:at 1514652731993) (:text |v) (:id |BJxGB4SH7G) + |v $ {} (:type :expr) (:by |root) (:at 1514652707161) (:id |B1iQVHS7f) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514652708054) (:text |let) (:id |B1iQVHS7fleaf) + |j $ {} (:type :expr) (:by |root) (:at 1514652708284) (:id |Hy72QVHBQG) + :data $ {} + |T $ {} (:type :expr) (:by |root) (:at 1514652708426) (:id |BJ43Q4rBmM) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514652711856) (:text |new-key) (:id |BkfnmVrSXM) + |j $ {} (:type :expr) (:by |root) (:at 1514652713021) (:id |HJgZVNSr7M) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514652756071) (:text |key-after) (:id |H1W4EHHmz) + |r $ {} (:type :leaf) (:by |root) (:at 1514652722947) (:text |dict) (:id |B1X5EVrSQz) + |v $ {} (:type :leaf) (:by |root) (:at 1514652978496) (:text |base-key) (:id |r1e9NrBHXG) + |r $ {} (:type :expr) (:by |root) (:at 1514652725071) (:id |H1bpNESH7G) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514652725866) (:text |assoc) (:id |H1bpNESH7Gleaf) + |b $ {} (:type :leaf) (:by |root) (:at 1514652728233) (:text |dict) (:id |B17kr4HBQM) + |j $ {} (:type :leaf) (:by |root) (:at 1514652726942) (:text |new-key) (:id |H1f04NSHXG) + |r $ {} (:type :leaf) (:by |root) (:at 1514652733100) (:text |v) (:id |r1erHVHSQf) + |assoc-before $ {} (:type :expr) (:by |root) (:at 1514652695166) (:id |BJgk7NrHQz) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514652695166) (:text |defn) (:id |Hkbk7VHSXf) + |j $ {} (:type :leaf) (:by |root) (:at 1514652695166) (:text |assoc-before) (:id |SJG174rH7z) + |r $ {} (:type :expr) (:by |root) (:at 1514652695166) (:id |rJXJ7EBr7f) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514652702835) (:text |dict) (:id |SkeVQEHBQG) + |j $ {} (:type :leaf) (:by |root) (:at 1514652705777) (:text |base-key) (:id |SydQVBSQG) + |r $ {} (:type :leaf) (:by |root) (:at 1514652731993) (:text |v) (:id |BJxGB4SH7G) + |v $ {} (:type :expr) (:by |root) (:at 1514652707161) (:id |B1iQVHS7f) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514652708054) (:text |let) (:id |B1iQVHS7fleaf) + |j $ {} (:type :expr) (:by |root) (:at 1514652708284) (:id |Hy72QVHBQG) + :data $ {} + |T $ {} (:type :expr) (:by |root) (:at 1514652708426) (:id |BJ43Q4rBmM) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514652711856) (:text |new-key) (:id |BkfnmVrSXM) + |j $ {} (:type :expr) (:by |root) (:at 1514652713021) (:id |HJgZVNSr7M) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514652719436) (:text |key-before) (:id |H1W4EHHmz) + |b $ {} (:type :leaf) (:by |root) (:at 1514652964526) (:text |dict) (:id |H1WhXSSrQz) + |j $ {} (:type :leaf) (:by |root) (:at 1514652722000) (:text |base-key) (:id |B1FNVrB7G) + |r $ {} (:type :expr) (:by |root) (:at 1514652725071) (:id |H1bpNESH7G) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514652725866) (:text |assoc) (:id |H1bpNESH7Gleaf) + |b $ {} (:type :leaf) (:by |root) (:at 1514652728233) (:text |dict) (:id |B17kr4HBQM) + |j $ {} (:type :leaf) (:by |root) (:at 1514652726942) (:text |new-key) (:id |H1f04NSHXG) + |r $ {} (:type :leaf) (:by |root) (:at 1514652733100) (:text |v) (:id |r1erHVHSQf) + |assoc-prepend $ {} (:type :expr) (:by |root) (:at 1514691381239) (:id |rJgaNj0r7z) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514691381239) (:text |defn) (:id |H1bTNsRrmG) + |j $ {} (:type :leaf) (:by |root) (:at 1514691381239) (:text |assoc-prepend) (:id |SkzTNoCrmG) + |r $ {} (:type :expr) (:by |root) (:at 1514691370581) (:id |Bk7QNiRrXf) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514691386114) (:text |dict) (:id |Sk-Bj0BmM) + |j $ {} (:type :leaf) (:by |root) (:at 1514691386513) (:text |v) (:id |ByeMHsRSmM) + |v $ {} (:type :expr) (:by |root) (:at 1514691387650) (:id |S1NroRHXM) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514691393599) (:text |assert) (:id |S1NroRHXMleaf) + |j $ {} (:type :expr) (:by |root) (:at 1514691393944) (:id |SyZ9rs0rXf) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514691394682) (:text |map?) (:id |rJgcriAH7M) + |j $ {} (:type :leaf) (:by |root) (:at 1514691395584) (:text |dict) (:id |rJxiBiAB7f) + |r $ {} (:type :leaf) (:by |root) (:at 1514691404794) (:text "||dict should be a map") (:id |SyRBiCrXM) + |x $ {} (:type :expr) (:by |root) (:at 1514691407108) (:id |BywLoCSmG) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514691412692) (:text |let) (:id |BywLoCSmGleaf) + |j $ {} (:type :expr) (:by |root) (:at 1514691412970) (:id |HyMa8jCBQG) + :data $ {} + |T $ {} (:type :expr) (:by |root) (:at 1514691413115) (:id |B1mpUoAr7f) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514691414356) (:text |k) (:id |HkWaIiRBmf) + |j $ {} (:type :expr) (:by |root) (:at 1514691414694) (:id |Hkkws0rmz) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514691451143) (:text |key-prepend) (:id |Bk70LiRS7G) + |j $ {} (:type :leaf) (:by |root) (:at 1514691421903) (:text |dict) (:id |SJ-rPoCSXM) + |r $ {} (:type :expr) (:by |root) (:at 1514691423144) (:id |rJePDs0SQf) + :data $ {} + |T $ {} (:type :leaf) (:by |root) (:at 1514691423901) (:text |assoc) (:id |rJePDs0SQfleaf) + |j $ {} (:type :leaf) (:by |root) (:at 1514691425125) (:text |dict) (:id |ryMuPoAHQz) + |r $ {} (:type :leaf) (:by |root) (:at 1514691425442) (:text |k) (:id |r17FPsCHQM) + |v $ {} (:type :leaf) (:by |root) (:at 1514691426680) (:text |v) (:id |Bk9PsCr7M) |key-before $ {} (:type :expr) (:by |root) (:at 1514649713289) (:id |r1ltO_ESQz) :data $ {} |T $ {} (:type :leaf) (:by |root) (:at 1514649713289) (:text |defn) (:id |S1WYOu4SXf) @@ -1645,14 +1796,14 @@ |T $ {} (:type :leaf) (:by |root) (:at 1514652403389) (:text |dec) (:id |B1ahfrHmG) |j $ {} (:type :leaf) (:by |root) (:at 1514652508559) (:text |position) (:id |ByQAnzrBXM) |v $ {} (:type :leaf) (:by |root) (:at 1514652369395) (:text |base-key) (:id |H1eYRzSSQz) - |key-prepend $ {} (:type :expr) (:by |root) (:at 1514691005591) (:id |SygUTY0rQz) + |key-append $ {} (:type :expr) (:by |root) (:at 1514691009323) (:id |ByeKatCBQG) :data $ {} - |T $ {} (:type :leaf) (:by |root) (:at 1514691005591) (:text |defn) (:id |r1-8TtCHmf) - |j $ {} (:type :leaf) (:by |root) (:at 1514691005591) (:text |key-prepend) (:id |ByfU6Y0H7G) + |T $ {} (:type :leaf) (:by |root) (:at 1514691009323) (:text |defn) (:id |HJ-tTK0rXf) + |j $ {} (:type :leaf) (:by |root) (:at 1514691009323) (:text |key-append) (:id |ByztatRBQG) |r $ {} (:type :expr) (:by |root) (:at 1514649716043) (:id |Skmhuu4HXz) :data $ {} |D $ {} (:type :leaf) (:by |root) (:at 1514653103503) (:text |dict) (:id |HkzP3BBBmf) - |v $ {} (:type :expr) (:by |root) (:at 1514652018729) (:id |B1K9WBrQz) + |x $ {} (:type :expr) (:by |root) (:at 1514652018729) (:id |B1K9WBrQz) :data $ {} |T $ {} (:type :leaf) (:by |root) (:at 1514652022576) (:text |assert) (:id |H1oOWHBXzleaf) |j $ {} (:type :expr) (:by |root) (:at 1514652023870) (:id |BklxtWrHQf) @@ -1660,7 +1811,7 @@ |T $ {} (:type :leaf) (:by |root) (:at 1514652523659) (:text |map?) (:id |r1gKZSHmf) |j $ {} (:type :leaf) (:by |root) (:at 1514652051100) (:text |dict) (:id |BkXtWrSQf) |r $ {} (:type :leaf) (:by |root) (:at 1514652057041) (:text "||dict should be a map") (:id |HJWItbSrQG) - |x $ {} (:type :expr) (:by |root) (:at 1514691059063) (:id |r1ilcCH7G) + |xT $ {} (:type :expr) (:by |root) (:at 1514691059063) (:id |r1ilcCH7G) :data $ {} |T $ {} (:type :leaf) (:by |root) (:at 1514691059492) (:text |if) (:id |r1ilcCH7Gleaf) |j $ {} (:type :expr) (:by |root) (:at 1514691059844) (:id |Skx3e9RBmM) @@ -1675,10 +1826,10 @@ :data $ {} |T $ {} (:type :expr) (:by |root) (:at 1514652113785) (:id |Byx5A-BSQz) :data $ {} - |D $ {} (:type :leaf) (:by |root) (:at 1514691195839) (:text |first-key) (:id |BJ-5C-SSQM) + |D $ {} (:type :leaf) (:by |root) (:at 1514691132796) (:text |last-key) (:id |BJ-5C-SSQM) |T $ {} (:type :expr) (:by |root) (:at 1514652199673) (:id |HJeEzBBmM) :data $ {} - |D $ {} (:type :leaf) (:by |root) (:at 1514691198325) (:text |first) (:id |ByelVzHrXM) + |D $ {} (:type :leaf) (:by |root) (:at 1514691144821) (:text |last) (:id |ByelVzHrXM) |b $ {} (:type :expr) (:by |root) (:at 1514691149169) (:id |SJlBLqCHQf) :data $ {} |D $ {} (:type :leaf) (:by |root) (:at 1514691149987) (:text |sort) (:id |Hk-r85CSQG) @@ -1689,12 +1840,7 @@ |v $ {} (:type :expr) (:by |root) (:at 1514652250766) (:id |rylbK7BHQM) :data $ {} |T $ {} (:type :leaf) (:by |root) (:at 1514652291432) (:text |bisect) (:id |HybzwGHB7M) - |b $ {} (:type :leaf) (:by |root) (:at 1514691202476) (:text |min-id) (:id |SyZtt90BQf) - |j $ {} (:type :leaf) (:by |root) (:at 1514691215646) (:text |first-key) (:id |rk0KGSS7z) + |j $ {} (:type :leaf) (:by |root) (:at 1514691175400) (:text |last-key) (:id |rk0KGSS7z) + |r $ {} (:type :leaf) (:by |root) (:at 1514691177778) (:text |max-id) (:id |HJed5CS7G) :proc $ {} (:type :expr) (:by |root) (:at 1514649702582) (:id |r1XyOuVrXf) (:data $ {}) - :sessions $ {} - :users $ {} - |root $ {} (:id |root) (:name |root) (:nickname |root) (:password |d41d8cd98f00b204e9800998ecf8427e) (:avatar nil) (:theme :star-trail) - :saved-files $ {} :configs $ {} (:storage-key |calcit.cirru) (:extension |.cljs) (:output |src) (:port 6001) - :repl $ {} (:alive? false) (:logs $ {}) diff --git a/deps.edn b/deps.edn index 2e5b93e..c296ec1 100644 --- a/deps.edn +++ b/deps.edn @@ -4,9 +4,9 @@ :aliases { :release { :extra-deps { - appliedscience/deps-library {:mvn/version "0.3.4"} + applied-science/deps-library {:mvn/version "0.4.0"} } - :main-opts ["-m" "deps-library.release"] + :main-opts ["-m" "applied-science.deps-library"] } } } diff --git a/package.json b/package.json index 36bb101..de6e32c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bisection-key", - "version": "0.1.5", + "version": "0.1.6-a1", "description": "Bisection key library", "main": "index.js", "scripts": { @@ -18,9 +18,9 @@ "author": "jiyinyiyong", "license": "MIT", "devDependencies": { - "shadow-cljs": "^2.8.94", - "source-map-loader": "^0.2.4", - "ws": "^7.2.3" + "shadow-cljs": "^2.10.19", + "source-map-loader": "^1.0.1", + "ws": "^7.3.1" }, "dependencies": {} } diff --git a/release.edn b/release.edn index 7c1b22d..b3b04fa 100644 --- a/release.edn +++ b/release.edn @@ -1,4 +1,4 @@ -{:version "0.1.5" +{:version "0.1.6-a1" :group-id "cirru" :artifact-id "bisection-key" :skip-tag true diff --git a/src/bisection_key/test.cljs b/src/bisection_key/test.cljs index 15b8b38..f53c338 100644 --- a/src/bisection_key/test.cljs +++ b/src/bisection_key/test.cljs @@ -11,7 +11,9 @@ key-prepend key-append assoc-prepend - assoc-append]])) + assoc-append + get-min-key + get-max-key]])) (deftest test-append @@ -51,6 +53,12 @@ (let [new-id (bisect min-id x)] (if (<= i 40) (recur (inc i) new-id) x))) "++++++/"))) +(deftest + test-get-key + (testing "get min key" (is (= "a" (get-min-key {"a" 1, "b" 2})))) + (testing "get max key" (is (= "b" (get-max-key {"a" 1, "b" 2})))) + (testing "get nil" (is (= nil (get-min-key {}))) (is (= nil (get-max-key {}))))) + (deftest test-key-after (is (= (key-after {"a" 1, "b" 1} "a") "aT")) diff --git a/src/bisection_key/util.cljs b/src/bisection_key/util.cljs index 66e3d3d..dffee1e 100644 --- a/src/bisection_key/util.cljs +++ b/src/bisection_key/util.cljs @@ -46,3 +46,7 @@ (defn assoc-prepend [dict v] (assert (map? dict) "dict should be a map") (let [k (key-prepend dict)] (assoc dict k v))) + +(defn get-max-key [x] (apply max (keys x))) + +(defn get-min-key [x] (apply min (keys x))) diff --git a/yarn.lock b/yarn.lock index 9f7d5c4..a77d790 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,6 +2,31 @@ # yarn lockfile v1 +"@types/json-schema@^7.0.4": + version "7.0.5" + resolved "https://registry.npm.taobao.org/@types/json-schema/download/@types/json-schema-7.0.5.tgz?cache=0&sync_timestamp=1591721100166&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40types%2Fjson-schema%2Fdownload%2F%40types%2Fjson-schema-7.0.5.tgz#dcce4430e64b443ba8945f0290fb564ad5bac6dd" + integrity sha1-3M5EMOZLRDuolF8CkPtWStW6xt0= + +abab@^2.0.3: + version "2.0.4" + resolved "https://registry.npm.taobao.org/abab/download/abab-2.0.4.tgz?cache=0&sync_timestamp=1596257926840&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fabab%2Fdownload%2Fabab-2.0.4.tgz#6dfa57b417ca06d21b2478f0e638302f99c2405c" + integrity sha1-bfpXtBfKBtIbJHjw5jgwL5nCQFw= + +ajv-keywords@^3.4.1: + version "3.5.2" + resolved "https://registry.npm.taobao.org/ajv-keywords/download/ajv-keywords-3.5.2.tgz?cache=0&sync_timestamp=1595907089917&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fajv-keywords%2Fdownload%2Fajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" + integrity sha1-MfKdpatuANHC0yms97WSlhTVAU0= + +ajv@^6.12.2: + version "6.12.3" + resolved "https://registry.npm.taobao.org/ajv/download/ajv-6.12.3.tgz?cache=0&sync_timestamp=1593877011158&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fajv%2Fdownload%2Fajv-6.12.3.tgz#18c5af38a111ddeb4f2697bd78d68abc1cabd706" + integrity sha1-GMWvOKER3etPJpe9eNaKvByr1wY= + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + asn1.js@^4.0.0: version "4.10.1" resolved "https://registry.npm.taobao.org/asn1.js/download/asn1.js-4.10.1.tgz#b9c2bf5805f1e64aadeed6df3a2bfafb5a73f5a0" @@ -21,16 +46,9 @@ assert@^1.1.1: async-limiter@~1.0.0: version "1.0.1" - resolved "https://registry.npm.taobao.org/async-limiter/download/async-limiter-1.0.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fasync-limiter%2Fdownload%2Fasync-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" + resolved "https://registry.npm.taobao.org/async-limiter/download/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" integrity sha1-3TeelPDbgxCwgpH51kwyCXZmF/0= -async@^2.5.0: - version "2.6.3" - resolved "https://registry.npm.taobao.org/async/download/async-2.6.3.tgz?cache=0&sync_timestamp=1582540512270&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fasync%2Fdownload%2Fasync-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff" - integrity sha1-1yYl4jRKNlbjo61Pp0n6gymdgv8= - dependencies: - lodash "^4.17.14" - base64-js@^1.0.2: version "1.3.1" resolved "https://registry.npm.taobao.org/base64-js/download/base64-js-1.3.1.tgz#58ece8cb75dd07e71ed08c736abc5fac4dbf8df1" @@ -41,14 +59,19 @@ big.js@^5.2.2: resolved "https://registry.npm.taobao.org/big.js/download/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" integrity sha1-ZfCvOC9Xi83HQr2cKB6cstd2gyg= -bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0: +bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.4.0: version "4.11.9" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.9.tgz#26d556829458f9d1e81fc48952493d0ba3507828" - integrity sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw== + resolved "https://registry.npm.taobao.org/bn.js/download/bn.js-4.11.9.tgz#26d556829458f9d1e81fc48952493d0ba3507828" + integrity sha1-JtVWgpRY+dHoH8SJUkk9C6NQeCg= + +bn.js@^5.1.1: + version "5.1.2" + resolved "https://registry.npm.taobao.org/bn.js/download/bn.js-5.1.2.tgz#c9686902d3c9a27729f43ab10f9d79c2004da7b0" + integrity sha1-yWhpAtPJoncp9DqxD515wgBNp7A= brorand@^1.0.1: version "1.1.0" - resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" + resolved "https://registry.npm.taobao.org/brorand/download/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" integrity sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8= browserify-aes@^1.0.0, browserify-aes@^1.0.4: @@ -82,7 +105,7 @@ browserify-des@^1.0.0: inherits "^2.0.1" safe-buffer "^5.1.2" -browserify-rsa@^4.0.0: +browserify-rsa@^4.0.0, browserify-rsa@^4.0.1: version "4.0.1" resolved "https://registry.npm.taobao.org/browserify-rsa/download/browserify-rsa-4.0.1.tgz#21e0abfaf6f2029cf2fafb133567a701d4135524" integrity sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ= @@ -91,17 +114,19 @@ browserify-rsa@^4.0.0: randombytes "^2.0.1" browserify-sign@^4.0.0: - version "4.0.4" - resolved "https://registry.npm.taobao.org/browserify-sign/download/browserify-sign-4.0.4.tgz#aa4eb68e5d7b658baa6bf6a57e630cbd7a93d298" - integrity sha1-qk62jl17ZYuqa/alfmMMvXqT0pg= - dependencies: - bn.js "^4.1.1" - browserify-rsa "^4.0.0" - create-hash "^1.1.0" - create-hmac "^1.1.2" - elliptic "^6.0.0" - inherits "^2.0.1" - parse-asn1 "^5.0.0" + version "4.2.0" + resolved "https://registry.npm.taobao.org/browserify-sign/download/browserify-sign-4.2.0.tgz#545d0b1b07e6b2c99211082bf1b12cce7a0b0e11" + integrity sha1-VF0LGwfmssmSEQgr8bEsznoLDhE= + dependencies: + bn.js "^5.1.1" + browserify-rsa "^4.0.1" + create-hash "^1.2.0" + create-hmac "^1.1.7" + elliptic "^6.5.2" + inherits "^2.0.4" + parse-asn1 "^5.1.5" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" browserify-zlib@^0.2.0: version "0.2.0" @@ -160,7 +185,7 @@ create-ecdh@^4.0.0: bn.js "^4.1.0" elliptic "^6.0.0" -create-hash@^1.1.0, create-hash@^1.1.2: +create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: version "1.2.0" resolved "https://registry.npm.taobao.org/create-hash/download/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" integrity sha1-iJB4rxGmN1a8+1m9IhmWvjqe8ZY= @@ -171,7 +196,7 @@ create-hash@^1.1.0, create-hash@^1.1.2: ripemd160 "^2.0.1" sha.js "^2.4.0" -create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4: +create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7: version "1.1.7" resolved "https://registry.npm.taobao.org/create-hmac/download/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" integrity sha1-aRcMeLOrlXFHsriwRXLkfq0iQ/8= @@ -200,6 +225,15 @@ crypto-browserify@^3.11.0: randombytes "^2.0.0" randomfill "^1.0.3" +data-urls@^2.0.0: + version "2.0.0" + resolved "https://registry.npm.taobao.org/data-urls/download/data-urls-2.0.0.tgz#156485a72963a970f5d5821aaf642bef2bf2db9b" + integrity sha1-FWSFpyljqXD11YIar2Qr7yvy25s= + dependencies: + abab "^2.0.3" + whatwg-mimetype "^2.3.0" + whatwg-url "^8.0.0" + des.js@^1.0.0: version "1.0.1" resolved "https://registry.npm.taobao.org/des.js/download/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843" @@ -219,13 +253,13 @@ diffie-hellman@^5.0.0: domain-browser@^1.1.1: version "1.2.0" - resolved "https://registry.npm.taobao.org/domain-browser/download/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda" + resolved "https://registry.npm.taobao.org/domain-browser/download/domain-browser-1.2.0.tgz?cache=0&sync_timestamp=1595352506617&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fdomain-browser%2Fdownload%2Fdomain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda" integrity sha1-PTH1AZGmdJ3RN1p/Ui6CPULlTto= -elliptic@^6.0.0: +elliptic@^6.0.0, elliptic@^6.5.2: version "6.5.3" - resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.3.tgz#cb59eb2efdaf73a0bd78ccd7015a62ad6e0f93d6" - integrity sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw== + resolved "https://registry.npm.taobao.org/elliptic/download/elliptic-6.5.3.tgz?cache=0&sync_timestamp=1592492734974&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Felliptic%2Fdownload%2Felliptic-6.5.3.tgz#cb59eb2efdaf73a0bd78ccd7015a62ad6e0f93d6" + integrity sha1-y1nrLv2vc6C9eMzXAVpirW4Pk9Y= dependencies: bn.js "^4.4.0" brorand "^1.0.1" @@ -241,9 +275,9 @@ emojis-list@^3.0.0: integrity sha1-VXBmIEatKeLpFucariYKvf9Pang= events@^3.0.0: - version "3.1.0" - resolved "https://registry.npm.taobao.org/events/download/events-3.1.0.tgz#84279af1b34cb75aa88bf5ff291f6d0bd9b31a59" - integrity sha1-hCea8bNMt1qoi/X/KR9tC9mzGlk= + version "3.2.0" + resolved "https://registry.npm.taobao.org/events/download/events-3.2.0.tgz?cache=0&sync_timestamp=1595422651095&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fevents%2Fdownload%2Fevents-3.2.0.tgz#93b87c18f8efcd4202a461aec4dfc0556b639379" + integrity sha1-k7h8GPjvzUICpGGuxN/AVWtjk3k= evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: version "1.0.3" @@ -253,25 +287,36 @@ evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: md5.js "^1.3.4" safe-buffer "^5.1.1" +fast-deep-equal@^3.1.1: + version "3.1.3" + resolved "https://registry.npm.taobao.org/fast-deep-equal/download/fast-deep-equal-3.1.3.tgz?cache=0&sync_timestamp=1591599759937&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffast-deep-equal%2Fdownload%2Ffast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" + integrity sha1-On1WtVnWy8PrUSMlJE5hmmXGxSU= + +fast-json-stable-stringify@^2.0.0: + version "2.1.0" + resolved "https://registry.npm.taobao.org/fast-json-stable-stringify/download/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" + integrity sha1-h0v2nG9ATCtdmcSBNBOZ/VWJJjM= + hash-base@^3.0.0: - version "3.0.4" - resolved "https://registry.npm.taobao.org/hash-base/download/hash-base-3.0.4.tgz#5fc8686847ecd73499403319a6b0a3f3f6ae4918" - integrity sha1-X8hoaEfs1zSZQDMZprCj8/auSRg= + version "3.1.0" + resolved "https://registry.npm.taobao.org/hash-base/download/hash-base-3.1.0.tgz?cache=0&sync_timestamp=1588318012719&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhash-base%2Fdownload%2Fhash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" + integrity sha1-VcOB2eBuHSmXqIO0o/3f5/DTrzM= dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" + inherits "^2.0.4" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" hash.js@^1.0.0, hash.js@^1.0.3: version "1.1.7" - resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" - integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== + resolved "https://registry.npm.taobao.org/hash.js/download/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" + integrity sha1-C6vKU46NTuSg+JiNaIZlN6ADz0I= dependencies: inherits "^2.0.3" minimalistic-assert "^1.0.1" hmac-drbg@^1.0.0: version "1.0.1" - resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" + resolved "https://registry.npm.taobao.org/hmac-drbg/download/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" integrity sha1-0nRXAQJabHdabFRXk+1QL8DGSaE= dependencies: hash.js "^1.0.3" @@ -283,6 +328,13 @@ https-browserify@^1.0.0: resolved "https://registry.npm.taobao.org/https-browserify/download/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73" integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM= +iconv-lite@^0.5.1: + version "0.5.2" + resolved "https://registry.npm.taobao.org/iconv-lite/download/iconv-lite-0.5.2.tgz?cache=0&sync_timestamp=1594184297399&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ficonv-lite%2Fdownload%2Ficonv-lite-0.5.2.tgz#af6d628dccfb463b7364d97f715e4b74b8c8c2b8" + integrity sha1-r21ijcz7RjtzZNl/cV5LdLjIwrg= + dependencies: + safer-buffer ">= 2.1.2 < 3" + ieee754@^1.1.4: version "1.1.13" resolved "https://registry.npm.taobao.org/ieee754/download/ieee754-1.1.13.tgz#ec168558e95aa181fd87d37f55c32bbcb6708b84" @@ -298,10 +350,10 @@ inherits@2.0.3: resolved "https://registry.npm.taobao.org/inherits/download/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= -inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.1, inherits@~2.0.3: +inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3: version "2.0.4" - resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" - integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + resolved "https://registry.npm.taobao.org/inherits/download/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" + integrity sha1-D6LGT5MpF8NDOg3tVTY6rjdBa3w= isarray@^1.0.0, isarray@~1.0.0: version "1.0.0" @@ -313,26 +365,31 @@ isexe@^2.0.0: resolved "https://registry.npm.taobao.org/isexe/download/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= -json5@^1.0.1: - version "1.0.1" - resolved "https://registry.npm.taobao.org/json5/download/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe" - integrity sha1-d5+wAYYE+oVOrL9iUhgNg1Q+Pb4= +json-schema-traverse@^0.4.1: + version "0.4.1" + resolved "https://registry.npm.taobao.org/json-schema-traverse/download/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" + integrity sha1-afaofZUTq4u4/mO9sJecRI5oRmA= + +json5@^2.1.2: + version "2.1.3" + resolved "https://registry.npm.taobao.org/json5/download/json5-2.1.3.tgz#c9b0f7fa9233bfe5807fe66fcf3a5617ed597d43" + integrity sha1-ybD3+pIzv+WAf+ZvzzpWF+1ZfUM= dependencies: - minimist "^1.2.0" + minimist "^1.2.5" -loader-utils@^1.1.0: - version "1.4.0" - resolved "https://registry.npm.taobao.org/loader-utils/download/loader-utils-1.4.0.tgz?cache=0&sync_timestamp=1584472515006&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Floader-utils%2Fdownload%2Floader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613" - integrity sha1-xXm140yzSxp07cbB+za/o3HVphM= +loader-utils@^2.0.0: + version "2.0.0" + resolved "https://registry.npm.taobao.org/loader-utils/download/loader-utils-2.0.0.tgz?cache=0&sync_timestamp=1584445611428&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Floader-utils%2Fdownload%2Floader-utils-2.0.0.tgz#e4cace5b816d425a166b5f097e10cd12b36064b0" + integrity sha1-5MrOW4FtQloWa18JfhDNErNgZLA= dependencies: big.js "^5.2.2" emojis-list "^3.0.0" - json5 "^1.0.1" + json5 "^2.1.2" -lodash@^4.17.14: - version "4.17.19" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b" - integrity sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ== +lodash.sortby@^4.7.0: + version "4.7.0" + resolved "https://registry.npm.taobao.org/lodash.sortby/download/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" + integrity sha1-7dFMgk4sycHgsKG0K7UhBRakJDg= md5.js@^1.3.4: version "1.3.5" @@ -353,15 +410,15 @@ miller-rabin@^4.0.0: minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" - integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== + resolved "https://registry.npm.taobao.org/minimalistic-assert/download/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + integrity sha1-LhlN4ERibUoQ5/f7wAznPoPk1cc= minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1: version "1.0.1" - resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" + resolved "https://registry.npm.taobao.org/minimalistic-crypto-utils/download/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo= -minimist@^1.2.0: +minimist@^1.2.5: version "1.2.5" resolved "https://registry.npm.taobao.org/minimist/download/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" integrity sha1-Z9ZgFLZqaoqqDAg8X9WN9OTpdgI= @@ -397,7 +454,7 @@ node-libs-browser@^2.0.0: object-assign@^4.1.1: version "4.1.1" - resolved "https://registry.npm.taobao.org/object-assign/download/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" + resolved "https://registry.npm.taobao.org/object-assign/download/object-assign-4.1.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fobject-assign%2Fdownload%2Fobject-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= os-browserify@^0.3.0: @@ -407,10 +464,10 @@ os-browserify@^0.3.0: pako@~1.0.5: version "1.0.11" - resolved "https://registry.npm.taobao.org/pako/download/pako-1.0.11.tgz?cache=0&sync_timestamp=1580284264887&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpako%2Fdownload%2Fpako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" + resolved "https://registry.npm.taobao.org/pako/download/pako-1.0.11.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpako%2Fdownload%2Fpako-1.0.11.tgz#6c9599d340d54dfd3946380252a35705a6b992bf" integrity sha1-bJWZ00DVTf05RjgCUqNXBaa5kr8= -parse-asn1@^5.0.0: +parse-asn1@^5.0.0, parse-asn1@^5.1.5: version "5.1.5" resolved "https://registry.npm.taobao.org/parse-asn1/download/parse-asn1-5.1.5.tgz#003271343da58dc94cace494faef3d2147ecea0e" integrity sha1-ADJxND2ljclMrOSU+u89IUfs6g4= @@ -428,9 +485,9 @@ path-browserify@0.0.1: integrity sha1-5sTd1+06onxoogzE5Q4aTug7vEo= pbkdf2@^3.0.3: - version "3.0.17" - resolved "https://registry.npm.taobao.org/pbkdf2/download/pbkdf2-3.0.17.tgz#976c206530617b14ebb32114239f7b09336e93a6" - integrity sha1-l2wgZTBhexTrsyEUI597CTNuk6Y= + version "3.1.1" + resolved "https://registry.npm.taobao.org/pbkdf2/download/pbkdf2-3.1.1.tgz#cb8724b0fada984596856d1a6ebafd3584654b94" + integrity sha1-y4cksPramEWWhW0abrr9NYRlS5Q= dependencies: create-hash "^1.1.2" create-hmac "^1.1.4" @@ -470,6 +527,11 @@ punycode@^1.2.4: resolved "https://registry.npm.taobao.org/punycode/download/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" integrity sha1-wNWmOycYgArY4esPpSachN1BhF4= +punycode@^2.1.0, punycode@^2.1.1: + version "2.1.1" + resolved "https://registry.npm.taobao.org/punycode/download/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" + integrity sha1-tYsBCsQMIsVldhbI0sLALHv0eew= + querystring-es3@^0.2.0: version "0.2.1" resolved "https://registry.npm.taobao.org/querystring-es3/download/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" @@ -508,6 +570,15 @@ readable-stream@^2.0.2, readable-stream@^2.3.3, readable-stream@^2.3.6: string_decoder "~1.1.1" util-deprecate "~1.0.1" +readable-stream@^3.6.0: + version "3.6.0" + resolved "https://registry.npm.taobao.org/readable-stream/download/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" + integrity sha1-M3u9o63AcGvT4CRCaihtS0sskZg= + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + readline-sync@^1.4.7: version "1.4.10" resolved "https://registry.npm.taobao.org/readline-sync/download/readline-sync-1.4.10.tgz#41df7fbb4b6312d673011594145705bf56d8873b" @@ -521,16 +592,30 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: hash-base "^3.0.0" inherits "^2.0.1" -safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@~5.2.0: - version "5.2.0" - resolved "https://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519" - integrity sha1-t02uxJsRSPiMZLaNSbHoFcHy9Rk= +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.2.1.tgz?cache=0&sync_timestamp=1589129611964&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsafe-buffer%2Fdownload%2Fsafe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" + integrity sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY= safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.2" - resolved "https://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" + resolved "https://registry.npm.taobao.org/safe-buffer/download/safe-buffer-5.1.2.tgz?cache=0&sync_timestamp=1589129611964&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsafe-buffer%2Fdownload%2Fsafe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha1-mR7GnSluAxN0fVm9/St0XDX4go0= +"safer-buffer@>= 2.1.2 < 3": + version "2.1.2" + resolved "https://registry.npm.taobao.org/safer-buffer/download/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" + integrity sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo= + +schema-utils@^2.6.6: + version "2.7.0" + resolved "https://registry.npm.taobao.org/schema-utils/download/schema-utils-2.7.0.tgz#17151f76d8eae67fbbf77960c33c676ad9f4efc7" + integrity sha1-FxUfdtjq5n+793lgwzxnatn078c= + dependencies: + "@types/json-schema" "^7.0.4" + ajv "^6.12.2" + ajv-keywords "^3.4.1" + setimmediate@^1.0.4: version "1.0.5" resolved "https://registry.npm.taobao.org/setimmediate/download/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" @@ -549,10 +634,10 @@ shadow-cljs-jar@1.3.2: resolved "https://registry.npm.taobao.org/shadow-cljs-jar/download/shadow-cljs-jar-1.3.2.tgz#97273afe1747b6a2311917c1c88d9e243c81957b" integrity sha1-lyc6/hdHtqIxGRfByI2eJDyBlXs= -shadow-cljs@^2.8.94: - version "2.8.94" - resolved "https://registry.npm.taobao.org/shadow-cljs/download/shadow-cljs-2.8.94.tgz#62896a2478439d7c46cb4912e7c14c26e027d22b" - integrity sha1-YolqJHhDnXxGy0kS58FMJuAn0is= +shadow-cljs@^2.10.19: + version "2.10.19" + resolved "https://registry.npm.taobao.org/shadow-cljs/download/shadow-cljs-2.10.19.tgz#907bbad10bb3af38f6a728452e3cd9c34f1166d1" + integrity sha1-kHu60Quzrzj2pyhFLjzZw08RZtE= dependencies: node-libs-browser "^2.0.0" readline-sync "^1.4.7" @@ -561,17 +646,20 @@ shadow-cljs@^2.8.94: which "^1.3.1" ws "^3.0.0" -source-map-loader@^0.2.4: - version "0.2.4" - resolved "https://registry.npm.taobao.org/source-map-loader/download/source-map-loader-0.2.4.tgz#c18b0dc6e23bf66f6792437557c569a11e072271" - integrity sha1-wYsNxuI79m9nkkN1V8VpoR4HInE= +source-map-loader@^1.0.1: + version "1.0.1" + resolved "https://registry.npm.taobao.org/source-map-loader/download/source-map-loader-1.0.1.tgz#703df5345b0816734f0336c1ccee8af66e082061" + integrity sha1-cD31NFsIFnNPAzbBzO6K9m4IIGE= dependencies: - async "^2.5.0" - loader-utils "^1.1.0" + data-urls "^2.0.0" + iconv-lite "^0.5.1" + loader-utils "^2.0.0" + schema-utils "^2.6.6" + source-map "^0.6.0" source-map-support@^0.4.15: version "0.4.18" - resolved "https://registry.npm.taobao.org/source-map-support/download/source-map-support-0.4.18.tgz?cache=0&sync_timestamp=1572390065703&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsource-map-support%2Fdownload%2Fsource-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f" + resolved "https://registry.npm.taobao.org/source-map-support/download/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f" integrity sha1-Aoam3ovkJkEzhZTpfM6nXwosWF8= dependencies: source-map "^0.5.6" @@ -581,6 +669,11 @@ source-map@^0.5.6: resolved "https://registry.npm.taobao.org/source-map/download/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= +source-map@^0.6.0: + version "0.6.1" + resolved "https://registry.npm.taobao.org/source-map/download/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" + integrity sha1-dHIq8y6WFOnCh6jQu95IteLxomM= + stream-browserify@^2.0.1: version "2.0.2" resolved "https://registry.npm.taobao.org/stream-browserify/download/stream-browserify-2.0.2.tgz#87521d38a44aa7ee91ce1cd2a47df0cb49dd660b" @@ -591,7 +684,7 @@ stream-browserify@^2.0.1: stream-http@^2.7.2: version "2.8.3" - resolved "https://registry.npm.taobao.org/stream-http/download/stream-http-2.8.3.tgz#b2d242469288a5a27ec4fe8933acf623de6514fc" + resolved "https://registry.npm.taobao.org/stream-http/download/stream-http-2.8.3.tgz?cache=0&sync_timestamp=1588701397289&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstream-http%2Fdownload%2Fstream-http-2.8.3.tgz#b2d242469288a5a27ec4fe8933acf623de6514fc" integrity sha1-stJCRpKIpaJ+xP6JM6z2I95lFPw= dependencies: builtin-status-codes "^3.0.0" @@ -600,7 +693,7 @@ stream-http@^2.7.2: to-arraybuffer "^1.0.0" xtend "^4.0.0" -string_decoder@^1.0.0: +string_decoder@^1.0.0, string_decoder@^1.1.1: version "1.3.0" resolved "https://registry.npm.taobao.org/string_decoder/download/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" integrity sha1-QvEUWUpGzxqOMLCoT1bHjD7awh4= @@ -626,6 +719,13 @@ to-arraybuffer@^1.0.0: resolved "https://registry.npm.taobao.org/to-arraybuffer/download/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43" integrity sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M= +tr46@^2.0.2: + version "2.0.2" + resolved "https://registry.npm.taobao.org/tr46/download/tr46-2.0.2.tgz?cache=0&sync_timestamp=1582173621185&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ftr46%2Fdownload%2Ftr46-2.0.2.tgz#03273586def1595ae08fedb38d7733cee91d2479" + integrity sha1-Ayc1ht7xWVrgj+2zjXczzukdJHk= + dependencies: + punycode "^2.1.1" + tty-browserify@0.0.0: version "0.0.0" resolved "https://registry.npm.taobao.org/tty-browserify/download/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" @@ -636,6 +736,13 @@ ultron@~1.1.0: resolved "https://registry.npm.taobao.org/ultron/download/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c" integrity sha1-n+FTahCmZKZSZqHjzPhf02MCvJw= +uri-js@^4.2.2: + version "4.2.2" + resolved "https://registry.npm.taobao.org/uri-js/download/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0" + integrity sha1-lMVA4f93KVbiKZUHwBCupsiDjrA= + dependencies: + punycode "^2.1.0" + url@^0.11.0: version "0.11.0" resolved "https://registry.npm.taobao.org/url/download/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" @@ -644,33 +751,52 @@ url@^0.11.0: punycode "1.3.2" querystring "0.2.0" -util-deprecate@~1.0.1: +util-deprecate@^1.0.1, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.npm.taobao.org/util-deprecate/download/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= util@0.10.3: version "0.10.3" - resolved "https://registry.npm.taobao.org/util/download/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" + resolved "https://registry.npm.taobao.org/util/download/util-0.10.3.tgz?cache=0&sync_timestamp=1588238397004&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Futil%2Fdownload%2Futil-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" integrity sha1-evsa/lCAUkZInj23/g7TeTNqwPk= dependencies: inherits "2.0.1" util@^0.11.0: version "0.11.1" - resolved "https://registry.npm.taobao.org/util/download/util-0.11.1.tgz#3236733720ec64bb27f6e26f421aaa2e1b588d61" + resolved "https://registry.npm.taobao.org/util/download/util-0.11.1.tgz?cache=0&sync_timestamp=1588238397004&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Futil%2Fdownload%2Futil-0.11.1.tgz#3236733720ec64bb27f6e26f421aaa2e1b588d61" integrity sha1-MjZzNyDsZLsn9uJvQhqqLhtYjWE= dependencies: inherits "2.0.3" vm-browserify@^1.0.1: version "1.1.2" - resolved "https://registry.npm.taobao.org/vm-browserify/download/vm-browserify-1.1.2.tgz?cache=0&sync_timestamp=1572870772154&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvm-browserify%2Fdownload%2Fvm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0" + resolved "https://registry.npm.taobao.org/vm-browserify/download/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0" integrity sha1-eGQcSIuObKkadfUR56OzKobl3aA= +webidl-conversions@^5.0.0: + version "5.0.0" + resolved "https://registry.npm.taobao.org/webidl-conversions/download/webidl-conversions-5.0.0.tgz#ae59c8a00b121543a2acc65c0434f57b0fc11aff" + integrity sha1-rlnIoAsSFUOirMZcBDT1ew/BGv8= + +whatwg-mimetype@^2.3.0: + version "2.3.0" + resolved "https://registry.npm.taobao.org/whatwg-mimetype/download/whatwg-mimetype-2.3.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fwhatwg-mimetype%2Fdownload%2Fwhatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf" + integrity sha1-PUseAxLSB5h5+Cav8Y2+7KWWD78= + +whatwg-url@^8.0.0: + version "8.1.0" + resolved "https://registry.npm.taobao.org/whatwg-url/download/whatwg-url-8.1.0.tgz#c628acdcf45b82274ce7281ee31dd3c839791771" + integrity sha1-xiis3PRbgidM5yge4x3TyDl5F3E= + dependencies: + lodash.sortby "^4.7.0" + tr46 "^2.0.2" + webidl-conversions "^5.0.0" + which@^1.3.1: version "1.3.1" - resolved "https://registry.npm.taobao.org/which/download/which-1.3.1.tgz?cache=0&sync_timestamp=1574116262707&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fwhich%2Fdownload%2Fwhich-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" + resolved "https://registry.npm.taobao.org/which/download/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha1-pFBD1U9YBTFtqNYvn1CRjT2nCwo= dependencies: isexe "^2.0.0" @@ -684,10 +810,10 @@ ws@^3.0.0: safe-buffer "~5.1.0" ultron "~1.1.0" -ws@^7.2.3: - version "7.2.3" - resolved "https://registry.npm.taobao.org/ws/download/ws-7.2.3.tgz#a5411e1fb04d5ed0efee76d26d5c46d830c39b46" - integrity sha1-pUEeH7BNXtDv7nbSbVxG2DDDm0Y= +ws@^7.3.1: + version "7.3.1" + resolved "https://registry.npm.taobao.org/ws/download/ws-7.3.1.tgz#d0547bf67f7ce4f12a72dfe31262c68d7dc551c8" + integrity sha1-0FR79n985PEqct/jEmLGjX3FUcg= xtend@^4.0.0: version "4.0.2"