@expressen/tallahassee
Advanced tools
Comparing version 11.11.0 to 11.12.0
@@ -177,3 +177,10 @@ "use strict"; | ||
function Tallahassee(origin, options = {}) { | ||
function Tallahassee(...args) { | ||
let origin, options; | ||
if (typeof args[0] === "object") { | ||
options = args[0]; | ||
} else { | ||
origin = args[0]; | ||
options = args[1] || {}; | ||
} | ||
if (!(this instanceof Tallahassee)) return new Tallahassee(origin, options); | ||
@@ -180,0 +187,0 @@ this[kOrigin] = origin; |
{ | ||
"name": "@expressen/tallahassee", | ||
"version": "11.11.0", | ||
"version": "11.12.0", | ||
"description": "Lightweight client testing framework", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
108304
55
3006