Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

xprezzo-buffer

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xprezzo-buffer - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

History.md

14

index.js
/* eslint-disable node/no-deprecated-api */
var buffer = require('buffer')
var Buffer = buffer.Buffer
var mixin = require('xprezzo-mixin')
function mixin (baseObject) {
let nCount, singleArgument, element
for (nCount = 1; nCount < arguments.length; nCount++) {
singleArgument = arguments[nCount]
for (element in singleArgument) {
if (Object.prototype.hasOwnProperty.call(singleArgument, element)) {
baseObject[element] = singleArgument[element]
}
}
}
return baseObject
}
function SafeBuffer (arg, encodingOrOffset, length) {

@@ -19,0 +7,0 @@ return Buffer(arg, encodingOrOffset, length)

{
"name": "xprezzo-buffer",
"description": "Provide backward support for Node.js Buffer API before v12",
"version": "1.0.0",
"version": "1.0.1",
"author": "Leolio Mcleon <info@leolio.page>",
"dependencies": {
"xprezzo-mixin": "1.0.0"
},
"devDependencies": {

@@ -31,2 +34,3 @@ "standard": "14.3.4",

"index.js",
"History.md",
"README.md",

@@ -33,0 +37,0 @@ "LICENSE"

@@ -26,3 +26,2 @@ # xprezzo-buffer

Installation

@@ -29,0 +28,0 @@ ## install

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc