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

content-entry

Package Overview
Dependencies
Maintainers
1
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

content-entry - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

10

dist/entry.js

@@ -108,2 +108,12 @@ 'use strict';

}
/**
* compare content against other entry
* @param {Entry} other
* @return {boolean} true if other has the same content (bitwise)
*/
async equalsContent(other) {
const [a, b] = await Promise.all([this.getBuffer(), other.getBuffer()]);
return a.equals(b);
}
}

@@ -110,0 +120,0 @@

2

package.json
{
"name": "content-entry",
"version": "1.7.0",
"version": "1.7.1",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

@@ -43,6 +43,8 @@ [![npm](https://img.shields.io/npm/v/content-entry.svg)](https://www.npmjs.com/package/content-entry)

- [ContentEntry](#contententry)
- [equalsContent](#equalscontent-1)
- [Parameters](#parameters-6)
- [BufferContentEntryMixin](#buffercontententrymixin)
- [Parameters](#parameters-6)
- [Parameters](#parameters-7)
- [StreamContentEntryMixin](#streamcontententrymixin)
- [Parameters](#parameters-7)
- [Parameters](#parameters-8)

@@ -151,2 +153,12 @@ ## Entry

### equalsContent
compare content against other entry
#### Parameters
- `other` **[Entry](#entry)**
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if other has the same content (bitwise)
## BufferContentEntryMixin

@@ -153,0 +165,0 @@

Sorry, the diff of this file is not supported yet

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