redux-fluent
Advanced tools
Comparing version 0.99.1 to 0.100.2
@@ -5,2 +5,9 @@ # Changelog | ||
### [0.100.2](https://github.com/Code-Y/redux-fluent/compare/v0.99.1...v0.100.2) (2020-02-08) | ||
### Features | ||
* **actions:** support aliasing ([5d9cb6f](https://github.com/Code-Y/redux-fluent/commit/5d9cb6fe705622941a48095af9bf2fcb44453e6f)) | ||
### [0.99.1](https://github.com/Code-Y/redux-fluent/compare/v0.26.1...v0.99.1) (2019-12-24) | ||
@@ -7,0 +14,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { ActionCreator, RFA } from '../create-action/createAction'; | ||
import { ActionCreator, RFA } from '../create-action/create-action'; | ||
declare type AnyType<T extends string> = (T | ActionCreator<T, any, any> | { | ||
@@ -3,0 +3,0 @@ [key: string]: any; |
@@ -1,5 +0,5 @@ | ||
export { combineReduxFluentReducers as combineReducers, createReducersMapObject, } from './combine-reducers/combineReducers'; | ||
export { createAction } from './create-action/createAction'; | ||
export { createReducer } from './create-reducer/createReducer'; | ||
export { combineReduxFluentReducers as combineReducers, createReducersMapObject, } from './combine-reducers/combine-reducers'; | ||
export { createAction } from './create-action/create-action'; | ||
export { createReducer } from './create-reducer/create-reducer'; | ||
export { ofType } from './of-type/ofType'; | ||
export { withConfig } from './with-config/withConfig'; | ||
export { withConfig } from './with-config/with-config'; |
/**! | ||
* @build-info development - Tue Dec 24 2019 09:04:42 GMT+0000 (Greenwich Mean Time) | ||
* @build-info development - Sat Feb 08 2020 19:23:40 GMT+0000 (Greenwich Mean Time) | ||
* @name redux-fluent | ||
* @version 0.99.1 | ||
* @version 0.100.1 | ||
* @author Code-Y | ||
@@ -106,6 +106,6 @@ * @description A Practical and Functional utility for redux | ||
/***/ "./combine-reducers/combineReducers.ts": | ||
/*!*********************************************!*\ | ||
!*** ./combine-reducers/combineReducers.ts ***! | ||
\*********************************************/ | ||
/***/ "./combine-reducers/combine-reducers.ts": | ||
/*!**********************************************!*\ | ||
!*** ./combine-reducers/combine-reducers.ts ***! | ||
\**********************************************/ | ||
/*! exports provided: createReducersMapObject, combineReduxFluentReducers */ | ||
@@ -154,6 +154,6 @@ /***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
/***/ "./create-action/createAction.ts": | ||
/*!***************************************!*\ | ||
!*** ./create-action/createAction.ts ***! | ||
\***************************************/ | ||
/***/ "./create-action/create-action.ts": | ||
/*!****************************************!*\ | ||
!*** ./create-action/create-action.ts ***! | ||
\****************************************/ | ||
/*! exports provided: createAction */ | ||
@@ -165,2 +165,4 @@ /***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createAction", function() { return createAction; }); | ||
/* harmony import */ var _create_alias_creator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./create-alias-creator */ "./create-action/create-alias-creator.ts"); | ||
function createAction(type, payloadCreator, metaCreator) { | ||
@@ -183,2 +185,3 @@ var $payloadCreator = payloadCreator || (function (p) { return p; }); | ||
Object.defineProperties($action, { | ||
alias: { value: Object(_create_alias_creator__WEBPACK_IMPORTED_MODULE_0__["createAliasCreator"])(type) }, | ||
name: { configurable: true, value: "action('" + type + "')" }, | ||
@@ -195,6 +198,24 @@ toString: { value: function () { return type; } }, | ||
/***/ "./create-reducer/createReducer.ts": | ||
/*!*****************************************!*\ | ||
!*** ./create-reducer/createReducer.ts ***! | ||
\*****************************************/ | ||
/***/ "./create-action/create-alias-creator.ts": | ||
/*!***********************************************!*\ | ||
!*** ./create-action/create-alias-creator.ts ***! | ||
\***********************************************/ | ||
/*! exports provided: createAliasCreator */ | ||
/***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
"use strict"; | ||
__webpack_require__.r(__webpack_exports__); | ||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "createAliasCreator", function() { return createAliasCreator; }); | ||
/* harmony import */ var _create_action__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./create-action */ "./create-action/create-action.ts"); | ||
// eslint-disable-next-line no-unused-vars | ||
var createAliasCreator = function (type) { return function (payloadCreator, metaCreator) { return Object(_create_action__WEBPACK_IMPORTED_MODULE_0__["createAction"])(type, payloadCreator, metaCreator); }; }; | ||
/***/ }), | ||
/***/ "./create-reducer/create-reducer.ts": | ||
/*!******************************************!*\ | ||
!*** ./create-reducer/create-reducer.ts ***! | ||
\******************************************/ | ||
/*! exports provided: createReducer */ | ||
@@ -277,12 +298,12 @@ /***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
__webpack_require__.r(__webpack_exports__); | ||
/* harmony import */ var _combine_reducers_combineReducers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./combine-reducers/combineReducers */ "./combine-reducers/combineReducers.ts"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "combineReducers", function() { return _combine_reducers_combineReducers__WEBPACK_IMPORTED_MODULE_0__["combineReduxFluentReducers"]; }); | ||
/* harmony import */ var _combine_reducers_combine_reducers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./combine-reducers/combine-reducers */ "./combine-reducers/combine-reducers.ts"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "combineReducers", function() { return _combine_reducers_combine_reducers__WEBPACK_IMPORTED_MODULE_0__["combineReduxFluentReducers"]; }); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createReducersMapObject", function() { return _combine_reducers_combineReducers__WEBPACK_IMPORTED_MODULE_0__["createReducersMapObject"]; }); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createReducersMapObject", function() { return _combine_reducers_combine_reducers__WEBPACK_IMPORTED_MODULE_0__["createReducersMapObject"]; }); | ||
/* harmony import */ var _create_action_createAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./create-action/createAction */ "./create-action/createAction.ts"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createAction", function() { return _create_action_createAction__WEBPACK_IMPORTED_MODULE_1__["createAction"]; }); | ||
/* harmony import */ var _create_action_create_action__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./create-action/create-action */ "./create-action/create-action.ts"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createAction", function() { return _create_action_create_action__WEBPACK_IMPORTED_MODULE_1__["createAction"]; }); | ||
/* harmony import */ var _create_reducer_createReducer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./create-reducer/createReducer */ "./create-reducer/createReducer.ts"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createReducer", function() { return _create_reducer_createReducer__WEBPACK_IMPORTED_MODULE_2__["createReducer"]; }); | ||
/* harmony import */ var _create_reducer_create_reducer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./create-reducer/create-reducer */ "./create-reducer/create-reducer.ts"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "createReducer", function() { return _create_reducer_create_reducer__WEBPACK_IMPORTED_MODULE_2__["createReducer"]; }); | ||
@@ -292,4 +313,4 @@ /* harmony import */ var _of_type_ofType__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./of-type/ofType */ "./of-type/ofType.ts"); | ||
/* harmony import */ var _with_config_withConfig__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./with-config/withConfig */ "./with-config/withConfig.ts"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withConfig", function() { return _with_config_withConfig__WEBPACK_IMPORTED_MODULE_4__["withConfig"]; }); | ||
/* harmony import */ var _with_config_with_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./with-config/with-config */ "./with-config/with-config.ts"); | ||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "withConfig", function() { return _with_config_with_config__WEBPACK_IMPORTED_MODULE_4__["withConfig"]; }); | ||
@@ -305,6 +326,6 @@ | ||
/***/ "./with-config/withConfig.ts": | ||
/*!***********************************!*\ | ||
!*** ./with-config/withConfig.ts ***! | ||
\***********************************/ | ||
/***/ "./with-config/with-config.ts": | ||
/*!************************************!*\ | ||
!*** ./with-config/with-config.ts ***! | ||
\************************************/ | ||
/*! exports provided: withConfig */ | ||
@@ -316,3 +337,3 @@ /***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "withConfig", function() { return withConfig; }); | ||
/* harmony import */ var _create_reducer_createReducer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../create-reducer/createReducer */ "./create-reducer/createReducer.ts"); | ||
/* harmony import */ var _create_reducer_create_reducer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../create-reducer/create-reducer */ "./create-reducer/create-reducer.ts"); | ||
var __assign = (undefined && undefined.__assign) || function () { | ||
@@ -336,3 +357,3 @@ __assign = Object.assign || function(t) { | ||
var $$context = reducer.$$context, type = reducer.type; | ||
var $reducer = (_a = Object(_create_reducer_createReducer__WEBPACK_IMPORTED_MODULE_0__["createReducer"])(type)).actions.apply(_a, $$context.handlers).default($$context.getDefaultState); | ||
var $reducer = (_a = Object(_create_reducer_create_reducer__WEBPACK_IMPORTED_MODULE_0__["createReducer"])(type)).actions.apply(_a, $$context.handlers).default($$context.getDefaultState); | ||
// @ts-ignore TS2339 | ||
@@ -339,0 +360,0 @@ $reducer.$$context.config = __assign(__assign({}, ($$context.config || {})), config); |
{ | ||
"name": "redux-fluent", | ||
"license": "MIT", | ||
"version": "0.99.1", | ||
"version": "0.100.2", | ||
"homepage": "https://github.com/Code-Y/redux-fluent#readme", | ||
@@ -58,3 +58,3 @@ "description": "A Practical and Functional utility for redux", | ||
"@types/chai": "^4.2.6", | ||
"@types/jest": "^24.0.23", | ||
"@types/jest": "^25.1.0", | ||
"@types/node": "^13.1.0", | ||
@@ -79,12 +79,12 @@ "@types/ramda": "^0.26.38", | ||
"gitbook-plugin-edit-link": "^2.0.2", | ||
"gitbook-plugin-github": "^2.0.0", | ||
"gitbook-plugin-github-edit": "^1.1.0", | ||
"gitbook-plugin-prism": "^2.4.0", | ||
"husky": "^3.1.0", | ||
"jest": "^24.9.0", | ||
"ramda": "^0.26.1", | ||
"husky": "^4.0.0", | ||
"jest": "^25.1.0", | ||
"ramda": "^0.27.0", | ||
"redux": "^4.0.4", | ||
"sinon": "^7.5.0", | ||
"sinon": "^8.0.1", | ||
"sinon-chai": "^3.3.0", | ||
"standard-version": "^7.0.1", | ||
"ts-jest": "^24.2.0", | ||
"ts-jest": "^25.0.0", | ||
"typescript": "^3.7.3", | ||
@@ -91,0 +91,0 @@ "webpack": "^4.41.2", |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
70850
22
510
0
3