Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Create AppleDouble files with NodeJS – useful to preserve OS X extended attributes in zip files or on non-HFS+ volumes
Create files that store OS X extended attributes (xattrs) in seperate files.
These files are used on file systems other than HFS+ and in ZIP files. In ZIP
files they are named __MACOSX/._<file name>
.
The format of xattr files is the legacy AppleDouble format, that contains a "Finder Info" resource fork, which in turn contains extended attributes. OS X ignores all other information in the AppleDouble file.
```
npm install xattr-file
```
:::javascript
```
var xattr = require("xattr-file");
var buffer = xattr.create({
"com.example.Attribute": "my data"
});
/* Use buffer in zip file, or write to __MACOSX/._file. */
```
FAQs
Create AppleDouble files with NodeJS – useful to preserve OS X extended attributes in zip files or on non-HFS+ volumes
The npm package xattr-file receives a total of 3 weekly downloads. As such, xattr-file popularity was classified as not popular.
We found that xattr-file demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.