🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@wp-playground/common

Package Overview
Dependencies
Maintainers
5
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wp-playground/common

Common exports and utilities for WordPress Playground

0.9.32
Source
npm
Version published
Maintainers
5
Created
Source

Playground common

This package contains common code for the playground packages that doesn't fit in any other package. For example, the RecommendedPHPVersion is imported virtually everywhere and including it in any other specific package would result in a lot of circular dependencies.

Avoid adding new code to this package. @wp-playground/common should remain as lean as possible. It only exists to avoid circular dependencies. Let's not use it as a default place to add code that doesn't seem to fit anywhere else. If there's no good place for your code, perhaps it needs to be restructured? Or maybe there's a need for a new package? Let's always consider these questions before adding new code here.

FAQs

Package last updated on 26 Aug 2024

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