File tree 2 files changed +6
-6
lines changed
packages/node_modules/pouchdb-collate
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " pouchdb-collate" ,
3
- "version" : " 7.0.0-prerelease " ,
2
+ "name" : " @craftzdog/ pouchdb-collate-react-native " ,
3
+ "version" : " 7.3.0 " ,
4
4
"description" : " Collation functions for PouchDB map/reduce" ,
5
5
"main" : " lib/index.js" ,
6
6
"keywords" : [
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ function indexify(key) {
114
114
// for lexical sorting, e.g. within a database, where the
115
115
// sorting is the same given by the collate() function.
116
116
function toIndexableString ( key ) {
117
- var zero = '\u0000 ' ;
117
+ var zero = '\u0003 ' ;
118
118
key = normalizeKey ( key ) ;
119
119
return collationIndex ( key ) + SEP + indexify ( key ) + zero ;
120
120
}
@@ -139,7 +139,7 @@ function parseNumber(str, i) {
139
139
i += MAGNITUDE_DIGITS ;
140
140
while ( true ) {
141
141
var ch = str [ i ] ;
142
- if ( ch === '\u0000 ' ) {
142
+ if ( ch === '\u0003 ' ) {
143
143
break ;
144
144
} else {
145
145
numAsString += ch ;
@@ -201,7 +201,7 @@ function parseIndexableString(str) {
201
201
/*eslint no-constant-condition: ["error", { "checkLoops": false }]*/
202
202
while ( true ) {
203
203
var collationIndex = str [ i ++ ] ;
204
- if ( collationIndex === '\u0000 ' ) {
204
+ if ( collationIndex === '\u0003 ' ) {
205
205
if ( stack . length === 1 ) {
206
206
return stack . pop ( ) ;
207
207
} else {
@@ -227,7 +227,7 @@ function parseIndexableString(str) {
227
227
/*eslint no-constant-condition: ["error", { "checkLoops": false }]*/
228
228
while ( true ) {
229
229
var ch = str [ i ] ;
230
- if ( ch === '\u0000 ' ) {
230
+ if ( ch === '\u0003 ' ) {
231
231
break ;
232
232
}
233
233
parsedStr += ch ;
You can’t perform that action at this time.
0 commit comments