Socket
Socket
Sign inDemoInstall

animality

Package Overview
Dependencies
7
Maintainers
2
Versions
78
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.9 to 1.3.0

2

index.js

@@ -41,3 +41,3 @@ const fetch = require('node-fetch');

fetch(`${base}/img/${type}`).then(res => res.json()),
fetch(`${base}/fact/${type}`).then(res => res.json())
fetch(`${base}/facts/${type}`).then(res => res.json())
]).catch(err => {

@@ -44,0 +44,0 @@ throw new Error(`Failed to get type '${type}' from API, error:\n${err}`);

{
"name": "animality",
"version": "1.2.9",
"version": "1.3.0",
"description": "A simple API wrapper that generates images & facts of any animal",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc