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

reddit-wallpapers

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reddit-wallpapers - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

5

index.js

@@ -16,3 +16,3 @@ import {

loops: [],
index: 0,
index: parseInt(localStorage.redWallIndex) || 0,
previousChoice: undefined

@@ -58,3 +58,2 @@ }

function setImage(defaultImage=false) {
if (!defaultImage) self.index += 1
if (self.index >= self.data.length - 1 && !defaultImage) {

@@ -96,2 +95,4 @@ self.restart() // clearing loops and reinit

})
localStorage.redWallIndex = self.index + 1
self.index += 1
}

@@ -98,0 +99,0 @@ }

2

package.json
{
"name": "reddit-wallpapers",
"version": "0.0.2",
"version": "0.0.3",
"description": "to help fetching wallpapers with reddit api and loop setting them",

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

Sorry, the diff of this file is too big to display

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