Skip to content

Commit 4a2e857

Browse files
committed
7.4.0-v0
1 parent a8537be commit 4a2e857

File tree

99 files changed

+805
-409
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+805
-409
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,3 @@ yarn.lock
6565
!bower.json
6666
!composer.json
6767
!package.js
68-
69-
70-

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ Dynamsoft.BarcodeReader.productKeys = 'PRODUCT-KEYS';
105105

106106
1D barcode: **`Code 39`**, **`Code 128`**, **`Code 93`**, **`Codabar`**, **`Interleaved 2 of 5 (ITF)`**, **`EAN-13`**, **`EAN-8`**, **`UPC-A`**, **`UPC-E`**, **`Industrial 2 of 5`** (Code 2 of 5 Industry, Standard 2 of 5, Code 2 of 5), **`Code 39 Extended`**.
107107

108-
2D barcode: **`PDF417`**, **`QR`**, **`DataMatrix`**, **`Aztec`**, and **`MaxiCode`**.
108+
2D barcode: **`PDF417`**, **`QR`**, **`DataMatrix`**, **`Aztec`**, **`MaxiCode`**, **`Dot Code`**.
109109

110-
GS1 Databar: **`Omnidirectional`**, **`Truncated`**, **`Stacked`**, **`Stacked Omnidirectional`**, **`Expanded`**, **`Expanded Stacked`** and **`Limited`**.
110+
GS1 Databar: **`Omnidirectional`**, **`Truncated`**, **`Stacked`**, **`Stacked Omnidirectional`**, **`Expanded`**, **`Expanded Stacked`**, **`Limited`**.
111111

112112
Patch Code
113113

@@ -162,6 +162,7 @@ Dynamsoft.BarcodeReader.productKeys = 'PRODUCT-KEYS';
162162
| Patch Code | - | ✓ |
163163
| GS1 Composite Code | - | ✓ |
164164
| GS1 DataBar | - | ✓ |
165+
| Dot Code | - | ✓ |
165166
| Postal Code | - | ✓ |
166167
| DPM | - | ✓ |
167168
| getRuntimeSettings | ✓ | ✓ |

bower.json

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"name": "dynamsoft-javascript-barcode",
3+
"description": "Dynamsoft Barcode Reader JS is a recognition SDK which enables you to embed barcode reading functionality in your web, desktop, and mobile applications. With a few lines of JavaScript code, you can develop a robust application to scan a linear barcode, QR Code, DaraMatrix, PDF417, and Aztec Code.",
4+
"files": [
5+
"/dist/dbr.js",
6+
"/dist/dbr.mjs",
7+
"/dist/dbr.browser.mjs",
8+
"/dist/dbr-*.worker.js",
9+
"/dist/dbr-*.wasm.js",
10+
"/dist/dbr-*.wasm",
11+
"/dist/dbr.d.ts",
12+
"/dist/dbr.reference.d.ts",
13+
"/dist/dbr.scanner.html"
14+
],
15+
"ignore": [
16+
"/doc",
17+
"/example",
18+
"/.gitignore",
19+
"/composer.json",
20+
"/package.js"
21+
],
22+
"homepage": "https://www.dynamsoft.com/Products/barcode-recognition-javascript.aspx",
23+
"main": "dist/dbr.js",
24+
"module": "dist/dbr.mjs",
25+
"browser": "dist/dbr.browser.mjs",
26+
"types": "dist/dbr.d.ts",
27+
"authors": [{
28+
"name": "Dynamsoft",
29+
"homepage": "https://www.dynamsoft.com"
30+
}],
31+
"license": [
32+
"For web: https://www.dynamsoft.com/Products/barcode-reader-license-agreement.aspx#javascript",
33+
"For node: https://www.dynamsoft.com/Products/barcode-reader-license-agreement.aspx"
34+
],
35+
"repository": {
36+
"type": "git",
37+
"url": "https://github.com/dynamsoft/javascript-barcode.git"
38+
},
39+
"maintainers": [
40+
{
41+
"name": "Dynamsoft",
42+
"email": "support@dynamsoft.com"
43+
}
44+
],
45+
"keywords": [
46+
"HTML5 barcode",
47+
"JavaScript barcode",
48+
"Web barcode",
49+
"barcode",
50+
"PDF417",
51+
"QRCode",
52+
"Aztec Code",
53+
"WebAssembly",
54+
"SDK",
55+
"Linear barcode",
56+
"1D barcode"
57+
]
58+
}

