@onflow/cadence-language-server
Advanced tools
Comparing version 0.18.2 to 0.20.2
@@ -17,3 +17,3 @@ export const go: Go; | ||
"runtime.nanotime1": (sp: any) => void; | ||
"runtime.walltime1": (sp: any) => void; | ||
"runtime.walltime": (sp: any) => void; | ||
"runtime.scheduleTimeoutEvent": (sp: any) => void; | ||
@@ -20,0 +20,0 @@ "runtime.clearTimeoutEvent": (sp: any) => void; |
@@ -217,4 +217,4 @@ // Copyright 2018 The Go Authors. All rights reserved. | ||
}, | ||
// func walltime1() (sec int64, nsec int32) | ||
"runtime.walltime1": (sp) => { | ||
// func walltime() (sec int64, nsec int32) | ||
"runtime.walltime": (sp) => { | ||
sp >>>= 0; | ||
@@ -310,2 +310,3 @@ const msec = (new Date).getTime(); | ||
catch (err) { | ||
sp = this._inst.exports.getsp() >>> 0; // see comment above | ||
storeValue(sp + 56, err); | ||
@@ -327,2 +328,3 @@ this.mem.setUint8(sp + 64, 0); | ||
catch (err) { | ||
sp = this._inst.exports.getsp() >>> 0; // see comment above | ||
storeValue(sp + 40, err); | ||
@@ -344,2 +346,3 @@ this.mem.setUint8(sp + 48, 0); | ||
catch (err) { | ||
sp = this._inst.exports.getsp() >>> 0; // see comment above | ||
storeValue(sp + 40, err); | ||
@@ -462,2 +465,8 @@ this.mem.setUint8(sp + 48, 0); | ||
}); | ||
// The linker guarantees global data starts from at least wasmMinDataAddr. | ||
// Keep in sync with cmd/link/internal/ld/data.go:wasmMinDataAddr. | ||
const wasmMinDataAddr = 4096 + 4096; | ||
if (offset >= wasmMinDataAddr) { | ||
throw new Error("command line too long"); | ||
} | ||
this._inst.exports.run(argc, argv); | ||
@@ -464,0 +473,0 @@ if (this.exited) { |
{ | ||
"name": "@onflow/cadence-language-server", | ||
"version": "0.18.2", | ||
"version": "0.20.2", | ||
"description": "The Cadence Language Server", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/onflow/cadence", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14882165
708