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

pouchdb-collate

Package Overview
Dependencies
Maintainers
5
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pouchdb-collate - npm Package Compare versions

Comparing version 6.4.3 to 7.0.0

4

lib/index.es.js

@@ -95,2 +95,3 @@ function pad(str, padWith, upToLength) {

// 2 -> 2, 2
/* eslint-disable no-control-regex */
return key

@@ -100,2 +101,3 @@ .replace(/\u0002/g, '\u0002\u0002')

.replace(/\u0000/g, '\u0001\u0001');
/* eslint-enable no-control-regex */
case 'object':

@@ -249,5 +251,7 @@ var isArray = Array.isArray(key);

// algorithm (see above)
/* eslint-disable no-control-regex */
parsedStr = parsedStr.replace(/\u0001\u0001/g, '\u0000')
.replace(/\u0001\u0002/g, '\u0001')
.replace(/\u0002\u0002/g, '\u0002');
/* eslint-enable no-control-regex */
stack.push(parsedStr);

@@ -254,0 +258,0 @@ break;

@@ -99,2 +99,3 @@ 'use strict';

// 2 -> 2, 2
/* eslint-disable no-control-regex */
return key

@@ -104,2 +105,3 @@ .replace(/\u0002/g, '\u0002\u0002')

.replace(/\u0000/g, '\u0001\u0001');
/* eslint-enable no-control-regex */
case 'object':

@@ -253,5 +255,7 @@ var isArray = Array.isArray(key);

// algorithm (see above)
/* eslint-disable no-control-regex */
parsedStr = parsedStr.replace(/\u0001\u0001/g, '\u0000')
.replace(/\u0001\u0002/g, '\u0001')
.replace(/\u0002\u0002/g, '\u0002');
/* eslint-enable no-control-regex */
stack.push(parsedStr);

@@ -258,0 +262,0 @@ break;

2

package.json
{
"name": "pouchdb-collate",
"version": "6.4.3",
"version": "7.0.0",
"description": "Collation functions for PouchDB map/reduce",

@@ -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