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

wcwidth.js

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wcwidth.js - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

index.js

@@ -89,3 +89,3 @@ /*

module.exports.config = function(opts) {
opts = defaults(opts || {}, DEFAULTS)
opts = Object.assign({}, DEFAULTS, opts || {})
return function wcwidth(str) {

@@ -92,0 +92,0 @@ return wcswidth(str, opts)

wcwidth.js: a javascript portng of C's wcwidth()
================================================
Copyright (C) 2012-2014 by Jun Woong and Tim Oxley.
Copyright (C) 2012-2014 by Woong Jun and Tim Oxley.

@@ -6,0 +6,0 @@ This package is a javascript porting of `wcwidth()` implementation

{
"name": "wcwidth.js",
"version": "1.0.0",
"version": "1.0.1",
"description": "a javascript porting of C's wcwidth()",

@@ -26,24 +26,27 @@ "author": {

},
"license": "MIT",
"main": "index.js",
"dependencies": {
"defaults": "^1.0.0"
"scripts": {
"test": "tape test/*.js"
},
"dependencies": {},
"devDependencies": {
"tape": "^2.13.4"
"tape": "^4.2.0"
},
"engines": { "node": ">=0.8.0" },
"licenses": "MIT",
"keywords": [
"wide character", "wc",
"wide character string", "wcs",
"terminal", "width",
"wcwidth", "wcswidth"
"files": [
"combining.js"
],
"directories": {
"doc": "doc",
"test": "test"
"engines": {
"node": ">=4.9.1"
},
"scripts": {
"test": "tape test/*.js"
}
"keywords": [
"wide character",
"wc",
"wide character string",
"wcs",
"terminal",
"width",
"wcwidth",
"wcswidth"
]
}

@@ -84,3 +84,3 @@ wcwidth.js: a javascript porting of C's wcwidth()

Due to the risk of monkey-patching, the `String` getter is no longer provided.
Due to the risk of monkey-patching, no `String` getter is provided anymore.
Even if discouraged, you can still monkey-patch by yourself as follows:

@@ -87,0 +87,0 @@

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