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.1 to 1.0.2

2

index.js

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

if(!input) throw new Error("No Input provided!")
if(typeOf(input) !== "String") throw new Error(`Expected a string! For example - "This is a message" or "https://youtube.com/user/rickastley"`)
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) {

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

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

@@ -5,0 +5,0 @@ "main": "index.js",

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