Socket
Socket
Sign inDemoInstall

real-world-redux-api

Package Overview
Dependencies
11
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.31

12

index.js
import { getInstalledPath } from 'get-installed-path'
let pata = ''
const path = getInstalledPath('real-world-api')
getInstalledPath('real-world-api')
.then(path => {
pata = path
console.log('Path here', path)
})

@@ -11,3 +17,3 @@ const API = {}

name: "Sarah Drasner",
avatarURL: `${path}/images/sarah.jpg`,
avatarURL: `${pata}/images/sarah.jpg`,
tweets: ['8xf0y6ziyjabvozdd253nd', 'hbsc73kzqi75rg7v1e0i6a', '2mb6re13q842wu8n106bhk', '6h5ims9iks66d4m7kqizmv', '3sklxkf9yyfowrf0o1ftbb'],

@@ -18,3 +24,3 @@ },

name: "Tyler McGinnis",
avatarURL: `${path}/images/tyler.jpg`,
avatarURL: `${pata}/images/tyler.jpg`,
tweets: ['5c9qojr2d1738zlx09afby', 'f4xzgapq7mu783k9t02ghx', 'nnvkjqoevs8t02lzcc0ky', '4pt0px8l0l9g6y69ylivti', 'fap8sdxppna8oabnxljzcv', 'leqp4lzfox7cqvsgdj0e7', '26p5pskqi88i58qmza2gid', 'xi3ca2jcfvpa0i3t4m7ag'],

@@ -25,3 +31,3 @@ },

name: "Dan Abramov",
avatarURL: `${path}/images/dan.jpg`,
avatarURL: `${pata}/images/dan.jpg`,
tweets: ['5w6k1n34dkp1x29cuzn2zn', 'czpa59mg577x1oo45cup0d', 'omdbjl68fxact38hk7ypy6', '3km0v4hf1ps92ajf4z2ytg', 'njv20mq7jsxa6bgsqc97', 'sfljgka8pfddbcer8nuxv', 'r0xu2v1qrxa6ygtvf2rkjw'],

@@ -28,0 +34,0 @@ }

{
"name": "real-world-redux-api",
"version": "1.0.3",
"version": "1.0.31",
"description": "API end point replacement for _DATA.js file in React NanoDegree Programe on Udacity",

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