Comparing version 1.0.0 to 1.0.1
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
0
0
0
12453
5
126
- Removeddefaults@^1.0.0
- Removedclone@1.0.4(transitive)
- Removeddefaults@1.0.4(transitive)