digitalbazaar / cborld

A Javascript CBOR-LD processor for web browsers and Node.js apps.
https://json-ld.github.io/cbor-ld-spec/
BSD 3-Clause "New" or "Revised" License
21 stars 17 forks source link

Add UUID compression/decompression to CBOR-LD. #17

Closed msporny closed 3 years ago

msporny commented 4 years ago

Adds UUID codec to CBOR-LD.

codecov-io commented 4 years ago

Codecov Report

Merging #17 (337e637) into main (757e115) will decrease coverage by 1.79%. The diff coverage is 33.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #17      +/-   ##
==========================================
- Coverage   72.88%   71.09%   -1.80%     
==========================================
  Files          18       18              
  Lines         402      422      +20     
==========================================
+ Hits          293      300       +7     
- Misses        109      122      +13     
Impacted Files Coverage Δ
lib/codecs/UrlCodec.js 79.76% <22.22%> (-14.18%) :arrow_down:
lib/codec.js 78.68% <100.00%> (+0.72%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 757e115...337e637. Read the comment docs.

dmitrizagidulin commented 3 years ago

I rebased this PR on latest main to remove merge conflicts.

@JSAssassin - can you address @dlongley's comments, so we can merge this PR? (we need it downstream)