Socket
Socket
Sign inDemoInstall

utility

Package Overview
Dependencies
Maintainers
2
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

utility - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

7

History.md
1.5.0 / 2015-10-20
==================
* test(date): fix timezone on test assert
* feat(date): make YYYYMMDDHHmmss() support param not Date
* test: use codecov.io
1.4.0 / 2015-05-22

@@ -3,0 +10,0 @@ ==================

4

lib/date.js

@@ -107,2 +107,6 @@ /*!

d = d || new Date();
if (!(d instanceof Date)) {
d = new Date(d);
}
var dateSep = '-';

@@ -109,0 +113,0 @@ var timeSep = ':';

21

package.json
{
"name": "utility",
"version": "1.4.0",
"version": "1.5.0",
"description": "A collection of useful utilities.",
"main": "lib/utility.js",
"files": [
"lib/"
"lib"
],
"scripts": {
"test": "mocha -R spec -t 5000 test/*.test.js",
"test-cov": "node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -t 5000 test/*.test.js",
"test-travis": "node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- -t 5000 test/*.test.js",
"test-cov": "istanbul cover node_modules/.bin/_mocha -- -t 5000 test/*.test.js",
"jshint": "jshint .",
"autod": "autod -w --prefix '~' -e benchmark",
"cnpm": "npm install --registry=https://registry.npm.taobao.org",
"contributors": "contributors -f plain -o AUTHORS",
"test-optimized": "node --allow-natives-syntax --trace_opt --trace_deopt test/optimized.js"

@@ -24,12 +21,12 @@ },

"autod": "*",
"beautify-benchmark": "~0.2.4",
"benchmark": "~1.0.0",
"beautify-benchmark": "*",
"benchmark": "1",
"contributors": "*",
"istanbul": "*",
"jshint": "*",
"mm": "~1.0.1",
"mm": "1",
"mocha": "*",
"moment": "~2.10.2",
"optimized": "~1.2.0",
"should": "~6.0.1"
"moment": "2",
"optimized": "1",
"should": "7"
},

@@ -36,0 +33,0 @@ "homepage": "https://github.com/node-modules/utility",

@@ -6,6 +6,3 @@ utility

[![build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![Gittip][gittip-image]][gittip-url]
[![io.js version][iojs-image]][iojs-url]
[![node version][node-image]][node-url]
[![Test coverage][codecov-image]][codecov-url]
[![npm download][download-image]][download-url]

@@ -17,10 +14,4 @@

[travis-url]: https://travis-ci.org/node-modules/utility
[coveralls-image]: https://img.shields.io/coveralls/node-modules/utility.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/node-modules/utility?branch=master
[gittip-image]: https://img.shields.io/gittip/fengmk2.svg?style=flat-square
[gittip-url]: https://www.gittip.com/fengmk2/
[node-image]: https://img.shields.io/badge/node.js-%3E=_0.10-green.svg?style=flat-square
[node-url]: https://nodejs.org/download/
[iojs-image]: https://img.shields.io/badge/io.js-%3E=_1.0-yellow.svg?style=flat-square
[iojs-url]: https://iojs.org/
[codecov-image]: https://codecov.io/github/node-modules/utility/coverage.svg?branch=master
[codecov-url]: https://codecov.io/github/node-modules/utility?branch=master
[download-image]: https://img.shields.io/npm/dm/utility.svg?style=flat-square

@@ -34,3 +25,3 @@ [download-url]: https://npmjs.org/package/utility

```bash
$ npm install utility --save
$ npm install utility
```

@@ -37,0 +28,0 @@

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