browserify / crypto-browserify

partial implementation of node's `crypto` for the browser
MIT License
653 stars 199 forks source link

Module appeared and imported by itself #189

Closed maliyshock closed 4 years ago

maliyshock commented 4 years ago

For some reason import {createPrivateKey} from "crypto"; appeared in the file, which I worked with. I do not know how does it happen. I did not pull from repository or install any npm modules. It's just appeared by itself... О_о

I am working with MacOs Siera 10.13.4 and I use PHP storm 2017.2.5

Do you have any idea why it happens?

Jerska commented 4 years ago

Wild guess: you are working with vscode or similarly "advanced" IDE and it tried to automatically import a function you were using in your file?

maliyshock commented 4 years ago

Yeah. Stupid thing. You are right. It was my IDE