picsum-wall
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -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" | ||
] | ||
} | ||
} |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
7228
8
5
1
32
+ Added@babel/code-frame@7.26.2(transitive)
+ Added@babel/helper-validator-identifier@7.25.9(transitive)
+ Added@types/minimist@1.2.5(transitive)
+ Added@types/normalize-package-data@2.4.4(transitive)
+ Addedcamelcase@5.3.1(transitive)
+ Addedcamelcase-keys@6.2.2(transitive)
+ Addedfind-up@4.1.0(transitive)
+ Addedhard-rejection@2.1.0(transitive)
+ Addedindent-string@4.0.0(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedjson-parse-even-better-errors@2.3.1(transitive)
+ Addedkind-of@6.0.3(transitive)
+ Addedlines-and-columns@1.2.4(transitive)
+ Addedlocate-path@5.0.0(transitive)
+ Addedmap-obj@4.3.0(transitive)
+ Addedmeow@7.1.1(transitive)
+ Addedmin-indent@1.0.1(transitive)
+ Addedminimist-options@4.1.0(transitive)
+ Addedp-limit@2.3.0(transitive)
+ Addedp-locate@4.1.0(transitive)
+ Addedp-try@2.2.0(transitive)
+ Addedparse-json@5.2.0(transitive)
+ Addedpath-exists@4.0.0(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedquick-lru@4.0.1(transitive)
+ Addedread-pkg@5.2.0(transitive)
+ Addedread-pkg-up@7.0.1(transitive)
+ Addedredent@3.0.0(transitive)
+ Addedstrip-indent@3.0.0(transitive)
+ Addedtrim-newlines@3.0.1(transitive)
+ Addedtype-fest@0.13.10.6.00.8.1(transitive)
+ Addedyargs-parser@18.1.3(transitive)
- Removedarray-find-index@1.0.2(transitive)
- Removedcamelcase@4.1.0(transitive)
- Removedcamelcase-keys@4.2.0(transitive)
- Removedcurrently-unhandled@0.4.1(transitive)
- Removedfind-up@2.1.0(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedindent-string@3.2.0(transitive)
- Removedjson-parse-better-errors@1.0.2(transitive)
- Removedload-json-file@4.0.0(transitive)
- Removedlocate-path@2.0.0(transitive)
- Removedloud-rejection@1.6.0(transitive)
- Removedmap-obj@2.0.0(transitive)
- Removedmeow@5.0.0(transitive)
- Removedminimist-options@3.0.2(transitive)
- Removedp-limit@1.3.0(transitive)
- Removedp-locate@2.0.0(transitive)
- Removedp-try@1.0.0(transitive)
- Removedparse-json@4.0.0(transitive)
- Removedpath-exists@3.0.0(transitive)
- Removedpath-type@3.0.0(transitive)
- Removedpify@3.0.0(transitive)
- Removedquick-lru@1.1.0(transitive)
- Removedread-pkg@3.0.0(transitive)
- Removedread-pkg-up@3.0.0(transitive)
- Removedredent@2.0.0(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedstrip-bom@3.0.0(transitive)
- Removedstrip-indent@2.0.0(transitive)
- Removedtrim-newlines@2.0.0(transitive)
- Removedyargs-parser@10.1.0(transitive)
Updatedmeow@^7.0.1