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

@react-hookz/web

Package Overview
Dependencies
Maintainers
2
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-hookz/web - npm Package Compare versions

Comparing version 1.23.0 to 1.24.0

cjs/useDocumentTitle.d.ts

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [1.24.0](https://github.com/react-hookz/web/compare/v1.23.0...v1.24.0) (2021-05-26)
### Features
* `useTitle` -> `useDocumentTitle` ([24daf77](https://github.com/react-hookz/web/commit/24daf778815564185fd0c7c34c19011dea8b1e37))
# [1.23.0](https://github.com/react-hookz/web/compare/v1.22.0...v1.23.0) (2021-05-25)

@@ -2,0 +9,0 @@

2

cjs/index.d.ts

@@ -21,2 +21,2 @@ export { useDebounceCallback } from './useDebounceCallback';

export { useResizeObserver, IUseResizeObserverCallback } from './useResizeObserver';
export { useTitle, IUseTitleOptions } from './useTitle';
export { useDocumentTitle, IUseDocumentTitleOptions } from './useDocumentTitle';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useTitle = exports.useResizeObserver = exports.useSessionStorageValue = exports.useLocalStorageValue = exports.useSyncedRef = exports.useNetworkState = exports.useToggle = exports.useSafeState = exports.usePrevious = exports.useMediatedState = exports.useUpdateEffect = exports.useUnmountEffect = exports.useRerender = exports.useMountEffect = exports.useIsomorphicLayoutEffect = exports.useIsMounted = exports.useFirstMountState = exports.useConditionalUpdateEffect = exports.useConditionalEffect = exports.useRafCallback = exports.useDebounceCallback = void 0;
exports.useDocumentTitle = exports.useResizeObserver = exports.useSessionStorageValue = exports.useLocalStorageValue = exports.useSyncedRef = exports.useNetworkState = exports.useToggle = exports.useSafeState = exports.usePrevious = exports.useMediatedState = exports.useUpdateEffect = exports.useUnmountEffect = exports.useRerender = exports.useMountEffect = exports.useIsomorphicLayoutEffect = exports.useIsMounted = exports.useFirstMountState = exports.useConditionalUpdateEffect = exports.useConditionalEffect = exports.useRafCallback = exports.useDebounceCallback = void 0;
// Callback

@@ -52,3 +52,3 @@ var useDebounceCallback_1 = require("./useDebounceCallback");

// Dom
var useTitle_1 = require("./useTitle");
Object.defineProperty(exports, "useTitle", { enumerable: true, get: function () { return useTitle_1.useTitle; } });
var useDocumentTitle_1 = require("./useDocumentTitle");
Object.defineProperty(exports, "useDocumentTitle", { enumerable: true, get: function () { return useDocumentTitle_1.useDocumentTitle; } });

@@ -21,2 +21,2 @@ export { useDebounceCallback } from './useDebounceCallback';

export { useResizeObserver, IUseResizeObserverCallback } from './useResizeObserver';
export { useTitle, IUseTitleOptions } from './useTitle';
export { useDocumentTitle, IUseDocumentTitleOptions } from './useDocumentTitle';

@@ -29,2 +29,2 @@ // Callback

// Dom
export { useTitle } from "./useTitle.js";
export { useDocumentTitle } from "./useDocumentTitle.js";

@@ -21,2 +21,2 @@ export { useDebounceCallback } from './useDebounceCallback';

export { useResizeObserver, IUseResizeObserverCallback } from './useResizeObserver';
export { useTitle, IUseTitleOptions } from './useTitle';
export { useDocumentTitle, IUseDocumentTitleOptions } from './useDocumentTitle';

@@ -29,2 +29,2 @@ // Callback

// Dom
export { useTitle } from "./useTitle.js";
export { useDocumentTitle } from "./useDocumentTitle.js";
{
"name": "@react-hookz/web",
"version": "1.23.0",
"version": "1.24.0",
"description": "React hooks done right, for browser and SSR.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -122,1 +122,6 @@ <div align="center">

— Uses ResizeObserver to track element dimensions and re-render component when they change.
- #### Dom
- [**`useDocumentTitle`**](https://react-hookz.github.io/?path=/docs/dom-usedocumenttitle)
— Sets title of the page.
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