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

@dxos/react-surface

Package Overview
Dependencies
Maintainers
7
Versions
521
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dxos/react-surface - npm Package Compare versions

Comparing version

to
0.3.3-main.55fdeb1

2

dist/lib/browser/meta.json

@@ -1,1 +0,1 @@

{"inputs":{"packages/sdk/react-surface/src/ErrorBoundary.tsx":{"bytes":4098,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/react-surface/src/Context.tsx":{"bytes":1923,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/react-surface/src/Plugin.ts":{"bytes":5721,"imports":[{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/react-surface/src/PluginContext.tsx":{"bytes":14847,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"packages/sdk/react-surface/src/Context.tsx","kind":"import-statement","original":"./Context"},{"path":"packages/sdk/react-surface/src/Plugin.ts","kind":"import-statement","original":"./Plugin"}],"format":"esm"},"packages/sdk/react-surface/src/Surface.tsx":{"bytes":15410,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/sdk/react-surface/src/ErrorBoundary.tsx","kind":"import-statement","original":"./ErrorBoundary"},{"path":"packages/sdk/react-surface/src/PluginContext.tsx","kind":"import-statement","original":"./PluginContext"}],"format":"esm"},"packages/sdk/react-surface/src/index.ts":{"bytes":1461,"imports":[{"path":"packages/sdk/react-surface/src/ErrorBoundary.tsx","kind":"import-statement","original":"./ErrorBoundary"},{"path":"packages/sdk/react-surface/src/PluginContext.tsx","kind":"import-statement","original":"./PluginContext"},{"path":"packages/sdk/react-surface/src/Plugin.ts","kind":"import-statement","original":"./Plugin"},{"path":"packages/sdk/react-surface/src/Surface.tsx","kind":"import-statement","original":"./Surface"}],"format":"esm"}},"outputs":{"packages/sdk/react-surface/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":22847},"packages/sdk/react-surface/dist/lib/browser/index.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["ErrorBoundary","PluginProvider","Surface","findPlugin","getPlugin","initializePlugin","usePlugin","usePlugins"],"entryPoint":"packages/sdk/react-surface/src/index.ts","inputs":{"packages/sdk/react-surface/src/ErrorBoundary.tsx":{"bytesInOutput":674},"packages/sdk/react-surface/src/index.ts":{"bytesInOutput":0},"packages/sdk/react-surface/src/PluginContext.tsx":{"bytesInOutput":3473},"packages/sdk/react-surface/src/Context.tsx":{"bytesInOutput":355},"packages/sdk/react-surface/src/Plugin.ts":{"bytesInOutput":326},"packages/sdk/react-surface/src/Surface.tsx":{"bytesInOutput":3220}},"bytes":8511}}}
{"inputs":{"packages/sdk/react-surface/src/ErrorBoundary.tsx":{"bytes":4098,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/react-surface/src/Context.tsx":{"bytes":1923,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/react-surface/src/Plugin.ts":{"bytes":5797,"imports":[{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/react-surface/src/PluginContext.tsx":{"bytes":14847,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"packages/sdk/react-surface/src/Context.tsx","kind":"import-statement","original":"./Context"},{"path":"packages/sdk/react-surface/src/Plugin.ts","kind":"import-statement","original":"./Plugin"}],"format":"esm"},"packages/sdk/react-surface/src/Surface.tsx":{"bytes":15410,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/sdk/react-surface/src/ErrorBoundary.tsx","kind":"import-statement","original":"./ErrorBoundary"},{"path":"packages/sdk/react-surface/src/PluginContext.tsx","kind":"import-statement","original":"./PluginContext"}],"format":"esm"},"packages/sdk/react-surface/src/index.ts":{"bytes":1461,"imports":[{"path":"packages/sdk/react-surface/src/ErrorBoundary.tsx","kind":"import-statement","original":"./ErrorBoundary"},{"path":"packages/sdk/react-surface/src/PluginContext.tsx","kind":"import-statement","original":"./PluginContext"},{"path":"packages/sdk/react-surface/src/Plugin.ts","kind":"import-statement","original":"./Plugin"},{"path":"packages/sdk/react-surface/src/Surface.tsx","kind":"import-statement","original":"./Surface"}],"format":"esm"}},"outputs":{"packages/sdk/react-surface/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":22902},"packages/sdk/react-surface/dist/lib/browser/index.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["ErrorBoundary","PluginProvider","Surface","findPlugin","getPlugin","initializePlugin","usePlugin","usePlugins"],"entryPoint":"packages/sdk/react-surface/src/index.ts","inputs":{"packages/sdk/react-surface/src/ErrorBoundary.tsx":{"bytesInOutput":674},"packages/sdk/react-surface/src/index.ts":{"bytesInOutput":0},"packages/sdk/react-surface/src/PluginContext.tsx":{"bytesInOutput":3473},"packages/sdk/react-surface/src/Context.tsx":{"bytesInOutput":355},"packages/sdk/react-surface/src/Plugin.ts":{"bytesInOutput":326},"packages/sdk/react-surface/src/Surface.tsx":{"bytesInOutput":3220}},"bytes":8511}}}

@@ -1,1 +0,1 @@

{"inputs":{"packages/sdk/react-surface/src/ErrorBoundary.tsx":{"bytes":4098,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/react-surface/src/Context.tsx":{"bytes":1923,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/react-surface/src/Plugin.ts":{"bytes":5721,"imports":[{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/react-surface/src/PluginContext.tsx":{"bytes":14847,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"packages/sdk/react-surface/src/Context.tsx","kind":"import-statement","original":"./Context"},{"path":"packages/sdk/react-surface/src/Plugin.ts","kind":"import-statement","original":"./Plugin"}],"format":"esm"},"packages/sdk/react-surface/src/Surface.tsx":{"bytes":15410,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/sdk/react-surface/src/ErrorBoundary.tsx","kind":"import-statement","original":"./ErrorBoundary"},{"path":"packages/sdk/react-surface/src/PluginContext.tsx","kind":"import-statement","original":"./PluginContext"}],"format":"esm"},"packages/sdk/react-surface/src/index.ts":{"bytes":1461,"imports":[{"path":"packages/sdk/react-surface/src/ErrorBoundary.tsx","kind":"import-statement","original":"./ErrorBoundary"},{"path":"packages/sdk/react-surface/src/PluginContext.tsx","kind":"import-statement","original":"./PluginContext"},{"path":"packages/sdk/react-surface/src/Plugin.ts","kind":"import-statement","original":"./Plugin"},{"path":"packages/sdk/react-surface/src/Surface.tsx","kind":"import-statement","original":"./Surface"}],"format":"esm"}},"outputs":{"packages/sdk/react-surface/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":23167},"packages/sdk/react-surface/dist/lib/node/index.cjs":{"imports":[{"path":"react","kind":"require-call","external":true},{"path":"react","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"react","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"react","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/sdk/react-surface/src/index.ts","inputs":{"packages/sdk/react-surface/src/index.ts":{"bytesInOutput":365},"packages/sdk/react-surface/src/ErrorBoundary.tsx":{"bytesInOutput":706},"packages/sdk/react-surface/src/PluginContext.tsx":{"bytesInOutput":3698},"packages/sdk/react-surface/src/Context.tsx":{"bytesInOutput":404},"packages/sdk/react-surface/src/Plugin.ts":{"bytesInOutput":350},"packages/sdk/react-surface/src/Surface.tsx":{"bytesInOutput":3390}},"bytes":10896}}}
{"inputs":{"packages/sdk/react-surface/src/ErrorBoundary.tsx":{"bytes":4098,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/react-surface/src/Context.tsx":{"bytes":1923,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/react-surface/src/Plugin.ts":{"bytes":5797,"imports":[{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/react-surface/src/PluginContext.tsx":{"bytes":14847,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"packages/sdk/react-surface/src/Context.tsx","kind":"import-statement","original":"./Context"},{"path":"packages/sdk/react-surface/src/Plugin.ts","kind":"import-statement","original":"./Plugin"}],"format":"esm"},"packages/sdk/react-surface/src/Surface.tsx":{"bytes":15410,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/sdk/react-surface/src/ErrorBoundary.tsx","kind":"import-statement","original":"./ErrorBoundary"},{"path":"packages/sdk/react-surface/src/PluginContext.tsx","kind":"import-statement","original":"./PluginContext"}],"format":"esm"},"packages/sdk/react-surface/src/index.ts":{"bytes":1461,"imports":[{"path":"packages/sdk/react-surface/src/ErrorBoundary.tsx","kind":"import-statement","original":"./ErrorBoundary"},{"path":"packages/sdk/react-surface/src/PluginContext.tsx","kind":"import-statement","original":"./PluginContext"},{"path":"packages/sdk/react-surface/src/Plugin.ts","kind":"import-statement","original":"./Plugin"},{"path":"packages/sdk/react-surface/src/Surface.tsx","kind":"import-statement","original":"./Surface"}],"format":"esm"}},"outputs":{"packages/sdk/react-surface/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":23222},"packages/sdk/react-surface/dist/lib/node/index.cjs":{"imports":[{"path":"react","kind":"require-call","external":true},{"path":"react","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"react","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"react","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/sdk/react-surface/src/index.ts","inputs":{"packages/sdk/react-surface/src/index.ts":{"bytesInOutput":365},"packages/sdk/react-surface/src/ErrorBoundary.tsx":{"bytesInOutput":706},"packages/sdk/react-surface/src/PluginContext.tsx":{"bytesInOutput":3698},"packages/sdk/react-surface/src/Context.tsx":{"bytesInOutput":404},"packages/sdk/react-surface/src/Plugin.ts":{"bytesInOutput":350},"packages/sdk/react-surface/src/Surface.tsx":{"bytesInOutput":3390}},"bytes":10896}}}

@@ -5,4 +5,4 @@ import { type FC, type PropsWithChildren, type RefAttributes } from 'react';

*/
export type PluginComponentProps = PropsWithChildren<{
data: any;
export type PluginComponentProps<T = any> = PropsWithChildren<{
data: T;
role?: string;

@@ -9,0 +9,0 @@ }> & RefAttributes<HTMLElement>;

{
"name": "@dxos/react-surface",
"version": "0.3.3-main.44bdbf7",
"version": "0.3.3-main.55fdeb1",
"description": "A react framework for making extensible interfaces.",

@@ -15,4 +15,4 @@ "homepage": "https://dxos.org",

"dependencies": {
"@dxos/debug": "0.3.3-main.44bdbf7",
"@dxos/log": "0.3.3-main.44bdbf7"
"@dxos/debug": "0.3.3-main.55fdeb1",
"@dxos/log": "0.3.3-main.55fdeb1"
},

@@ -19,0 +19,0 @@ "devDependencies": {

@@ -12,4 +12,5 @@ //

*/
export type PluginComponentProps = PropsWithChildren<{
data: any;
// TODO(burdon): Rename SurfaceComponentProps.
export type PluginComponentProps<T = any> = PropsWithChildren<{
data: T;
role?: string;

@@ -16,0 +17,0 @@ }> &

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet