@ericblade/quagga2 1.12.1 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ericblade/quagga2",
3
- "version": "1.12.1",
3
+ "version": "1.14.0",
4
4
  "description": "An advanced barcode-scanner written in JavaScript",
5
5
  "main": "lib/quagga.js",
6
6
  "types": "type-definitions/quagga.d.ts",
@@ -8,10 +8,10 @@
8
8
  "optionalDependencies": {
9
9
  "fsevents": "2.3.3",
10
10
  "ndarray-pixels": "^5.0.1",
11
- "sharp": "^0.34.0"
11
+ "sharp": "^0.35.3"
12
12
  },
13
13
  "devDependencies": {
14
- "@babel/core": "^7.28.5",
14
+ "@babel/core": "^7.29.7",
15
15
  "@babel/plugin-proposal-class-properties": "^7.18.6",
16
16
  "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
17
17
  "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
@@ -21,8 +21,8 @@
21
21
  "@babel/preset-env": "^7.28.5",
22
22
  "@babel/preset-typescript": "^7.28.5",
23
23
  "@babel/runtime": "^7.28.4",
24
- "@cypress/code-coverage": "^3.12.4",
25
- "@cypress/webpack-preprocessor": "6.0.0",
24
+ "@cypress/code-coverage": "^3.14.7",
25
+ "@cypress/webpack-preprocessor": "^6.0.4",
26
26
  "@types/chai": "^5.2.3",
27
27
  "@types/gl-vec2": "^1.3.5",
28
28
  "@types/lodash": "^4.17.20",
@@ -38,7 +38,7 @@
38
38
  "chai": "^4.3.10",
39
39
  "core-js": "^3.46.0",
40
40
  "cross-env": "^10.1.0",
41
- "cypress": "^13.17.0",
41
+ "cypress": "^15.8.1",
42
42
  "eslint": "^8.57.1",
43
43
  "eslint-config-airbnb-base": "^15.0.0",
44
44
  "eslint-config-airbnb-typescript": "^18.0.0",
@@ -46,7 +46,7 @@
46
46
  "eslint-plugin-import": "^2.32.0",
47
47
  "eslint-plugin-jsx-a11y": "^6.10.2",
48
48
  "eslint-plugin-typescript-sort-keys": "^3.3.0",
49
- "lodash": "^4.17.21",
49
+ "lodash": "^4.18.1",
50
50
  "mocha": "^5.2.0",
51
51
  "ndarray": "^1.0.19",
52
52
  "ndarray-linear-interpolate": "^1.0.0",
@@ -159,7 +159,8 @@
159
159
  "Andy Edinborough <andy@edinborough.org>",
160
160
  "Claudio Cocciarelli <claudiococciarelli@gmail.com>",
161
161
  "Hadrien Foucault <hadrien.foucault@gmail.com>",
162
- "ghevge <ghevge@github.com>"
162
+ "ghevge <ghevge@github.com>",
163
+ "bardrop (https://github.com/bardrop)"
163
164
  ],
164
165
  "license": "MIT",
165
166
  "engines": {
@@ -1007,6 +1007,12 @@ export interface QuaggaJSConfigObject {
1007
1007
  */
1008
1008
  patchSize?: string;
1009
1009
 
1010
+ /**
1011
+ * @default "global"
1012
+ * One Otsu threshold for the whole image ("global") or one per patch ("patch").
1013
+ */
1014
+ thresholding?: 'global' | 'patch';
1015
+
1010
1016
  willReadFrequently?: boolean;
1011
1017
  debug?: {
1012
1018
  /**