Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@zitterorg/laudantium-rerum
Advanced tools
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
An ES-spec-compliant shim/polyfill/replacement for ArrayBuffer base64 methods that works as far down as ES3
This package implements the es-shim API “multi” interface. It works in an ES3-supported environment and complies with the spec.
Because the Iterator.prototype
methods depend on a receiver (the this
value), the main export in each subdirectory takes the string to operate on as the first argument.
The main export of the package itself is simply an array of the available directory names. It’s sole intended use is for build tooling and testing.
If Uint8Array
is not present, the shim
functions and auto
entrypoints will be a no-op.
Uint8Array.fromBase64
Uint8Array.fromHex
Uint8Array.prototype.toBase64
Uint8Array.prototype.toHex
Uint8Array.prototype.setFromBase64
Uint8Array.prototype.setFromHex
npm install --save @zitterorg/laudantium-rerum
const fromHex = require('@zitterorg/laudantium-rerum/Uint8Array.fromHex');
const toHex = require('@zitterorg/laudantium-rerum/Uint8Array.prototype.toHex');
const assert = require('assert');
const array = new Uint8Array([72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100]);
const hex = '48656c6c6f20576f726c64';
assert.deepEqual(fromHex(hex), array);
assert.equal(toHex(array), hex);
require('./auto'); // shim all of the methods
require('./Uint8Array.fromHex/auto'); // shim the “fromHex” method
Simply clone the repo, npm install
, and run npm test
FAQs
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
The npm package @zitterorg/laudantium-rerum receives a total of 0 weekly downloads. As such, @zitterorg/laudantium-rerum popularity was classified as not popular.
We found that @zitterorg/laudantium-rerum 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.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.