bwip-js
Advanced tools
Comparing version 3.4.4 to 3.4.5
{ | ||
"name": "bwip-js", | ||
"version": "3.4.4", | ||
"version": "3.4.5", | ||
"description": "JavaScript barcode generator supporting over 100 types and standards.", | ||
"main": "./dist/bwip-js-node.js", | ||
"browser": "./dist/bwip-js.js", | ||
"exports": { | ||
@@ -26,2 +24,4 @@ "browser": { | ||
}, | ||
"main": "./dist/bwip-js-node.js", | ||
"browser": "./dist/bwip-js.js", | ||
"react-native": "./dist/bwip-js-rn.mjs", | ||
@@ -28,0 +28,0 @@ "bin": { |
@@ -14,3 +14,3 @@ # // Barcode Writer in Pure JavaScript | ||
* Current bwip-js version is 3.4.4 (2023-07-27) | ||
* Current bwip-js version is 3.4.5 (2023-08-01) | ||
* Current BWIPP version is 2023-04-03 | ||
@@ -17,0 +17,0 @@ * Node.js compatibility: 0.12+ |
@@ -40,3 +40,3 @@ // fontlib.js | ||
} else { | ||
throw new Error("loadFont(): invalid number of arguments"); | ||
throw new Error("bwipjs: loadFont: invalid number of arguments"); | ||
} | ||
@@ -63,3 +63,3 @@ | ||
if (mono) { | ||
throw new Error('fontlib: monochrome not implemented'); | ||
throw new Error('bwipjs: monochrome fonts not implemented'); | ||
} | ||
@@ -173,1 +173,7 @@ } | ||
// This is needed to make the default exports traceable by esbuild | ||
// during its tree shaking phase. See issue #298. | ||
function LoadFont() { | ||
return FontLib.loadFont.apply(FontLib, Array.prototype.slice.call(arguments)); | ||
} | ||
Sorry, the diff of this file is too big to display
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 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 too big to display
10945766
189043