Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

antic

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

antic - npm Package Compare versions

Comparing version 1.11.3 to 1.12.0

5

index.js
#!/usr/bin/env node
var sample = require('lodash.sample');
var jokes = require('./src/jokes');

@@ -7,4 +8,4 @@ var lulz = require('./src/lulz');;

console.log([
jokes.random(),
lulz.random()
sample(jokes),
sample(lulz)
].join('\n'));

4

package.json
{
"name": "antic",
"version": "1.11.3",
"version": "1.12.0",
"description": "antics",

@@ -26,4 +26,4 @@ "preferGlobal": "true",

"dependencies": {
"lodash.random": "^3.1.4"
"lodash.sample": "^4.1.1"
}
}

@@ -1,5 +0,2 @@

'use strict';
var random = require('lodash.random');
var jokes = [
module.exports = [
// originals by http://twitter.com/antic

@@ -23,3 +20,3 @@ 'Atom walks into a bar. The bartender tells him to split. Everyone dies.'

,'I farted on the elevator.\n ⇒ It was wrong on so many levels.'
,'I was going to make a belt out of wrist watches,\n ⇒ but then I realized it would be a total waist of time.'
,'I once made a belt out of wrist watches; it was a complete waist of time.'
,'A doe walks out of the woods, "That’s the last time I do that for two bucks."'

@@ -49,9 +46,2 @@ ,'You know why dinosours can’t talk?\n ⇒ because they’re dead.'

,'What’s green and has wheels? Grass. I lied about the wheels.'
];
module.exports = {
random: function () {
return jokes[random(0, jokes.length - 1)];
}
};

@@ -1,5 +0,2 @@

'use strict';
var random = require('lodash.random');
var lulz = [
module.exports = [
'\\[^_^]/'

@@ -17,7 +14,1 @@ ,'\\[o_o]/'

];
module.exports = {
random: function () {
return lulz[random(0, lulz.length - 1)];
}
};
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