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

@nfteyez/test-npm-package-andy

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nfteyez/test-npm-package-andy - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

14

index.js

@@ -1,12 +0,12 @@

// import fetch from "node-fetch";
import fetch from "node-fetch";
export const giveMeSomeResult = async () => {
const index = getRandomInt(0, 100);
// const result = await fetch(
// `https://jsonplaceholder.typicode.com/todos/${index}`
// )
// .then((response) => response.json())
// .then((json) => console.log(json));
const result = await fetch(
`https://jsonplaceholder.typicode.com/todos/${index}`
)
.then((response) => response.json())
.then((json) => console.log(json));
return Promise.resolve(index);
return result;
};

@@ -13,0 +13,0 @@

{
"name": "@nfteyez/test-npm-package-andy",
"version": "0.0.9",
"version": "0.0.10",
"description": "Test Package",

@@ -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