-
Notifications
You must be signed in to change notification settings - Fork 6
Removed unused dependencies including 'eosjs-ecc' #61
Conversation
I see the yarn.lock still there and modified, but your comment said you deleted it, maybe it got added back on or something? |
package.json
Outdated
"@types/node": "^14.18.36", | ||
"@types/node-fetch": "^2.5.11", | ||
"@types/pako": "^1.0.2", | ||
"@types/jest": "^29.5.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that jest got updated to 29 from 26, might be best to have that upgrade happen as a separate ticket in case that jump adds to our package size or causes something else unexpected. Same thing for the "npm" package that gets added below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed! thanks! also w the yarn.lock thing idk why I thought I deleted it lolol, but I just modified the description.
…ed-text-endcoding fix: remove deprecated text-encoding package and replace with utils v…
Change calls to substr to use substring instead
validated docs generation with the command |
- kept text-encoding from head - removed unused deps
Change
Fixes these relevant issues: #57, #59
I removed unused dependencies including
eosjs-ecc
by scoping outdepcheck
and runningnpm test-all
after everynpm uninstall <unused_dependency>
Dependencies removed:
I also modified the
package.json
file's scripts to runnpm
instead ofyarn
. This is a part of #12. Further clean up will be done in a separate ticket.Testing
I used modified version of
npm test-all
to test against the removed dependencies.NOTE: Cypress test was failing. Investigation could be further discussed with team.