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

detritus-utils

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detritus-utils - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

12

lib/basecollection.js

@@ -98,5 +98,11 @@ "use strict";

this.limit = Infinity;
this.expire = expire;
this.intervalTime = (intervalTime === undefined) ? this.intervalTime : intervalTime;
this.limit = (limit === undefined) ? this.limit : limit;
if (expire !== undefined) {
this.expire = expire;
}
if (intervalTime !== undefined) {
this.intervalTime = intervalTime;
}
if (limit !== undefined) {
this.limit = limit;
}
if (this.expire) {

@@ -103,0 +109,0 @@ this.intervalTime = Math.min(this.expire, this.intervalTime);

@@ -5,5 +5,5 @@ "use strict";

URL: 'https://github.com/detritusjs/utils',
VERSION: '0.1.2',
VERSION: '0.1.3',
});
exports.DISCORD_SNOWFLAKE_EPOCH = 1420070400000;
exports.DISCORD_TOKEN_EPOCH = 1293840000000;
{
"name": "detritus-utils",
"version": "0.1.2",
"version": "0.1.3",
"description": "Detritus Utils",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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