Comparing version 2.0.0 to 2.0.1
# Changelog | ||
## v2.0.1 | ||
src: js backward compatibility with coffee 2 | ||
## v2.0.0 | ||
@@ -5,0 +9,0 @@ |
@@ -6,4 +6,7 @@ // Generated by CoffeeScript 2.0.1 | ||
module.exports = function(text, length, options = {}) { | ||
module.exports = function(text, length, options) { | ||
var escapecolor, invert, pad, padlength, textnocolors; | ||
if (options == null) { | ||
options = {}; | ||
} | ||
invert = typeof text === 'number'; | ||
@@ -10,0 +13,0 @@ if (invert) { |
{ | ||
"name": "pad", | ||
"description": "Left and right string padding", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"author": "David Worms <david@adaltas.com>", | ||
@@ -31,5 +31,5 @@ "contributors": [ | ||
"scripts": { | ||
"coffee": "coffee -b -o lib src", | ||
"pretest": "coffee -b -o lib src", | ||
"test": "mocha test/**/*.coffee" | ||
"coffee": "./node_modules/.bin/coffee -b -o lib src", | ||
"pretest": "./node_modules/.bin/coffee -b -o lib src", | ||
"test": "./node_modules/.bin/mocha test/**/*.coffee" | ||
}, | ||
@@ -36,0 +36,0 @@ "dependencies": { |
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
16312
343
0