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

pouchdb-md5

Package Overview
Dependencies
Maintainers
0
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pouchdb-md5 - npm Package Compare versions

Comparing version 8.0.1 to 9.0.0

9

lib/index-browser.es.js

@@ -11,13 +11,6 @@ import { btoa, readAsArrayBuffer } from 'pouchdb-binary-utils';

function sliceBlob(blob, start, end) {
if (blob.webkitSlice) {
return blob.webkitSlice(start, end);
}
return blob.slice(start, end);
}
function appendBlob(buffer, blob, start, end, callback) {
if (start > 0 || end < blob.size) {
// only slice blob if we really need to
blob = sliceBlob(blob, start, end);
blob = blob.slice(start, end);
}

@@ -24,0 +17,0 @@ readAsArrayBuffer(blob, function (arrayBuffer) {

@@ -17,13 +17,6 @@ 'use strict';

function sliceBlob(blob, start, end) {
if (blob.webkitSlice) {
return blob.webkitSlice(start, end);
}
return blob.slice(start, end);
}
function appendBlob(buffer, blob, start, end, callback) {
if (start > 0 || end < blob.size) {
// only slice blob if we really need to
blob = sliceBlob(blob, start, end);
blob = blob.slice(start, end);
}

@@ -30,0 +23,0 @@ pouchdbBinaryUtils.readAsArrayBuffer(blob, function (arrayBuffer) {

10

package.json
{
"name": "pouchdb-md5",
"version": "8.0.1",
"version": "9.0.0",
"description": "PouchDB utilities for calculating MD5 checksums.",

@@ -14,3 +14,3 @@ "main": "./lib/index.js",

},
"jsnext:main": "./lib/index.es.js",
"module": "./lib/index.es.js",
"browser": {

@@ -21,11 +21,9 @@ "./lib/index.js": "./lib/index-browser.js",

"dependencies": {
"pouchdb-binary-utils": "8.0.1",
"pouchdb-binary-utils": "9.0.0",
"spark-md5": "3.0.2"
},
"module": "./lib/index.es.js",
"files": [
"lib",
"dist",
"tonic-example.js"
"dist"
]
}
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