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.2-main.e5374ab

2

dist/lib/browser/meta.json

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

{"inputs":{"packages/sdk/react-surface/src/ErrorBoundary.tsx":{"bytes":4086,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/react-surface/src/Context.tsx":{"bytes":1903,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/react-surface/src/Plugin.ts":{"bytes":5701,"imports":[{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/react-surface/src/PluginContext.tsx":{"bytes":14815,"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":15333,"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":1702,"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":22720},"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":["Direction","ErrorBoundary","Plugin","PluginComponentProps","PluginDefinition","PluginProvider","PluginProvides","Surface","SurfaceProps","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":3227}},"bytes":8518}}}
{"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":15361,"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":22805},"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":3227}},"bytes":8518}}}

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

{"inputs":{"packages/sdk/react-surface/src/ErrorBoundary.tsx":{"bytes":4086,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/react-surface/src/Context.tsx":{"bytes":1903,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/react-surface/src/Plugin.ts":{"bytes":5701,"imports":[{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/react-surface/src/PluginContext.tsx":{"bytes":14815,"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":15333,"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":1702,"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":22990},"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":3397}},"bytes":10903}}}
{"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":15361,"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":23125},"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":3397}},"bytes":10903}}}

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

import React, { FC, PropsWithChildren } from 'react';
import { Plugin } from './Plugin';
import React, { type FC, type PropsWithChildren } from 'react';
import { type Plugin } from './Plugin';
export declare const compose: (contexts: FC<PropsWithChildren>[]) => React.FC<{

@@ -4,0 +4,0 @@ children?: React.ReactNode;

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

import React, { Component, FC, PropsWithChildren } from 'react';
import React, { Component, type FC, type PropsWithChildren } from 'react';
type Props = PropsWithChildren<{

@@ -3,0 +3,0 @@ data?: any;

export { ErrorBoundary } from './ErrorBoundary';
export { usePlugins, usePlugin, PluginProvider, initializePlugin } from './PluginContext';
export { PluginComponentProps, PluginDefinition, PluginProvides, Plugin, findPlugin, getPlugin } from './Plugin';
export { Direction, SurfaceProps, Surface } from './Surface';
export { type PluginComponentProps, type PluginDefinition, type PluginProvides, type Plugin, findPlugin, getPlugin, } from './Plugin';
export { type Direction, type SurfaceProps, Surface } from './Surface';
//# sourceMappingURL=index.d.ts.map

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

import { FC, PropsWithChildren, RefAttributes } from 'react';
import { type FC, type PropsWithChildren, type RefAttributes } from 'react';
/**

@@ -3,0 +3,0 @@ * Props passed to a component by the `Surface` resolver.

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

import { FC } from 'react';
import { type FC } from 'react';
export interface Interface<T> {

@@ -3,0 +3,0 @@ key: string;

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

import { FC, ReactNode } from 'react';
import { Plugin, PluginDefinition } from './Plugin';
import { type FC, type ReactNode } from 'react';
import { type Plugin, type PluginDefinition } from './Plugin';
type PluginContextValue = {

@@ -4,0 +4,0 @@ plugins: Plugin[];

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

import React, { PropsWithChildren } from 'react';
import React, { type PropsWithChildren } from 'react';
import { ErrorBoundary } from './ErrorBoundary';

@@ -3,0 +3,0 @@ /**

{
"name": "@dxos/react-surface",
"version": "0.3.2-main.de57e73",
"version": "0.3.2-main.e5374ab",
"description": "A react framework for making extensible interfaces.",

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

"dependencies": {
"@dxos/debug": "0.3.2-main.de57e73",
"@dxos/log": "0.3.2-main.de57e73"
"@dxos/debug": "0.3.2-main.e5374ab",
"@dxos/log": "0.3.2-main.e5374ab"
},

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

@@ -7,3 +7,10 @@ //

export { usePlugins, usePlugin, PluginProvider, initializePlugin } from './PluginContext';
export { PluginComponentProps, PluginDefinition, PluginProvides, Plugin, findPlugin, getPlugin } from './Plugin';
export { Direction, SurfaceProps, Surface } from './Surface';
export {
type PluginComponentProps,
type PluginDefinition,
type PluginProvides,
type Plugin,
findPlugin,
getPlugin,
} from './Plugin';
export { type Direction, type SurfaceProps, Surface } from './Surface';

@@ -6,3 +6,3 @@ //

import { expect } from 'chai';
import { FC } from 'react';
import { type FC } from 'react';

@@ -12,3 +12,3 @@ import { log } from '@dxos/log';

import { Plugin } from './Plugin';
import { type Plugin } from './Plugin';

@@ -15,0 +15,0 @@ // eslint-disable-next-line unused-imports/no-unused-vars

@@ -5,3 +5,3 @@ //

import { FC, PropsWithChildren, RefAttributes } from 'react';
import { type FC, type PropsWithChildren, type RefAttributes } from 'react';

@@ -8,0 +8,0 @@ import { raise } from '@dxos/debug';

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

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

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

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

Sorry, the diff of this file is not supported yet