Closed perry-mitchell closed 5 years ago
Ok, I fixed the issue myself as I'm using Webpack to bundle for node+browser - Using imports-loader I simply do: const KDBXWeb = require("imports-loader?window=>this!kdbxweb");
This of course doesn't fix it on Node, but only if you bundle this library further.
Fixed this, it should work well in 1.5.3.
This.. is probably the fastest response and fix I've ever seen. Amazing @antelle!
Hi! We use your library over at Buttercup, and we're upgrading
kdbxweb
. It seems we've encountered an issue where the current copy of this library referenceswindow
:Which is of course undefined:
This only cropped up after updating from
1.2.7
to1.5.2
. I'm using Node v10 at the moment.