Socket
Book a DemoInstallSign in
Socket

@socketregistry/globalthis

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@socketregistry/globalthis

Socket.dev optimized package override for globalthis

latest
Source
npmnpm
Version
1.0.7
Version published
Weekly downloads
240
160.87%
Maintainers
2
Weekly downloads
 
Created
Source

@socketregistry/globalthis

Socket Badge CI - @socketregistry/globalthis Follow @SocketSecurity

A tested zero dependency drop-in replacement of globalthis complete with TypeScript types.

Installation

Install as a package override

socket CLI will automagically ✨ populate overrides and resolutions of your package.json.

npx socket optimize

Prefer to do it yourself? Add @socketregistry/globalthis to your package.json.

{
  "overrides": {
    "globalthis": "npm:@socketregistry/globalthis@^1"
  },
  "resolutions": {
    "globalthis": "npm:@socketregistry/globalthis@^1"
  }
}

Install as a plain dependency

Install with your favorite package manager.

npm install @socketregistry/globalthis

Requirements

Node >= 18.20.4

Keywords

Socket.dev

FAQs

Package last updated on 10 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts