Socket
Socket
Sign inDemoInstall

fairmont

Package Overview
Dependencies
Maintainers
3
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fairmont - npm Package Compare versions

Comparing version 1.0.0-alpha-15 to 1.0.0-alpha-16

37

lib/fs.js

@@ -90,10 +90,10 @@ // Generated by CoffeeScript 1.9.1

return (function*(lines) {
var Readable, promise, stream;
var Readable, promise, s;
Readable = require("stream").Readable;
stream = new Readable;
promise = read(stream);
stream.push("one\n");
stream.push("two\n");
stream.push("three\n");
stream.push(null);
s = new Readable;
promise = read(s);
s.push("one\n");
s.push("two\n");
s.push("three\n");
s.push(null);
lines = ((yield promise)).split("\n");

@@ -150,15 +150,14 @@ assert(lines.length === 3);

})(require("when"));
context.test("stream", function() {
var Readable;
context.test("stream", function*() {
var Readable, _s, s;
Readable = require("stream").Readable;
return (function*(s) {
var _s;
s.push("one\n");
s.push("two\n");
s.push("three\n");
_s = lines(s);
assert(((yield read_block(_s))) === "one");
assert(((yield read_block(_s))) === "two");
return assert(((yield read_block(_s))) === "three");
})(new Readable);
s = new Readable;
_s = stream(lines(s));
s.push("one\n");
s.push("two\n");
s.push("three\n");
s.push(null);
assert(((yield _s())) === "one");
assert(((yield _s())) === "two");
return assert(((yield _s())) === "three");
});

@@ -165,0 +164,0 @@ write = function(path, content) {

{
"name": "fairmont",
"version": "1.0.0-alpha-15",
"version": "1.0.0-alpha-16",
"description": "A collection of useful functions and utilities.",

@@ -5,0 +5,0 @@ "files": [

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