We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 436b510 commit ef32be5Copy full SHA for ef32be5
index.js
@@ -50,7 +50,7 @@ function parse (text, reviver, options) {
50
return obj
51
}
52
53
-function scan (obj, options = {}) {
+function scan (obj, { protoAction = 'error', constructorAction = 'error' } = {}) {
54
const protoAction = options.protoAction || 'error'
55
const constructorAction = options.constructorAction || 'error'
56
0 commit comments