Socket
Socket
Sign inDemoInstall

mongochangestream

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongochangestream - npm Package Compare versions

Comparing version 0.26.0 to 0.26.1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 0.26.1
- `Document` type should refer to type from `mongodb` not DOM.
# 0.26.0

@@ -2,0 +6,0 @@

2

dist/types.d.ts

@@ -1,2 +0,2 @@

import { ChangeStreamDocument, ChangeStreamInsertDocument } from 'mongodb';
import { ChangeStreamDocument, ChangeStreamInsertDocument, Document } from 'mongodb';
export declare type ProcessRecord = (doc: ChangeStreamDocument) => void | Promise<void>;

@@ -3,0 +3,0 @@ export declare type ProcessRecords = (doc: ChangeStreamInsertDocument[]) => void | Promise<void>;

{
"name": "mongochangestream",
"version": "0.26.0",
"version": "0.26.1",
"description": "Sync MongoDB collections via change streams into any database.",

@@ -5,0 +5,0 @@ "author": "GovSpend",

@@ -1,2 +0,6 @@

import { ChangeStreamDocument, ChangeStreamInsertDocument } from 'mongodb'
import {
ChangeStreamDocument,
ChangeStreamInsertDocument,
Document,
} from 'mongodb'

@@ -3,0 +7,0 @@ export type ProcessRecord = (doc: ChangeStreamDocument) => void | Promise<void>

@@ -7,2 +7,3 @@ {

"target": "es2022",
"lib": ["ESNext"],
"strict": true,

@@ -9,0 +10,0 @@ "esModuleInterop": true,

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