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

devland.js

Package Overview
Dependencies
Maintainers
1
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

devland.js - npm Package Compare versions

Comparing version 1.2.28 to 1.2.29

LICENSE

2

package.json

@@ -12,3 +12,3 @@ {

"name": "devland.js",
"version": "1.2.28",
"version": "1.2.29",
"description": "A powerful API wrapper for the Discord API designed for modern bots",

@@ -15,0 +15,0 @@ "main": "index.js",

@@ -424,4 +424,9 @@ const Client = require('../client/client')

if (typeof input_id !== "string") throw new TypeError("You didn't provide any input Id")
if (!this.data) return null
if (!this.data?.components) return null
if (this.data?.components?.length < 1) return null
let goodComponent = this.data.components.find(comp => comp.components.find(c => c.custom_id === input_id))
if (!goodComponent) return null
if (!goodComponent.components) return null
if (goodComponent.components.length < 1) return null
let value = goodComponent.components.find(comp => comp.custom_id === input_id)

@@ -428,0 +433,0 @@ if (!value) return null

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