New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

picsum-wall

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

picsum-wall - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

readme.md

30

bin/index.js

@@ -54,23 +54,23 @@ #!/usr/bin/env node

width: {
type: 'string',
default: '1920'
type: "string",
default: "1920",
},
height: {
type: 'string',
default: '1080'
type: "string",
default: "1080",
},
grayscale: {
type: 'boolean'
type: "boolean",
},
blur: {
type: 'boolean'
type: "boolean",
},
id: {
type: 'string',
default: null
}
}
type: "string",
default: undefined,
},
},
});
var gotOptions = {
baseUrl: 'https://picsum.photos'
baseUrl: "https://picsum.photos",
};

@@ -83,3 +83,3 @@ (function () { return __awaiter(_this, void 0, void 0, function () {

_a = cli.flags, width = _a.width, height = _a.height, grayscale = _a.grayscale, blur = _a.blur, id = _a.id;
file = tempy_1.file({ extension: 'jpg' });
file = tempy_1.file({ extension: "jpg" });
url = width + "/" + height;

@@ -91,9 +91,9 @@ query = [];

if (grayscale) {
query.push('grayscale');
query.push("grayscale");
}
if (blur) {
query.push('blur');
query.push("blur");
}
if (grayscale || blur) {
gotOptions.query = query.join('&');
gotOptions.query = query.join("&");
}

@@ -100,0 +100,0 @@ _b.label = 1;

{
"name": "picsum-wall",
"version": "0.1.4",
"version": "0.1.5",
"description": "Bringing the joys of picsum to your desktop",

@@ -8,7 +8,5 @@ "main": "./bin/index.js",

"scripts": {
"test": "xo",
"build": "tsc",
"prestart": "npm run build",
"start": "node ./bin/index.js",
"precommit": "xo --fix",
"prepare": "npm run build"

@@ -32,3 +30,3 @@ },

"got": "^9.6.0",
"meow": "^5.0.0",
"meow": "^7.0.1",
"tempy": "^0.3.0",

@@ -45,14 +43,7 @@ "wallpaper": "^4.4.1"

"lint-staged": "^9.2.1",
"typescript": "^3.5.3",
"xo": "^0.24.0"
"typescript": "^3.5.3"
},
"bin": {
"picsum-wall": "./bin/index.js"
},
"xo": {
"extends": "xo-typescript",
"extensions": [
"ts"
]
}
}
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