New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@britannica/react-hooks

Package Overview
Dependencies
Maintainers
4
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@britannica/react-hooks - npm Package Compare versions

Comparing version 0.2.6 to 0.2.7

5

dist/bundle.js/index.js
import { bindActionCreators } from 'redux';
import { useDispatch } from 'react-redux';
import { useMemo, useState, useEffect } from 'react';
function useActions(actions, deps) {
const dispatch = useDispatch();
function useActions(actions, deps, dispatch) {
// const dispatch = useDispatch();
return useMemo(() => {

@@ -8,0 +7,0 @@ if (Array.isArray(actions)) {

2

package.json
{
"name": "@britannica/react-hooks",
"version": "0.2.6",
"version": "0.2.7",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/bundle.js",

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