Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
content-entry
Advanced tools
content entries for content containers (aka files)
Extends BaseEntry
General content access entries
compare content against other entry
other
EntryReturns boolean true if other has the same content (bitwise)
Representation of one file or directory entry All names are absolute (no leading '/') the group seperator is '/'
name
string name inside of the containername
string name inside of the containerReturns Array<string> UTI types
Default unix mode for files
Returns number 0644
Returns boolean true if there is no content
Returns any true if we represent a deleted entry
Brings directory attributes to entries.
superclass
Extends ContentEntry
Represents a entry without content (content length = 0).
Extends EmptyContentEntry
Represents a deleted entry.
We are always deleted
Returns boolean true
Content entries where a Buffer is the primary data representation.
superclass
buffer
BufferContent entries where a stream is the primary data representation.
superclass
Content entries where a string is the primary data representation.
superclass
string
stringExtends StreamContentEntryMixin(ContentEntry)
Content entries where a readable stream is the primary data representation.
name
stringreadStream
ReadableStreamname
stringreadStream
ReadableStreamExtends BufferContentEntryMixin(ContentEntry)
name
buffer
Extends StringContentEntryMixin(ContentEntry)
Content entries where a string is the primary data representation.
With npm do:
npm install content-entry
BSD-2-Clause
FAQs
content entries for content containers (aka files)
The npm package content-entry receives a total of 2,996 weekly downloads. As such, content-entry popularity was classified as popular.
We found that content-entry demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.