@ackee/chris
Advanced tools
Comparing version 0.5.4 to 0.5.5
@@ -8,2 +8,4 @@ # Changelog | ||
## [0.5.5] - 2019-04-29 | ||
## [0.5.4] - 2019-01-30 | ||
@@ -74,2 +76,3 @@ ### Changed | ||
[0.5.5]: https://github.com/AckeeCZ/chris/compare/v0.5.4...v0.5.5 | ||
[0.5.4]: https://github.com/AckeeCZ/chris/compare/v0.5.3...v0.5.4 | ||
@@ -76,0 +79,0 @@ [0.5.3]: https://github.com/AckeeCZ/chris/compare/v0.5.2...v0.5.3 |
@@ -10,8 +10,12 @@ "use strict"; | ||
var _recompose = require("recompose"); | ||
var _lifecycle = _interopRequireDefault(require("recompose/lifecycle")); | ||
var _lodash = require("lodash"); | ||
var _pure = _interopRequireDefault(require("recompose/pure")); | ||
var _defaults2 = _interopRequireDefault(require("lodash/defaults")); | ||
var _config = require("../config"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
@@ -56,3 +60,3 @@ | ||
var _defaults = (0, _lodash.defaults)(config, defaultConfig), | ||
var _defaults = (0, _defaults2.default)(config, defaultConfig), | ||
onLoad = _defaults.onLoad, | ||
@@ -64,3 +68,3 @@ onUnload = _defaults.onUnload, | ||
/* tslint:disable no-invalid-this */ | ||
(0, _recompose.lifecycle)({ | ||
(0, _lifecycle.default)({ | ||
componentDidMount: function componentDidMount() { | ||
@@ -94,3 +98,3 @@ if (typeof onLoad !== 'function') { | ||
/* tslint:enable no-invalid-this */ | ||
_recompose.pure); | ||
_pure.default); | ||
}; | ||
@@ -100,2 +104,2 @@ | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uI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L1xuICAgICAgICBsaWZlY3ljbGU8UCAmIE9wdGlvbmFsUHJvcHMsIHt9Pih7XG4gICAgICAgICAgICBjb21wb25lbnREaWRNb3VudCgpIHtcbiAgICAgICAgICAgICAgICBpZiAodHlwZW9mIG9uTG9hZCAhPT0gJ2Z1bmN0aW9uJykge1xuICAgICAgICAgICAgICAgICAgICBsb2cuZXJyb3IubG9hZChvbkxvYWQpO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIG9uTG9hZCh0aGlzLnByb3BzKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgY29tcG9uZW50RGlkVXBkYXRlKHByZXZQcm9wczogUCkge1xuICAgICAgICAgICAgICAgIGlmICh0eXBlb2Ygc2hvdWxkUmVGZXRjaCAhPT0gJ2Z1bmN0aW9uJykge1xuICAgICAgICAgICAgICAgICAgICBsb2cuZXJyb3IucmVGZXRjaChzaG91bGRSZUZldGNoKTtcbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHR5cGVvZiBvbkxvYWQgIT09ICdmdW5jdGlvbicpIHtcbiAgICAgICAgICAgICAgICAgICAgbG9nLmVycm9yLmxvYWQob25Mb2FkKTtcbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHR5cGVvZiBvblVubG9hZCAhPT0gJ2Z1bmN0aW9uJykge1xuICAgICAgICAgICAgICAgICAgICBsb2cuZXJyb3IudW5sb2FkKG9uVW5sb2FkKTtcbiAgICAgICAgICAgICAgICB9IGVsc2UgaWYgKHNob3VsZFJlRmV0Y2gocHJldlByb3BzLCB0aGlzLnByb3BzKSkge1xuICAgICAgICAgICAgICAgICAgICBvblVubG9hZCh0aGlzLnByb3BzKTtcbiAgICAgICAgICAgICAgICAgICAgb25Mb2FkKHRoaXMucHJvcHMpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgICBjb21wb25lbnRXaWxsVW5tb3VudCgpIHtcbiAgICAgICAgICAgICAgICBpZiAodHlwZW9mIG9uVW5sb2FkICE9PSAnZnVuY3Rpb24nKSB7XG4gICAgICAgICAgICAgICAgICAgIGxvZy5lcnJvci51bmxvYWQob25VbmxvYWQpO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIG9uVW5sb2FkKHRoaXMucHJvcHMpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0sXG4gICAgICAgIH0pLFxuICAgICAgICAvKiB0c2xpbnQ6ZW5hYmxlIG5vLWludmFsaWQtdGhpcyAqL1xuICAgICAgICBwdXJlLFxuICAgICk7XG59O1xuZXhwb3J0IGRlZmF1bHQgZmV0Y2hEZXBlbmRlbmNpZXM7XG4iXX0= | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9IT0MvZmV0Y2hEZXBlbmRlbmNpZXMudHMiXSwibmFtZXMiOlsibG9nIiwiZXJyb3IiLCJsb2FkIiwibG9nZ2VyIiwidW5sb2FkIiwicmVGZXRjaCIsImVudGVySGFuZGxlciIsInByb3BzIiwiZmV0Y2giLCJsZWF2ZUhhbmRsZXIiLCJjbGVhciIsInJlRmV0Y2hIYW5kbGVyIiwib2xkUHJvcHMiLCJuZXdQcm9wcyIsImZldGNoRGVwZW5kZW5jaWVzIiwiY29uZmlnIiwiZGVmYXVsdENvbmZpZyIsIm9uTG9hZCIsIm9uVW5sb2FkIiwic2hvdWxkUmVGZXRjaCIsImNvbXBvbmVudERpZE1vdW50IiwiY29tcG9uZW50RGlkVXBkYXRlIiwicHJldlByb3BzIiwiY29tcG9uZW50V2lsbFVubW91bnQiLCJwdXJlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7Ozs7Ozs7O0FBR0E7Ozs7OztBQUVBLElBQU1BLEdBQUcsR0FBRztBQUNSQyxFQUFBQSxLQUFLLEV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nZnVuY3Rpb24nKSB7XG4gICAgICAgICAgICAgICAgICAgIGxvZy5lcnJvci5sb2FkKG9uTG9hZCk7XG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmICh0eXBlb2Ygb25VbmxvYWQgIT09ICdmdW5jdGlvbicpIHtcbiAgICAgICAgICAgICAgICAgICAgbG9nLmVycm9yLnVubG9hZChvblVubG9hZCk7XG4gICAgICAgICAgICAgICAgfSBlbHNlIGlmIChzaG91bGRSZUZldGNoKHByZXZQcm9wcywgdGhpcy5wcm9wcykpIHtcbiAgICAgICAgICAgICAgICAgICAgb25VbmxvYWQodGhpcy5wcm9wcyk7XG4gICAgICAgICAgICAgICAgICAgIG9uTG9hZCh0aGlzLnByb3BzKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgY29tcG9uZW50V2lsbFVubW91bnQoKSB7XG4gICAgICAgICAgICAgICAgaWYgKHR5cGVvZiBvblVubG9hZCAhPT0gJ2Z1bmN0aW9uJykge1xuICAgICAgICAgICAgICAgICAgICBsb2cuZXJyb3IudW5sb2FkKG9uVW5sb2FkKTtcbiAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICBvblVubG9hZCh0aGlzLnByb3BzKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9LFxuICAgICAgICB9KSxcbiAgICAgICAgLyogdHNsaW50OmVuYWJsZSBuby1pbnZhbGlkLXRoaXMgKi9cbiAgICAgICAgcHVyZSxcbiAgICApO1xufTtcbmV4cG9ydCBkZWZhdWx0IGZldGNoRGVwZW5kZW5jaWVzO1xuIl19 |
@@ -11,4 +11,6 @@ "use strict"; | ||
var _lodash = _interopRequireDefault(require("lodash")); | ||
var _keys2 = _interopRequireDefault(require("lodash/keys")); | ||
var _get2 = _interopRequireDefault(require("lodash/get")); | ||
var _pathToRegexp = _interopRequireDefault(require("path-to-regexp")); | ||
@@ -141,3 +143,3 @@ | ||
handlers = []; | ||
actionKeys = _lodash.default.keys(sagas); | ||
actionKeys = (0, _keys2.default)(sagas); | ||
_iteratorNormalCompletion = true; | ||
@@ -239,3 +241,3 @@ _didIteratorError = false; | ||
routing = _context4.sent; | ||
pathname = _lodash.default.get(routing, 'pathname'); | ||
pathname = (0, _get2.default)(routing, 'pathname'); | ||
@@ -331,2 +333,2 @@ if (!(typeof pathname !== 'string')) { | ||
} | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9zZXJ2aWNlcy9zYWdhcy9yb3V0aW5nLnRzIl0sIm5hbWVzIjpbInRyeUNhdGNoIiwicnVuU2FnYXMiLCJydW5Sb3V0ZURlcGVuZGVuY2llcyIsInJ1blJvdXRlQWN0aW9ucyIsInJvdXRlUmVmcmVzaCIsInR5cGUiLCJzYWdhIiwiY29tcGxldGVkIiwiYWN0aW9uIiwic3VjY2VlZGVkIiwicmVzdWx0IiwiZmFpbGVkIiwiZXJyb3IiLCJpbnZva2VTYWdhIiwic2FnYXMiLCJoYW5kbGVycyIsImFjdGlvbktleXMiLCJfIiwia2V5cyIsInB1c2giLCJtYXRjaFBhdGhUb1RlbXBsYXRlIiwicGF0aCIsInRlbXBsYXRlIiwicGFyYW1zIiwiZXhlYyIsInJlZHVjZXIiLCJyZXMiLCJ4IiwiaSIsIm5hbWUiLCJyZWR1Y2UiLCJzZWxlY3RvciIsInJvdXRpbmdTZWxlY3RvciIsInJvdXRpbmciLCJwYXRobmFtZSIsImdldCIsImxvZ2dlciIsIndhcm4iLCJoYW5kbGVyc1RvUnVuIiwiaW5pdFR5cGUiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQTs7QUFDQTs7QUFFQTs7QUFHQTs7QUFDQTs7Ozs7Ozs7Ozs7O3dCQVVVQSxROzs7d0JBMEJPQyxROzs7d0JBMkJBQyxvQjs7O3dCQTZCQUMsZTs7O3dCQU9BQyxZOztBQT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KSB7XG4gICAgICAgIHlpZWxkIHB1dCh7XG4gICAgICAgICAgICAuLi5hY3Rpb24sXG4gICAgICAgICAgICB0eXBlLFxuICAgICAgICB9KTtcbiAgICAgICAgeWllbGQgcnVuUm91dGVEZXBlbmRlbmNpZXMoaGFuZGxlcnMpO1xuICAgIH0pO1xufVxuIl19 |
{ | ||
"name": "@ackee/chris", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"description": "Useful additions for your redux - react-router based app", | ||
@@ -19,3 +19,4 @@ "main": "lib/index.js", | ||
"start": "npm run build && onchange 'src/**/*.{ts,tsx}' -- npm run build", | ||
"version": "changelog-it && vim CHANGELOG.md && git add CHANGELOG.md" | ||
"version": "changelog-it && vim CHANGELOG.md && git add CHANGELOG.md", | ||
"size": "package-size ./lib --no-cache" | ||
}, | ||
@@ -32,14 +33,15 @@ "author": "Lukáš Horák <lukas.horak@ackee.cz>", | ||
"dependencies": { | ||
"@types/lodash": "^4.14.119", | ||
"@types/react-router": "^4.4.3", | ||
"@types/recompose": "^0.30.2", | ||
"lodash": "^4.17.11", | ||
"path-to-regexp": "^3.0.0", | ||
"recompose": "^0.30.0" | ||
"@types/lodash": "4.14.x", | ||
"@types/react-router": "4.4.x", | ||
"@types/recompose": "0.30.x", | ||
"lodash": "4.17.x", | ||
"path-to-regexp": "3.0.x", | ||
"recompose": "^0.30.x" | ||
}, | ||
"peerDependencies": { | ||
"prop-types": "^15.6.2", | ||
"react": "^16.6.3", | ||
"react-router": "^4.3.1", | ||
"redux-saga": "^0.16.2" | ||
"connected-react-router": "6.4.x", | ||
"prop-types": "15.7.x", | ||
"react": "16.8.x", | ||
"react-router": "5.0.x", | ||
"redux-saga": "0.16.x" | ||
}, | ||
@@ -68,2 +70,3 @@ "devDependencies": { | ||
"babel-loader": "^8.0.4", | ||
"babel-plugin-transform-imports": "^1.5.1", | ||
"changelog-it": "github:AckeeCZ/changelog-it", | ||
@@ -80,2 +83,3 @@ "connected-react-router": "^6.0.0", | ||
"onchange": "^5.2.0", | ||
"package-size": "^2.3.0", | ||
"prettier-config-ackee": "0.0.5", | ||
@@ -82,0 +86,0 @@ "prop-types": "^15.6.2", |
105955
1093
11
48
+ Added@types/lodash@4.14.202(transitive)
+ Addedconnected-react-router@6.4.0(transitive)
+ Addedhoist-non-react-statics@3.3.2(transitive)
+ Addedimmutable@3.8.2(transitive)
+ Addedmini-create-react-context@0.3.3(transitive)
+ Addedpath-to-regexp@3.0.0(transitive)
+ Addedprop-types@15.7.2(transitive)
+ Addedreact@16.8.6(transitive)
+ Addedreact-redux@6.0.1(transitive)
+ Addedreact-router@5.0.1(transitive)
+ Addedredux@4.2.1(transitive)
+ Addedscheduler@0.13.6(transitive)
+ Addedseamless-immutable@7.1.4(transitive)
- Removed@types/lodash@4.17.15(transitive)
- Removedpath-to-regexp@3.3.0(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact@16.14.0(transitive)
- Removedreact-router@4.3.1(transitive)
- Removedwarning@4.0.3(transitive)
Updated@types/lodash@4.14.x
Updated@types/react-router@4.4.x
Updated@types/recompose@0.30.x
Updatedlodash@4.17.x
Updatedpath-to-regexp@3.0.x
Updatedrecompose@^0.30.x