Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

pad

Package Overview
Dependencies
0
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

2

lib/index.js

@@ -25,3 +25,3 @@ // Generated by CoffeeScript 1.9.3

if (options.colors) {
escapecolor = /\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]/g;
escapecolor = /\x1B\[(?:[0-9]{1,2}(?:;[0-9]{1,2})?)?[m|K]/g;
length += text.length - text.replace(escapecolor, '').length;

@@ -28,0 +28,0 @@ }

{
"name": "pad",
"version": "1.0.0",
"description": "Left and right string padding",
"version": "1.0.1",
"author": "David Worms <david@adaltas.com>",
"license": "BSD-3-Clause",
"contributors": [
{ "name": "David Worms", "email": "david@adaltas.com" }
{
"name": "David Worms",
"email": "david@adaltas.com"
}
],
"devDependencies": {
"mocha": "^2.3.3",
"coffee-script": "^1.10.0",
"should": "^7.1.0"
"mocha": "^3.0.2",
"should": "^11.1.0"
},

@@ -18,3 +20,8 @@ "engines": {

},
"keywords": ["string", "pad"],
"keywords": [
"pad",
"string"
],
"license": "BSD-3-Clause",
"main": "./lib",
"repository": {

@@ -24,8 +31,7 @@ "type": "git",

},
"main": "./lib",
"scripts": {
"coffee": "./node_modules/.bin/coffee -b -o lib src",
"pretest": "./node_modules/.bin/coffee -b -o lib src",
"test": "./node_modules/.bin/mocha --compilers coffee:coffee-script/register --reporter dot"
"coffee": "coffee -b -o lib src",
"pretest": "coffee -b -o lib src",
"test": "mocha --compilers coffee:coffee-script/register --reporter dot"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc