swissqrbill
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -251,5 +251,2 @@ import { isQRIBAN, isQRReference, isIBANValid, isQRReferenceValid } from "./utils.js"; | ||
} | ||
if (data.av1.substr(0, 5) !== "eBill") { | ||
throw new Error("AV1 must begin with eBill"); | ||
} | ||
} | ||
@@ -264,7 +261,4 @@ //-- AV2 | ||
} | ||
if (data.av2.substr(0, 5) !== "eBill") { | ||
throw new Error("AV2 must begin with eBill"); | ||
} | ||
} | ||
} | ||
//# sourceMappingURL=shared.js.map |
@@ -256,5 +256,2 @@ "use strict"; | ||
} | ||
if (data.av1.substr(0, 5) !== "eBill") { | ||
throw new Error("AV1 must begin with eBill"); | ||
} | ||
} | ||
@@ -269,5 +266,2 @@ //-- AV2 | ||
} | ||
if (data.av2.substr(0, 5) !== "eBill") { | ||
throw new Error("AV2 must begin with eBill"); | ||
} | ||
} | ||
@@ -274,0 +268,0 @@ } |
@@ -251,5 +251,2 @@ import { isQRIBAN, isQRReference, isIBANValid, isQRReferenceValid } from "./utils.js"; | ||
} | ||
if (data.av1.substr(0, 5) !== "eBill") { | ||
throw new Error("AV1 must begin with eBill"); | ||
} | ||
} | ||
@@ -264,7 +261,4 @@ //-- AV2 | ||
} | ||
if (data.av2.substr(0, 5) !== "eBill") { | ||
throw new Error("AV2 must begin with eBill"); | ||
} | ||
} | ||
} | ||
//# sourceMappingURL=shared.js.map |
{ | ||
"name": "swissqrbill", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Swiss QR Bill generation in Node.js and browsers", | ||
@@ -153,8 +153,8 @@ "main": "./lib/node/cjs/node/index.js", | ||
"@types/blob-stream": "^0.1.30", | ||
"@types/node": "^16.11.7", | ||
"@types/node": "^16.11.10", | ||
"@types/qrcode": "^1.4.1", | ||
"@types/qrcode-svg": "^1.1.1", | ||
"@types/svg-parser": "^2.0.3", | ||
"@typescript-eslint/eslint-plugin": "^5.3.1", | ||
"@typescript-eslint/parser": "^5.3.1", | ||
"@typescript-eslint/eslint-plugin": "^5.4.0", | ||
"@typescript-eslint/parser": "^5.4.0", | ||
"assert": "^2.0.0", | ||
@@ -164,3 +164,3 @@ "brfs": "^2.0.2", | ||
"buffer": "^6.0.3", | ||
"eslint": "^8.2.0", | ||
"eslint": "^8.3.0", | ||
"process": "^0.11.10", | ||
@@ -170,5 +170,5 @@ "readable-stream": "^3.6.0", | ||
"ts-loader": "^9.2.6", | ||
"typescript": "^4.4.4", | ||
"typescript": "^4.5.2", | ||
"util": "^0.12.4", | ||
"webpack": "^5.64.0", | ||
"webpack": "^5.64.4", | ||
"webpack-cli": "^4.9.1" | ||
@@ -175,0 +175,0 @@ }, |
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 not supported yet
Sorry, the diff of this file is not supported yet
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
6227521
12331