Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/vaadin-cookie-consent

Package Overview
Dependencies
Maintainers
16
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/vaadin-cookie-consent - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0-alpha1

./@types/interfaces.d.ts

26

package.json

@@ -13,3 +13,3 @@ {

"name": "@vaadin/vaadin-cookie-consent",
"version": "1.1.2",
"version": "1.2.0-alpha1",
"main": "vaadin-cookie-consent.js",

@@ -21,2 +21,9 @@ "author": "Vaadin Ltd",

},
"files": [
"vaadin-*.d.ts",
"vaadin-*.js",
"@types",
"src",
"theme"
],
"resolutions": {

@@ -28,7 +35,7 @@ "inherits": "2.0.3",

},
"dependencies": {
"cookieconsent": "^3.0.6",
"dependencies": {
"cookieconsent": "^3.0.6",
"@polymer/polymer": "^3.0.0",
"@vaadin/vaadin-themable-mixin": "^1.2.0",
"@vaadin/vaadin-element-mixin": "^2.0.0",
"@vaadin/vaadin-themable-mixin": "^1.6.1",
"@vaadin/vaadin-element-mixin": "^2.4.1",
"@vaadin/vaadin-lumo-styles": "^1.1.0",

@@ -38,5 +45,8 @@ "@vaadin/vaadin-material-styles": "^1.1.0",

},
"scripts": {
"generate-typings": "gen-typescript-declarations --outDir . --verify"
},
"devDependencies": {
"axe-core": "^3.0.3",
"pwa-helpers": "^0.8.3",
"axe-core": "^3.0.3",
"pwa-helpers": "^0.8.3",
"@polymer/iron-component-page": "^4.0.0",

@@ -46,4 +56,4 @@ "@polymer/iron-demo-helpers": "^3.0.0",

"wct-browser-legacy": "^1.0.1",
"@vaadin/vaadin-demo-helpers": "^3.0.0"
"@vaadin/vaadin-demo-helpers": "^3.1.0"
}
}

@@ -42,5 +42,5 @@ /**

*
* @memberof Vaadin
* @mixes Vaadin.ElementMixin
* @mixes Vaadin.ThemableMixin
* @extends PolymerElement
* @mixes ElementMixin
* @mixes ThemableMixin
* @demo demo/index.html

@@ -64,4 +64,5 @@ */

}
static get version() {
return '1.1.2';
return '1.2.0-alpha1';
}

@@ -73,2 +74,3 @@

* The message to show in the popup.
* @type {string}
*/

@@ -79,4 +81,6 @@ message: {

},
/**
* The text to show on the dismiss/consent button.
* @type {string}
*/

@@ -87,4 +91,6 @@ dismiss: {

},
/**
* The text to show on the 'learn more' link.
* @type {string}
*/

@@ -95,4 +101,6 @@ learnMore: {

},
/**
* The URL the 'learn more' link should open.
* @type {string}
*/

@@ -103,2 +111,4 @@ learnMoreLink: {

},
/** @private */
_showLearnMore: {

@@ -108,2 +118,3 @@ type: Boolean,

},
/**

@@ -115,2 +126,3 @@ * Determines the position of the banner.

* it is shown as a smaller popup.
* @type {!CookieConsentPosition}
*/

@@ -121,2 +133,3 @@ position: {

},
/**

@@ -126,2 +139,3 @@ * The name of the cookie to set to remember that the user has consented.

* This rarely needs to be changed.
* @type {string}
*/

@@ -132,2 +146,4 @@ cookieName: {

},
/** @private */
_css: {

@@ -139,5 +155,3 @@ type: Object

/**
* @protected
*/
/** @protected */
static _finalizeClass() {

@@ -153,2 +167,3 @@ super._finalizeClass();

/** @private */
_showLink(learnMoreLink) {

@@ -158,5 +173,3 @@ return !!learnMoreLink;

/**
* @protected
*/
/** @protected */
connectedCallback() {

@@ -216,5 +229,3 @@ super.connectedCallback();

/**
* @protected
*/
/** @protected */
disconnectedCallback() {

@@ -230,7 +241,11 @@ super.disconnectedCallback();

}
/** @private */
_getPopup() {
return document.querySelector('[aria-label="cookieconsent"]');
}
/*
/**
* Shows the popup even if the user has seen it before.
* @protected
*/

@@ -245,4 +260,5 @@ _show() {

}
customElements.define(CookieConsentElement.is, CookieConsentElement);
export { CookieConsentElement };
import './theme/lumo/vaadin-cookie-consent.js';
export * from './src/vaadin-cookie-consent.js';
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc