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

pad

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pad - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

CHANGELOG.md
# Changelog
## v2.0.1
src: js backward compatibility with coffee 2
## v2.0.0

@@ -5,0 +9,0 @@

5

lib/index.js

@@ -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": {

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