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

pouchdb-utils

Package Overview
Dependencies
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pouchdb-utils - npm Package Compare versions

Comparing version 6.3.2 to 6.3.3

6

lib/index-browser.es.js

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

import uuidV4 from 'uuid';
import Promise from 'pouchdb-promise';

@@ -8,3 +9,2 @@ import getArguments from 'argsarray';

import { BAD_REQUEST, INVALID_ID, MISSING_ID, RESERVED_ID, createError } from 'pouchdb-errors';
import v4 from 'uuid/v4';

@@ -804,7 +804,7 @@ function isBinaryObject(object) {

function rev() {
return v4().replace(/-/g, '').toLowerCase();
return uuidV4.v4().replace(/-/g, '').toLowerCase();
}
var uuid = v4;
var uuid = uuidV4.v4;
export { adapterFun, assign$1 as assign, bulkGet as bulkGetShim, Changes as changesHandler, clone, defaultBackOff, explainError, filterChange, flatten, res$1 as functionName, guardedConsole, hasLocalStorage, invalidIdError, isChromeApp, isCordova, isRemote, listenerCount, immediate as nextTick, normalizeDesignDocFunctionName as normalizeDdocFunctionName, once, parseDesignDocFunctionName as parseDdocFunctionName, parseUri, pick, rev, scopeEval, toPromise, upsert, uuid };

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

var uuidV4 = _interopDefault(require('uuid'));
var Promise = _interopDefault(require('pouchdb-promise'));

@@ -15,3 +16,2 @@ var getArguments = _interopDefault(require('argsarray'));

var pouchdbErrors = require('pouchdb-errors');
var v4 = _interopDefault(require('uuid/v4'));

@@ -811,6 +811,6 @@ function isBinaryObject(object) {

function rev() {
return v4().replace(/-/g, '').toLowerCase();
return uuidV4.v4().replace(/-/g, '').toLowerCase();
}
var uuid = v4;
var uuid = uuidV4.v4;

@@ -817,0 +817,0 @@ exports.adapterFun = adapterFun;

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

import uuidV4 from 'uuid';
import Promise from 'pouchdb-promise';

@@ -8,3 +9,2 @@ import getArguments from 'argsarray';

import { BAD_REQUEST, INVALID_ID, MISSING_ID, RESERVED_ID, createError } from 'pouchdb-errors';
import v4 from 'uuid/v4';

@@ -753,7 +753,7 @@ function isBinaryObject(object) {

function rev() {
return v4().replace(/-/g, '').toLowerCase();
return uuidV4.v4().replace(/-/g, '').toLowerCase();
}
var uuid = v4;
var uuid = uuidV4.v4;
export { adapterFun, assign$1 as assign, bulkGet as bulkGetShim, Changes as changesHandler, clone, defaultBackOff, res as explainError, filterChange, flatten, res$3 as functionName, guardedConsole, hasLocalStorage, invalidIdError, isChromeApp, isCordova, isRemote, listenerCount, nextTick, normalizeDesignDocFunctionName as normalizeDdocFunctionName, once, parseDesignDocFunctionName as parseDdocFunctionName, parseUri, pick, rev, scopeEval, toPromise, upsert, uuid };

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

var uuidV4 = _interopDefault(require('uuid'));
var Promise = _interopDefault(require('pouchdb-promise'));

@@ -15,3 +16,2 @@ var getArguments = _interopDefault(require('argsarray'));

var pouchdbErrors = require('pouchdb-errors');
var v4 = _interopDefault(require('uuid/v4'));

@@ -760,6 +760,6 @@ function isBinaryObject(object) {

function rev() {
return v4().replace(/-/g, '').toLowerCase();
return uuidV4.v4().replace(/-/g, '').toLowerCase();
}
var uuid = v4;
var uuid = uuidV4.v4;

@@ -766,0 +766,0 @@ exports.adapterFun = adapterFun;

{
"name": "pouchdb-utils",
"version": "6.3.2",
"version": "6.3.3",
"description": "Unassorted utilities used by PouchDB.",

@@ -20,5 +20,6 @@ "main": "./lib/index.js",

"inherits": "2.0.3",
"pouchdb-collections": "6.3.2",
"pouchdb-errors": "6.3.2",
"pouchdb-promise": "6.3.2"
"pouchdb-collections": "6.3.3",
"pouchdb-errors": "6.3.3",
"pouchdb-promise": "6.3.3",
"uuid": "^3.1.0"
},

@@ -25,0 +26,0 @@ "module": "./lib/index.es.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