Socket
Socket
Sign inDemoInstall

@redux-devtools/extension

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@redux-devtools/extension - npm Package Compare versions

Comparing version 3.2.1 to 3.2.2

45

lib/cjs/index.js

@@ -8,3 +8,40 @@ "use strict";

});
exports.devToolsEnhancer = exports.composeWithDevTools = void 0;
exports.composeWithDevTools = void 0;
Object.defineProperty(exports, "composeWithDevToolsDevelopmentOnly", {
enumerable: true,
get: function get() {
return _developmentOnly.composeWithDevTools;
}
});
Object.defineProperty(exports, "composeWithDevToolsLogOnly", {
enumerable: true,
get: function get() {
return _logOnly.composeWithDevTools;
}
});
Object.defineProperty(exports, "composeWithDevToolsLogOnlyInProduction", {
enumerable: true,
get: function get() {
return _logOnlyInProduction.composeWithDevTools;
}
});
exports.devToolsEnhancer = void 0;
Object.defineProperty(exports, "devToolsEnhancerDevelopmentOnly", {
enumerable: true,
get: function get() {
return _developmentOnly.devToolsEnhancer;
}
});
Object.defineProperty(exports, "devToolsEnhancerLogOnly", {
enumerable: true,
get: function get() {
return _logOnly.devToolsEnhancer;
}
});
Object.defineProperty(exports, "devToolsEnhancerLogOnlyInProduction", {
enumerable: true,
get: function get() {
return _logOnlyInProduction.devToolsEnhancer;
}
});

@@ -17,2 +54,8 @@ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));

var _developmentOnly = require("./developmentOnly");
var _logOnly = require("./logOnly");
var _logOnlyInProduction = require("./logOnlyInProduction");
function extensionComposeStub() {

@@ -19,0 +62,0 @@ for (var _len = arguments.length, funcs = new Array(_len), _key = 0; _key < _len; _key++) {

5

lib/esm/index.js

@@ -20,2 +20,5 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";

};
};
};
export { composeWithDevTools as composeWithDevToolsDevelopmentOnly, devToolsEnhancer as devToolsEnhancerDevelopmentOnly } from './developmentOnly';
export { composeWithDevTools as composeWithDevToolsLogOnly, devToolsEnhancer as devToolsEnhancerLogOnly } from './logOnly';
export { composeWithDevTools as composeWithDevToolsLogOnlyInProduction, devToolsEnhancer as devToolsEnhancerLogOnlyInProduction } from './logOnlyInProduction';

@@ -203,2 +203,4 @@ import { Action, ActionCreator, StoreEnhancer } from 'redux';

export declare const devToolsEnhancer: (options?: EnhancerOptions) => StoreEnhancer;
export {};
export { composeWithDevTools as composeWithDevToolsDevelopmentOnly, devToolsEnhancer as devToolsEnhancerDevelopmentOnly, } from './developmentOnly';
export { composeWithDevTools as composeWithDevToolsLogOnly, devToolsEnhancer as devToolsEnhancerLogOnly, } from './logOnly';
export { composeWithDevTools as composeWithDevToolsLogOnlyInProduction, devToolsEnhancer as devToolsEnhancerLogOnlyInProduction, } from './logOnlyInProduction';
{
"name": "@redux-devtools/extension",
"version": "3.2.1",
"version": "3.2.2",
"description": "Wrappers for Redux DevTools Extension.",

@@ -32,14 +32,14 @@ "homepage": "https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-extension",

"dependencies": {
"@babel/runtime": "^7.16.7"
"@babel/runtime": "^7.17.0"
},
"devDependencies": {
"@babel/cli": "^7.16.8",
"@babel/core": "^7.16.12",
"@babel/eslint-parser": "^7.16.5",
"@babel/plugin-transform-runtime": "^7.16.10",
"@babel/cli": "^7.17.0",
"@babel/core": "^7.17.0",
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"eslint": "^8.7.0",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",

@@ -46,0 +46,0 @@ "redux": "^4.1.2",

@@ -46,3 +46,3 @@ # Redux DevTools Extension's helper

There’re just [few lines of code](https://github.com/reduxjs/redux-devtools/blob/main/packages/redux-devtools-extension/src/index.ts). If you don’t want to allow the extension in production, just use ‘@redux-devtools/extension/lib/developmentOnly’ instead of ‘@redux-devtools/extension’.
There are just a [few lines of code](https://github.com/reduxjs/redux-devtools/blob/main/packages/redux-devtools-extension/src/index.ts). If you don’t want to allow the extension in production, just use `composeWithDevToolsDevelopmentOnly` instead of `composeWithDevTools`.

@@ -49,0 +49,0 @@ ## License

@@ -232,1 +232,14 @@ import { Action, ActionCreator, compose, StoreEnhancer } from 'redux';

};
export {
composeWithDevTools as composeWithDevToolsDevelopmentOnly,
devToolsEnhancer as devToolsEnhancerDevelopmentOnly,
} from './developmentOnly';
export {
composeWithDevTools as composeWithDevToolsLogOnly,
devToolsEnhancer as devToolsEnhancerLogOnly,
} from './logOnly';
export {
composeWithDevTools as composeWithDevToolsLogOnlyInProduction,
devToolsEnhancer as devToolsEnhancerLogOnlyInProduction,
} from './logOnlyInProduction';
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