Socket
Socket
Sign inDemoInstall

sum-up

Package Overview
Dependencies
7
Maintainers
1
Versions
8
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

7

index.js

@@ -7,3 +7,3 @@ /*!

var chalk = require('chalk');
var Chalk = require('chalk').constructor;

@@ -15,6 +15,3 @@ module.exports = function sumUp(data) {

chalk.enabled = chalk.supportsColor &&
data.color === undefined ||
data.color;
var chalk = new Chalk({enabled: data.color});
var lines = [];

@@ -21,0 +18,0 @@

{
"name": "sum-up",
"version": "1.0.0",
"version": "1.0.1",
"description": "Summarize package information",

@@ -12,6 +12,6 @@ "repository": "shinnn/sum-up",

"scripts": {
"pretest": "eslint *.js && jscs *.js",
"test": "node test.js",
"coverage": "istanbul cover test.js; ${npm_package_scripts_clean}",
"coveralls": "istanbul cover test.js && istanbul-coveralls"
"pretest": "jscs *.js && eslint *.js",
"test": "node test.js --color && node test.js --no-color",
"coverage": "istanbul cover test.js -- --color",
"coveralls": "${npm_package_scripts_coverage} && istanbul-coveralls"
},

@@ -25,4 +25,3 @@ "licenses": [

"files": [
"index.js",
"LICENSE"
"index.js"
],

@@ -43,15 +42,17 @@ "keywords": [

"dependencies": {
"chalk": "^0.5.1"
"chalk": "^1.0.0"
},
"devDependencies": {
"eslint": "^0.10.0",
"istanbul": "^0.3.2",
"eslint": "^0.15.0",
"istanbul": "^0.3.6",
"istanbul-coveralls": "^1.0.1",
"jscs": "^1.8.1",
"tape": "^3.0.3"
"jscs": "^1.11.3",
"tape": "^3.5.0"
},
"jscsConfig": {
"preset": "google",
"maximumLineLength": 98
"maximumLineLength": 98,
"requireBlocksOnNewline": true,
"validateLineBreaks": "LF"
}
}
# sum-up
[![NPM version](https://img.shields.io/npm/v/sum-up.svg)](https://www.npmjs.com/package/sum-up)
[![Build Status](https://travis-ci.org/shinnn/sum-up.svg?branch=master)](https://travis-ci.org/shinnn/sum-up)
[![Build status](https://ci.appveyor.com/api/projects/status/75fo71xq2sc86tnv?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/sum-up)
[![Coverage Status](https://img.shields.io/coveralls/shinnn/sum-up.svg)](https://coveralls.io/r/shinnn/sum-up)
[![Dependency Status](https://david-dm.org/shinnn/sum-up.svg)](https://david-dm.org/shinnn/sum-up)
[![devDependency Status](https://david-dm.org/shinnn/sum-up/dev-status.svg)](https://david-dm.org/shinnn/sum-up#info=devDependencies)
[![Dependency Status](https://img.shields.io/david/shinnn/sum-up.svg?label=deps)](https://david-dm.org/shinnn/sum-up)
[![devDependency Status](https://img.shields.io/david/dev/shinnn/sum-up.svg?label=devDeps)](https://david-dm.org/shinnn/sum-up#info=devDependencies)

@@ -22,6 +23,4 @@ Summarize package information

[![NPM version](https://badge.fury.io/js/sum-up.svg)](https://www.npmjs.org/package/sum-up)
[Use npm.](https://docs.npmjs.com/cli/install)
[Use npm.](https://www.npmjs.org/doc/cli/npm-install.html)
```sh

@@ -67,4 +66,4 @@ npm install sum-up

Copyright (c) 2014 [Shinnosuke Watanabe](https://github.com/shinnn)
Copyright (c) 2014 - 2015 [Shinnosuke Watanabe](https://github.com/shinnn)
Licensed under [the MIT License](./LICENSE).

Sorry, the diff of this file is not supported yet

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