@vaadin/vaadin-cookie-consent
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -13,3 +13,3 @@ { | ||
"name": "@vaadin/vaadin-cookie-consent", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"main": "vaadin-cookie-consent.js", | ||
@@ -39,8 +39,8 @@ "author": "Vaadin Ltd", | ||
"pwa-helpers": "^0.8.3", | ||
"@polymer/iron-component-page": "^3.0.0-pre.18", | ||
"@polymer/iron-demo-helpers": "^3.0.0-pre.18", | ||
"@polymer/iron-component-page": "^4.0.0", | ||
"@polymer/iron-demo-helpers": "^3.0.0", | ||
"@webcomponents/webcomponentsjs": "^2.0.0", | ||
"wct-browser-legacy": "^1.0.1", | ||
"@vaadin/vaadin-demo-helpers": "^2.0.0" | ||
"@vaadin/vaadin-demo-helpers": "^3.0.0" | ||
} | ||
} |
@@ -64,3 +64,3 @@ /** | ||
static get version() { | ||
return '1.1.1'; | ||
return '1.1.2'; | ||
} | ||
@@ -127,2 +127,16 @@ | ||
} | ||
/** | ||
* @protected | ||
*/ | ||
static _finalizeClass() { | ||
super._finalizeClass(); | ||
const devModeCallback = window.Vaadin.developmentModeCallback; | ||
const licenseChecker = devModeCallback && devModeCallback['vaadin-license-checker']; | ||
if (typeof licenseChecker === 'function') { | ||
licenseChecker(CookieConsentElement); | ||
} | ||
} | ||
_showLink(learnMoreLink) { | ||
@@ -219,7 +233,1 @@ return !!learnMoreLink; | ||
export { CookieConsentElement }; | ||
const licenseChecker = window.Vaadin.developmentModeCallback | ||
&& window.Vaadin.developmentModeCallback['vaadin-license-checker']; | ||
if (typeof licenseChecker === 'function') { | ||
licenseChecker(CookieConsentElement); | ||
} |
window.VaadinCookieConsentSuites = [ | ||
'change-texts-test.html', | ||
'accessibility-test.html', | ||
'basic-test.html' | ||
]; | ||
const isIOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; | ||
if (!isIOS) { | ||
window.VaadinCookieConsentSuites.push('accessibility-test.html'); | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
363
151224
30