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

brainless

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brainless - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

9

bin/brainfuck.js

@@ -7,8 +7,9 @@ #!/usr/bin/env node

var path = require ("path");
var argp = require ("argp");
var brainfuck = require ("../lib");
var argv = require ("argp")
var argv = argp.createParser ({ once: true })
.allowUndefinedArguments ()
.readPackage (__dirname + "/../package.json")
.usages (["brainfuck <input_file> [options]"])
.usages (["brainfuck [options] <input_file>"])
.on ("argument", function (argv, argument, ignore){

@@ -19,4 +20,4 @@ if (argv.file) this.fail ("Too many arguments.");

})
.on ("end", function (argv, fns){
if (!argv.file) fns.fail ("An input file is required.");
.on ("end", function (argv){
if (!argv.file) this.fail ("An input file is required");
})

@@ -23,0 +24,0 @@ .body ()

@@ -51,4 +51,4 @@ "use strict";

var rl = readline.createInterface({
input: process.stdin,
output: process.stdout
input: process.stdin,
output: process.stdout
});

@@ -77,3 +77,3 @@ rl.setPrompt ("> ", 2);

var run = function (start){
for (var i=start, ii=code.length; i<ii; i++, column++){
for (var i=start; i<code.length; i++, column++){
c = code.charCodeAt (i);

@@ -80,0 +80,0 @@

{
"name": "brainless",
"version": "0.0.4",
"version": "0.0.5",
"description": "Interpreter for the Brainfuck esoteric language",

@@ -12,3 +12,3 @@ "keywords": ["brainfuck", "interpreter"],

"dependencies": {
"argp": "*"
"argp": "1.0.x"
},

@@ -15,0 +15,0 @@ "preferGlobal": "true",

brainfuck
=========
_Node.js project_
#### Interpreter for the Brainfuck esoteric language ####
[![NPM version](https://badge.fury.io/js/brainless.png)](http://badge.fury.io/js/brainless "Fury Version Badge")
[![Dependency Status](https://david-dm.org/gagle/node-brainfuck.png)](https://david-dm.org/gagle/node-brainfuck "David Dependency Manager Badge")
[![NPM installation](https://nodei.co/npm/brainless.png?mini=true)](https://nodei.co/npm/brainless "NodeICO Badge")
[Wikipedia page](http://en.wikipedia.org/wiki/Brainfuck).

@@ -89,3 +90,3 @@

$ brainfuck -h
Usage: brainfuck <input_file> [options]
Usage: brainfuck [options] <input_file>

@@ -92,0 +93,0 @@ Interpreter for the Brainfuck esoteric language

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