Comparing version 1.15.0 to 1.15.1
@@ -19,3 +19,3 @@ This guide forked from https://github.com/js-n/CONTRIBUTING.md (many thanks) | ||
- **Jokesa**: If you know a really good one-liner that isn't in the list, make a Pull-Request :) | ||
- **Jokes**: If you know a really good one-liner that isn't in the list, make a Pull-Request :) | ||
- **Lulz**: The project also includes LOL ascii emoticons that randomly react to the joke | ||
@@ -22,0 +22,0 @@ |
#!/usr/bin/env node | ||
var sample = require('lodash.sample') | ||
var sample = function(arr){ | ||
var len = arr == null ? 0 : arr.length | ||
return len ? arr[Math.floor(Math.random() * len)] : undefined | ||
} | ||
var jokes = require('./src/jokes') | ||
@@ -5,0 +8,0 @@ var lulz = require('./src/lulz') |
{ | ||
"name": "antic", | ||
"version": "1.15.0", | ||
"version": "1.15.1", | ||
"description": "antics", | ||
"preferGlobal": "true", | ||
"preferGlobal": true, | ||
"main": "index.js", | ||
@@ -30,10 +30,8 @@ "bin": { | ||
"homepage": "https://github.com/atomantic/antic", | ||
"dependencies": { | ||
"lodash.sample": "4.2.1" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"autochecker": "0.9.2", | ||
"chai": "3.5.0", | ||
"chai": "4.2.0", | ||
"mocha": "3.1.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
0
102
13396
11
- Removedlodash.sample@4.2.1
- Removedlodash.sample@4.2.1(transitive)