mongochangestream
Advanced tools
Comparing version 0.43.1 to 0.43.2
@@ -0,1 +1,5 @@ | ||
# 0.43.2 | ||
- Escape period in regex. | ||
# 0.43.1 | ||
@@ -2,0 +6,0 @@ |
@@ -21,3 +21,5 @@ "use strict"; | ||
const removeDottedPaths = (omit) => { | ||
const dottedFields = omit.filter((x) => x.includes('.')); | ||
const dottedFields = omit | ||
.filter((x) => x.includes('.')) | ||
.map((x) => x.replaceAll('.', '\\.')); | ||
if (dottedFields.length) { | ||
@@ -24,0 +26,0 @@ return { |
{ | ||
"name": "mongochangestream", | ||
"version": "0.43.1", | ||
"version": "0.43.2", | ||
"description": "Sync MongoDB collections via change streams into any database.", | ||
@@ -5,0 +5,0 @@ "author": "GovSpend", |
@@ -46,3 +46,3 @@ import { test } from 'node:test' | ||
regex: | ||
'^(?!documents.agenda.parsedText|documents.agenda.contentType)', | ||
'^(?!documents\\.agenda\\.parsedText|documents\\.agenda\\.contentType)', | ||
}, | ||
@@ -49,0 +49,0 @@ }, |
@@ -18,3 +18,5 @@ import { Collection, MongoServerError } from 'mongodb' | ||
const removeDottedPaths = (omit: string[]) => { | ||
const dottedFields = omit.filter((x) => x.includes('.')) | ||
const dottedFields = omit | ||
.filter((x) => x.includes('.')) | ||
.map((x) => x.replaceAll('.', '\\.')) | ||
if (dottedFields.length) { | ||
@@ -21,0 +23,0 @@ return { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
99548
26
2381