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

remit

Package Overview
Dependencies
Maintainers
3
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remit - npm Package Compare versions

Comparing version 2.0.0-beta.18 to 2.0.0-beta.21

3

lib/Emitter.js

@@ -53,3 +53,2 @@ const CallableInstance = require('callable-instance')

const callsites = getStackLine.capture()
await this._ready
const now = new Date().getTime()

@@ -149,3 +148,3 @@ const parsedOptions = this._generateOptions(opts)

(!opts.delay || isNaN(opts.delay)) &&
(!opts.schedule || !(opts.schedule instanceof Date) || opts.schedule.toString === 'Invalid Date')
(!opts.schedule || !(opts.schedule instanceof Date) || opts.schedule.toString() === 'Invalid Date')
) {

@@ -152,0 +151,0 @@ throw new Error('Invalid schedule date or delay duration when attempting to send a delayed emission')

@@ -40,3 +40,2 @@ const CallableInstance = require('callable-instance')

// TODO pass back fallback if it's anything but undefined
fallback (data) {

@@ -181,3 +180,3 @@ this._fallback = data

if (this._fallback) {
if (typeof this._fallback !== 'undefined') {
resolve(this._fallback)

@@ -184,0 +183,0 @@ } else {

{
"name": "remit",
"version": "2.0.0-beta.18",
"version": "2.0.0-beta.21",
"description": "A small set of functionality used to create microservices that don't need to be aware of one-another's existence.",

@@ -5,0 +5,0 @@ "main": "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