Skip to content

Releases: nis2shield/react-guard

v0.2.5 — DEPRECATED

02 Jan 21:37

Choose a tag to compare

docs: add Security Mailing List info

v0.2.4 — DEPRECATED

02 Jan 21:16

Choose a tag to compare

⚠️ This package has been deprecated.

This repository has been merged into the NIS2 Shield Frontend Monorepo.

Please use @nis2shield/react-guard from the monorepo (packages/react) for the latest updates and security patches.

This standalone repository is now ARCHIVED and will no longer receive updates.

v0.2.3 (Deprecated)

02 Jan 17:28

Choose a tag to compare

Final release marking the repository as deprecated. Moved to @nis2shield/frontend.

v0.2.1 - LLM Optimization

31 Dec 16:03

Choose a tag to compare

What's Changed

Documentation

  • Added 'Why this package?' section to README for AI discoverability
  • Added 'Recipes' section with 3 common patterns
  • Added JSDoc @example to SessionWatchdog component
  • Added keywords: cybersecurity, auto-logout, session-timeout, tab-napping, enterprise
  • Created llms.txt for AI agent context

CI/CD

  • Added publish.yml workflow for automated npm releases
  • Added workflow_dispatch with dry_run option

v0.2.0 - Device Fingerprinting & Security Banner

26 Dec 19:15

Choose a tag to compare

🎉 v0.2.0 Release

✨ New Features

  • useDeviceFingerprint - Passive device fingerprint collection for session hijacking detection
  • SecurityBanner - Warns users about insecure connections (HTTP) and outdated browsers

📦 Components

  • Nis2Provider - Main context provider
  • SessionWatchdog - Idle detection & tab napping
  • AuditBoundary - React Error Boundary with telemetry
  • SecurityBanner - Security warnings banner

🪝 Hooks

  • useSecureStorage - AES-GCM encrypted localStorage
  • useSecureInput - Anti-paste, autocomplete off
  • useNis2Log - Manual telemetry logging
  • useDeviceFingerprint - Device fingerprint collection

📊 Stats

  • 35 tests passing
  • Bundle: 34.58 KB (ES), 23.43 KB (CJS)

📥 Installation

npm install @nis2shield/react-guard