content-entry
Advanced tools
Comparing version 2.9.6 to 2.9.7
{ | ||
"name": "content-entry", | ||
"version": "2.9.6", | ||
"version": "2.9.7", | ||
"publishConfig": { | ||
@@ -34,6 +34,6 @@ "access": "public" | ||
"lint:docs": "documentation lint ./src/**/*.mjs", | ||
"lint:tsc": "tsc --allowJs --checkJs --noEmit -t es2022 ./src/*.mjs" | ||
"lint:tsc": "tsc --allowJs --checkJs --noEmit -module nodenext -t es2022 ./src/*.mjs" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^16.11.10", | ||
"@types/node": "^16.11.11", | ||
"ava": "^3.15.0", | ||
@@ -43,3 +43,3 @@ "c8": "^7.10.0", | ||
"semantic-release": "^18.0.1", | ||
"typescript": "^4.6.0-dev.20211124" | ||
"typescript": "^4.6.0-dev.20211205" | ||
}, | ||
@@ -46,0 +46,0 @@ "engines": { |
@@ -42,4 +42,7 @@ [![npm](https://img.shields.io/npm/v/content-entry.svg)](https://www.npmjs.com/package/content-entry) | ||
* [Parameters](#parameters-4) | ||
* [isEmpty](#isempty-1) | ||
* [ContentEntry](#contententry) | ||
* [isBlob](#isblob-1) | ||
* [types](#types-1) | ||
* [readStream](#readstream) | ||
* [string](#string) | ||
@@ -57,3 +60,3 @@ * [equalsContent](#equalscontent) | ||
* [buffer](#buffer) | ||
* [readStream](#readstream) | ||
* [readStream](#readstream-1) | ||
* [getString](#getstring-1) | ||
@@ -73,2 +76,3 @@ * [getBuffer](#getbuffer-1) | ||
* [Properties](#properties-4) | ||
* [isEmpty](#isempty-2) | ||
* [toReadableStream](#toreadablestream) | ||
@@ -122,7 +126,7 @@ * [Parameters](#parameters-10) | ||
Returns **any** true if we represent a deleted entry | ||
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if we represent a deleted entry | ||
### isExistent | ||
Returns **any** true if we exist | ||
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if we exist | ||
@@ -135,3 +139,3 @@ ### equals | ||
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if name, isBlob and isCollection are the same | ||
Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>** true if name, isBlob and isCollection are the same | ||
@@ -160,2 +164,4 @@ ### getTypes | ||
ConentEntry with a Buffer as content store. | ||
### Parameters | ||
@@ -166,2 +172,6 @@ | ||
### isEmpty | ||
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if buffer length is zero | ||
## ContentEntry | ||
@@ -177,2 +187,12 @@ | ||
### types | ||
UTI types for this entry | ||
Returns **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** | ||
### readStream | ||
Returns **any** undefined | ||
### string | ||
@@ -316,2 +336,6 @@ | ||
### isEmpty | ||
Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** true if string length is zero | ||
## toReadableStream | ||
@@ -318,0 +342,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
24976
519
351