diff --git a/package-lock.json b/package-lock.json index e910fbc..686edc9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,18 +1,18 @@ { "name": "esc-pos-encoder", - "version": "2.0.0", + "version": "2.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "esc-pos-encoder", - "version": "2.0.0", + "version": "2.0.1", "license": "MIT", "dependencies": { "canvas": "^2.11.2", "canvas-dither": "^1.0.1", "canvas-flatten": "^1.0.1", - "codepage-encoder": "^2.0.2", + "codepage-encoder": "^2.0.4", "linewrap": "^0.2.1" }, "devDependencies": { @@ -799,9 +799,9 @@ } }, "node_modules/codepage-encoder": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/codepage-encoder/-/codepage-encoder-2.0.2.tgz", - "integrity": "sha512-LXpOUsbcMLAsvbpHsniuTp6kkbRQu/f/AzseacVJrG7oogSDH10L2ZEmMyLnRqIeHniBfowa5OudXU6jlf/V/Q==" + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/codepage-encoder/-/codepage-encoder-2.0.4.tgz", + "integrity": "sha512-wlJs62tqO8gFKp0wpvrNy0gqiSkzwjyClwPvelfjLzNJ2S2m3uLJJDoA3DqgxkIwB8/ayese+vlSNWSzatALxg==" }, "node_modules/commondir": { "version": "1.0.1", @@ -3446,9 +3446,9 @@ "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" }, "codepage-encoder": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/codepage-encoder/-/codepage-encoder-2.0.2.tgz", - "integrity": "sha512-LXpOUsbcMLAsvbpHsniuTp6kkbRQu/f/AzseacVJrG7oogSDH10L2ZEmMyLnRqIeHniBfowa5OudXU6jlf/V/Q==" + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/codepage-encoder/-/codepage-encoder-2.0.4.tgz", + "integrity": "sha512-wlJs62tqO8gFKp0wpvrNy0gqiSkzwjyClwPvelfjLzNJ2S2m3uLJJDoA3DqgxkIwB8/ayese+vlSNWSzatALxg==" }, "commondir": { "version": "1.0.1", diff --git a/package.json b/package.json index 72a2816..10eceb3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "esc-pos-encoder", - "version": "2.0.0", + "version": "2.0.1", "description": "Create a set of commands that can be send to any receipt printer that supports ESC/POS", "type": "module", "exports": { @@ -8,7 +8,9 @@ "import": "./dist/esc-pos-encoder.esm.js", "require": "./dist/esc-pos-encoder.umd.js", "script": "./dist/esc-pos-encoder.umd.js" - } + }, + "import": "./dist/esc-pos-encoder.mjs", + "require": "./dist/esc-pos-encoder.cjs" }, "main": "dist/esc-pos-encoder.cjs", "module": "dist/esc-pos-encoder.mjs", @@ -48,7 +50,7 @@ "canvas": "^2.11.2", "canvas-dither": "^1.0.1", "canvas-flatten": "^1.0.1", - "codepage-encoder": "^2.0.2", + "codepage-encoder": "^2.0.4", "linewrap": "^0.2.1" }, "files": [