New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

duh

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

duh - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

10

lib/main.js

@@ -10,11 +10,3 @@ var d = 'duh';

duh: function(type){
if (type == 'dumb') {
return d + ' dummy';
}
if (type == 'doge') {
return d + ' doge';
}
if (type == 'troll') {
return d + ' troll';
}
if(type) return d + ' ' + type;
return d;

@@ -21,0 +13,0 @@ }

2

package.json
{
"name": "duh",
"description": "What were you thinking?",
"version": "0.0.3",
"version": "0.0.4",
"homepage": "http://github.com/stevelacy/duh",

@@ -6,0 +6,0 @@ "repository": "git://github.com/stevelacy/duh.git",

@@ -61,13 +61,8 @@ [![Build Status](https://travis-ci.org/stevelacy/duh.png?branch=master)](https://travis-ci.org/stevelacy/duh)

#### dumb
```js
`duh(String argument)`
duh('dumb');
`type: String`
```
type: string
`returns: String + argument`
Returns `duh dummy`
#### doge
```js

@@ -78,17 +73,6 @@

```
type: string
Returns `duh doge`
##### Returns `duh doge`
#### troll
```js
duh('troll');
```
type: string
Returns `duh troll`
## Testing

@@ -95,0 +79,0 @@

@@ -48,3 +48,3 @@ var duh = require('../');

it('should be duh dummy', function(done){
String(duh('dumb')).should.equal("duh dummy");
String(duh('dumb')).should.equal("duh dumb");
done();

@@ -51,0 +51,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