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

react-use

Package Overview
Dependencies
Maintainers
1
Versions
271
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-use - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

lib/useFavicon.d.ts

3

lib/index.d.ts
import useBattery from './useBattery';
import useCounter from './useCounter';
import useFavicon from './useFavicon';
import useGeolocation from './useGeolocation';

@@ -18,2 +19,2 @@ import useHover from './useHover';

import useWindowSize from './useWindowSize';
export { useBattery, useCounter, useGeolocation, useHover, useIdle, useList, useLocation, useMap, useMedia, useMediaDevices, useMotion, useNetwork, useOrientation, useSize, useTitle, useToggle, useWindowSize, };
export { useBattery, useCounter, useFavicon, useGeolocation, useHover, useIdle, useList, useLocation, useMap, useMedia, useMediaDevices, useMotion, useNetwork, useOrientation, useSize, useTitle, useToggle, useWindowSize, };

@@ -7,2 +7,4 @@ "use strict";

exports.useCounter = useCounter_1.default;
const useFavicon_1 = require("./useFavicon");
exports.useFavicon = useFavicon_1.default;
const useGeolocation_1 = require("./useGeolocation");

@@ -9,0 +11,0 @@ exports.useGeolocation = useGeolocation_1.default;

@@ -7,4 +7,4 @@ "use strict";

document.title = title;
});
}, [title]);
};
exports.default = useTitle;
{
"name": "react-use",
"version": "1.0.0",
"version": "1.1.0",
"description": "Collection of React Hooks",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -56,2 +56,3 @@ <div align="center">

- [__Side-effects__](./docs/Side-effects.md)
- [`useFavicon`](./docs/useFavicon.md) &mdash; sets favicon of the page.
- [`useTitle`](./docs/useTitle.md) &mdash; sets title of the page.

@@ -58,0 +59,0 @@ <br/>

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