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

@01/as-virtual-code

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@01/as-virtual-code - npm Package Compare versions

Comparing version 0.0.1-alpha1 to 0.0.1-alpha2

3

assembly/virtual-code/functions/date-built-ins.ts

@@ -0,1 +1,2 @@

import { Date as WASI_Date } from "as-wasi";
import { JSON } from "assemblyscript-json";

@@ -27,3 +28,3 @@ import { Value } from "../types";

if (operands.length == 0) {
return Date.now();
return <i64>WASI_Date.now();
}

@@ -30,0 +31,0 @@ if (operands.length == 1) {

{
"name": "@01/as-virtual-code",
"description": "JSON Based Virtual Code Evaluator written in AssemblyScript",
"version": "0.0.1-alpha1",
"version": "0.0.1-alpha2",
"types": "assembly/index.ts",

@@ -16,3 +16,4 @@ "private": false,

"@assemblyscript/loader": "0.19.22",
"assemblyscript-json": "^1.1.0"
"assemblyscript-json": "^1.1.0",
"as-wasi": "^0.4.6"
},

@@ -19,0 +20,0 @@ "devDependencies": {

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