scandit-react-native-datacapture-core 7.5.0 → 7.5.2

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/THIRD_PARTY.txt CHANGED
@@ -236,6 +236,52 @@ includes components licensed under the following licenses:
236
236
  SOFTWARE.
237
237
 
238
238
 
239
+ ================================================================================
240
+
241
+
242
+ Written by: Philip Hazel
243
+ Email local part: Philip.Hazel
244
+ Email domain: gmail.com
245
+
246
+ Retired from University of Cambridge Computing Service,
247
+ Cambridge, England.
248
+
249
+ Copyright (c) 1997-2007 University of Cambridge
250
+ Copyright (c) 2007-2024 Philip Hazel
251
+ All rights reserved.
252
+
253
+ Redistribution and use in source and binary forms, with or without modification,
254
+ are permitted provided that the following conditions are met:
255
+
256
+ * Redistributions of source code must retain the above copyright notice,
257
+ this list of conditions and the following disclaimer.
258
+
259
+ * Redistributions in binary form must reproduce the above copyright notice,
260
+ this list of conditions and the following disclaimer in the documentation
261
+ and/or other materials provided with the distribution.
262
+
263
+ * Neither the names of the copyright holders nor the names of the contributors
264
+ may be used to endorse or promote products derived from this software
265
+ without specific prior written permission.
266
+
267
+ This software is provided by the copyright holders and contributors "as is" and
268
+ any express or implied warranties, including, but not limited to, the implied
269
+ warranties of merchantability and fitness for a particular purpose are disclaimed.
270
+ In no event shall copyright holders or contributors be liable for any direct,
271
+ indirect, incidental, special, exemplary, or consequential damages
272
+ (including, but not limited to, procurement of substitute goods or services;
273
+ loss of use, data, or profits; or business interruption) however caused
274
+ and on any theory of liability, whether in contract, strict liability,
275
+ or tort (including negligence or otherwise) arising in any way out of
276
+ the use of this software, even if advised of the possibility of such damage.
277
+
278
+ The second condition in the BSD licence (covering binary redistributions)
279
+ does not apply all the way down a chain of software. If binary package A
280
+ includes PCRE2, it must respect the condition, but if package B is software
281
+ that includes package A, the condition is not imposed on package B unless
282
+ it uses PCRE2 independently.
283
+
284
+
239
285
  ================================================================================
240
286
 
241
287
 
@@ -68,7 +68,7 @@ if (file( "${rootProject.projectDir}/build-test.gradle").exists()) {
68
68
  }
69
69
 
70
70
  dependencies {
71
- def sdk_version = "7.5.0"
71
+ def sdk_version = "7.5.2"
72
72
 
73
73
  println("Version of the native sdk used in this build: ${safeExtGet('global_sdk_version', sdk_version)}")
74
74
  if (findProject(':scandit-datacapture-frameworks-core') != null) {
package/dist/core.js CHANGED
@@ -463,6 +463,10 @@ const advancedNativeProxyHook = {
463
463
  * @param prop
464
464
  */
465
465
  get(advancedNativeProxy, prop) {
466
+ // Early return if prop is not a string
467
+ if (typeof prop !== 'string') {
468
+ return undefined;
469
+ }
466
470
  // Important: $ and on$ are required since if they are not added all
467
471
  // properties present on AdvancedNativeProxy will be redirected to the
468
472
  // advancedNativeProxy._call, which will call native even for the own
@@ -1997,7 +2001,7 @@ class DataCaptureContextSettings extends DefaultSerializeable {
1997
2001
  }
1998
2002
  }
1999
2003
  __decorate([
2000
- nameForSerialization('frameSettings')
2004
+ nameForSerialization('frameDataSettings')
2001
2005
  ], DataCaptureContextSettings.prototype, "_frameSettings", void 0);
2002
2006
 
2003
2007
  class OpenSourceSoftwareLicenseInfo {
@@ -3460,6 +3464,10 @@ const advancedInstanceAwareNativeProxyHook = {
3460
3464
  * @param prop
3461
3465
  */
3462
3466
  get(advancedNativeProxy, prop) {
3467
+ // Early return if prop is not a string
3468
+ if (typeof prop !== 'string') {
3469
+ return undefined;
3470
+ }
3463
3471
  // Important: $ and on$ are required since if they are not added all
3464
3472
  // properties present on AdvancedNativeProxy will be redirected to the
3465
3473
  // advancedNativeProxy._call, which will call native even for the own
@@ -3584,6 +3592,10 @@ const nativeProxyHook = {
3584
3592
  * @param prop
3585
3593
  */
3586
3594
  get(nativeProxy, prop) {
3595
+ // Early return if prop is not a string
3596
+ if (typeof prop !== 'string') {
3597
+ return undefined;
3598
+ }
3587
3599
  // Important: $ and on$ are required since if they are not added all
3588
3600
  // properties present on AdvancedNativeProxy will be redirected to the
3589
3601
  // advancedNativeProxy._call, which will call native even for the own