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

@starbeam/shared

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@starbeam/shared

A package that facilitates having multiple copies of Starbeam in a single process that interoperate with each other

  • 1.3.8-unstable.2e56437
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-78.57%
Maintainers
2
Weekly downloads
 
Created
Source

This package provides an extremely stable API for getting:

  • The current timestamp as a number
  • The value of the UNINITIALIZED symbol

Apps shouldn't use the exports of this dependency directly. Instead, separating the most fundamental parts of Starbeam's composition into a separate package allows two versions of Starbeam to coexist in the same process and to share reactivity between them.

In other words, if you access a Cell from version 1 of Starbeam in the context of a formula created in version 2 of Starbeam, updating the cell will invalidate the formula.

This package uses Symbol.for to ensure that only a single copy of the fundamental symbols and constants exists in a single process. As a result, it is not necessary to install this package as a peer dependency.

FAQs

Package last updated on 11 Oct 2023

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

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