New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@blastlauncher/renderer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blastlauncher/renderer

`@blastlauncher/renderer` is the core of Blast Launcher.

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

@blastlauncher/renderer

@blastlauncher/renderer is the core of Blast Launcher.

It is a custom React renderer that implements the react-reconciler package. It is used to render the React element tree as JSON. Also it provides a websocket server.

There's currently no component checks, so developers might misuse the components and cause unexpected behaviors.

Architecture

  • Most elements are implemented in ./renderer/elements.
  • The reconciler is implemented in ./renderer/reconciler.ts.
  • The websocket server is implemented in ./server.ts.
.
├── @types
│   └── svgImports.d.ts
├── README.md
├── __tests__
│   └── hello.test.ts
├── index.ts
├── renderer
│   ├── elements
│   │   ├── BaseElement.ts
│   │   ├── Command.ts
│   │   ├── PrimitiveElements.ts
│   │   ├── createElement.ts
│   │   ├── elements.ts
│   │   ├── index.ts
│   │   └── types.ts
│   ├── index.ts
│   ├── reconciler.ts
│   ├── render.ts
│   └── types.ts
└── server.ts

Adding new elements

When implementing the @blastlauncher/api and you found there's no supported base element, you can add it in PrimitiveElements.ts. Remember also update the typing in renderer/elements/types.ts.

FAQs

Package last updated on 23 Apr 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