@byojs/modal
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "@byojs/modal", | ||
"description": "Simple wrapper around SweetAlert2", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"exports": { | ||
@@ -21,3 +21,3 @@ "./": "./dist/modal.mjs" | ||
"dependencies": { | ||
"@byojs/toggler": "~0.1.0", | ||
"@byojs/toggler": "~0.1.1", | ||
"sweetalert2": "~11.13.2" | ||
@@ -24,0 +24,0 @@ }, |
@@ -438,7 +438,7 @@ // note: this module specifier comes from the import-map | ||
if (JSON.stringify(results) == JSON.stringify(expected)) { | ||
testResultsEl.innerHTML += "(Error Modal) PASSED.<br>"; | ||
testResultsEl.innerHTML += "(Prompt Modal) PASSED.<br>"; | ||
return true; | ||
} | ||
else { | ||
testResultsEl.innerHTML += `(Error Modal) FAILED: expected '${expected.join(",")}', found '${results.join(",")}'<br>`; | ||
testResultsEl.innerHTML += `(Prompt Modal) FAILED: expected '${expected.join(",")}', found '${results.join(",")}'<br>`; | ||
} | ||
@@ -448,3 +448,3 @@ } | ||
logError(err); | ||
testResultsEl.innerHTML = "(Error Modal) FAILED -- see console" | ||
testResultsEl.innerHTML = "(Prompt Modal) FAILED -- see console" | ||
} | ||
@@ -451,0 +451,0 @@ return false; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
113492
Updated@byojs/toggler@~0.1.1