Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
content-entry
Advanced tools
Extends BaseEntry
Representation of one file or directory entry All names are asolute (no leading '/') and build with '/'
name
string file name inside of the repositorycontent
(string | Buffer | Stream) (optional, default undefined
)type
string type of the content (optional, default Entry.TYPE_BLOB
)mode
string file permissions (optional, default "100644"
)sha
string sha of the contentname
string file name inside of the repositorycontent
(string | Buffer | Stream)type
string type of the contentmode
string file permissionssha
string sha of the contentDeliver content as string
Returns string content
Deliver content as read stream
Returns ReadableStream content
compare meta info against other entry
other
EntryReturns boolean true if other has the same meta information (name...)
compare content against other entry
other
EntryReturns boolean true if other has the same content (bitwise)
compare against other entry
other
EntryReturns boolean true if other describes the same content
Representation of one file or directory entry All names are asolute (no leading '/') and build with '/'
name
string file name inside of the repositoryname
string file name inside of the repositoryReturns Array<string> UTI types
brings Directory attributes to entries
superclass
Extends ContentEntryMixin(BaseEntry)
represents a entry without content (content length = 0)
general content access entries
superclass
FAQs
content entries for content containers (aka files)
The npm package content-entry receives a total of 1,520 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.