Socket
Socket
Sign inDemoInstall

depd

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

depd - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5

lib/compat/buffer-concat.js

6

History.md

@@ -0,1 +1,7 @@

0.4.5 / 2014-09-09
==================
* Improve call speed to functions using the function wrapper
* Support Node.js 0.6
0.4.4 / 2014-07-27

@@ -2,0 +8,0 @@ ==================

8

index.js

@@ -11,2 +11,3 @@ /*!

var callSiteToString = require('./lib/compat').callSiteToString
var EventEmitter = require('events').EventEmitter

@@ -104,3 +105,3 @@ var relative = require('path').relative

for (var i = 0; i < stack.length; i++) {
str += '\n at ' + stack[i].toString()
str += '\n at ' + callSiteToString(stack[i])
}

@@ -315,3 +316,3 @@

for (var i = 0; i < stack.length; i++) {
formatted += '\n at ' + stack[i].toString()
formatted += '\n at ' + callSiteToString(stack[i])
}

@@ -341,3 +342,3 @@

for (var i = 0; i < stack.length; i++) {
formatted += '\n \x1b[36mat ' + stack[i].toString() + '\x1b[39m' // cyan
formatted += '\n \x1b[36mat ' + callSiteToString(stack[i]) + '\x1b[39m' // cyan
}

@@ -414,2 +415,3 @@

var deprecatedfn = eval('(function (' + args + ') {\n'
+ '"use strict"\n'
+ 'log.call(deprecate, message, site)\n'

@@ -416,0 +418,0 @@ + 'return fn.apply(this, arguments)\n'

{
"name": "depd",
"description": "Deprecate all the things",
"version": "0.4.4",
"version": "0.4.5",
"author": "Douglas Christopher Wilson <doug@somethingdoug.com>",

@@ -13,10 +13,20 @@ "license": "MIT",

"devDependencies": {
"istanbul": "0.3.0",
"mocha": "~1.20.1",
"benchmark": "1.0.0",
"beautify-benchmark": "0.2.4",
"istanbul": "0.3.2",
"mocha": "~1.21.4",
"should": "~4.0.4"
},
"files": [
"lib/",
"History.md",
"LICENSE",
"index.js",
"Readme.md"
],
"engines": {
"node": ">= 0.8.0"
"node": ">= 0.6"
},
"scripts": {
"bench": "node benchmark/index.js",
"test": "mocha --reporter spec --bail --require should test/",

@@ -23,0 +33,0 @@ "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --require should test/",

# depd
[![NPM version](https://badge.fury.io/js/depd.svg)](http://badge.fury.io/js/depd)
[![Build Status](https://travis-ci.org/dougwilson/nodejs-depd.svg?branch=master)](https://travis-ci.org/dougwilson/nodejs-depd)
[![Coverage Status](https://img.shields.io/coveralls/dougwilson/nodejs-depd.svg?branch=master)](https://coveralls.io/r/dougwilson/nodejs-depd)
[![Gittip](http://img.shields.io/gittip/dougwilson.svg)](https://www.gittip.com/dougwilson/)
[![NPM Version][npm-version-image]][npm-url]
[![NPM Downloads][npm-downloads-image]][npm-url]
[![Node.js Version][node-image]][node-url]
[![Build Status][travis-image]][travis-url]
[![Coverage Status][coveralls-image]][coveralls-url]
[![Gittip][gittip-image]][gittip-url]

@@ -118,3 +120,3 @@ Deprecate all the things

Providing the argument `--no-deprecation` to the `node` executable will suppress
all deprecations.
all deprecations (only available in Node.js 0.8 or higher).

@@ -140,3 +142,3 @@ **NOTE** This will not suppress the deperecations given to any "deprecation"

Providing the argument `--trace-deprecation` to the `node` executable will trace
all deprecations.
all deprecations (only available in Node.js 0.8 or higher).

@@ -254,22 +256,14 @@ **NOTE** This will not trace the deperecations silenced by `NO_DEPRECATION`.

The MIT License (MIT)
[MIT](LICENSE)
Copyright (c) 2014 Douglas Christopher Wilson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
[npm-version-image]: https://img.shields.io/npm/v/depd.svg?style=flat
[npm-downloads-image]: https://img.shields.io/npm/dm/depd.svg?style=flat
[npm-url]: https://npmjs.org/package/depd
[travis-image]: https://img.shields.io/travis/dougwilson/nodejs-depd.svg?style=flat
[travis-url]: https://travis-ci.org/dougwilson/nodejs-depd
[coveralls-image]: https://img.shields.io/coveralls/dougwilson/nodejs-depd.svg?style=flat
[coveralls-url]: https://coveralls.io/r/dougwilson/nodejs-depd?branch=master
[node-image]: https://img.shields.io/node/v/depd.svg?style=flat
[node-url]: http://nodejs.org/download/
[gittip-image]: https://img.shields.io/gittip/dougwilson.svg?style=flat
[gittip-url]: https://www.gittip.com/dougwilson/
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc