ssbc / ssb-blob-files

3 stars 1 forks source link

getting "WARN deprecated crypto@1.0.1" on install #2

Closed mmckegg closed 6 years ago

mmckegg commented 6 years ago
$ npm install ssb-blob-files

Then I get

npm WARN deprecated crypto@1.0.1: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.

Is it correct? Can you just use inbuilt crypto? @mixmix

dominictarr commented 6 years ago

did someone do npm install crypto?

mixmix commented 6 years ago

Oh yes, I'll remove that, thanks for pointing out. Didn't know that was a node core lib

mixmix commented 6 years ago

resolved and published

mixmix commented 6 years ago

p.s. who wrote the bulk of this, I want to attribute it. I can go check out the blame in patchcore but I suspect a bunch of it came from you upstream @dominictarr in patchbay 6 ?

dominictarr commented 6 years ago

some bits of this has been copy-pasted from code I wrote, but lots doesn't look like my code. I suspect some was paul's. hard to tell, I don't recommend copy-pasting code, on that note.

mixmix commented 6 years ago

too late!