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

kahoot.js-fix

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kahoot.js-fix - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

2

index.js

@@ -16,2 +16,4 @@ /**

lastValue = result.quizQuestionAnswers
} else if (key === 'quizQuestionAnswers') {
return lastValue
}

@@ -18,0 +20,0 @@

2

package.json
{
"$schema": "https://json.schemastore.org/package",
"name": "kahoot.js-fix",
"version": "0.1.0",
"version": "0.2.0",
"description": "Fixes a critical bug in kahoot.js-updated",

@@ -6,0 +6,0 @@ "repository": "https://gitlab.com/MysteryBlokHed/kahoot.js-fix",

# kahoot.js fix
Fixes a critical bug in [kahoot.js-updated](https://www.npmjs.com/package/kahoot.js-updated).
Fixes ~~one~~ two critical bugs in [kahoot.js-updated](https://www.npmjs.com/package/kahoot.js-updated).
## The bug
## The bugs
### The first
In the file `src/modules/backup.js`, kahoot.js tries to get an array from a property

@@ -20,2 +22,8 @@ after parsing a response from the Kahoot API. However, this property doesn't always exist.

### The second
In another part of the code, there's an attempt to get the key `quizQuestionAnswers` from a different object.
This key, shockingly, is also missing here!
The last valid value or an empty array is also returned in this case.
## License

@@ -22,0 +30,0 @@

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