aspose.barcode
Advanced tools
Comparing version 24.7.1 to 24.8.0
@@ -66,3 +66,3 @@ const ea = require("./ExamplesAssist") | ||
let codeText = '01234567'; | ||
let encodeType = EncodeTypes.CODE_39_STANDARD; | ||
let encodeType = EncodeTypes.CODE_39; | ||
let generator = new BarcodeGenerator(encodeType, codeText); | ||
@@ -87,3 +87,3 @@ generator.save(this.subfolder + "howToGenerateOneD.png", aspose_barcode.BarCodeImageFormat.PNG); | ||
let color_expected = "#FF0000"; | ||
let generator = new BarcodeGenerator(EncodeTypes.CODE_39_STANDARD, '01234567'); | ||
let generator = new BarcodeGenerator(EncodeTypes.CODE_39, '01234567'); | ||
generator.getParameters().setBackColor(color_expected); | ||
@@ -101,3 +101,3 @@ let color_actual = generator.getParameters().getBackColor(); | ||
let color_expected = "#FFFFFF"; | ||
let generator = new BarcodeGenerator(EncodeTypes.CODE_39_STANDARD, '01234567'); | ||
let generator = new BarcodeGenerator(EncodeTypes.CODE_39, '01234567'); | ||
let color_actual = generator.getParameters().getBackColor(); | ||
@@ -114,3 +114,3 @@ generator.save(this.subfolder + "howToGetDefaultBackColor.png", aspose_barcode.BarCodeImageFormat.PNG); | ||
let color_expected = "#000000"; | ||
let generator = new BarcodeGenerator(EncodeTypes.CODE_39_STANDARD, '01234567'); | ||
let generator = new BarcodeGenerator(EncodeTypes.CODE_39, '01234567'); | ||
let color_actual = generator.getParameters().getBarcode().getBarColor(); | ||
@@ -127,3 +127,3 @@ generator.save(this.subfolder + "howToGetDefaultBarColor.png", aspose_barcode.BarCodeImageFormat.PNG); | ||
let color_expected = "#FA00AA"; | ||
let generator = new BarcodeGenerator(EncodeTypes.CODE_39_STANDARD, '01234567'); | ||
let generator = new BarcodeGenerator(EncodeTypes.CODE_39, '01234567'); | ||
generator.getParameters().getBarcode().setBarColor(color_expected); | ||
@@ -172,3 +172,3 @@ let color_actual = generator.getParameters().getBarcode().getBarColor(); | ||
let dash_style_expected = BorderDashStyle.SOLID; | ||
let generator = new BarcodeGenerator(EncodeTypes.CODE_39_STANDARD, '01234567'); | ||
let generator = new BarcodeGenerator(EncodeTypes.CODE_39, '01234567'); | ||
let dash_style_actual = generator.getParameters().getBorder().getDashStyle(); | ||
@@ -185,3 +185,3 @@ generator.save(this.subfolder + "howToGetDefaultDashStyle.png", aspose_barcode.BarCodeImageFormat.PNG); | ||
let border_color_expected = "#000000"; | ||
let generator = new BarcodeGenerator(EncodeTypes.CODE_39_STANDARD, '01234567'); | ||
let generator = new BarcodeGenerator(EncodeTypes.CODE_39, '01234567'); | ||
let border_color_actual = generator.getParameters().getBorder().getColor(); | ||
@@ -198,3 +198,3 @@ generator.save(this.subfolder + "howToDefaultBorderColor.png", aspose_barcode.BarCodeImageFormat.PNG); | ||
let border_color_expected = "#AA00BB"; | ||
let generator = new BarcodeGenerator(EncodeTypes.CODE_39_STANDARD, '01234567'); | ||
let generator = new BarcodeGenerator(EncodeTypes.CODE_39, '01234567'); | ||
generator.getParameters().getBorder().setColor(border_color_expected); | ||
@@ -201,0 +201,0 @@ let border_color_actual = generator.getParameters().getBorder().getColor(); |
@@ -7,3 +7,3 @@ 'use strict' | ||
const recognition_ = require("./Recognition"); | ||
const jar_name_ = "/aspose-barcode-nodejs-24.7.jar"; | ||
const jar_name_ = "/aspose-barcode-nodejs-24.8.jar"; | ||
const jar_path_ = __dirname + jar_name_; | ||
@@ -10,0 +10,0 @@ const fs = require("fs"); |
{ | ||
"name": "aspose.barcode", | ||
"version": "24.7.1", | ||
"version": "24.8.0", | ||
"description": "barcode generation and recognition component", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16899657
43
2