New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cookie-consent-js

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cookie-consent-js - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

package.json
{
"name": "cookie-consent-js",
"version": "1.0.0",
"version": "1.0.1",
"description": "A simple dialog and framework to handle the German and EU law (may 2020) about cookies in a website",
"main": "index.js",
"main": "src/cookie-consent.js",
"scripts": {

@@ -15,3 +15,5 @@ "test": "echo \"Error: no test specified\" && exit 1"

"cookie",
"cookie consent",
"eu",
"law",
"js",

@@ -18,0 +20,0 @@ "javascript"

# cookie-consent-js
A simple dialog and framework to handle the German and EU law (may 2020) about cookies in a website
[Demo Page](https://shaack.com/projekte/cookie-consent-js/index.html)

@@ -13,2 +13,3 @@ /**

buttonSecondaryClass: "btn btn-secondary",
linkPrivacyPolicy: "privacy-policy.html",
content: {

@@ -21,3 +22,2 @@ de: {

privacyPolicy: "Datenschutzerklärung",
linkPrivacyPolicy: "privacy-policy.html",
buttonAcceptAll: "Alle Cookies akzeptieren",

@@ -32,3 +32,2 @@ buttonAcceptTechnical: "Nur technisch notwendige Cookies akzeptieren"

privacyPolicy: "privacy policy",
linkPrivacyPolicy: "privacy-policy.html",
buttonAcceptAll: "Accept all cookies",

@@ -51,3 +50,3 @@ buttonAcceptTechnical: "Only accept technically necessary cookies"

var _t = this.props.content[this.lang]
var linkPrivacyPolicy = '<a href="' + _t.linkPrivacyPolicy + '">' + _t.privacyPolicy + '</a>'
var linkPrivacyPolicy = '<a href="' + this.props.linkPrivacyPolicy + '">' + _t.privacyPolicy + '</a>'
this.modalContent = '<div class="cookie-consent-modal">' +

@@ -54,0 +53,0 @@ '<div class="modal-content">' +

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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