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

101

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

101 - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

.coveralls.yaml

8

package.json
{
"name": "101",
"version": "0.7.0",
"version": "0.7.1",
"description": "common javascript utils that can be required selectively that assume es5+",

@@ -36,7 +36,9 @@ "main": "index.js",

"dependencies": {
"clone": "^0.1.17",
"clone": "^0.1.18",
"coveralls": "^2.11.2",
"deep-eql": "^0.1.3",
"extend": "^1.3.0",
"keypather": "^1.6.0"
"keypather": "^1.7.5",
"lab": "^4.6.2"
}
}
101 [![Build Status](https://travis-ci.org/tjmehta/101.svg?branch=master)](https://travis-ci.org/tjmehta/101)
===
common utils that can be required selectively
# Why another JS util library?
### 1) 101 will be maintained to minimize overlap with vanilla JS.
* 101 utils are made to work well will vanilla JS methods.
* Underscore/lodash - forEach, map, reduce, filter, sort, and more duplicate ES5)
### 2) No need for custom builds.
* With 101, import naturally, and what you use will be bundled.
* Each util method is a module that can be required `require('101/<util>')`.
* Currently node/browserify is supported, I will add other module system support on request.
* Underscore/lodash is large, and you have to manually create custom builds when if you're
trying to optimize for size.
# Installation
`npm install 101`
# Usage
## and

@@ -7,0 +23,0 @@

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var expect = Lab.expect;
var before = Lab.before;
var after = Lab.after;

@@ -8,0 +8,0 @@ var and = require('../and');

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var before = lab.before;
var after = lab.after;
var expect = Lab.expect;
var before = Lab.before;
var after = Lab.after;

@@ -8,0 +10,0 @@ var apply = require('../apply');

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var expect = Lab.expect;

@@ -5,0 +7,0 @@

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var expect = Lab.expect;
var before = Lab.before;
var after = Lab.after;

@@ -8,0 +8,0 @@ var envIs = require('../env-is');

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var expect = Lab.expect;
var before = Lab.before;
var after = Lab.after;

@@ -8,0 +8,0 @@ var equals = require('../equals');

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var expect = Lab.expect;

@@ -5,0 +7,0 @@

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var beforeEach = Lab.beforeEach;
var afterEach = Lab.afterEach;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var beforeEach = lab.beforeEach;
var afterEach = lab.afterEach;
var expect = Lab.expect;

@@ -7,0 +9,0 @@ var isArray = Array.isArray;

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var beforeEach = Lab.beforeEach;
var afterEach = Lab.afterEach;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var beforeEach = lab.beforeEach;
var afterEach = lab.afterEach;
var expect = Lab.expect;
var isArray = Array.isArray;

@@ -8,0 +11,0 @@ var isObject = require('../is-object');

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var beforeEach = Lab.beforeEach;
var afterEach = Lab.afterEach;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var beforeEach = lab.beforeEach;
var afterEach = lab.afterEach;
var expect = Lab.expect;

@@ -7,0 +9,0 @@ var isArray = Array.isArray;

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var beforeEach = Lab.beforeEach;
var afterEach = Lab.afterEach;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var beforeEach = lab.beforeEach;
var afterEach = lab.afterEach;
var expect = Lab.expect;

@@ -7,0 +9,0 @@ var isArray = Array.isArray;

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var expect = Lab.expect;

@@ -5,0 +7,0 @@

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var expect = Lab.expect;

@@ -5,0 +7,0 @@

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var expect = Lab.expect;

@@ -5,0 +7,0 @@

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var expect = Lab.expect;

@@ -5,0 +7,0 @@

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var expect = Lab.expect;

@@ -5,0 +7,0 @@

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var expect = Lab.expect;

@@ -5,0 +7,0 @@

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var beforeEach = Lab.beforeEach;
var afterEach = Lab.afterEach;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var expect = Lab.expect;

@@ -7,0 +7,0 @@

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var expect = Lab.expect;
var before = Lab.before;
var after = Lab.after;
var isString = require('../is-string');

@@ -8,0 +8,0 @@

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var expect = Lab.expect;

@@ -5,0 +7,0 @@

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var expect = Lab.expect;
var before = Lab.before;
var after = Lab.after;

@@ -8,0 +8,0 @@ var or = require('../or');

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var before = lab.before;
var after = lab.after;
var it = lab.it;
var expect = Lab.expect;
var before = Lab.before;
var after = Lab.after;
var isString = require('../is-string');

@@ -8,0 +10,0 @@

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var before = lab.before;
var after = lab.after;
var it = lab.it;
var expect = Lab.expect;
var before = Lab.before;
var after = Lab.after;
var isString = require('../is-string');

@@ -8,0 +10,0 @@ var isFunction = require('../is-function');

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var expect = Lab.expect;

@@ -5,0 +7,0 @@

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var expect = Lab.expect;

@@ -5,0 +7,0 @@

var Lab = require('lab');
var describe = Lab.experiment;
var it = Lab.test;
var lab = exports.lab = Lab.script();
var describe = lab.describe;
var it = lab.it;
var expect = Lab.expect;
var clone = require('clone');

@@ -7,0 +8,0 @@ var set = require('../set');

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