breakdancer
Advanced tools
Comparing version 2.0.0 to 3.0.0
114
index.js
@@ -0,1 +1,2 @@ | ||
import Breakdancer from './breakdancer'; | ||
import get from 'propget'; | ||
@@ -24,11 +25,7 @@ | ||
*/ | ||
export default class Breakdancer { | ||
constructor (specification, windows) { | ||
export default class WebDancer extends Breakdancer { | ||
constructor(specification, windows) { | ||
super(specification); | ||
this.window = windows || win; | ||
// | ||
// Setup our default values after the window has been set so we don't have | ||
// any undefined references. | ||
// | ||
this.specification = this.normalize(specification); | ||
this.breakpoint = this.currently(); | ||
@@ -38,21 +35,12 @@ } | ||
/** | ||
* Normalize the specification. | ||
* Return the current view port. | ||
* | ||
* @param {Array|Object} specification Different breakpoints we need to know. | ||
* @returns {Array} List of media query specifications | ||
* @private | ||
* @returns {Object} viewport | ||
* @public | ||
*/ | ||
normalize (specification) { | ||
if (Array.isArray(specification)) return specification; | ||
return Object.keys(specification).reduce(function reduce(memo, key) { | ||
var breakpoint = specification[key]; | ||
// | ||
// If there is no name specified, use the key as name. | ||
// | ||
breakpoint.name = breakpoint.name || key; | ||
memo.push(breakpoint); | ||
return memo; | ||
}, []); | ||
viewport() { | ||
return { | ||
height: this.height(), | ||
width: this.width() | ||
}; | ||
} | ||
@@ -66,3 +54,3 @@ | ||
*/ | ||
width () { | ||
width() { | ||
return get(this.window, 'innerWidth') | ||
@@ -80,3 +68,3 @@ || get(this.window, 'document.documentElement.clientWidth') | ||
*/ | ||
height () { | ||
height() { | ||
return get(this.window, 'innerHeight') | ||
@@ -87,74 +75,2 @@ || get(this.window, 'document.documentElement.clientHeight') | ||
} | ||
/** | ||
* Check if the setup has changed since we've last checked the real estate. | ||
* | ||
* @param {Object} viewport The view port specification. | ||
* @returns {Boolean} True if the breakpoint for the viewport has changed. | ||
* @public | ||
*/ | ||
changed (viewport) { | ||
var breakpoint = this.breakpoint; | ||
this.breakpoint = this.currently(viewport); | ||
return this.breakpoint !== breakpoint; | ||
} | ||
/** | ||
* Return the current view port. | ||
* | ||
* @returns {Object} viewport | ||
* @public | ||
*/ | ||
viewport () { | ||
return { | ||
height: this.height(), | ||
width: this.width() | ||
}; | ||
} | ||
/** | ||
* Check if a given specification matches our current set resolution. | ||
* | ||
* @param {Object} viewport The view port specification. | ||
* @param {Object} specification The supplied specification. | ||
* @returns {Boolean} True if viewport fits into the specification. | ||
* @private | ||
*/ | ||
matches (viewport, specification) { | ||
viewport = viewport || this.viewport(); | ||
let matched = false; | ||
if ('height' in specification) { | ||
matched = viewport.height < specification.height; | ||
if (!matched) return matched; | ||
} | ||
if ('width' in specification) { | ||
matched = viewport.width < specification.width; | ||
} | ||
return matched; | ||
} | ||
/** | ||
* Find out which breakpoint we're currently triggering. | ||
* | ||
* @param {Object} viewport The view port specification. | ||
* @returns {String} The current breakpoint that we got triggered. | ||
* @public | ||
*/ | ||
currently (viewport) { | ||
viewport = viewport || this.viewport(); | ||
for (var i = 0, l = this.specification.length; i < l; i++) { | ||
var spec = this.specification[i]; | ||
if (this.matches(viewport, spec)) return spec.name; | ||
} | ||
return 'unknown'; | ||
} | ||
} |
146
lib/index.js
@@ -9,2 +9,6 @@ 'use strict'; | ||
var _breakdancer = require('./breakdancer'); | ||
var _breakdancer2 = _interopRequireDefault(_breakdancer); | ||
var _propget = require('propget'); | ||
@@ -18,2 +22,6 @@ | ||
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } | ||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } | ||
/** | ||
@@ -41,40 +49,30 @@ * Small fallback for when the `window` global is not accessible in a given | ||
var Breakdancer = function () { | ||
function Breakdancer(specification, windows) { | ||
_classCallCheck(this, Breakdancer); | ||
var WebDancer = function (_Breakdancer) { | ||
_inherits(WebDancer, _Breakdancer); | ||
this.window = windows || win; | ||
function WebDancer(specification, windows) { | ||
_classCallCheck(this, WebDancer); | ||
// | ||
// Setup our default values after the window has been set so we don't have | ||
// any undefined references. | ||
// | ||
this.specification = this.normalize(specification); | ||
this.breakpoint = this.currently(); | ||
var _this = _possibleConstructorReturn(this, (WebDancer.__proto__ || Object.getPrototypeOf(WebDancer)).call(this, specification)); | ||
_this.window = windows || win; | ||
_this.breakpoint = _this.currently(); | ||
return _this; | ||
} | ||
/** | ||
* Normalize the specification. | ||
* Return the current view port. | ||
* | ||
* @param {Array|Object} specification Different breakpoints we need to know. | ||
* @returns {Array} List of media query specifications | ||
* @private | ||
* @returns {Object} viewport | ||
* @public | ||
*/ | ||
_createClass(Breakdancer, [{ | ||
key: 'normalize', | ||
value: function normalize(specification) { | ||
if (Array.isArray(specification)) return specification; | ||
return Object.keys(specification).reduce(function reduce(memo, key) { | ||
var breakpoint = specification[key]; | ||
// | ||
// If there is no name specified, use the key as name. | ||
// | ||
breakpoint.name = breakpoint.name || key; | ||
memo.push(breakpoint); | ||
return memo; | ||
}, []); | ||
_createClass(WebDancer, [{ | ||
key: 'viewport', | ||
value: function viewport() { | ||
return { | ||
height: this.height(), | ||
width: this.width() | ||
}; | ||
} | ||
@@ -107,91 +105,7 @@ | ||
} | ||
/** | ||
* Check if the setup has changed since we've last checked the real estate. | ||
* | ||
* @param {Object} viewport The view port specification. | ||
* @returns {Boolean} True if the breakpoint for the viewport has changed. | ||
* @public | ||
*/ | ||
}, { | ||
key: 'changed', | ||
value: function changed(viewport) { | ||
var breakpoint = this.breakpoint; | ||
this.breakpoint = this.currently(viewport); | ||
return this.breakpoint !== breakpoint; | ||
} | ||
/** | ||
* Return the current view port. | ||
* | ||
* @returns {Object} viewport | ||
* @public | ||
*/ | ||
}, { | ||
key: 'viewport', | ||
value: function viewport() { | ||
return { | ||
height: this.height(), | ||
width: this.width() | ||
}; | ||
} | ||
/** | ||
* Check if a given specification matches our current set resolution. | ||
* | ||
* @param {Object} viewport The view port specification. | ||
* @param {Object} specification The supplied specification. | ||
* @returns {Boolean} True if viewport fits into the specification. | ||
* @private | ||
*/ | ||
}, { | ||
key: 'matches', | ||
value: function matches(viewport, specification) { | ||
viewport = viewport || this.viewport(); | ||
var matched = false; | ||
if ('height' in specification) { | ||
matched = viewport.height < specification.height; | ||
if (!matched) return matched; | ||
} | ||
if ('width' in specification) { | ||
matched = viewport.width < specification.width; | ||
} | ||
return matched; | ||
} | ||
/** | ||
* Find out which breakpoint we're currently triggering. | ||
* | ||
* @param {Object} viewport The view port specification. | ||
* @returns {String} The current breakpoint that we got triggered. | ||
* @public | ||
*/ | ||
}, { | ||
key: 'currently', | ||
value: function currently(viewport) { | ||
viewport = viewport || this.viewport(); | ||
for (var i = 0, l = this.specification.length; i < l; i++) { | ||
var spec = this.specification[i]; | ||
if (this.matches(viewport, spec)) return spec.name; | ||
} | ||
return 'unknown'; | ||
} | ||
}]); | ||
return Breakdancer; | ||
}(); | ||
return WebDancer; | ||
}(_breakdancer2.default); | ||
exports.default = Breakdancer; | ||
exports.default = WebDancer; |
{ | ||
"name": "breakdancer", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "A breakpoint tracking utility", | ||
@@ -8,7 +8,9 @@ "main": "./lib", | ||
"scripts": { | ||
"test": "mocha --compilers js:babel-register ./test.js", | ||
"lint": "godaddy-js-style-lint *.js", | ||
"build": "babel index.js -d ./lib", | ||
"lint": "eslint-godaddy *.js", | ||
"test:web": "mocha --compilers js:babel-register ./test.js", | ||
"test:native": "mocha --require react-native-mock/mock.js --compilers js:babel-register ./test.native.js", | ||
"build": "babel index.js index.native.js breakdancer.js -d ./lib", | ||
"prepublish": "npm run build", | ||
"pretest": "npm run lint" | ||
"pretest": "npm run lint", | ||
"test": "npm run test:web && npm run test:native" | ||
}, | ||
@@ -29,8 +31,16 @@ "repository": { | ||
"devDependencies": { | ||
"assume": "1.4.x", | ||
"babel-cli": "6.18.x", | ||
"babel-register": "6.9.x", | ||
"godaddy-style": "3.1.x", | ||
"mocha": "2.5.x", | ||
"pre-commit": "1.1.x" | ||
"assume": "^1.5.2", | ||
"babel-cli": "^6.26.0", | ||
"babel-preset-es2015": "^6.24.0", | ||
"babel-register": "^6.26.0", | ||
"babelify": "^7.3.0", | ||
"eslint": "^4.2.0", | ||
"eslint-config-godaddy": "^2.0.0", | ||
"eslint-plugin-json": "^1.2.0", | ||
"eslint-plugin-mocha": "^4.11.0", | ||
"mocha": "^4.0.0", | ||
"pre-commit": "^1.2.2", | ||
"react": "^15.4.2", | ||
"react-native": "^0.42.3", | ||
"react-native-mock": "^0.3.1" | ||
}, | ||
@@ -44,5 +54,3 @@ "pre-commit": "lint, test", | ||
"dependencies": { | ||
"babel-preset-es2015": "6.9.x", | ||
"babelify": "7.3.x", | ||
"propget": "1.0.x" | ||
"propget": "^1.1.0" | ||
}, | ||
@@ -53,3 +61,7 @@ "babel": { | ||
] | ||
}, | ||
"peerDependencies": { | ||
"react": "~15.4.1", | ||
"react-native": "^0.42.3" | ||
} | ||
} |
@@ -16,2 +16,4 @@ # breakdancer | ||
- [.currently()](#currently) | ||
- [.compareWidth()](#comparewidth) | ||
- [.compareHeight()](#compareheight) | ||
- [.breakpoint](#breakpoint) | ||
@@ -37,2 +39,9 @@ - [License](#license) | ||
## Support | ||
Breakdancer is tested and works on both `web` and `react-native` platforms. | ||
Note that we don't specify `react-native` as a peer dependency in order to avoid | ||
dependency issues on pure `web` projects, so make sure you have `react-native` | ||
as a dependency. | ||
## API | ||
@@ -56,3 +65,3 @@ | ||
var breakpoints = new Breakdancer([ | ||
{ | ||
{ | ||
name: 'wrist', | ||
@@ -64,3 +73,3 @@ width: 320 | ||
width: 800, | ||
heigt: 600 | ||
height: 600 | ||
} | ||
@@ -151,4 +160,26 @@ ]); | ||
### compare() | ||
Returns the difference between the current window and the given breakpoint in | ||
the given dimension. This can be used to check if the window is "greater" than a | ||
breakpoint. If either the given breakpoint or the given attribute do not exist, | ||
a `TypeError` will be thrown. | ||
```js | ||
var breakpoints = new Breakdancer([{ | ||
name: 'wrist', | ||
width: 320 | ||
}, { | ||
name: 'palm', | ||
width: 800, | ||
height: 600 | ||
}]); | ||
// let's assume the window is 500 px wide and 500 px tall. | ||
console.log(breakpoints.compare('wrist', 'width')) // 180 | ||
console.log(breakpoints.compare('palm', 'height')) // -100 | ||
``` | ||
## License | ||
[MIT](LICENSE) |
28
test.js
@@ -1,2 +0,2 @@ | ||
import Breakdancer from './'; | ||
import Breakdancer from './index'; | ||
import assume from 'assume'; | ||
@@ -171,2 +171,28 @@ | ||
}); | ||
describe('#compare', function () { | ||
var bd = new Breakdancer(specification, { | ||
innerWidth: 1234, | ||
innerHeight: 1000, | ||
document: { | ||
documentElement: { | ||
clientHeight: 1337, | ||
clientWidth: 1338 | ||
} | ||
} | ||
}); | ||
it('should throw an error when looking at an unspecified breakpoint', function () { | ||
assume(bd.compare('hologram', 'width')).throws(TypeError); | ||
}); | ||
it('should throw an error when the given dimension does not exist for the given breakpoint', function () { | ||
assume(bd.compare('whatever', 'height')).throws(TypeError); | ||
}); | ||
it('should return the difference in width between the current and specified breakpoint', function () { | ||
assume(bd.compare('mobile', 'width')).equals(1234 - 400); | ||
assume(bd.compare('mobile', 'height')).equals(1000 - 600); | ||
}); | ||
}); | ||
}); |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
34852
13
732
181
14
+ Addedabsolute-path@0.0.0(transitive)
+ Addedaccepts@1.2.131.3.8(transitive)
+ Addedajv@6.12.6(transitive)
+ Addedalign-text@0.1.4(transitive)
+ Addedansi@0.3.1(transitive)
+ Addedansi-escapes@1.4.0(transitive)
+ Addedansi-gray@0.1.1(transitive)
+ Addedansi-wrap@0.1.0(transitive)
+ Addedare-we-there-yet@1.1.7(transitive)
+ Addedarray-differ@1.0.0(transitive)
+ Addedarray-filter@0.0.1(transitive)
+ Addedarray-map@0.0.1(transitive)
+ Addedarray-reduce@0.0.0(transitive)
+ Addedarray-union@1.0.2(transitive)
+ Addedarray-uniq@1.0.3(transitive)
+ Addedarrify@1.0.1(transitive)
+ Addedart@0.10.3(transitive)
+ Addedasap@2.0.6(transitive)
+ Addedasn1@0.2.6(transitive)
+ Addedassert-plus@1.0.0(transitive)
+ Addedasync@2.6.4(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaws-sign2@0.7.0(transitive)
+ Addedaws4@1.13.2(transitive)
+ Addedbabel-helper-builder-react-jsx@6.26.0(transitive)
+ Addedbabel-plugin-external-helpers@6.22.0(transitive)
+ Addedbabel-plugin-react-transform@2.0.2(transitive)
+ Addedbabel-plugin-syntax-async-functions@6.13.0(transitive)
+ Addedbabel-plugin-syntax-class-properties@6.13.0(transitive)
+ Addedbabel-plugin-syntax-flow@6.18.0(transitive)
+ Addedbabel-plugin-syntax-jsx@6.18.0(transitive)
+ Addedbabel-plugin-syntax-object-rest-spread@6.13.0(transitive)
+ Addedbabel-plugin-syntax-trailing-function-commas@6.22.0(transitive)
+ Addedbabel-plugin-transform-class-properties@6.24.1(transitive)
+ Addedbabel-plugin-transform-es3-member-expression-literals@6.22.0(transitive)
+ Addedbabel-plugin-transform-es3-property-literals@6.22.0(transitive)
+ Addedbabel-plugin-transform-flow-strip-types@6.22.0(transitive)
+ Addedbabel-plugin-transform-object-assign@6.22.0(transitive)
+ Addedbabel-plugin-transform-object-rest-spread@6.26.0(transitive)
+ Addedbabel-plugin-transform-react-display-name@6.25.0(transitive)
+ Addedbabel-plugin-transform-react-jsx@6.24.1(transitive)
+ Addedbabel-plugin-transform-react-jsx-source@6.22.0(transitive)
+ Addedbabel-polyfill@6.26.0(transitive)
+ Addedbabel-preset-es2015-node@6.1.1(transitive)
+ Addedbabel-preset-fbjs@1.0.02.3.0(transitive)
+ Addedbabel-preset-react-native@1.9.2(transitive)
+ Addedbase64-js@0.0.81.5.1(transitive)
+ Addedbase64-url@1.2.1(transitive)
+ Addedbasic-auth@1.0.4(transitive)
+ Addedbasic-auth-connect@1.0.0(transitive)
+ Addedbatch@0.5.3(transitive)
+ Addedbcrypt-pbkdf@1.0.2(transitive)
+ Addedbeeper@1.1.1(transitive)
+ Addedbody-parser@1.13.3(transitive)
+ Addedbplist-creator@0.0.4(transitive)
+ Addedbplist-parser@0.0.6(transitive)
+ Addedbser@1.0.21.0.3(transitive)
+ Addedbytes@2.1.02.4.0(transitive)
+ Addedcall-bind@1.0.8(transitive)
+ Addedcall-bind-apply-helpers@1.0.1(transitive)
+ Addedcall-bound@1.0.3(transitive)
+ Addedcamelcase@1.2.13.0.0(transitive)
+ Addedcaseless@0.12.0(transitive)
+ Addedcenter-align@0.1.3(transitive)
+ Addedcli-cursor@1.0.2(transitive)
+ Addedcli-width@2.2.1(transitive)
+ Addedcliui@2.1.03.2.0(transitive)
+ Addedclone@1.0.4(transitive)
+ Addedclone-stats@0.0.1(transitive)
+ Addedcode-point-at@1.1.0(transitive)
+ Addedcolor-support@1.1.3(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedcompressible@2.0.18(transitive)
+ Addedcompression@1.5.2(transitive)
+ Addedconnect@2.30.2(transitive)
+ Addedconnect-timeout@1.6.2(transitive)
+ Addedcontent-type@1.0.5(transitive)
+ Addedcookie@0.1.3(transitive)
+ Addedcookie-parser@1.3.5(transitive)
+ Addedcookie-signature@1.0.6(transitive)
+ Addedcore-js@1.2.7(transitive)
+ Addedcore-util-is@1.0.21.0.3(transitive)
+ Addedcrc@3.3.0(transitive)
+ Addedcross-spawn@3.0.1(transitive)
+ Addedcsrf@3.0.6(transitive)
+ Addedcsurf@1.8.3(transitive)
+ Addeddashdash@1.14.1(transitive)
+ Addeddateformat@2.2.0(transitive)
+ Addeddebug@2.2.0(transitive)
+ Addeddecamelize@1.2.0(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addeddelegates@1.0.0(transitive)
+ Addeddenodeify@1.2.1(transitive)
+ Addeddepd@1.0.11.1.22.0.0(transitive)
+ Addeddestroy@1.0.4(transitive)
+ Addeddom-walk@0.1.2(transitive)
+ Addeddunder-proto@1.0.1(transitive)
+ Addedduplexer2@0.0.2(transitive)
+ Addedecc-jsbn@0.1.2(transitive)
+ Addedee-first@1.1.1(transitive)
+ Addedencoding@0.1.13(transitive)
+ Addederrno@0.1.8(transitive)
+ Addederror-ex@1.3.2(transitive)
+ Addederrorhandler@1.4.3(transitive)
+ Addedes-define-property@1.0.1(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.0.0(transitive)
+ Addedescape-html@1.0.21.0.3(transitive)
+ Addedetag@1.7.0(transitive)
+ Addedevent-target-shim@1.1.1(transitive)
+ Addedexec-sh@0.2.2(transitive)
+ Addedexit-hook@1.1.1(transitive)
+ Addedexpress-session@1.11.3(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedextsprintf@1.3.0(transitive)
+ Addedfancy-log@1.3.3(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedfb-watchman@1.9.2(transitive)
+ Addedfbjs@0.8.18(transitive)
+ Addedfbjs-scripts@0.7.1(transitive)
+ Addedfigures@1.7.0(transitive)
+ Addedfinalhandler@0.4.0(transitive)
+ Addedfind-up@1.1.2(transitive)
+ Addedforever-agent@0.6.1(transitive)
+ Addedform-data@2.3.3(transitive)
+ Addedfresh@0.3.0(transitive)
+ Addedfs-extra@0.26.7(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedgauge@1.2.7(transitive)
+ Addedget-caller-file@1.0.3(transitive)
+ Addedget-intrinsic@1.2.6(transitive)
+ Addedgetpass@0.1.7(transitive)
+ Addedglob@5.0.157.2.3(transitive)
+ Addedglobal@4.4.0(transitive)
+ Addedglogg@1.0.2(transitive)
+ Addedgopd@1.2.0(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedgulp-util@3.0.8(transitive)
+ Addedgulplog@1.0.0(transitive)
+ Addedhar-schema@2.0.0(transitive)
+ Addedhar-validator@5.1.5(transitive)
+ Addedhas-gulplog@0.1.0(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-symbols@1.1.0(transitive)
+ Addedhas-unicode@2.0.1(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhoek@2.16.3(transitive)
+ Addedhosted-git-info@2.8.9(transitive)
+ Addedhttp-errors@1.3.1(transitive)
+ Addedhttp-signature@1.2.0(transitive)
+ Addediconv-lite@0.4.110.4.130.6.3(transitive)
+ Addedimage-size@0.3.5(transitive)
+ Addedimmutable@3.7.6(transitive)
+ Addedimurmurhash@0.1.4(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedinquirer@0.12.0(transitive)
+ Addedinvert-kv@1.0.0(transitive)
+ Addedis-arrayish@0.2.1(transitive)
+ Addedis-buffer@1.1.6(transitive)
+ Addedis-core-module@2.16.0(transitive)
+ Addedis-fullwidth-code-point@1.0.0(transitive)
+ Addedis-stream@1.1.0(transitive)
+ Addedis-typedarray@1.0.0(transitive)
+ Addedis-utf8@0.2.1(transitive)
+ Addedisarray@0.0.11.0.02.0.5(transitive)
+ Addedisemail@1.2.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedisomorphic-fetch@2.2.1(transitive)
+ Addedisstream@0.1.2(transitive)
+ Addedjest-haste-map@18.0.0(transitive)
+ Addedjoi@6.10.1(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedjsbn@0.1.1(transitive)
+ Addedjson-schema@0.4.0(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedjson-stable-stringify@1.2.0(transitive)
+ Addedjson-stringify-safe@5.0.1(transitive)
+ Addedjson5@0.4.0(transitive)
+ Addedjsonfile@2.4.0(transitive)
+ Addedjsonify@0.0.1(transitive)
+ Addedjsprim@1.4.2(transitive)
+ Addedkind-of@3.2.2(transitive)
+ Addedklaw@1.3.1(transitive)
+ Addedlazy-cache@1.0.4(transitive)
+ Addedlcid@1.0.0(transitive)
+ Addedleft-pad@1.3.0(transitive)
+ Addedload-json-file@1.1.0(transitive)
+ Addedlodash@3.10.1(transitive)
+ Addedlodash._basecopy@3.0.1(transitive)
+ Addedlodash._basetostring@3.0.1(transitive)
+ Addedlodash._basevalues@3.0.0(transitive)
+ Addedlodash._getnative@3.9.1(transitive)
+ Addedlodash._isiterateecall@3.0.9(transitive)
+ Addedlodash._reescape@3.0.0(transitive)
+ Addedlodash._reevaluate@3.0.0(transitive)
+ Addedlodash._reinterpolate@3.0.0(transitive)
+ Addedlodash._root@3.0.1(transitive)
+ Addedlodash.escape@3.2.0(transitive)
+ Addedlodash.isarguments@3.1.0(transitive)
+ Addedlodash.isarray@3.0.4(transitive)
+ Addedlodash.keys@3.1.2(transitive)
+ Addedlodash.pad@4.5.1(transitive)
+ Addedlodash.padend@4.6.1(transitive)
+ Addedlodash.padstart@4.6.1(transitive)
+ Addedlodash.restparam@3.6.1(transitive)
+ Addedlodash.template@3.6.2(transitive)
+ Addedlodash.templatesettings@3.1.1(transitive)
+ Addedlongest@1.0.1(transitive)
+ Addedlru-cache@4.1.5(transitive)
+ Addedmakeerror@1.0.12(transitive)
+ Addedmath-intrinsics@1.0.0(transitive)
+ Addedmedia-typer@0.3.0(transitive)
+ Addedmerge@1.2.1(transitive)
+ Addedmethod-override@2.3.10(transitive)
+ Addedmethods@1.1.2(transitive)
+ Addedmime@1.3.41.6.0(transitive)
+ Addedmime-db@1.23.01.52.01.53.0(transitive)
+ Addedmime-types@2.1.112.1.35(transitive)
+ Addedmin-document@2.19.0(transitive)
+ Addedminimist@0.0.10(transitive)
+ Addedmoment@2.30.1(transitive)
+ Addedmorgan@1.6.1(transitive)
+ Addedms@0.7.10.7.2(transitive)
+ Addedmultimatch@2.1.0(transitive)
+ Addedmultiparty@3.3.2(transitive)
+ Addedmultipipe@0.1.2(transitive)
+ Addedmute-stream@0.0.5(transitive)
+ Addednegotiator@0.5.30.6.3(transitive)
+ Addednode-fetch@1.7.3(transitive)
+ Addednode-int64@0.4.0(transitive)
+ Addednode-uuid@1.4.7(transitive)
+ Addednormalize-package-data@2.5.0(transitive)
+ Addednpmlog@2.0.4(transitive)
+ Addednumber-is-nan@1.0.1(transitive)
+ Addedoauth-sign@0.9.0(transitive)
+ Addedobject-assign@3.0.0(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedon-finished@2.3.0(transitive)
+ Addedon-headers@1.0.2(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedonetime@1.1.0(transitive)
+ Addedopn@3.0.3(transitive)
+ Addedoptimist@0.6.1(transitive)
+ Addedoptions@0.0.6(transitive)
+ Addedos-locale@1.4.0(transitive)
+ Addedparse-json@2.2.0(transitive)
+ Addedparse-node-version@1.0.1(transitive)
+ Addedparseurl@1.3.3(transitive)
+ Addedpath-exists@2.1.0(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedpath-type@1.1.0(transitive)
+ Addedpause@0.1.0(transitive)
+ Addedpegjs@0.9.0(transitive)
+ Addedperformance-now@2.1.0(transitive)
+ Addedpify@2.3.0(transitive)
+ Addedpinkie@2.0.4(transitive)
+ Addedpinkie-promise@2.0.1(transitive)
+ Addedplist@1.2.0(transitive)
+ Addedprocess@0.11.10(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedpromise@7.3.1(transitive)
+ Addedpropget@1.1.0(transitive)
+ Addedprr@1.0.1(transitive)
+ Addedpseudomap@1.0.2(transitive)
+ Addedpsl@1.15.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedqs@4.0.06.5.3(transitive)
+ Addedrandom-bytes@1.0.0(transitive)
+ Addedrange-parser@1.0.3(transitive)
+ Addedraw-body@2.1.7(transitive)
+ Addedreact@15.4.2(transitive)
+ Addedreact-clone-referenced-element@1.1.1(transitive)
+ Addedreact-deep-force-update@1.1.2(transitive)
+ Addedreact-native@0.42.3(transitive)
+ Addedreact-proxy@1.1.8(transitive)
+ Addedreact-timer-mixin@0.13.4(transitive)
+ Addedreact-transform-hmr@1.0.4(transitive)
+ Addedread-pkg@1.1.0(transitive)
+ Addedread-pkg-up@1.0.1(transitive)
+ Addedreadable-stream@1.1.142.3.8(transitive)
+ Addedreadline2@1.0.1(transitive)
+ Addedrebound@0.0.13(transitive)
+ Addedregenerator-runtime@0.10.50.9.6(transitive)
+ Addedrepeat-string@1.6.1(transitive)
+ Addedreplace-ext@0.0.1(transitive)
+ Addedrequest@2.88.2(transitive)
+ Addedrequire-directory@2.1.1(transitive)
+ Addedrequire-main-filename@1.0.1(transitive)
+ Addedresolve@1.22.9(transitive)
+ Addedresponse-time@2.3.3(transitive)
+ Addedrestore-cursor@1.0.1(transitive)
+ Addedright-align@0.1.3(transitive)
+ Addedrimraf@2.2.82.7.1(transitive)
+ Addedrndm@1.2.0(transitive)
+ Addedrun-async@0.1.0(transitive)
+ Addedrx-lite@3.1.2(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsane@1.4.1(transitive)
+ Addedsax@1.1.6(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedsend@0.13.2(transitive)
+ Addedserve-favicon@2.3.2(transitive)
+ Addedserve-index@1.7.3(transitive)
+ Addedserve-static@1.10.3(transitive)
+ Addedset-blocking@2.0.0(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedsetimmediate@1.0.5(transitive)
+ Addedshell-quote@1.6.1(transitive)
+ Addedsimple-plist@0.1.4(transitive)
+ Addedslide@1.1.6(transitive)
+ Addedsparkles@1.0.1(transitive)
+ Addedspdx-correct@3.2.0(transitive)
+ Addedspdx-exceptions@2.5.0(transitive)
+ Addedspdx-expression-parse@3.0.1(transitive)
+ Addedspdx-license-ids@3.0.20(transitive)
+ Addedsshpk@1.18.0(transitive)
+ Addedstacktrace-parser@0.1.10(transitive)
+ Addedstatuses@1.2.11.5.0(transitive)
+ Addedstream-buffers@0.2.6(transitive)
+ Addedstream-counter@0.2.0(transitive)
+ Addedstring-width@1.0.2(transitive)
+ Addedstring_decoder@0.10.311.1.1(transitive)
+ Addedstrip-bom@2.0.0(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedtemp@0.8.3(transitive)
+ Addedthroat@3.2.0(transitive)
+ Addedthrough@2.3.8(transitive)
+ Addedthrough2@2.0.5(transitive)
+ Addedtime-stamp@1.1.0(transitive)
+ Addedtmpl@1.0.5(transitive)
+ Addedtopo@1.1.0(transitive)
+ Addedtough-cookie@2.5.0(transitive)
+ Addedtsscmp@1.0.5(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
+ Addedtweetnacl@0.14.5(transitive)
+ Addedtype-fest@0.7.1(transitive)
+ Addedtype-is@1.6.18(transitive)
+ Addedua-parser-js@0.7.39(transitive)
+ Addeduglify-js@2.8.29(transitive)
+ Addeduglify-to-browserify@1.0.2(transitive)
+ Addeduid-safe@2.0.02.1.4(transitive)
+ Addedultron@1.0.2(transitive)
+ Addedunpipe@1.0.0(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedutils-merge@1.0.0(transitive)
+ Addeduuid@3.4.0(transitive)
+ Addedvalidate-npm-package-license@3.0.4(transitive)
+ Addedvary@1.0.11.1.2(transitive)
+ Addedverror@1.10.0(transitive)
+ Addedvhost@3.0.2(transitive)
+ Addedvinyl@0.5.3(transitive)
+ Addedwalker@1.0.8(transitive)
+ Addedwatch@0.10.0(transitive)
+ Addedwhatwg-fetch@1.1.13.6.20(transitive)
+ Addedwhich@1.3.1(transitive)
+ Addedwhich-module@1.0.0(transitive)
+ Addedwindow-size@0.1.0(transitive)
+ Addedwordwrap@0.0.20.0.31.0.0(transitive)
+ Addedworker-farm@1.7.0(transitive)
+ Addedwrap-ansi@2.1.0(transitive)
+ Addedwrappy@1.0.2(transitive)
+ Addedwrite-file-atomic@1.3.4(transitive)
+ Addedws@1.1.5(transitive)
+ Addedxcode@0.8.9(transitive)
+ Addedxmlbuilder@4.0.0(transitive)
+ Addedxmldoc@0.4.0(transitive)
+ Addedxmldom@0.1.31(transitive)
+ Addedxtend@4.0.2(transitive)
+ Addedy18n@3.2.2(transitive)
+ Addedyallist@2.1.2(transitive)
+ Addedyargs@3.10.06.6.0(transitive)
+ Addedyargs-parser@4.2.1(transitive)
- Removedbabel-preset-es2015@6.9.x
- Removedbabelify@7.3.x
- Removedbabel-plugin-transform-es2015-duplicate-keys@6.24.1(transitive)
- Removedbabel-plugin-transform-es2015-typeof-symbol@6.23.0(transitive)
- Removedbabel-preset-es2015@6.9.0(transitive)
- Removedbabelify@7.3.0(transitive)
- Removedpropget@1.0.0(transitive)
Updatedpropget@^1.1.0