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

focus-trap-react

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

focus-trap-react - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

4

CHANGELOG.md
# Changelog
## 3.1.1
- Fix React import in TypeScript declarations.
## 3.1.0

@@ -4,0 +8,0 @@

9

index.d.ts
declare module "focus-trap-react" {
import { Options as FocusTrapOptions } from "focus-trap";
import React from "react";
import * as React from "react";
// Extend AllHTMLAttributes to provide completions on DOM properties wherever
// React does.
export interface Props extends React.AllHTMLAttributes<any> {
interface Props extends React.AllHTMLAttributes<any> {
active?: boolean;

@@ -16,3 +16,6 @@ paused?: boolean;

export default class FocusTrap extends React.Component<Props> {}
class FocusTrap extends React.Component<Props> {}
namespace FocusTrap {}
export = FocusTrap;
}
{
"name": "focus-trap-react",
"version": "3.1.0",
"version": "3.1.1",
"description": "A React component that traps focus.",

@@ -5,0 +5,0 @@ "main": "dist/focus-trap-react.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