@mariusandra/simmerjs
Advanced tools
Comparing version 0.6.0-posthog.1 to 0.6.1-posthog.1
@@ -10,3 +10,3 @@ // Type definitions for simmerjs 0.5 | ||
*/ | ||
(element: Element): string; | ||
(element: Element): string | null; | ||
@@ -13,0 +13,0 @@ /** |
@@ -75,3 +75,3 @@ 'use strict'; | ||
onError.call(simmer, new Error('Simmer: No element was specified for parsing.'), element); | ||
return false; | ||
return null; | ||
} | ||
@@ -126,3 +126,3 @@ | ||
if (!selectorState.verified) { | ||
return false; | ||
return null; | ||
} | ||
@@ -129,0 +129,0 @@ |
@@ -49,3 +49,3 @@ import initQueryEngine, { wrap } from './queryEngine' | ||
) | ||
return false | ||
return null | ||
} | ||
@@ -110,3 +110,3 @@ | ||
if (!selectorState.verified) { | ||
return false | ||
return null | ||
} | ||
@@ -113,0 +113,0 @@ |
{ | ||
"name": "@mariusandra/simmerjs", | ||
"description": "A pure Javascript reverse CSS selector engine which calculates a DOM element's unique CSS selector on the current page.", | ||
"version": "0.6.0-posthog.1", | ||
"version": "0.6.1-posthog.1", | ||
"author": "Gidi Meir Morris", | ||
@@ -6,0 +6,0 @@ "main": "lib/simmer.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
108806