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

duktape-vm

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

duktape-vm - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

package.json
{
"name": "duktape-vm",
"version": "0.1.2",
"version": "0.1.3",
"description": "Javascript VM running in WebAssembly",

@@ -5,0 +5,0 @@ "main": "build/ducktape-vm.js",

@@ -23,3 +23,3 @@ # Duktape Javascript Virtual Machine

vm.asyncEval(`
vm.evalAsync(`
setTimeout(function() {

@@ -62,9 +62,9 @@ _success("hello, " + args[0]);

<!-- Webassembly Only Version (Fast with 75% browser support), 110KB -->
<script src="https://cdn.jsdelivr.net/npm/duktape-vm@0.1.2/build/duktape-vm.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/duktape-vm@0.1.3/build/duktape-vm.min.js"></script>
<!-- AsmJS Only Version (Slower with 95% browser support), 115KB -->
<script src="https://cdn.jsdelivr.net/npm/duktape-vm@0.1.2/build/duktape-vm.min.asm.js"></script>
<script src="https://cdn.jsdelivr.net/npm/duktape-vm@0.1.3/build/duktape-vm.min.asm.js"></script>
<!-- Webassembly with AsmJS fallback (Fast with 95% browser support), 220KB -->
<script src="https://cdn.jsdelivr.net/npm/duktape-vm@0.1.2/build/duktape-vm.min.both.js"></script>
<script src="https://cdn.jsdelivr.net/npm/duktape-vm@0.1.3/build/duktape-vm.min.both.js"></script>
```

@@ -123,3 +123,3 @@

// use _success and _error as callbacks
vm.asyncEval(`
vm.evalAsync(`
setTimeout(function() {

@@ -137,3 +137,3 @@

// arguments are passed in as "args" array
vm.asyncEval(`
vm.evalAsync(`
setTimeout(function() {

@@ -140,0 +140,0 @@

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