crypto no longer works
See original GitHub issueIt looks like something broke crypto with changes pushed today. Did not investigate where the change came from so I am reporting it here.
To reproduce:
var crypto = require('crypto')
This will produce the following error:
index.js:3 Uncaught TypeError: Cannot read property 'toString' of undefined
at Object.require.270.crypto (index.js:3)
at s (_prelude.js:1)
at _prelude.js:1
at Object.require.164.browserify-cipher (index.js:12)
at s (_prelude.js:1)
at _prelude.js:1
at Object.require.1.../../src/example (index.js:7)
at s (_prelude.js:1)
at e (_prelude.js:1)
at _prelude.js:1
where:
crypto.pbkdf2Sync.toString()
will is called on undefined object, i.e. crypto.pbkdf2Sync is not defined.
Again, this regression is relatively new. Perhaps due to a change from today.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:10
Top Results From Across the Web
Why Crypto Is Down Today? – Forbes Advisor
It's no longer a $1 trillion market. In a drastic set of events, the total market capitalization for crypto has slid to $870...
Read more >Crypto peaked in Nov. 2021: Investors lost more than ... - CNBC
In June, the bottom fell out. Lending platform Celsius paused withdrawals because of “extreme market conditions.” Binance also halted ...
Read more >Future Of Cryptocurrency in 2022 and Beyond - Time
While no one knows for sure, some experts say crypto prices could fall ... While there's still a long way to go, 2022...
Read more >Crypto crash and gold sell-off show there's no place for ... - CNN
Over that longer time horizon, digital assets are still outperforming tech stocks,” said Jeff Dorman, chief investment officer at Arca, a firm ...
Read more >Crypto's Horrible, No Good, Very Bad Year - Investopedia
The cryptocurrency market had a rough 2022, but it's far from dead. Next year holds the promise of more mainstream adoption and new...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue is fixed in the new version of pbkdf2(3.0.12)
Yes fixed!