
Security News
Open VSX Begins Implementing Pre-Publish Security Checks After Repeated Supply Chain Incidents
Following multiple malicious extension incidents, Open VSX outlines new safeguards designed to catch risky uploads earlier.
@balancy/bridge
Advanced tools
This package contains the TypeScript implementation of the Balancy WebView Bridge, which has been migrated from a single JavaScript file to a modular TypeScript codebase.
The initial setup and migration have been completed. Both the bridge file and styles file have been merged into a single TypeScript package:
packages/bridge/
├── dist/ # Build output
│ └── balancy-webview-bridge.js # Minified bundle
├── src/
│ ├── index.ts # Main entry point
│ ├── types.ts # Type definitions
│ ├── constants.ts # Enums and constants
│ ├── messaging/ # Request/response handling
│ │ ├── BatchManager.ts
│ │ ├── messageHandler.ts
│ │ └── requestHandler.ts
│ ├── cache/ # Caching systems
│ │ ├── ImageCache.ts
│ │ └── LocalizationCache.ts
│ ├── api/ # API method groups
│ │ ├── profile.ts
│ │ ├── offers.ts
│ │ ├── tasks.ts
│ │ ├── inventory.ts
│ │ ├── battlepass.ts
│ │ └── events.ts
│ ├── ui/ # UI preparation methods
│ │ ├── localization.ts
│ │ ├── images.ts
│ │ ├── fonts.ts
│ │ ├── buttons.ts
│ │ └── dynamicText.ts
│ ├── styles/ # CSS & performance optimizations
│ │ └── gameUI.ts # Game UI styles & behaviors
│ ├── utils/ # Utility functions
│ │ ├── formatting.ts
│ │ ├── templates.ts
│ │ └── dom.ts
│ ├── components/ # Component system (Phase 2+)
│ ├── serialization/ # Serialization system (Phase 3+)
│ ├── managers/ # Managers (Phase 4+)
│ └── initialization.ts # Initialization flow
├── scripts/
│ └── build.js # esbuild configuration
├── package.json
├── tsconfig.json
└── README.md
cd packages/bridge
npm install
npm run build
Outputs minified bundle to dist/balancy-webview-bridge.js
npm run build:dev
Outputs bundle with inline source maps for debugging
npm run watch
Automatically rebuilds on file changes
✅ Phase 1 Complete: TypeScript setup and migration
Phase 2 will implement the Unity-like component system:
Before proceeding to Phase 2, test the current build:
packages/bridge/dist/balancy-webview-bridge.jspackages/core/src/webview/resources/balancy-webview-bridge.jspackages/core/src/webview/resources/balancy-webview-bridge.jspackages/core/src/webview/resources/balancy-webview-styles.jswindow.balancyFAQs
Balancy WebView Bridge - Unity-like component system for HTML/JavaScript
We found that @balancy/bridge demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

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.

Security News
Following multiple malicious extension incidents, Open VSX outlines new safeguards designed to catch risky uploads earlier.

Research
/Security News
Threat actors compromised four oorzc Open VSX extensions with more than 22,000 downloads, pushing malicious versions that install a staged loader, evade Russian-locale systems, pull C2 from Solana memos, and steal macOS credentials and wallets.

Security News
Lodash 4.17.23 marks a security reset, with maintainers rebuilding governance and infrastructure to support long-term, sustainable maintenance.