Comparing version 1.0.9 to 1.0.10
{ | ||
"name": "smartwrap", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Automatically breaks long words.", | ||
@@ -23,3 +23,2 @@ "main": "src/main.js", | ||
"breakword": "^1.0.3", | ||
"merge": "^1.2.0", | ||
"wcwidth": "^1.0.1", | ||
@@ -26,0 +25,0 @@ "yargs": "^8.0.1" |
@@ -6,3 +6,2 @@ 'use strict'; | ||
options = options || {}; | ||
let Merge = require('merge'); | ||
let Wcwidth = require('wcwidth'); | ||
@@ -31,3 +30,3 @@ let Breakword = require('breakword'); | ||
let wrapObj = Merge({},defaults,options); | ||
let wrapObj = Object.assign({},defaults,options); | ||
@@ -34,0 +33,0 @@ //make sure correct sign on padding |
Sorry, the diff of this file is not supported yet
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
52448
3
16
390
- Removedmerge@^1.2.0
- Removedmerge@1.2.1(transitive)