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

rickroll-detector

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rickroll-detector - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

3

index.js

@@ -6,4 +6,3 @@ const request = require('request');

if(!input) throw new Error("No Input provided!")
if(input !== String) throw new Error(`Expected a string! For example - "This is a message" or "https://youtube.com/user/rickastley"`)
if(input !== String) return(`are you sure ${input} is a string? Check console for more info`)
if(typeOf(input) !== "String") throw new Error(`Expected a string! For example - "This is a message" or "https://youtube.com/user/rickastley"`)
request(input), function (error, response, body) {

@@ -10,0 +9,0 @@ console.error('error:', error)

{
"name": "rickroll-detector",
"version": "1.0.0",
"version": "1.0.1",
"description": "",

@@ -9,3 +9,13 @@ "main": "index.js",

},
"keywords": ["rickroll","rick roll","jebaited","rick astley","stick bugged","is rick roll", "roll", "rick", "never gonna give you up"],
"keywords": [
"rickroll",
"rick roll",
"jebaited",
"rick astley",
"stick bugged",
"is rick roll",
"roll",
"rick",
"never gonna give you up"
],
"author": "",

@@ -12,0 +22,0 @@ "license": "ISC",

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