Socket
Socket
Sign inDemoInstall

@esbuild/android-arm

Package Overview
Dependencies
Maintainers
0
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@esbuild/android-arm - npm Package Compare versions

Comparing version 0.21.5 to 0.22.0

4

package.json
{
"name": "@esbuild/android-arm",
"version": "0.21.5",
"version": "0.22.0",
"description": "A WebAssembly shim for esbuild on Android ARM.",

@@ -12,3 +12,3 @@ "repository": {

"engines": {
"node": ">=12"
"node": ">=18"
},

@@ -15,0 +15,0 @@ "os": [

@@ -17,15 +17,5 @@ // Copyright 2021 The Go Authors. All rights reserved.

globalThis.performance = {
now() {
const [sec, nsec] = process.hrtime();
return sec * 1000 + nsec / 1000000;
},
};
globalThis.performance ??= require("performance");
const crypto = require("crypto");
globalThis.crypto = {
getRandomValues(b) {
crypto.randomFillSync(b);
},
};
globalThis.crypto ??= require("crypto");

@@ -32,0 +22,0 @@ require("./wasm_exec");

@@ -116,2 +116,6 @@ // Copyright 2018 The Go Authors. All rights reserved.

const setInt32 = (addr, v) => {
this.mem.setUint32(addr + 0, v, true);
}
const getInt64 = (addr) => {

@@ -210,3 +214,6 @@ const low = this.mem.getUint32(addr + 0, true);

this.importObject = {
go: {
_gotest: {
add: (a, b) => a + b,
},
gojs: {
// Go's SP does not change as long as no Go code is running. Some operations (e.g. calls, getters and setters)

@@ -274,3 +281,3 @@ // may synchronously trigger a Go event handler. This makes Go code get executed in the middle of the imported

},
getInt64(sp + 8) + 1, // setTimeout has been seen to fire up to 1 millisecond early
getInt64(sp + 8),
));

@@ -277,0 +284,0 @@ this.mem.setInt32(sp + 16, id, true);

Sorry, the diff of this file is not supported yet

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