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

wandbox-api-updated

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wandbox-api-updated - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

lib/string.js

@@ -12,3 +12,3 @@ 'use strict';

return new Promise((resolve, reject) => {
if (!opts.code) {
if (!opts.code || opts.code.length() == 0) {
reject("No source provided.");

@@ -15,0 +15,0 @@ }

{
"name": "wandbox-api-updated",
"version": "1.0.1",
"version": "1.0.2",
"description": "Node.js bindings to the Wandbox API.",

@@ -5,0 +5,0 @@ "author": {

@@ -8,2 +8,8 @@ var { fromString, fromFile, getCompilers } = require('../lib/index');

//No source provided.
fromString({
code: "",
compiler: "lua-5.4.0",
}).then(console.log).catch(console.error);
fromFile("./test/fixtures/gamma.cpp",

@@ -10,0 +16,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