New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

memory-allocator

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

memory-allocator - npm Package Compare versions

Comparing version
0.0.3
to
0.1.0
+1
-0
index.js
import MemoryAllocator from './MemoryAllocator.js';
export default MemoryAllocator;
export { default as MemoryRef } from './MemoryRef.js';
+1
-1
{
"name": "memory-allocator",
"author": "Warriors Life",
"version": "0.0.3",
"version": "0.1.0",
"description": "Simple ArrayBuffer memory allocator",

@@ -6,0 +6,0 @@ "license": "MIT",

# memory-allocator
A simple ArrayBuffer memory allocator for JS.
Not to be confused with the [`memory-pool`](https://www.npmjs.com/package/memory-pool) package, which removes the overhead of object creation by maintaining a pool of them and modifying their properties.
Not to be confused with the [`memory-pool`](https://www.npmjs.com/package/memory-pool) package, which removes the overhead of object creation by maintaining a pool of them and modifying their properties (see also [`PrimitivePool`](https://github.com/gkjohnson/three-mesh-bvh/blob/master/src/utils/PrimitivePool.js)).

@@ -13,3 +13,3 @@ ## License

# Documentation
The package exports `MemoryAllocator` class as default.
The package exports `MemoryAllocator` class as the default and also exports `MemoryRef` class.

@@ -16,0 +16,0 @@ ## class MemoryAllocator