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-20 to 1.0.0-alpha-21

2

lib/array.js

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

// Generated by CoffeeScript 1.9.1
// Generated by CoffeeScript 1.9.2
(function() {

@@ -3,0 +3,0 @@ var _, assert, binary, compose, curry, deep_equal, describe, detach, empty, flip, identity, lt, odd, partial, ref, ref1, ref2, ternary, unary,

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

// Generated by CoffeeScript 1.9.1
// Generated by CoffeeScript 1.9.2
(function() {

@@ -3,0 +3,0 @@ var assert, describe, ref,

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

// Generated by CoffeeScript 1.9.1
// Generated by CoffeeScript 1.9.2
(function() {

@@ -3,0 +3,0 @@ var assert, describe, ref;

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

// Generated by CoffeeScript 1.9.1
// Generated by CoffeeScript 1.9.2
(function() {

@@ -20,3 +20,3 @@ var assert, async, call, describe, fs, ref, ref1,

describe("File system functions", function(context) {
var binary, chdir, curry, dirname, exist, exists, is_directory, is_file, lines, mkdir, mkdirp, read, read_stream, readdir, ref2, rm, rmdir, stat, stream, write;
var binary, chdir, curry, dirname, exist, exists, is_directory, is_file, lines, mkdir, mkdirp, read, read_buffer, read_stream, readdir, ref2, rm, rmdir, stat, stream, write;
stat = function(path) {

@@ -50,3 +50,6 @@ return fs(function(arg) {

});
read = function(path) {
read = function(path, encoding) {
if (encoding == null) {
encoding = 'utf8';
}
return fs(function(arg, arg1) {

@@ -57,3 +60,3 @@ var call, readFile;

return call(function*() {
return ((yield readFile(path))).toString();
return (yield readFile(path, encoding));
});

@@ -65,2 +68,15 @@ });

});
read_buffer = function(path) {
return fs(function(arg, arg1) {
var call, readFile;
readFile = arg.readFile;
call = arg1.call;
return call(function*() {
return (yield readFile(path));
});
});
};
context.test("read_buffer", function*() {
return assert(((yield read_buffer("test/test.json"))).constructor.name === "Buffer");
});
readdir = function(path) {

@@ -257,7 +273,9 @@ return fs(function(arg) {

var parent;
parent = dirname(path);
if (!((yield exists(parent)))) {
(yield mkdirp(mode, parent));
if (!((yield exists(path)))) {
parent = dirname(path);
if (!((yield exists(parent)))) {
(yield mkdirp(mode, parent));
}
return mkdir(mode, path);
}
return mkdir(mode, path);
})));

@@ -272,2 +290,3 @@ context.test("mkdirp", function*() {

read: read,
read_buffer: read_buffer,
write: write,

@@ -274,0 +293,0 @@ stream: stream,

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

// Generated by CoffeeScript 1.9.1
// Generated by CoffeeScript 1.9.2
(function() {

@@ -3,0 +3,0 @@ var async, call, ref;

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

// Generated by CoffeeScript 1.9.1
// Generated by CoffeeScript 1.9.2
(function() {

@@ -3,0 +3,0 @@ var Amen, assert, script;

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

// Generated by CoffeeScript 1.9.1
// Generated by CoffeeScript 1.9.2
(function() {

@@ -9,3 +9,6 @@ var assert, describe, ref;

var abort, async, benchmark, blank, curry, empty, include, is_array, is_function, is_generator, is_object, is_string, keys, length, memoize, ref1, ref2, shell, sleep, timer, times;
abort = function() {
abort = function(message) {
if (message != null) {
console.error(message);
}
return process.exit(-1);

@@ -12,0 +15,0 @@ };

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

// Generated by CoffeeScript 1.9.1
// Generated by CoffeeScript 1.9.2
(function() {

@@ -288,3 +288,3 @@ var assert, async, call, curry, describe, promise, ref, ref1;

});
ref2 = require("./index"), first = ref2.first, second = ref2.second;
ref2 = require("./array"), first = ref2.first, second = ref2.second;
assoc = async(function(i) {

@@ -291,0 +291,0 @@ return (function*(i) {

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

// Generated by CoffeeScript 1.9.1
// Generated by CoffeeScript 1.9.2
(function() {

@@ -3,0 +3,0 @@ var assert, curry, describe, ref;

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

// Generated by CoffeeScript 1.9.1
// Generated by CoffeeScript 1.9.2
(function() {

@@ -3,0 +3,0 @@ var assert, curry, describe, negate, partial, ref, ref1;

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

// Generated by CoffeeScript 1.9.1
// Generated by CoffeeScript 1.9.2
(function() {

@@ -3,0 +3,0 @@ var assert, compose, curry, deep_equal, describe, ref, ref1,

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

// Generated by CoffeeScript 1.9.1
// Generated by CoffeeScript 1.9.2
(function() {

@@ -3,0 +3,0 @@ var assert, describe, ref;

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

// Generated by CoffeeScript 1.9.1
// Generated by CoffeeScript 1.9.2
(function() {

@@ -3,0 +3,0 @@ var assert, curry, deep_equal, describe, ref, ref1;

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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