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

oput

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oput - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

9

dist/index.js

@@ -129,10 +129,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

}
else if (OPutMap.has(value.constructor)) {
const container = this.malloc(value.length << OPutMap.get(value.constructor));
container.set(new Uint8Array(value.buffer, value.byteOffset, container.length));
}
else {
throw new Error('Unsupported type');
this.malloc(value.byteLength).set(new Uint8Array(value.buffer, value.byteOffset, value.byteLength));
}
this.flush();
if (this.g || this.resolve)
this.flush();
}

@@ -139,0 +136,0 @@ writeU32(value) {

{
"name": "oput",
"version": "1.1.0",
"version": "1.1.1",
"description": "0 put do",

@@ -5,0 +5,0 @@ "main": "src/index.ts",

@@ -106,9 +106,6 @@

this.malloc(value.byteLength).set(new Uint8Array(value));
} else if (OPutMap.has(value.constructor)) {
const container = this.malloc(value.length << OPutMap.get(value.constructor)!);
container.set(new Uint8Array(value.buffer, value.byteOffset, container.length));
} else {
throw new Error('Unsupported type');
this.malloc(value.byteLength).set(new Uint8Array(value.buffer, value.byteOffset, value.byteLength));
}
this.flush();
if (this.g || this.resolve) this.flush();
}

@@ -115,0 +112,0 @@ writeU32(value: number) {

Sorry, the diff of this file is not supported yet

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