You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(readonly&&anonymous&&!buffer)thrownewTypeError('In-memory/temporary databases cannot be readonly');
40
40
if(!Number.isInteger(timeout)||timeout<0)thrownewTypeError('Expected the "timeout" option to be a positive integer');
41
41
if(timeout>0x7fffffff)thrownewRangeError('Option "timeout" cannot be greater than 2147483647');
42
42
if(verbose!=null&&typeofverbose!=='function')thrownewTypeError('Expected the "verbose" option to be a function');
43
-
if(nativeBindingPath!=null&&typeofnativeBindingPath!=='string')thrownewTypeError('Expected the "nativeBinding" option to be a string');
43
+
if(nativeBinding!=null&&typeofnativeBinding!=='string'&&typeofnativeBinding!=='object')thrownewTypeError('Expected the "nativeBinding" option to be a string or addon object');
0 commit comments