Comparing version 0.7.0 to 0.7.1
{ | ||
"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'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62363
55
1890
369
6
+ Addedcoveralls@^2.11.2
+ Addedlab@^4.6.2
+ Addedamdefine@1.0.1(transitive)
+ Addedansi-regex@0.2.12.1.1(transitive)
+ Addedansi-styles@1.1.02.2.1(transitive)
+ Addedargparse@1.0.10(transitive)
+ Addedasn1@0.2.6(transitive)
+ Addedassert-plus@0.2.01.0.0(transitive)
+ Addedassertion-error@1.0.0(transitive)
+ Addedasync@0.2.10(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaws-sign2@0.6.0(transitive)
+ Addedaws4@1.13.2(transitive)
+ Addedbcrypt-pbkdf@1.0.2(transitive)
+ Addedboom@2.10.1(transitive)
+ Addedbossy@1.0.3(transitive)
+ Addedcaseless@0.11.0(transitive)
+ Addedchai@1.10.0(transitive)
+ Addedchalk@0.5.11.1.3(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedcore-util-is@1.0.2(transitive)
+ Addedcoveralls@2.13.3(transitive)
+ Addedcryptiles@2.0.5(transitive)
+ Addeddashdash@1.14.1(transitive)
+ Addeddebug@2.6.9(transitive)
+ Addeddeep-is@0.1.4(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addeddiff@1.4.0(transitive)
+ Addeddoctrine@0.5.2(transitive)
+ Addedecc-jsbn@0.1.2(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedescope@1.0.3(transitive)
+ Addedeslint@0.8.2(transitive)
+ Addedesprima@1.2.52.0.02.7.3(transitive)
+ Addedestraverse@1.5.12.0.0(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedextsprintf@1.3.0(transitive)
+ Addedfast-levenshtein@1.0.7(transitive)
+ Addedforever-agent@0.6.1(transitive)
+ Addedform-data@2.1.4(transitive)
+ Addedgenerate-function@2.3.1(transitive)
+ Addedgenerate-object-property@1.2.0(transitive)
+ Addedgetpass@0.1.7(transitive)
+ Addedhandlebars@1.3.0(transitive)
+ Addedhar-validator@2.0.6(transitive)
+ Addedhas-ansi@0.1.02.0.0(transitive)
+ Addedhawk@3.1.3(transitive)
+ Addedhoek@2.16.3(transitive)
+ Addedhttp-signature@1.1.1(transitive)
+ Addedis-my-ip-valid@1.0.1(transitive)
+ Addedis-my-json-valid@2.20.6(transitive)
+ Addedis-property@1.0.2(transitive)
+ Addedis-typedarray@1.0.0(transitive)
+ Addedisstream@0.1.2(transitive)
+ Addeditems@1.1.1(transitive)
+ Addedjs-yaml@3.2.73.6.1(transitive)
+ Addedjsbn@0.1.1(transitive)
+ Addedjson-schema@0.4.0(transitive)
+ Addedjson-stringify-safe@5.0.1(transitive)
+ Addedjsonpointer@5.0.1(transitive)
+ Addedjsprim@1.4.2(transitive)
+ Addedlab@4.7.0(transitive)
+ Addedlcov-parse@0.0.10(transitive)
+ Addedlevn@0.2.5(transitive)
+ Addedlog-driver@1.2.5(transitive)
+ Addedlru-cache@2.7.3(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedminimatch@1.0.0(transitive)
+ Addedminimist@1.2.01.2.8(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addedms@2.0.0(transitive)
+ Addedoauth-sign@0.8.2(transitive)
+ Addedobject-assign@1.0.0(transitive)
+ Addedoptimist@0.3.7(transitive)
+ Addedoptionator@0.4.0(transitive)
+ Addedpinkie@2.0.4(transitive)
+ Addedpinkie-promise@2.0.1(transitive)
+ Addedprelude-ls@1.1.2(transitive)
+ Addedpunycode@1.4.1(transitive)
+ Addedqs@6.3.3(transitive)
+ Addedrequest@2.79.0(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsigmund@1.0.1(transitive)
+ Addedsntp@1.0.9(transitive)
+ Addedsource-map@0.1.32(transitive)
+ Addedsource-map-support@0.2.10(transitive)
+ Addedsprintf-js@1.0.3(transitive)
+ Addedsshpk@1.18.0(transitive)
+ Addedstringstream@0.0.6(transitive)
+ Addedstrip-ansi@0.3.03.0.1(transitive)
+ Addedstrip-json-comments@1.0.4(transitive)
+ Addedsupports-color@0.2.02.0.0(transitive)
+ Addedtext-table@0.2.0(transitive)
+ Addedtough-cookie@2.3.4(transitive)
+ Addedtunnel-agent@0.4.3(transitive)
+ Addedtweetnacl@0.14.5(transitive)
+ Addedtype-check@0.3.2(transitive)
+ Addeduglify-js@2.3.6(transitive)
+ Addeduser-home@1.1.1(transitive)
+ Addeduuid@3.4.0(transitive)
+ Addedverror@1.10.0(transitive)
+ Addedwordwrap@0.0.3(transitive)
+ Addedxml-escape@1.0.0(transitive)
+ Addedxtend@4.0.2(transitive)
Updatedclone@^0.1.18
Updatedkeypather@^1.7.5