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 2.1.6 to 2.1.8

4

package.json
{
"name": "cookie-consent-js",
"version": "2.1.6",
"version": "2.1.8",
"description": "A simple dialog and framework to handle the EU law (as written by EuGH, 1.10.2019 – C-673/17) about cookies in a website.",

@@ -30,4 +30,4 @@ "main": "src/cookie-consent.js",

"devDependencies": {
"teevi": "^2.1.9"
"teevi": "^2.2.4"
}
}

@@ -8,3 +8,4 @@ # cookie-consent-js

- **Internationalizable** with [language files](https://github.com/shaack/cookie-consent-js/tree/master/cookie-consent-content)
- **Internationalizable**
with [language files](https://github.com/shaack/cookie-consent-js/tree/master/cookie-consent-content)
- **No external dependencies** (and it works also with Bootstrap)

@@ -17,3 +18,5 @@ - **Responsive**, it works on mobile and desktop devices

There are already language files for [cz, de, en, es, fr, gr, it, oc and tr](https://github.com/shaack/cookie-consent-js/tree/master/cookie-consent-content). If you add one, please make a pull request to have it added here as well, thanks.
There are already language files
for [cz, de, en, es, fr, gr, it, oc and tr](https://github.com/shaack/cookie-consent-js/tree/master/cookie-consent-content).
If you add one, please make a pull request to have it added here as well, thanks.

@@ -44,3 +47,2 @@ ## See it in action

```html
<script src="/node_modules/cookie-consent-js/src/cookie-consent.js"></script>

@@ -47,0 +49,0 @@ ```

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

if (property !== "content") {
// noinspection JSUnfilteredForInLoop
self.props[property] = props[property]

@@ -97,3 +96,3 @@ }

}
request.onloadend = function() {
request.onloadend = function () {
if (request.status === 404 && lang !== self.props.defaultLang) {

@@ -100,0 +99,0 @@ console.warn("language " + lang + " not found trying defaultLang " + self.props.defaultLang)

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