keyko-io / filecoin-verifier-tools

Javascript implementation of a HAMT using ipld

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

update dependencies filecoin-verifier-tools

fabriziogianni7 opened this issue · comments

Description

Update dependencies and convert from cjs to ES modules

branch is: ref/update-dependencies

  • remove deprecated dependencies
  • update dependencies
  • change old cjs with ES modules (filecoin folder)
  • change old cjs with ES modules (api folder)
  • change old cjs with ES modules (samples folder)
  • run test (filecoin folder)
  • run test (api folder)
  • create a main file to be referenced by package.json to be used in npm package
npm out
Package                         Current  Wanted  Latest  Location                                     Depended by
@glif/filecoin-address            1.1.0   1.1.0  2.0.20  node_modules/@glif/filecoin-address          filecoin-verifier-tools
@zondax/filecoin-signing-tools    0.7.1   0.7.1   2.1.1  node_modules/@zondax/filecoin-signing-tools  filecoin-verifier-tools
bip32                             2.0.6   2.0.6   3.1.0  node_modules/bip32                           filecoin-verifier-tools
cbor                              5.2.0   5.2.0   8.1.0  node_modules/cbor                            filecoin-verifier-tools
npm i
npm WARN deprecated multibase@1.0.1: This module has been superseded by the multiformats module
npm WARN deprecated multihashing-async@0.8.2: This module has been superseded by the multiformats module
npm WARN deprecated multicodec@1.0.4: This module has been superseded by the multiformats module
npm WARN deprecated multibase@4.0.6: This module has been superseded by the multiformats module
npm WARN deprecated multibase@3.1.2: This module has been superseded by the multiformats module
npm WARN deprecated cids@0.8.3: This module has been superseded by the multiformats module
npm WARN deprecated ipld-dag-cbor@0.15.3: This module has been superseded by @ipld/dag-cbor and multiformats

Important

use
NODE_OPTIONS=--experimental-vm-modules && npx jest
before running tests