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

@plattar/plattar-qrcode

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@plattar/plattar-qrcode - npm Package Compare versions

Comparing version 1.160.1 to 1.165.1

14

elements/base/base-element.js

@@ -154,7 +154,17 @@ const QRCodeStyling = require("qr-code-styling");

this._ShortenURL(url).then((newURL) => {
this._GenerateQRCode(newURL, width, height);
// make sure by time promise is resolved that the original url hasn't been updated
const updatedURL = this.hasAttribute("url") ? this.getAttribute("url") : undefined;
if (updatedURL === url) {
this._GenerateQRCode(newURL, width, height);
}
}).catch((_err) => {
console.warn(_err);
// ignore error and just generate normal QR Code
this._GenerateQRCode(url, width, height);
// make sure by time promise is resolved that the original url hasn't been updated
const updatedURL = this.hasAttribute("url") ? this.getAttribute("url") : undefined;
if (updatedURL === url) {
this._GenerateQRCode(url, width, height);
}
});

@@ -161,0 +171,0 @@ }

8

package.json
{
"name": "@plattar/plattar-qrcode",
"version": "1.160.1",
"version": "1.165.1",
"description": "Allows embedding Plattar-Style QR Codes for existing websites.",

@@ -46,5 +46,5 @@ "main": "index.js",

"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.4",
"@babel/preset-env": "^7.21.4",
"@babel/cli": "^7.23.4",
"@babel/core": "^7.23.7",
"@babel/preset-env": "^7.23.8",
"browserify": "^17.0.0",

@@ -51,0 +51,0 @@ "uglify-es": "^3.3.9"

@@ -1,1 +0,1 @@

module.exports = "1.160.1";
module.exports = "1.165.1";

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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