Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redux-starter-kit

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-starter-kit - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

dist/redux-starter-kit.umd.min.js

6

dist/redux-starter-kit.cjs.js

@@ -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 @@

9

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc