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

display-width

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

display-width - npm Package Compare versions

Comparing version 1.2.0 to 2.0.0-0

20

package.json
{
"description": "A node.js port of [uwcwidth](https://github.com/Z4JC/uwcwidth), a fast function for determining a string's display width",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
}
},
"files": [
"dist"
],
"homepage": "https://github.com/llimllib/display-width",

@@ -28,9 +37,16 @@ "keywords": [

"license": "MIT",
"main": "index.js",
"name": "display-width",
"scripts": {
"buildCJS": "esbuild --bundle index.js --outfile=dist/index.cjs --minify --platform=node --format=cjs",
"buildESM": "esbuild --bundle index.js --outfile=dist/index.mjs --minify --platform=node --format=esm",
"build": "npm run buildCJS && npm run buildESM",
"clean": "rm -rf dist",
"test": "node --test"
},
"type": "module",
"version": "1.2.0"
"version": "2.0.0-0",
"devDependencies": {
"esbuild": "^0.24.0",
"typescript": "^5.6.3"
}
}
.github/workflows/ci.yml
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