@ericblade/quagga2 1.12.0 → 1.13.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/CYPRESS_UPGRADE_SUMMARY.md +209 -0
- package/DEPENDENCIES.md +43 -8
- package/PLAYWRIGHT_MIGRATION.md +718 -0
- package/dist/quagga.js +147 -83
- package/dist/quagga.min.js +3 -3
- package/lib/quagga.js +15623 -13096
- package/package.json +13 -9
package/package.json
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ericblade/quagga2",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.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",
|
|
7
7
|
"browser": "dist/quagga.min.js",
|
|
8
8
|
"optionalDependencies": {
|
|
9
|
-
"fsevents": "2.3.3"
|
|
9
|
+
"fsevents": "2.3.3",
|
|
10
|
+
"ndarray-pixels": "^5.0.1",
|
|
11
|
+
"sharp": "^0.35.3"
|
|
10
12
|
},
|
|
11
13
|
"devDependencies": {
|
|
12
|
-
"@babel/core": "^7.
|
|
14
|
+
"@babel/core": "^7.29.7",
|
|
13
15
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
14
16
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
|
|
15
17
|
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
|
|
@@ -19,8 +21,8 @@
|
|
|
19
21
|
"@babel/preset-env": "^7.28.5",
|
|
20
22
|
"@babel/preset-typescript": "^7.28.5",
|
|
21
23
|
"@babel/runtime": "^7.28.4",
|
|
22
|
-
"@cypress/code-coverage": "^3.
|
|
23
|
-
"@cypress/webpack-preprocessor": "6.0.
|
|
24
|
+
"@cypress/code-coverage": "^3.14.7",
|
|
25
|
+
"@cypress/webpack-preprocessor": "^6.0.4",
|
|
24
26
|
"@types/chai": "^5.2.3",
|
|
25
27
|
"@types/gl-vec2": "^1.3.5",
|
|
26
28
|
"@types/lodash": "^4.17.20",
|
|
@@ -36,7 +38,7 @@
|
|
|
36
38
|
"chai": "^4.3.10",
|
|
37
39
|
"core-js": "^3.46.0",
|
|
38
40
|
"cross-env": "^10.1.0",
|
|
39
|
-
"cypress": "^
|
|
41
|
+
"cypress": "^15.8.1",
|
|
40
42
|
"eslint": "^8.57.1",
|
|
41
43
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
42
44
|
"eslint-config-airbnb-typescript": "^18.0.0",
|
|
@@ -44,7 +46,7 @@
|
|
|
44
46
|
"eslint-plugin-import": "^2.32.0",
|
|
45
47
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
46
48
|
"eslint-plugin-typescript-sort-keys": "^3.3.0",
|
|
47
|
-
"lodash": "^4.
|
|
49
|
+
"lodash": "^4.18.1",
|
|
48
50
|
"mocha": "^5.2.0",
|
|
49
51
|
"ndarray": "^1.0.19",
|
|
50
52
|
"ndarray-linear-interpolate": "^1.0.0",
|
|
@@ -72,9 +74,9 @@
|
|
|
72
74
|
"coverage:node": "// DOES NOT WORK YET // npx cross-env NODE_ENV=test BUILD_ENV=development nyc --no-clean ts-mocha -p test/tsconfig.json src/**/test/node/*.spec.* src/**/test/*.spec.*",
|
|
73
75
|
"coverage": "npm run cypress:run",
|
|
74
76
|
"server:examples": "npx http-server docs/examples -p 8080",
|
|
75
|
-
"cypress:open": "npx cross-env NODE_ENV=development BUILD_ENV=development NODE_OPTIONS=--openssl-legacy-provider cypress open --env BUILD_ENV=development --browser electron",
|
|
77
|
+
"cypress:open": "npx cross-env NODE_ENV=development BUILD_ENV=development NODE_OPTIONS=--openssl-legacy-provider cypress open --env BUILD_ENV=development --browser electron --config specPattern='cypress/e2e/**/!(browser-bundle).cy.ts'",
|
|
76
78
|
"cypress:open:e2e": "npx cross-env NODE_ENV=development BUILD_ENV=development NODE_OPTIONS=--openssl-legacy-provider cypress open --e2e --env BUILD_ENV=development --config specPattern=\"cypress/e2e/examples.cy.ts\" --browser electron",
|
|
77
|
-
"cypress:run": "npx cross-env NODE_ENV=development BUILD_ENV=development NODE_OPTIONS=--openssl-legacy-provider cypress run --env BUILD_ENV=development",
|
|
79
|
+
"cypress:run": "npx cross-env NODE_ENV=development BUILD_ENV=development NODE_OPTIONS=--openssl-legacy-provider cypress run --env BUILD_ENV=development --config specPattern='cypress/e2e/**/!(browser-bundle).cy.ts'",
|
|
78
80
|
"cypress:run:e2e": "npx cross-env NODE_ENV=development BUILD_ENV=development NODE_OPTIONS=--openssl-legacy-provider cypress run --env BUILD_ENV=development --spec \"cypress/e2e/examples.cy.ts\"",
|
|
79
81
|
"test:e2e": "npx start-server-and-test server:examples http://localhost:8080 cypress:run:e2e",
|
|
80
82
|
"test:e2e:open": "npx start-server-and-test server:examples http://localhost:8080 cypress:open:e2e",
|
|
@@ -84,6 +86,8 @@
|
|
|
84
86
|
"test:import": "mocha test/test-import.mjs",
|
|
85
87
|
"test:node": "npx cross-env NODE_ENV=test ts-mocha -p test/tsconfig.json src/**/test/node/*.spec.* src/**/test/*.spec.* test/integration/**/*.spec.ts",
|
|
86
88
|
"test:require": "mocha test/test-require",
|
|
89
|
+
"test:node-bundle": "npm run build:node && npx cross-env NODE_ENV=test mocha test/node-bundle.spec.js",
|
|
90
|
+
"test:browser-bundle": "npm run build:prod && npx cross-env NODE_ENV=development BUILD_ENV=development NODE_OPTIONS=--openssl-legacy-provider cypress run --spec cypress/e2e/browser-bundle.cy.ts",
|
|
87
91
|
"test:module": "npm run test:require && npm run test:import",
|
|
88
92
|
"test": "npx start-server-and-test server:examples http://localhost:8080 cypress:run && npx cross-env NODE_ENV=test BUILD_ENV=development ts-mocha -p test/tsconfig.json src/**/test/node/*.spec.* src/**/test/*.spec.* test/integration/**/*.spec.ts",
|
|
89
93
|
"test:parallel": "npx concurrently --kill-others-on-fail --success=all -n e2e,node -c green,blue \"npx start-server-and-test server:examples http://localhost:8080 cypress:run\" \"npm run test:node\"",
|