Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-barcode-generator

Package Overview
Dependencies
Maintainers
3
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-barcode-generator - npm Package Compare versions

Comparing version 18.1.52 to 18.2.44

12

CHANGELOG.md

@@ -11,2 +11,14 @@ # Changelog

- `#278404` - "Ean-13 barcode not rendering" issue has been fixed.
### Barcode
#### Bug Fixes
- `#278404` - "Ean-13 barcode not rendering" issue has been fixed.
### Barcode
#### Bug Fixes
- `#269847` - "Barcode control is not rendering in MVC" issue has been fixed.

@@ -13,0 +25,0 @@

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 18.1.52
* version : 18.2.44
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.

@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license.

{
"_from": "@syncfusion/ej2-barcode-generator@*",
"_id": "@syncfusion/ej2-barcode-generator@18.1.43",
"_id": "@syncfusion/ej2-barcode-generator@18.1.52",
"_inBundle": false,
"_integrity": "sha512-iEqH+RC9mx7RfvmBI/DnUeBlWtQAzhqrpOLdNhVBh9wh1p8hf1jqCdHCZBjRVr1gY2zm6AUan1kW65idO7S9Dw==",
"_integrity": "sha512-hwfB/YqD/WWwPBQCf8uMj+IG4fV1LmcxPfm/a9y3OM4Ujbu37wLSOZj+1eiz8dTZc5qrVed3vwyQg83Aenhv2g==",
"_location": "/@syncfusion/ej2-barcode-generator",

@@ -26,4 +26,4 @@ "_phantomChildren": {},

],
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-barcode-generator/-/ej2-barcode-generator-18.1.43.tgz",
"_shasum": "463de2d7485c8c455476b2e3eaea867c6ba7045e",
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-barcode-generator/-/ej2-barcode-generator-18.1.52.tgz",
"_shasum": "ce43fa5d82b7597318a8900e737f23634af5040d",
"_spec": "@syncfusion/ej2-barcode-generator@*",

@@ -39,4 +39,4 @@ "_where": "/jenkins/workspace/automation_release_18.1.0.1-52JLNOGRCDHXRVQM3W564VPLFCPHWUYDYU3I3DVRABSR7F6AIFYQ/packages/included",

"dependencies": {
"@syncfusion/ej2-base": "~18.1.52",
"@syncfusion/ej2-data": "~18.1.52"
"@syncfusion/ej2-base": "~18.2.44",
"@syncfusion/ej2-data": "~18.2.44"
},

@@ -65,4 +65,4 @@ "deprecated": false,

"typings": "index.d.ts",
"version": "18.1.52",
"version": "18.2.44",
"sideEffects": false
}

@@ -11,2 +11,3 @@ import { OneDimension } from '../one-dimension';

validateInput(value: string): string;
private checksumValue;
private checkSumData;

@@ -13,0 +14,0 @@ private getStructure;

@@ -28,3 +28,4 @@ var __extends = (this && this.__extends) || (function () {

Ean13.prototype.validateInput = function (value) {
if (value.search(/^[0-9]{13}$/) !== -1 && Number(value[12]) === this.checkSumData(value)) {
var checkSumValue = this.checksumValue(value);
if (value.search(/^[0-9]{13}$/) !== -1 && (Number(value[12]) === this.checkSumData(value) || Number(value[12]) === checkSumValue)) {
return undefined;

@@ -41,2 +42,10 @@ }

};
Ean13.prototype.checksumValue = function (number) {
var res = number
.substr(0, 12)
.split('')
.map(function (n) { return +n; })
.reduce(function (sum, a, idx) { return (idx % 2 ? sum + a * 3 : sum + a); }, 0);
return (10 - (res % 10)) % 10;
};
Ean13.prototype.checkSumData = function (value) {

@@ -43,0 +52,0 @@ var sum1 = 3 * (Number(value[11]) + Number(value[9]) + Number(value[7])

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc