@lu-development/ux-gdpr-consent
Advanced tools
Comparing version 1.0.3 to 1.0.4
# UX GDPR Consent Dialog | ||
## 1.0.4 | ||
- upgrade API endpoint to https (anticipate premium subscription) | ||
## 1.0.3 | ||
@@ -4,0 +8,0 @@ |
@@ -25,3 +25,3 @@ import { h, Host } from "@stencil/core"; | ||
default: | ||
this.isEU = await fetch(`http://api.ipstack.com/check?access_key=${this.accessKey}&fields=location.is_eu`) | ||
this.isEU = await fetch(`https://api.ipstack.com/check?access_key=${this.accessKey}&fields=location.is_eu`) | ||
.then(response => { | ||
@@ -28,0 +28,0 @@ if (!response.ok) { |
@@ -1,2 +0,2 @@ | ||
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './core-e27749d7.js'; | ||
import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './core-5e203e53.js'; | ||
@@ -28,3 +28,3 @@ const GdprConsent = class { | ||
default: | ||
this.isEU = await fetch(`http://api.ipstack.com/check?access_key=${this.accessKey}&fields=location.is_eu`) | ||
this.isEU = await fetch(`https://api.ipstack.com/check?access_key=${this.accessKey}&fields=location.is_eu`) | ||
.then(response => { | ||
@@ -31,0 +31,0 @@ if (!response.ok) { |
@@ -1,2 +0,2 @@ | ||
import { p as patchBrowser, g as globals, b as bootstrapLazy } from './core-e27749d7.js'; | ||
import { p as patchBrowser, g as globals, b as bootstrapLazy } from './core-5e203e53.js'; | ||
@@ -3,0 +3,0 @@ patchBrowser().then(options => { |
{ | ||
"name": "@lu-development/ux-gdpr-consent", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "GDPR compliance plugin", | ||
@@ -23,4 +23,4 @@ "main": "dist/index.js", | ||
"generate": "stencil generate", | ||
"publish.dev": "npm publish --access public --tag dev", | ||
"publish.prod": "npm publish --access public" | ||
"publish.dev": "npm build && npm publish --access public --tag dev", | ||
"publish.prod": "npm build && npm publish --access public" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
2
4
226460
27
5250