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.47 to 1.2.48

structures/gateway/webSocket.js

2

index.js

@@ -35,3 +35,2 @@ const Client = require('./structures/client/client')

const Role = require('./structures/models/Role')
const AuditLogs = require('./structures/models/AuditLogs')
const Log = require('./structures/models/Log')

@@ -94,3 +93,2 @@ const Invite = require('./structures/models/Invite')

Role,
AuditLogs,
Log,

@@ -97,0 +95,0 @@ Invite,

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

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

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

@@ -12,3 +12,3 @@ const { EventEmitter } = require('events')

const ShardClientUtil = require('../sharding/ShardClientUtil')
const webSocket = require('../gateway/webSocket-new')
const webSocket = require('../gateway/webSocket')
/**

@@ -15,0 +15,0 @@ * @extends {EventEmitter}

@@ -13,4 +13,4 @@ const Permissions = require("../util/BitFieldManagement/Permissions")

this.nsfw = options?.nsfw
this.id = options?.id,
this.application_id = options?.application_id
this.id = options?.id
this.application_id = options?.application_id
this.guild_id = options?.guild_id

@@ -17,0 +17,0 @@ }

@@ -27,3 +27,2 @@ const ClientUser = require('./ClientUser')

const Role = require('./Role')
const AuditLogs = require('./AuditLogs')
const Log = require('./Log')

@@ -67,3 +66,2 @@ const Invite = require('./Invite')

Role,
AuditLogs,
Log,

@@ -70,0 +68,0 @@ Invite,

@@ -18,3 +18,3 @@ const { parseEmoji } = require("../util")

pack() {
if (typeof this.name !== "string") throw new TypeError("The modal name must be provided as a string")
if (typeof this.name === "undefined") throw new TypeError("The modal name must be provided as a string")
if (typeof this.customId !== "string" && typeof this.custom_id !== "string") throw new TypeError("The modal custom Id must be provided as a string")

@@ -21,0 +21,0 @@ if (!Array.isArray(this.components)) throw new TypeError("The modal components must be provided as a array")

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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