composer.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"name": "dynamsoft/javascript-barcode",
3+
"description": "Dynamsoft Barcode Reader JS is a recognition SDK which enables you to embed barcode reading functionality in your web, desktop, and mobile applications. With a few lines of JavaScript code, you can develop a robust application to scan a linear barcode, QR Code, DaraMatrix, PDF417, and Aztec Code.",
4+
"archive": {
5+
"exclude": [
6+
"/doc",
7+
"/example",
8+
"/.gitignore",
9+
"/bower.json",
10+
"/package.js"
11+
]
12+
},
13+
"keywords": [
14+
"HTML5 barcode",
15+
"JavaScript barcode",
16+
"Web barcode",
17+
"barcode",
18+
"PDF417",
19+
"QRCode",
20+
"Aztec Code",
21+
"WebAssembly",
22+
"SDK",
23+
"Linear barcode",
24+
"1D barcode"
25+
],
26+
"homepage": "https://www.dynamsoft.com/Products/barcode-recognition-javascript.aspx",
27+
"license": "proprietary",
28+
"authors": [ { "name": "Dynamsoft", "homepage": "https://www.dynamsoft.com/" } ],
29+
"support": {
30+
"issues": "https://www.dynamsoft.com/Company/Contact.aspx"
31+
}
32+
}

dist/dbr-7.3.0.3.worker.js

Lines changed: 105 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dbr-7.3.0.4.worker.js

Lines changed: 106 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dbr-7.4.0.full.wasm

118 KB
Binary file not shown.

