From b9fc8450e63f6393d158c5ddf56e29336ae9b0ac Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Tue, 25 Sep 2018 14:33:50 +0100 Subject: [PATCH] fix: add class name JS parser in `aegir docs` is old and doesn't support anonymous classes. License: MIT Signed-off-by: Alan Shaw --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 7660ad4..1a3e241 100644 --- a/src/index.js +++ b/src/index.js @@ -21,7 +21,7 @@ const withIs = require('class-is') * , as defined in [ipld/cid](https://github.com/ipld/cid). * @class CID */ -const CID = withIs(class { +const CID = withIs(class _CID { /** * Create a new CID. *