Socket
Socket
Sign inDemoInstall

noblox.js

Package Overview
Dependencies
8
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.6.0 to 4.6.1

8

lib/group/getRankInGroup.js

@@ -10,2 +10,10 @@ // Includes

function getRankInGroup (groupId, userId) {
if (typeof groupId === 'string') {
if (!isNaN(groupId)) {
// It's a number in a string
groupId = parseInt(groupId, 10)
} else {
throw new Error('Group id should be a number')
}
}
return http({ url: `//api.roblox.com/users/${userId}/groups` }).then((body) => {

@@ -12,0 +20,0 @@ const bodyObject = JSON.parse(body)

@@ -10,2 +10,10 @@ // Includes

function getRankNameInGroup (groupId, userId) {
if (typeof groupId === 'string') {
if (!isNaN(groupId)) {
// It's a number in a string
groupId = parseInt(groupId, 10)
} else {
throw new Error('Group id should be a number')
}
}
return http({ url: `//api.roblox.com/users/${userId}/groups` }).then((body) => {

@@ -12,0 +20,0 @@ const bodyObject = JSON.parse(body)

6

package.json
{
"name": "noblox.js",
"version": "4.6.0",
"version": "4.6.1",
"description": "A Node.js wrapper for ROBLOX. (original from sentanos)",

@@ -22,4 +22,6 @@ "main": "lib/index.js",

"bluebird": "^3.5.4",
"chalk": "^4.0.0",
"cheerio": "^1.0.0-rc.3",
"entities": "^2.0.0",
"figlet": "^1.4.0",
"request": "^2.81.0",

@@ -40,3 +42,2 @@ "request-promise": "^4.2.4",

"JSONStream": "^1.3.1",
"chalk": "^4.0.0",
"eslint": "^6.8.0",

@@ -48,3 +49,2 @@ "eslint-config-standard": "^14.1.0",

"eslint-plugin-standard": "^4.0.1",
"figlet": "^1.3.0",
"progress": "^2.0.0",

@@ -51,0 +51,0 @@ "standard": "^14.3.1"

@@ -49,3 +49,3 @@ <h1 align="center">

You can find the current noblox.js wiki with all API documentation [here](https://github.com/suufi/noblox.js/wiki). Keep in mind that all methods may not be documented. A majority of the new features that can be found in noblox.js are not in roblox-js. There will be new documentation coming in with v5.0.0.
You can find the current noblox.js wiki with all API documentation [here](https://noblox.js.org/). Keep in mind that all methods may not be documented. A majority of the new features that can be found in noblox.js are not in roblox-js. There will be new documentation coming in with v5.0.0.

@@ -52,0 +52,0 @@ ## Making use of new login workaround

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc