redux
Advanced tools
Comparing version 4.2.0 to 4.2.1
@@ -747,13 +747,2 @@ (function (global, factory) { | ||
/* | ||
* This is a dummy function to check if the function name has been altered by minification. | ||
* If the function has been minified and NODE_ENV !== 'production', warn the user. | ||
*/ | ||
function isCrushed() {} | ||
if (typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') { | ||
warning('You are currently using minified code outside of NODE_ENV === "production". ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) ' + 'to ensure you have the correct code for your production build.'); | ||
} | ||
exports.__DO_NOT_USE__ActionTypes = ActionTypes; | ||
@@ -760,0 +749,0 @@ exports.applyMiddleware = applyMiddleware; |
@@ -705,13 +705,2 @@ import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2'; | ||
/* | ||
* This is a dummy function to check if the function name has been altered by minification. | ||
* If the function has been minified and NODE_ENV !== 'production', warn the user. | ||
*/ | ||
function isCrushed() {} | ||
if (process.env.NODE_ENV !== 'production' && typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') { | ||
warning('You are currently using minified code outside of NODE_ENV === "production". ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) ' + 'to ensure you have the correct code for your production build.'); | ||
} | ||
export { ActionTypes as __DO_NOT_USE__ActionTypes, applyMiddleware, bindActionCreators, combineReducers, compose, createStore, legacy_createStore }; |
@@ -713,13 +713,2 @@ 'use strict'; | ||
/* | ||
* This is a dummy function to check if the function name has been altered by minification. | ||
* If the function has been minified and NODE_ENV !== 'production', warn the user. | ||
*/ | ||
function isCrushed() {} | ||
if (process.env.NODE_ENV !== 'production' && typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') { | ||
warning('You are currently using minified code outside of NODE_ENV === "production". ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) ' + 'to ensure you have the correct code for your production build.'); | ||
} | ||
exports.__DO_NOT_USE__ActionTypes = ActionTypes; | ||
@@ -726,0 +715,0 @@ exports.applyMiddleware = applyMiddleware; |
{ | ||
"name": "redux", | ||
"version": "4.2.0", | ||
"version": "4.2.1", | ||
"description": "Predictable state container for JavaScript apps", | ||
@@ -82,3 +82,3 @@ "license": "MIT", | ||
"eslint-plugin-react": "^7.19.0", | ||
"eslint-plugin-react-hooks": "^3.0.0", | ||
"eslint-plugin-react-hooks": "^2.0.0", | ||
"glob": "^7.1.6", | ||
@@ -85,0 +85,0 @@ "jest": "^25.4.0", |
@@ -6,25 +6,4 @@ import { createStore, legacy_createStore } from './createStore' | ||
import compose from './compose' | ||
import warning from './utils/warning' | ||
import __DO_NOT_USE__ActionTypes from './utils/actionTypes' | ||
/* | ||
* This is a dummy function to check if the function name has been altered by minification. | ||
* If the function has been minified and NODE_ENV !== 'production', warn the user. | ||
*/ | ||
function isCrushed() {} | ||
if ( | ||
process.env.NODE_ENV !== 'production' && | ||
typeof isCrushed.name === 'string' && | ||
isCrushed.name !== 'isCrushed' | ||
) { | ||
warning( | ||
'You are currently using minified code outside of NODE_ENV === "production". ' + | ||
'This means that you are running a slower development build of Redux. ' + | ||
'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + | ||
'or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) ' + | ||
'to ensure you have the correct code for your production build.' | ||
) | ||
} | ||
export { | ||
@@ -31,0 +10,0 @@ createStore, |
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
45
0
175632
3343