Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

codepage-encoder

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codepage-encoder - npm Package Compare versions

Comparing version 2.0.4 to 3.0.0

dist/codepage-encoder.esm.js

18

package.json
{
"name": "codepage-encoder",
"version": "2.0.4",
"version": "3.0.0",
"description": "A library for converting Unicode to obscure single byte codepage for use with thermal printers.",

@@ -8,8 +8,14 @@ "type": "module",

"import": "./dist/codepage-encoder.mjs",
"require": "./dist/codepage-encoder.cjs"
"require": "./dist/codepage-encoder.cjs",
"browser": {
"import": "./dist/codepage-encoder.esm.js",
"require": "./dist/codepage-encoder.umd.js",
"script": "./dist/codepage-encoder.umd.js"
}
},
"module": "dist/codepage-encoder.mjs",
"main": "dist/codepage-encoder.cjs",
"scripts": {
"build": "rollup -c",
"scripts": {
"build": "npm run generate && rollup -c",
"generate": "node tools/generate.js",
"lint": "eslint --fix src/codepage-encoder.js",

@@ -36,2 +42,5 @@ "mocha": "mocha test/",

"devDependencies": {
"@rollup/plugin-commonjs": "^24.1.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-terser": "^0.4.1",
"chai": "^4.3.7",

@@ -41,2 +50,3 @@ "eslint": "^8.39.0",

"iconv-lite": "^0.6.3",
"javascript-stringify": "^2.1.0",
"mocha": "^10.2.0",

@@ -43,0 +53,0 @@ "rollup": "^3.20.7"

@@ -1,2 +0,2 @@

# codepage-encoder
# CodepageEncoder

@@ -3,0 +3,0 @@ A library for converting Unicode to obscure single byte codepage for use with thermal printers. This library is internally used by `esc-pos-encoder`, `star-prnt-encoder` and `thermal-printer-encoder` and limited in functionality. We recommend that you use another library like `iconv` or `iconv-lite` for use with your project – unless you really, really need the codepages that are supported by this library.

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc