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

@parca/store

Package Overview
Dependencies
Maintainers
4
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parca/store - npm Package Compare versions

Comparing version 0.14.30 to 0.14.36

15

CHANGELOG.md

@@ -6,2 +6,17 @@ # Change Log

## [0.14.36](https://github.com/parca-dev/parca/compare/ui-v0.14.35...ui-v0.14.36) (2022-08-24)
### Bug Fixes
* **ui:** enforce @typescript-eslint/explicit-function-return-type ([22a18fd](https://github.com/parca-dev/parca/commit/22a18fd3f7befef5cc175131d8c997c3967a5713))
## 0.14.32 (2022-08-18)
## [0.14.30](https://github.com/parca-dev/parca/compare/ui-v0.14.29...ui-v0.14.30) (2022-08-17)

@@ -8,0 +23,0 @@

4

package.json
{
"name": "@parca/store",
"version": "0.14.30",
"version": "0.14.36",
"description": "State management for Parca UI",

@@ -21,3 +21,3 @@ "main": "src/index.tsx",

},
"gitHead": "9c8d0ec834d23db619a26b999d543c6bc40f7e16"
"gitHead": "7d75476b99eafbb9e9d3976c1de6cfb88cbfc8c2"
}

@@ -18,3 +18,3 @@ // Copyright 2022 The Parca Authors

// Use throughout app instead of plain `useDispatch` and `useSelector`
export const useAppDispatch = () => useDispatch<AppDispatch>();
export const useAppDispatch = (): AppDispatch => useDispatch<AppDispatch>();
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector;

@@ -46,5 +46,6 @@ // Copyright 2022 The Parca Authors

// Other code such as selectors can use the imported `RootState` type
export const selectCompareMode = (state: RootState) => state.profile.compare;
export const selectSearchNodeString = (state: RootState) => state.profile.searchNodeString;
export const selectCompareMode = (state: RootState): boolean => state.profile.compare;
export const selectSearchNodeString = (state: RootState): string | undefined =>
state.profile.searchNodeString;
export default profileSlice.reducer;

@@ -41,4 +41,4 @@ // Copyright 2022 The Parca Authors

// Other code such as selectors can use the imported `RootState` type
export const selectDarkMode = (state: RootState) => state.ui.darkMode;
export const selectDarkMode = (state: RootState): boolean => state.ui.darkMode;
export default uiSlice.reducer;

@@ -27,3 +27,5 @@ // Copyright 2022 The Parca Authors

persistStore,
Persistor,
} from 'redux-persist';
import {Store} from 'redux';

@@ -62,3 +64,3 @@ const rootReducer = combineReducers({

const defaultExports = () => {
const defaultExports = (): {store: Store; persistor: Persistor} => {
const persistor = persistStore(store);

@@ -65,0 +67,0 @@ return {store, persistor};

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