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.1.48 to 1.1.49

2

package.json

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

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

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

@@ -78,4 +78,4 @@ const MemberFlags = require('../util/BitFieldManagement/MemberFlags')

if (typeof data.communication_disabled_until !== "undefined") {
if (data.communication_disabled_until !== null && typeof data.communication_disabled_until !== "number") return reject(new TypeError("The communication disabled until state must be a number"))
data.communication_disabled_until = Date.now()+data.communication_disabled_until
if (!(data.communication_disabled_until instanceof Date) && data.communication_disabled_until !== null && typeof data.communication_disabled_until !== "number") return reject(new TypeError("The communication disabled until state must be a number"))
data.communication_disabled_until = !(data.communication_disabled_until instanceof Date) ? new Date(Date.now() + data.communication_disabled_until) : new Date(data.communication_disabled_until.getTime())
}

@@ -82,0 +82,0 @@ if (typeof data.flags !== "undefined") {

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