@rss/common
Advanced tools
Comparing version 0.0.29 to 0.0.30
@@ -5,5 +5,5 @@ 'use strict'; | ||
UC: { | ||
'03': /^UC\d{10}$|^3415925DA\w{6,31}$|^(201[8-9]|20[2-9]\d{1}|2[1-9]\d{2})[0-9]{20}$/ | ||
'03': /^UC\d{10}$|^3415925DA\w{6,31}$|^(201[8-9]|20[2-9]\d{1}|2[1-9]\d{2})(0600[0-9A-F]{16}|\d{20})$/ | ||
}, | ||
DEFAULT: /^UC\d{10}$/ | ||
}; |
{ | ||
"name": "@rss/common", | ||
"version": "0.0.29", | ||
"version": "0.0.30", | ||
"description": "common constant, classes, & helper", | ||
@@ -5,0 +5,0 @@ "author": "Risk & Safety Solution", |
module.exports = { | ||
UC: { | ||
'03': /^UC\d{10}$|^3415925DA\w{6,31}$|^(201[8-9]|20[2-9]\d{1}|2[1-9]\d{2})[0-9]{20}$/, | ||
'03': /^UC\d{10}$|^3415925DA\w{6,31}$|^(201[8-9]|20[2-9]\d{1}|2[1-9]\d{2})(0600[0-9A-F]{16}|\d{20})$/, | ||
}, | ||
DEFAULT: /^UC\d{10}$/, | ||
}; |
@@ -37,3 +37,4 @@ const Helper = require('./helper'); | ||
expect(barcodePattern.test('201800000000000000000020')).toBeTruthy(); | ||
expect(barcodePattern.test('201806000123456789ABCDEF')).toBeTruthy(); | ||
}); | ||
}); |
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
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
438750
11980