Socket
Socket
Sign inDemoInstall

qrcode.react

Package Overview
Dependencies
7
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.9.2 to 0.9.3

6

CHANGELOG.md

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

## [0.9.3] - 2019-02-17
### Fixed
- Updated Path2D detection to exclude browsers which don't support string constructor (Edge).
## [0.9.2] - 2019-01-03

@@ -2,0 +8,0 @@

14

lib/index.js

@@ -134,7 +134,17 @@ 'use strict';

// the environment supports Path2D. We only need the constructor to be
// supported.
// supported, but Edge doesn't actually support the path (string) type
// argument. Luckily it also doesn't support the addPath() method. We can
// treat that as the same thing.
var SUPPORTS_PATH2D = typeof Path2D === 'function';
var SUPPORTS_PATH2D = function () {
try {
new Path2D().addPath(new Path2D());
} catch (e) {
return false;
}
return true;
}();
var QRCodeCanvas =

@@ -141,0 +151,0 @@ /*#__PURE__*/

2

package.json
{
"name": "qrcode.react",
"version": "0.9.2",
"version": "0.9.3",
"description": "React component to generate QR codes",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc