New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 2.6.6 to 2.6.7

src/buffer-content-entry-mixin.mjs

16

package.json
{
"name": "content-entry",
"version": "2.6.6",
"version": "2.6.7",
"publishConfig": {

@@ -9,8 +9,4 @@ "access": "public"

"exports": {
"browser": {
"import": "./src/browser/index.mjs"
},
"node": {
"import": "./src/node/index.mjs"
}
"browser": "./src/index-browser.mjs",
"node": "./src/index-node.mjs"
},

@@ -42,8 +38,8 @@ "description": "content entries for content containers (aka files)",

"ava": "^3.15.0",
"c8": "^7.7.3",
"c8": "^7.8.0",
"documentation": "^13.2.5",
"semantic-release": "^17.4.4"
"semantic-release": "^17.4.7"
},
"engines": {
"node": ">=14.17.3"
"node": ">=14.17.5"
},

@@ -50,0 +46,0 @@ "repository": {

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

* [CollectionEntryMixin](#collectionentrymixin)
* [BaseEntry](#baseentry)
* [Parameters](#parameters)
* [BaseEntry](#baseentry)
* [Parameters](#parameters-1)
* [Properties](#properties)

@@ -32,20 +30,22 @@ * [getTypes](#gettypes)

* [isDeleted](#isdeleted)
* [BufferContentEntryMixin](#buffercontententrymixin)
* [CollectionEntryMixin](#collectionentrymixin)
* [Parameters](#parameters-1)
* [DeletedContentEntry](#deletedcontententry)
* [isDeleted](#isdeleted-1)
* [StreamContentEntryMixin](#streamcontententrymixin)
* [Parameters](#parameters-2)
* [ReadableStreamContentEntry](#readablestreamcontententry)
* [Parameters](#parameters-3)
* [Properties](#properties-1)
* [BufferContentEntryMixin](#buffercontententrymixin)
* [Parameters](#parameters-4)
* [Properties](#properties-2)
* [BufferContentEntry](#buffercontententry)
* [Parameters](#parameters-3)
* [Parameters](#parameters-5)
* [ContentEntry](#contententry)
* [equalsContent](#equalscontent)
* [Parameters](#parameters-4)
* [DeletedContentEntry](#deletedcontententry)
* [isDeleted](#isdeleted-1)
* [Parameters](#parameters-6)
* [EmptyContentEntry](#emptycontententry)
* [getBuffer](#getbuffer)
* [getReadStream](#getreadstream)
* [ReadableStreamContentEntry](#readablestreamcontententry)
* [Parameters](#parameters-5)
* [Properties](#properties-2)
* [StreamContentEntryMixin](#streamcontententrymixin)
* [Parameters](#parameters-6)
* [StringContentEntryMixin](#stringcontententrymixin)

@@ -58,10 +58,2 @@ * [Parameters](#parameters-7)

## CollectionEntryMixin
Brings directory attributes to entries.
### Parameters
* `superclass`
## BaseEntry

@@ -98,2 +90,46 @@

## CollectionEntryMixin
Brings directory attributes to entries.
### Parameters
* `superclass`
## DeletedContentEntry
**Extends EmptyContentEntry**
Represents a deleted entry.
### isDeleted
We are always deleted.
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true
## StreamContentEntryMixin
Content entries where a stream is the primary data representation.
### Parameters
* `superclass`
## ReadableStreamContentEntry
**Extends StreamContentEntryMixin(ContentEntry)**
Content entries where a readable stream is the primary data representation.
### Parameters
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
* `readStream` **ReadableStream**
### Properties
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
* `readStream` **ReadableStream**
## BufferContentEntryMixin

@@ -136,14 +172,2 @@

## DeletedContentEntry
**Extends EmptyContentEntry**
Represents a deleted entry.
### isDeleted
We are always deleted.
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true
## EmptyContentEntry

@@ -163,26 +187,2 @@

## ReadableStreamContentEntry
**Extends StreamContentEntryMixin(ContentEntry)**
Content entries where a readable stream is the primary data representation.
### Parameters
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
* `readStream` **ReadableStream**
### Properties
* `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
* `readStream` **ReadableStream**
## StreamContentEntryMixin
Content entries where a stream is the primary data representation.
### Parameters
* `superclass`
## StringContentEntryMixin

@@ -189,0 +189,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