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

wordle-cli

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wordle-cli - npm Package Compare versions

Comparing version 1.1.7 to 1.1.8

cheat.js

51

bin/getOptions.js

@@ -11,25 +11,30 @@ const getOptions = () => {

} else if (/^-/.test(flagSplit[0])) {
switch (flagSplit[0].substring(1)) {
case 's':
options['spoiler'] = true
break
case 'h':
options['hard'] = true
break
case 'r':
options['random'] = true
break
case 'u':
options['unlimited'] = true
break
case 'g':
options['guesses'] = flagSplit[1]
break
case 'd':
options['date'] = flagSplit[1]
break
case 'w':
options['word'] = flagSplit[1]
break
}
flagSplit[0]
.substring(1)
.split('')
.forEach((flag) => {
switch (flag) {
case 's':
options['spoiler'] = true
break
case 'h':
options['hard'] = true
break
case 'r':
options['random'] = true
break
case 'u':
options['unlimited'] = true
break
case 'g':
options['guesses'] = flagSplit[1]
break
case 'd':
options['date'] = flagSplit[1]
break
case 'w':
options['word'] = flagSplit[1]
break
}
})
}

@@ -36,0 +41,0 @@ })

@@ -5,3 +5,3 @@ const { insertSpaces } = require('./utils')

title() {
console.clear()
// console.clear()
console.log(`

@@ -87,4 +87,5 @@

This is command line interpretation of Wordle, created by Rob van Bakel.
The original game was created by Josh Wardle (@powerlanguish).
This is a command line interpretation of Wordle, created by Rob van Bakel.
The original game was created by Josh Wardle (@powerlanguish) and is
available on www.nytimes.com/games/wordle.

@@ -91,0 +92,0 @@ `)

{
"name": "wordle-cli",
"version": "1.1.7",
"version": "1.1.8",
"description": "CLI interpretation of the game Wordle",

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

@@ -39,2 +39,2 @@ # Wordle CLI

This is command line interpretation of Wordle, created by [Rob van Bakel](https://github.com/robvanbakel). The original game was created by Josh Wardle ([@powerlanguish](https://twitter.com/powerlanguish)) and available on [powerlanguage.co.uk](https://powerlanguage.co.uk/wordle/).
This is command line interpretation of Wordle, created by [Rob van Bakel](https://github.com/robvanbakel). The original game was created by Josh Wardle ([@powerlanguish](https://twitter.com/powerlanguish)) and is available on [www.nytimes.com/games/wordle](https://www.nytimes.com/games/wordle).
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