Socket
Socket
Sign inDemoInstall

jsqr

Package Overview
Dependencies
0
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.4 to 1.0.5

1

dist/BitMatrix.d.ts

@@ -10,2 +10,3 @@ export declare class BitMatrix {

setRegion(left: number, top: number, width: number, height: number, v: boolean): void;
getInverted(): BitMatrix;
}

4

package.json
{
"name": "jsqr",
"version": "1.0.4",
"version": "1.0.5",
"description": "A pure javascript QR code reading library that takes in raw images and will locate, extract and parse any QR code found within.",

@@ -25,3 +25,3 @@ "repository": "https://github.com/cozmo/jsQR",

"fs-extra": "^4.0.1",
"jest": "^20.0.4",
"jest": "^23.1.0",
"rimraf": "^2.6.2",

@@ -28,0 +28,0 @@ "ts-jest": "^20.0.14",

@@ -90,5 +90,6 @@ # jsQR

The test suite is several hundred images that can be found in the [test-data/](./test-data/images) folder.
Besides unit tests the test suite contains several hundred images that can be found in the [/tests/end-to-end/](./tests/end-to-end/) folder.
Not all the images can be read. In general changes should hope to increase the number of images that read. However due to the nature of computer vision some changes may cause images that pass to start to fail and visa versa. To update the expected outcomes run `npm run-script generate-test-data`. These outcomes can be evaluated in the context of a PR to determine if a change improves or harms the overall ability of the library to read QR codes.
Not all the images can be read. In general changes should hope to increase the number of images that read. However due to the nature of computer vision some changes may cause images that pass to start to fail and visa versa. To update the expected outcomes run `npm run-script generate-test-data`. These outcomes can be evaluated in the context of a PR to determine if a change improves or harms the overall ability of the library to read QR codes. A summary of which are passing
and failing can be found at [/tests/end-to-end/report.json](./tests/end-to-end/report.json)

@@ -95,0 +96,0 @@ After testing any changes, you can compile the production version by running

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc