@vaadin/vaadin-element-mixin
Advanced tools
Comparing version 2.0.0 to 2.1.1
@@ -12,3 +12,3 @@ { | ||
"name": "@vaadin/vaadin-element-mixin", | ||
"version": "2.0.0", | ||
"version": "2.1.1", | ||
"main": "vaadin-element-mixin.js", | ||
@@ -15,0 +15,0 @@ "author": "Vaadin Ltd", |
@@ -34,2 +34,10 @@ import { usageStatistics } from '@vaadin/vaadin-usage-statistics/vaadin-usage-statistics.js'; | ||
} | ||
ready() { | ||
super.ready(); | ||
if (document.doctype === null) { | ||
console.warn( | ||
'Vaadin components require the "standards mode" declaration. Please add <!DOCTYPE html> to the HTML document.' | ||
); | ||
} | ||
} | ||
}; | ||
@@ -36,0 +44,0 @@ } finally { |
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
13231
45
1