Skip to content
This repository was archived by the owner on Sep 3, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: multiformats/js-cid
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.3
Choose a base ref
...
head repository: multiformats/js-cid
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.5.4
Choose a head ref
  • 13 commits
  • 5 files changed
  • 3 contributors

Commits on May 7, 2018

  1. chore: add module Lead Maintainer

    The Guidelines for the InterPlanetary JavaScript Projects [1] specify
    that there is one Lead Maintainer for every module. This commit add
    that information to the repository.
    
    [1]: https://github.com/ipfs/community/blob/master/js-code-guidelines.md
    vmx committed May 7, 2018
    Configuration menu
    Copy the full SHA
    4d7bcf8 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2018

  1. fix: remove direct access to codec lookup table

    Use `getCodeVarint()` instead of directly accessing the lookup
    table of the multicodec module. This leads to nicer error messages
    if the given codec is not found.
    
    Prior to this commit:
    
        buffer.js:183
            throw new TypeError(kFromErrorMsg);
            ^
    
        TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
            at Function.Buffer.from (buffer.js:183:11)
            at CID.get buffer [as buffer] (/home/vmx/src/pl/js-cid/src/index.js:123:18)
            at CID.toBaseEncodedString (/home/vmx/src/pl/js-cid/src/index.js:184:44)
            at Object.<anonymous> (/home/vmx/src/pl/js-cid/keccak.js:16:19)
            at Module._compile (module.js:652:30)
            at Object.Module._extensions..js (module.js:663:10)
            at Module.load (module.js:565:32)
            at tryModuleLoad (module.js:505:12)
            at Function.Module._load (module.js:497:3)
            at Function.Module.runMain (module.js:693:10)
    
    With this commit:
    
        /home/vmx/src/pl/js-multicodec/src/index.js:73
            throw new Error('Codec `' + codecName + '` not found')
            ^
    
        Error: Codec `mycodec` not found
            at Object.exports.getCodeVarint (/home/vmx/src/pl/js-multicodec/src/index.js:73:11)
            at CID.get buffer [as buffer] (/home/vmx/src/pl/js-cid/src/index.js:121:38)
            at CID.toBaseEncodedString (/home/vmx/src/pl/js-cid/src/index.js:186:44)
            at Object.<anonymous> (/home/vmx/src/pl/js-cid/keccak.js:16:19)
            at Module._compile (module.js:652:30)
            at Object.Module._extensions..js (module.js:663:10)
            at Module.load (module.js:565:32)
            at tryModuleLoad (module.js:505:12)
            at Function.Module._load (module.js:497:3)
            at Function.Module.runMain (module.js:693:10)
    vmx committed Jun 19, 2018
    Configuration menu
    Copy the full SHA
    4027108 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2018

  1. feat: add toString function

    This makes stringifying a CID super easy like `${cid}` or `cid+''`.
    
    License: MIT
    Signed-off-by: Alan Shaw <[email protected]>
    alanshaw authored and vmx committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    f47e68c View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2018

  1. Configuration menu
    Copy the full SHA
    6b6873b View commit details
    Browse the repository at this point in the history
  2. fix: linter errors

    mikeal committed Sep 13, 2018
    Configuration menu
    Copy the full SHA
    9f9359d View commit details
    Browse the repository at this point in the history
  3. fix: use org/repo convention

    mikeal committed Sep 13, 2018
    Configuration menu
    Copy the full SHA
    5805660 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2018

  1. Merge pull request #58 from mikeal/class-is

    fix: improve isCID() by using `class-is` module.
    mikeal authored Sep 14, 2018
    Configuration menu
    Copy the full SHA
    db1875e View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2018

  1. docs: move API docs into README (#56)

    I end up referring to these docs often and the generated documentation
    is not very useful or informative.
    
    I wrote up more human readable docs and put them in the README to
    replace the generated docs. This API isn't so large that we can't just
    document it in the README.
    mikeal authored and vmx committed Sep 18, 2018
    Configuration menu
    Copy the full SHA
    d996fd5 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2018

  1. chore: update badges

    Travis and CirclCI are no longer used. The supported versions of
    node are defined in the JS Guidelines (currently all active LTS
    releases).
    vmx committed Sep 24, 2018
    Configuration menu
    Copy the full SHA
    aa31f20 View commit details
    Browse the repository at this point in the history
  2. chore: update dependencies

    vmx committed Sep 24, 2018
    Configuration menu
    Copy the full SHA
    64cf8f2 View commit details
    Browse the repository at this point in the history
  3. chore: switch from pre-commit to pre-push hooks

    pre-commit hooks get into the way too often. pre-push hooks safes
    from accidental pushes with linting and test errors.
    vmx committed Sep 24, 2018
    Configuration menu
    Copy the full SHA
    8e87760 View commit details
    Browse the repository at this point in the history
  4. chore: update contributors

    vmx committed Sep 24, 2018
    Configuration menu
    Copy the full SHA
    793e53b View commit details
    Browse the repository at this point in the history
  5. chore: release version v0.5.4

    vmx committed Sep 24, 2018
    Configuration menu
    Copy the full SHA
    ebc21a2 View commit details
    Browse the repository at this point in the history
Loading