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

primea-wasm-container

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

primea-wasm-container - npm Package Compare versions

Comparing version 0.9.4 to 0.9.5

3

index.js

@@ -209,2 +209,3 @@ const { ID, Message, FunctionRef, ModuleRef, ActorRef, getType } = require('primea-objects')

debug['api:data.externalize'](`by ${self.actorSelf.id.toJSON()} (index=${index}, length=${length})`)
length = Math.max(0, length)
const data = Buffer.from(this.get8Memory(index, length))

@@ -218,2 +219,3 @@ debug['api:data.externalize'](toJSON(data))

debug['api:data.internalize'](toJSON(data))
length = Math.min(Math.max(0, length), data.length)
data = data.subarray(srcOffset, srcOffset + length)

@@ -246,2 +248,3 @@ const mem = self.get8Memory(sinkOffset, data.length)

let table = self.refs.get(elemRef, 'elem')
length = Math.min(Math.max(0, length), table.length)
const buf = table.slice(srcOffset, srcOffset + length).map(obj => self.refs.add(obj, getType(obj)))

@@ -248,0 +251,0 @@ debug['api:elem.internalize'](toJSON(buf, false))

2

package.json
{
"name": "primea-wasm-container",
"version": "0.9.4",
"version": "0.9.5",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

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