@pdfme/common 1.0.1 → 1.0.4
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/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/helper.ts +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@pdfme/common",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.4",
|
4
4
|
"author": "hand-dot",
|
5
5
|
"license": "MIT",
|
6
6
|
"description": "TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!",
|
package/src/helper.ts
CHANGED
@@ -206,7 +206,7 @@ export const validateBarcodeInput = (type: BarCodeType, input: string) => {
|
|
206
206
|
// 有効文字は漢字、ひらがな、カタカナ以外。
|
207
207
|
// https://qiita.com/graminume/items/2ac8dd9c32277fa9da64
|
208
208
|
return !input.match(
|
209
|
-
/([\u30a0-\u30ff\u3040-\u309f\u3005-\u3006\u30e0-\u9fcf]|[A-Za-z0-9!"#$%&'()*+,-./:;<=>?@[\]^_`{|}〜])+/
|
209
|
+
/([\u30a0-\u30ff\u3040-\u309f\u3005-\u3006\u30e0-\u9fcf]|[A-Za-z0-9!"#$%&'()*+,-./:;<=>?@[\]^_`{|}〜 ])+/
|
210
210
|
);
|
211
211
|
}
|
212
212
|
if (type === 'nw7') {
|