pouchdb-collate
Advanced tools
Comparing version 6.4.3 to 7.0.0
@@ -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; |
{ | ||
"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", |
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
35997
703