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-14 to 1.0.0-alpha-15

5

lib/array.js

@@ -67,5 +67,5 @@ // Generated by CoffeeScript 1.9.1

});
includes = function(x, ax) {
includes = curry(function(x, ax) {
return indexOf.call(ax, x) >= 0;
};
});
context.test("includes", function() {

@@ -204,2 +204,3 @@ return (function(data) {

slice: slice,
empty: empty,
first: first,

@@ -206,0 +207,0 @@ second: second,

13

lib/string.js

@@ -8,3 +8,3 @@ // Generated by CoffeeScript 1.9.1

describe("String functions", function(context) {
var blank, camel_case, capitalize, dashed, empty, html_escape, plain_text, title_case, to_string, underscored, w;
var blank, camel_case, capitalize, dashed, html_escape, plain_text, title_case, to_string, underscored, w;
to_string = function(x) {

@@ -85,7 +85,7 @@ return x.toString();

});
empty = blank = function(s) {
return s === "";
blank = function(s) {
return s.length === 0;
};
context.test("empty", function() {
assert(empty(""));
context.test("blank", function() {
assert(blank(""));
return assert(!blank("x"));

@@ -103,4 +103,3 @@ });

w: w,
blank: blank,
empty: empty
blank: blank
};

@@ -107,0 +106,0 @@ });

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

describe("Type functions", function(context) {
var instance_of, is_function, is_string, is_type, is_value, type;
var instance_of, is_array, is_function, is_object, is_string, is_type, is_value, type;
type = function(x) {

@@ -24,8 +24,6 @@ return Object.prototype.toString.call(x).slice(8, -1).toLowerCase();

context.test("instance_of");
is_string = function(x) {
return x.trim != null;
};
is_function = function(x) {
return x.call != null;
};
is_string = is_type("string");
is_function = is_type("function");
is_object = is_type("object");
is_array = is_type("array");
is_value = function(x) {

@@ -41,2 +39,4 @@ return x != null;

is_function: is_function,
is_object: is_object,
is_array: is_array,
is_value: is_value

@@ -43,0 +43,0 @@ };

{
"name": "fairmont",
"version": "1.0.0-alpha-14",
"version": "1.0.0-alpha-15",
"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