Comparing version 0.2.1 to 0.2.2
@@ -19,3 +19,3 @@ 'use strict'; | ||
return val + padding.slice(-diff); | ||
return val + padding.slice(0, diff); | ||
}; |
{ | ||
"name": "pad-right", | ||
"description": "Right pad a string with zeros or a specified string. Fastest implementation.", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"homepage": "https://github.com/jonschlinkert/pad-right", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
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
5316