dist/dbr-7.4.0.full.wasm.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ function La() {
256256
e.HEAPF32 = Ja = new Float32Array(buffer);
257257
e.HEAPF64 = Ka = new Float64Array(buffer);
258258
}
259-
var qa = 1744960;
259+
var qa = 1848448;
260260
assert(!0, "stack must start aligned");
261261
assert(!0, "heap must start aligned");
262262
e.TOTAL_STACK && assert(5242880 === e.TOTAL_STACK, "the stack size can no longer be determined at runtime");
@@ -271,9 +271,9 @@ wa && (buffer = wa.buffer);
271271
Ma = buffer.byteLength;
272272
assert(0 === Ma % 65536);
273273
La();
274-
p[qa >> 2] = 6987856;
274+
p[qa >> 2] = 7091344;
275275
function Na() {
276-
var a = y[436245], b = y[436246];
276+
var a = y[462117], b = y[462118];
277277
34821223 == a && 2310721022 == b || m("Stack overflow! Stack cookie has been overwritten, expected hex dwords 0x89BACDFE and 0x02135467, but received 0x" + b.toString(16) + " " + a.toString(16));
278278
1668509029 !== p[0] && m("Runtime error: The application has corrupted its heap memory area (address zero)!");
279279
}
@@ -415,7 +415,7 @@ function lb(a) {
415415
}
416416
e.asm = function(a, b) {
417417
b.memory = wa;
418-
b.table = new WebAssembly.Table({initial:8339, maximum:8339, element:"anyfunc"});
418+
b.table = new WebAssembly.Table({initial:8380, maximum:8380, element:"anyfunc"});
419419
a = lb(b);
420420
assert(a, "binaryen setup failed (no wasm support?)");
421421
return a;
@@ -2434,7 +2434,7 @@ function ae(a) {
24342434
ae.ja = c;
24352435
return ae.ja;
24362436
}
2437-
Da("GMT", 1744864, 4);
2437+
Da("GMT", 1848352, 4);
24382438
function be() {
24392439
function a(a) {
24402440
return (a = a.toTimeString().match(/\(([A-Za-z ]+)\)$/)) ? a[1] : "GMT";
@@ -3420,7 +3420,7 @@ var Z = e.asm({}, {ClassHandle:Nc, ClassHandle_clone:Vc, ClassHandle_delete:Wc,
34203420
return eval(x(a)) | 0;
34213421
}, emscripten_run_script_string:Y, ensureOverloadTable:dd, exposePublicSymbol:ed, extendError:Ic, fabs:Xa, fabsf:Xa, floatReadValueFromPointer:Qd, floor:$a, flushPendingDeletes:$c, genericPointerToWireType:jd, getBasestPointer:wd, getInheritedInstance:xd, getInheritedInstanceCount:rd, getLiveInheritedInstances:td, getShiftFromSize:Ac, getTypeName:Dd, get_first_emval:Od, getenv:ae, heap32VectorToArray:Jd, init_ClassHandle:bd, init_RegisteredPointer:Ad, init_embind:vd, init_emval:Pd, integerReadValueFromPointer:Rd,
34223422
jsStackTrace:qb, localtime:function(a) {
3423-
return fe(a, 1744816);
3423+
return fe(a, 1848304);
34243424
}, localtime_r:fe, makeClassHandle:yd, makeLegalFunctionName:Gc, memcpy:function(a, b, c) {
34253425
a |= 0;
34263426
b |= 0;
@@ -3839,14 +3839,14 @@ Z.dynCall_iiiiiiiiiii = function() {
38393839
assert(!0, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
38403840
return of.apply(null, arguments);
38413841
};
3842-
var pf = Z.dynCall_viiifii;
3843-
Z.dynCall_viiifii = function() {
3842+
var pf = Z.dynCall_viiifiii;
3843+
Z.dynCall_viiifiii = function() {
38443844
assert(E, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
38453845
assert(!0, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
38463846
return pf.apply(null, arguments);
38473847
};
3848-
var qf = Z.dynCall_viiifiii;
3849-
Z.dynCall_viiifiii = function() {
3848+
var qf = Z.dynCall_viiifii;
3849+
Z.dynCall_viiifii = function() {
38503850
assert(E, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
38513851
assert(!0, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
38523852
return qf.apply(null, arguments);
@@ -4142,15 +4142,15 @@ e.dynCall_iiiiiiiiiii = function() {
41424142
assert(!0, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
41434143
return e.asm.dynCall_iiiiiiiiiii.apply(null, arguments);
41444144
};
4145-
e.dynCall_viiifii = function() {
4145+
e.dynCall_viiifiii = function() {
41464146
assert(E, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
41474147
assert(!0, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
4148-
return e.asm.dynCall_viiifii.apply(null, arguments);
4148+
return e.asm.dynCall_viiifiii.apply(null, arguments);
41494149
};
4150-
e.dynCall_viiifiii = function() {
4150+
e.dynCall_viiifii = function() {
41514151
assert(E, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
41524152
assert(!0, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
4153-
return e.asm.dynCall_viiifiii.apply(null, arguments);
4153+
return e.asm.dynCall_viiifii.apply(null, arguments);
41544154
};
41554155
e.dynCall_iidiiii = function() {
41564156
assert(E, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
@@ -4446,8 +4446,8 @@ function yf() {
44464446
}
44474447
if (!(0 < bb)) {
44484448
assert(!0);
4449-
y[436245] = 34821223;
4450-
y[436246] = 2310721022;
4449+
y[462117] = 34821223;
4450+
y[462118] = 2310721022;
44514451
if (e.preRun) {
44524452
for ("function" == typeof e.preRun && (e.preRun = [e.preRun]); e.preRun.length;) {
44534453
Ua();

dist/dbr-7.4.0.node.wasm

118 KB
Binary file not shown.

dist/dbr-7.4.0.node.wasm.js

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ function Pa() {
271271
e.HEAPF32 = Na = new Float32Array(buffer);
272272
e.HEAPF64 = Oa = new Float64Array(buffer);
273273
}
274-
var ta = 1908208;
274+
var ta = 2011680;
275275
assert(!0, "stack must start aligned");
276276
assert(!0, "heap must start aligned");
277277
e.TOTAL_STACK && assert(5242880 === e.TOTAL_STACK, "the stack size can no longer be determined at runtime");
@@ -286,9 +286,9 @@ Aa && (buffer = Aa.buffer);
286286
Qa = buffer.byteLength;
287287
assert(0 === Qa % 65536);
288288
Pa();
289-
r[ta >> 2] = 7151104;
289+
r[ta >> 2] = 7254576;
290290
function Ra() {
291-
var a = A[477057], b = A[477058];
291+
var a = A[502925], b = A[502926];
292292
34821223 == a && 2310721022 == b || l("Stack overflow! Stack cookie has been overwritten, expected hex dwords 0x89BACDFE and 0x02135467, but received 0x" + b.toString(16) + " " + a.toString(16));
293293
1668509029 !== r[0] && l("Runtime error: The application has corrupted its heap memory area (address zero)!");
294294
}
@@ -430,7 +430,7 @@ function pb(a) {
430430
}
431431
e.asm = function(a, b) {
432432
b.memory = Aa;
433-
b.table = new WebAssembly.Table({initial:8973, maximum:8973, element:"anyfunc"});
433+
b.table = new WebAssembly.Table({initial:9014, maximum:9014, element:"anyfunc"});
434434
a = pb(b);
435435
assert(a, "binaryen setup failed (no wasm support?)");
436436
return a;
@@ -2473,7 +2473,7 @@ function le(a) {
24732473
le.ka = c;
24742474
return le.ka;
24752475
}
2476-
Ha("GMT", 1908112, 4);
2476+
Ha("GMT", 2011584, 4);
24772477
function me() {
24782478
function a(a) {
24792479
return (a = a.toTimeString().match(/\(([A-Za-z ]+)\)$/)) ? a[1] : "GMT";
@@ -3472,7 +3472,7 @@ var Z = e.asm({}, {ClassHandle:Sc, ClassHandle_clone:$c, ClassHandle_delete:ad,
34723472
}, exposePublicSymbol:jd, extendError:Mc, fabs:ab, fabsf:ab, floatReadValueFromPointer:Xd, floor:db, flushPendingDeletes:ed, genericPointerToWireType:od, getBasestPointer:Bd, getInheritedInstance:Cd, getInheritedInstanceCount:wd, getLiveInheritedInstances:yd, getShiftFromSize:Ec, getTempRet0:function() {
34733473
return ya | 0;
34743474
}, getTypeName:Kd, get_first_emval:Vd, getenv:le, heap32VectorToArray:Qd, init_ClassHandle:gd, init_RegisteredPointer:Fd, init_embind:Ad, init_emval:Wd, integerReadValueFromPointer:Yd, invoke_ii:Be, invoke_iii:Ce, invoke_iiii:De, invoke_iiiii:Ee, invoke_iiiiii:Fe, invoke_iiiiiii:Ge, invoke_iiiiiiii:He, invoke_iiiiiiiiii:Ie, invoke_vi:Je, invoke_vii:Ke, invoke_viii:Le, invoke_viiii:Me, invoke_viiiii:Ne, invoke_viiiiii:Oe, invoke_viiiiiiiii:Pe, jsStackTrace:ub, localtime:function(a) {
3475-
return qe(a, 1908064);
3475+
return qe(a, 2011536);
34763476
}, localtime_r:qe, longjmp:je, makeClassHandle:Dd, makeLegalFunctionName:Kc, memcpy:function(a, b, c) {
34773477
a |= 0;
34783478
b |= 0;
@@ -3925,14 +3925,14 @@ Z.dynCall_iiiiiiiiiii = function() {
39253925
assert(!G, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
39263926
return Sf.apply(null, arguments);
39273927
};
3928-
var Tf = Z.dynCall_viiifii;
3929-
Z.dynCall_viiifii = function() {
3928+
var Tf = Z.dynCall_viiifiii;
3929+
Z.dynCall_viiifiii = function() {
39303930
assert(F, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
39313931
assert(!G, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
39323932
return Tf.apply(null, arguments);
39333933
};
3934-
var Uf = Z.dynCall_viiifiii;
3935-
Z.dynCall_viiifiii = function() {
3934+
var Uf = Z.dynCall_viiifii;
3935+
Z.dynCall_viiifii = function() {
39363936
assert(F, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
39373937
assert(!G, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
39383938
return Uf.apply(null, arguments);
@@ -4220,15 +4220,15 @@ e.dynCall_iiiiiiiiiii = function() {
42204220
assert(!G, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
42214221
return e.asm.dynCall_iiiiiiiiiii.apply(null, arguments);
42224222
};
4223-
e.dynCall_viiifii = function() {
4223+
e.dynCall_viiifiii = function() {
42244224
assert(F, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
42254225
assert(!G, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
4226-
return e.asm.dynCall_viiifii.apply(null, arguments);
4226+
return e.asm.dynCall_viiifiii.apply(null, arguments);
42274227
};
4228-
e.dynCall_viiifiii = function() {
4228+
e.dynCall_viiifii = function() {
42294229
assert(F, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
42304230
assert(!G, "the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");
4231-
return e.asm.dynCall_viiifiii.apply(null, arguments);
4231+
return e.asm.dynCall_viiifii.apply(null, arguments);
42324232
};
42334233
e.dynCall_iidiiii = function() {
42344234
assert(F, "you need to wait for the runtime to be ready (e.g. wait for main() to be called)");
@@ -4704,8 +4704,8 @@ function pg() {
47044704
}
47054705
if (!(0 < fb)) {
47064706
assert(!0);
4707-
A[477057] = 34821223;
4708-
A[477058] = 2310721022;
4707+
A[502925] = 34821223;
4708+
A[502926] = 2310721022;
47094709
if (e.preRun) {
47104710
for ("function" == typeof e.preRun && (e.preRun = [e.preRun]); e.preRun.length;) {
47114711
Ya();

0 commit comments

Comments
 (0)