jspdf-barcode
Advanced tools
Comparing version 0.1.6 to 0.1.7
import { jsPDF } from "jspdf"; | ||
import Code128Generator from "code-128-encoder"; | ||
import Code128Generator from "./code-128-encode"; | ||
// font Code 128 | ||
@@ -4,0 +5,0 @@ const font = |
{ | ||
"name": "jspdf-barcode", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "barcode generator plugin for jspdf", | ||
@@ -13,3 +13,5 @@ "main": "dist/jspdf-barcode.js", | ||
"build": "webpack --mode production", | ||
"build-example": "npm run build --workspace=example" | ||
"build-example": "npm run build --workspace=example && npm run build --workspace=example-server-side", | ||
"example": "npm run dev --workspace=example", | ||
"example-server-side": "npm run dev --workspace=example-server-side" | ||
}, | ||
@@ -31,3 +33,2 @@ "homepage": "https://github.com/castrix/jspdf-barcode#readme", | ||
"dependencies": { | ||
"code-128-encoder": "^3.1.1", | ||
"jspdf": "^2.5.1" | ||
@@ -41,2 +42,3 @@ }, | ||
"babel-loader": "^8.2.2", | ||
"code-128-encoder": "^3.1.1", | ||
"ts-loader": "^8.0.0", | ||
@@ -48,4 +50,5 @@ "typescript": "^3.9.6", | ||
"workspaces": [ | ||
"example" | ||
"example", | ||
"example-server-side" | ||
] | ||
} |
@@ -30,3 +30,3 @@ # Demo | ||
}) | ||
doc.setFont(""); // reset font to your font | ||
doc.setFont("Courier"); // reset font to your font | ||
``` | ||
@@ -33,0 +33,0 @@ |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
62007
1
11
800
10
1
- Removedcode-128-encoder@^3.1.1
- Removedcode-128-encoder@3.1.1(transitive)