redux-starter-kit
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -268,5 +268,9 @@ 'use strict'; | ||
if (process.env.NODE_ENV !== 'production') { | ||
/* START_REMOVE_UMD */ | ||
var createImmutableStateInvariantMiddleware = require('redux-immutable-state-invariant')["default"]; | ||
middlewareArray = [createImmutableStateInvariantMiddleware(), thunk, createSerializableStateInvariantMiddleware()]; | ||
middlewareArray.unshift(createImmutableStateInvariantMiddleware()); | ||
/* STOP_REMOVE_UMD */ | ||
middlewareArray.push(createSerializableStateInvariantMiddleware()); | ||
} | ||
@@ -273,0 +277,0 @@ |
@@ -264,5 +264,9 @@ import { combineReducers, applyMiddleware, createStore, compose } from 'redux'; | ||
if (process.env.NODE_ENV !== 'production') { | ||
/* START_REMOVE_UMD */ | ||
var createImmutableStateInvariantMiddleware = require('redux-immutable-state-invariant')["default"]; | ||
middlewareArray = [createImmutableStateInvariantMiddleware(), thunk, createSerializableStateInvariantMiddleware()]; | ||
middlewareArray.unshift(createImmutableStateInvariantMiddleware()); | ||
/* STOP_REMOVE_UMD */ | ||
middlewareArray.push(createSerializableStateInvariantMiddleware()); | ||
} | ||
@@ -269,0 +273,0 @@ |
{ | ||
"name": "redux-starter-kit", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "A simple set of tools to make using Redux easier", | ||
@@ -8,3 +8,3 @@ "repository": "https://github.com/markerikson/redux-starter-kit", | ||
"module": "dist/redux-starter-kit.esm.js", | ||
"unpkg": "dist/redux-starter-kit.umd.js", | ||
"unpkg": "dist/redux-starter-kit.umd.min.js", | ||
"types": "dist/typings.d.ts", | ||
@@ -34,3 +34,4 @@ "author": "Mark Erikson <mark@isquaredsoftware.com>", | ||
"rollup-plugin-commonjs": "^9.3.4", | ||
"rollup-plugin-node-resolve": "^4.2.0", | ||
"rollup-plugin-node-resolve": "^4.2.4", | ||
"rollup-plugin-strip-code": "^0.2.6", | ||
"typescript": "^3.4.3", | ||
@@ -59,2 +60,4 @@ "typings-tester": "^0.3.2" | ||
"redux-thunk": "^2.2.0", | ||
"rollup-plugin-replace": "^2.2.0", | ||
"rollup-plugin-terser": "^5.1.1", | ||
"selectorator": "^4.0.3" | ||
@@ -61,0 +64,0 @@ }, |
@@ -17,2 +17,5 @@ import { | ||
import thunk, { ThunkDispatch, ThunkMiddleware } from 'redux-thunk' | ||
// UMD-DEV-ONLY: import createImmutableStateInvariantMiddleware from 'redux-immutable-state-invariant' | ||
import { createSerializableStateInvariantMiddleware } from './serializableStateInvariantMiddleware' | ||
@@ -38,10 +41,9 @@ | ||
if (process.env.NODE_ENV !== 'production') { | ||
/* START_REMOVE_UMD */ | ||
const createImmutableStateInvariantMiddleware = require('redux-immutable-state-invariant') | ||
.default | ||
middlewareArray.unshift(createImmutableStateInvariantMiddleware()) | ||
/* STOP_REMOVE_UMD */ | ||
middlewareArray = [ | ||
createImmutableStateInvariantMiddleware(), | ||
thunk, | ||
createSerializableStateInvariantMiddleware() | ||
] | ||
middlewareArray.push(createSerializableStateInvariantMiddleware()) | ||
} | ||
@@ -48,0 +50,0 @@ |
Sorry, the diff of this file is too big to display
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
256495
32
6092
5
0
8
24
+ Addedrollup-plugin-replace@^2.2.0
+ Addedrollup-plugin-terser@^5.1.1
+ Added@babel/code-frame@7.26.2(transitive)
+ Added@babel/helper-validator-identifier@7.25.9(transitive)
+ Addedbuffer-from@1.1.2(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedestree-walker@0.6.1(transitive)
+ Addedfsevents@2.3.3(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedjest-worker@24.9.0(transitive)
+ Addedmagic-string@0.25.9(transitive)
+ Addedmerge-stream@2.0.0(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedrandombytes@2.1.0(transitive)
+ Addedrollup@2.79.2(transitive)
+ Addedrollup-plugin-replace@2.2.0(transitive)
+ Addedrollup-plugin-terser@5.3.1(transitive)
+ Addedrollup-pluginutils@2.8.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedserialize-javascript@4.0.0(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addedsource-map-support@0.5.21(transitive)
+ Addedsourcemap-codec@1.4.8(transitive)
+ Addedsupports-color@6.1.0(transitive)
+ Addedterser@4.8.1(transitive)