
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
A plugin system for `devalue` to serialize and deserialize complex objects with support for async plugins.
A plugin system for devalue
to serialize and deserialize complex objects with support for async plugins.
Use stringifyAsync
and parse
for async plugins.
import { stringifyAsync, parse, BlobPlugin } from 'devaluex'
const a = await stringifyAsync(
{ a: 1, b: new Blob(['123']) },
{
plugins: [BlobPlugin],
},
)
const b = parse(a, {
plugins: [BlobPlugin],
})
console.log(b) // { a: 1, b: Blob { size: 3, type: '' } }
Type | Supported |
---|---|
NaN | ✅ |
Infinity | ✅ |
-Infinity | ✅ |
-0 | ✅ |
number | ✅ |
string | ✅ |
boolean | ✅ |
null | ✅ |
undefined | ✅ |
bigint | ✅ |
Array | ✅ |
sparse (holey) Arrays | ✅ |
Object | ✅ |
RegExp | ✅ |
Date | ✅ |
Map | ✅ |
Set | ✅ |
Object.create(null) | ✅ |
ArrayBuffer | ✅ |
DataView | ✅ 1 |
Int8Array | ✅ |
Int16Array | ✅ |
Int32Array | ✅ |
Uint8Array | ✅ |
Uint16Array | ✅ |
Uint32Array | ✅ |
Uint8ClampedArray | ✅ |
Float32Array | ✅ |
Float64Array | ✅ |
BigInt64Array | ✅ |
BigUint64Array | ✅ |
Error | ✅ 1 |
AggregateError | ✅ 1 |
EvalError | ✅ 1 |
RangeError | ✅ 1 |
ReferenceError | ✅ 1 |
SyntaxError | ✅ 1 |
TypeError | ✅ 1 |
URIError | ✅ 1 |
Promise | ❌ |
Iterable | ✅ 1 |
Well-known symbols | ✅ 1 |
AsyncIterable | ✅ 1 |
Built-in streaming primitive | ❌ |
Cyclic references | ✅ |
Isomorphic references | ✅ |
URL | ✅ 1 |
URLSearchParams | ✅ 1 |
Blob | ✅ 1 |
File | ✅ 1 |
Headers | ✅ 1 |
FormData | ✅ 1 |
ReadableStream | ✅ 1 |
Request | ✅ 1 |
Response | ✅ 1 |
Event | ✅ 1 |
CustomEvent | ✅ 1 |
DOMException | ✅ 1 |
ImageData | ✅ 1 |
AbortSignal | ❌ |
FAQs
A plugin system for `devalue` to serialize and deserialize complex objects with support for async plugins.
We found that devaluex demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.