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

@evidence-dev/components

Package Overview
Dependencies
Maintainers
2
Versions
646
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evidence-dev/components - npm Package Compare versions

Comparing version 0.1.21 to 1.0.0-next.0

ContentsList.svelte

6

CHANGELOG.md
# @evidence-dev/components
## 1.0.0-next.0
### Major Changes
- Hides most of the front-end experience from analysts, introduces a new side-bar navigation scheme, adds a development mode settings page to configure database connections
## 0.1.21

@@ -4,0 +10,0 @@

6

modules/checkInputs.js

@@ -10,7 +10,9 @@ export default function checkInputs(data, reqCols, optCols) {

throw Error("'"+data+"'" + " is not a recognized query result. Data should be provided in this format: {data."+data.replace("data.","")+"}")
} else if(data[0] == undefined) {
throw Error("Dataset is empty: query ran successfully, but no data was returned from the database")
}
// Check if data warehouse returned an error
if(data.error != null){
throw Error("SQL Error: " + data.error.message);
if(data[0]?.error_object?.error != null){
throw Error("SQL Error: " + data[0]?.error_object?.error?.message);
}

@@ -17,0 +19,0 @@

{
"name": "@evidence-dev/components",
"version": "0.1.21",
"version": "1.0.0-next.0",
"type": "module",

@@ -8,3 +8,4 @@ "dependencies": {

"echarts": "5.2.2",
"echarts-stat": "1.2.0"
"echarts-stat": "1.2.0",
"svelte-icons": "2.1.0"
},

@@ -16,2 +17,4 @@ "devDependencies": {

"./package.json": "./package.json",
"./ContentsList.svelte": "./ContentsList.svelte",
"./TableOfContents.svelte": "./TableOfContents.svelte",
"./modules/checkInputs": "./modules/checkInputs.js",

@@ -41,3 +44,13 @@ "./modules/colours": "./modules/colours.js",

"./ui/ChevronToggle.svelte": "./ui/ChevronToggle.svelte",
"./ui/CollapsibleSection.svelte": "./ui/CollapsibleSection.svelte",
"./ui/Databases/BigqueryForm.svelte": "./ui/Databases/BigqueryForm.svelte",
"./ui/Databases/DatabaseSettingsPanel.svelte": "./ui/Databases/DatabaseSettingsPanel.svelte",
"./ui/Databases/GenericForm.svelte": "./ui/Databases/GenericForm.svelte",
"./ui/Databases/MysqlForm.svelte": "./ui/Databases/MysqlForm.svelte",
"./ui/Databases/PostgresForm.svelte": "./ui/Databases/PostgresForm.svelte",
"./ui/Databases/SnowflakeForm.svelte": "./ui/Databases/SnowflakeForm.svelte",
"./ui/Databases/SqliteForm.svelte": "./ui/Databases/SqliteForm.svelte",
"./ui/EmailSignup.svelte": "./ui/EmailSignup.svelte",
"./ui/Hamburger.svelte": "./ui/Hamburger.svelte",
"./ui/Header.svelte": "./ui/Header.svelte",
"./ui/LoadingIndicator.svelte": "./ui/LoadingIndicator.svelte",

@@ -53,2 +66,3 @@ "./ui/Logo.svelte": "./ui/Logo.svelte",

"./ui/QueryViewerSupport/prismthemedark.css": "./ui/QueryViewerSupport/prismthemedark.css",
"./ui/Sidebar.svelte": "./ui/Sidebar.svelte",
"./ui/stores": "./ui/stores.js",

@@ -55,0 +69,0 @@ "./viz/Area.svelte": "./viz/Area.svelte",

@@ -5,7 +5,7 @@ /** @typedef {typeof __propDef.props} AreaChartProps */

export default class AreaChart extends SvelteComponentTyped<{
data?: any;
legend?: any;
title?: any;
line?: any;
legend?: any;
sort?: any;
data?: any;
series?: any;

@@ -17,4 +17,5 @@ y?: any;

x?: any;
xType?: any;
yMin?: any;
subtitle?: any;
xType?: any;
xAxisTitle?: any;

@@ -28,3 +29,2 @@ xBaseline?: any;

yGridlines?: any;
yMin?: any;
}, {

@@ -40,7 +40,7 @@ [evt: string]: CustomEvent<any>;

props: {
data?: any;
legend?: any;
title?: any;
line?: any;
legend?: any;
sort?: any;
data?: any;
series?: any;

@@ -52,4 +52,5 @@ y?: any;

x?: any;
xType?: any;
yMin?: any;
subtitle?: any;
xType?: any;
xAxisTitle?: any;

@@ -63,3 +64,2 @@ xBaseline?: any;

yGridlines?: any;
yMin?: any;
};

@@ -66,0 +66,0 @@ events: {

@@ -5,6 +5,6 @@ /** @typedef {typeof __propDef.props} BarChartProps */

export default class BarChart extends SvelteComponentTyped<{
data?: any;
legend?: any;
title?: any;
legend?: any;
sort?: any;
data?: any;
series?: any;

@@ -16,4 +16,5 @@ y?: any;

swapXY?: boolean;
xType?: any;
yMin?: any;
subtitle?: any;
xType?: any;
xAxisTitle?: any;

@@ -27,3 +28,2 @@ xBaseline?: any;

yGridlines?: any;
yMin?: any;
type?: any;

@@ -42,6 +42,6 @@ outlineColor?: any;

props: {
data?: any;
legend?: any;
title?: any;
legend?: any;
sort?: any;
data?: any;
series?: any;

@@ -53,4 +53,5 @@ y?: any;

swapXY?: boolean;
xType?: any;
yMin?: any;
subtitle?: any;
xType?: any;
xAxisTitle?: any;

@@ -64,3 +65,2 @@ xBaseline?: any;

yGridlines?: any;
yMin?: any;
type?: any;

@@ -67,0 +67,0 @@ outlineColor?: any;

@@ -5,7 +5,7 @@ /** @typedef {typeof __propDef.props} BubbleChartProps */

export default class BubbleChart extends SvelteComponentTyped<{
data?: any;
legend?: any;
title?: any;
legend?: any;
sort?: any;
size?: any;
data?: any;
series?: any;

@@ -15,4 +15,5 @@ y?: any;

x?: any;
xType?: any;
yMin?: any;
subtitle?: any;
xType?: any;
xAxisTitle?: any;

@@ -26,3 +27,2 @@ xBaseline?: any;

yGridlines?: any;
yMin?: any;
outlineColor?: any;

@@ -43,7 +43,7 @@ outlineWidth?: any;

props: {
data?: any;
legend?: any;
title?: any;
legend?: any;
sort?: any;
size?: any;
data?: any;
series?: any;

@@ -53,4 +53,5 @@ y?: any;

x?: any;
xType?: any;
yMin?: any;
subtitle?: any;
xType?: any;
xAxisTitle?: any;

@@ -64,3 +65,2 @@ xBaseline?: any;

yGridlines?: any;
yMin?: any;
outlineColor?: any;

@@ -67,0 +67,0 @@ outlineWidth?: any;

@@ -5,7 +5,7 @@ /** @typedef {typeof __propDef.props} ChartProps */

export default class Chart extends SvelteComponentTyped<{
data?: any;
legend?: boolean;
title?: any;
legend?: boolean;
sort?: boolean;
size?: any;
data?: any;
series?: any;

@@ -17,6 +17,7 @@ y?: string | string[];

swapXY?: boolean;
xType?: any;
yMin?: any;
subtitle?: any;
bubble?: boolean;
hist?: boolean;
xType?: any;
xAxisTitle?: string;

@@ -32,3 +33,2 @@ xBaseline?: boolean;

yAxisLabels?: boolean;
yMin?: any;
}, {

@@ -46,7 +46,7 @@ [evt: string]: CustomEvent<any>;

props: {
data?: any;
legend?: boolean;
title?: any;
legend?: boolean;
sort?: boolean;
size?: any;
data?: any;
series?: any;

@@ -58,6 +58,7 @@ y?: string | string[];

swapXY?: boolean;
xType?: any;
yMin?: any;
subtitle?: any;
bubble?: boolean;
hist?: boolean;
xType?: any;
xAxisTitle?: string;

@@ -73,3 +74,2 @@ xBaseline?: boolean;

yAxisLabels?: boolean;
yMin?: any;
};

@@ -83,2 +83,3 @@ events: {

};
import { props } from "../modules/stores.js";
export {};

@@ -5,8 +5,9 @@ /** @typedef {typeof __propDef.props} HistogramProps */

export default class Histogram extends SvelteComponentTyped<{
data?: any;
legend?: boolean;
title?: any;
legend?: boolean;
data?: any;
fillColor?: any;
fillOpacity?: any;
x?: any;
yMin?: number;
subtitle?: any;

@@ -21,3 +22,2 @@ xAxisTitle?: any;

yGridlines?: any;
yMin?: number;
}, {

@@ -33,8 +33,9 @@ [evt: string]: CustomEvent<any>;

props: {
data?: any;
legend?: boolean;
title?: any;
legend?: boolean;
data?: any;
fillColor?: any;
fillOpacity?: any;
x?: any;
yMin?: number;
subtitle?: any;

@@ -49,3 +50,2 @@ xAxisTitle?: any;

yGridlines?: any;
yMin?: number;
};

@@ -52,0 +52,0 @@ events: {

@@ -5,6 +5,6 @@ /** @typedef {typeof __propDef.props} LineChartProps */

export default class LineChart extends SvelteComponentTyped<{
data?: any;
legend?: any;
title?: any;
legend?: any;
sort?: any;
data?: any;
series?: any;

@@ -14,4 +14,5 @@ y?: any;

x?: any;
xType?: any;
yMin?: any;
subtitle?: any;
xType?: any;
xAxisTitle?: any;

@@ -25,3 +26,2 @@ xBaseline?: any;

yGridlines?: any;
yMin?: any;
lineColor?: any;

@@ -44,6 +44,6 @@ lineWidth?: any;

props: {
data?: any;
legend?: any;
title?: any;
legend?: any;
sort?: any;
data?: any;
series?: any;

@@ -53,4 +53,5 @@ y?: any;

x?: any;
xType?: any;
yMin?: any;
subtitle?: any;
xType?: any;
xAxisTitle?: any;

@@ -64,3 +65,2 @@ xBaseline?: any;

yGridlines?: any;
yMin?: any;
lineColor?: any;

@@ -67,0 +67,0 @@ lineWidth?: any;

@@ -5,6 +5,6 @@ /** @typedef {typeof __propDef.props} ScatterPlotProps */

export default class ScatterPlot extends SvelteComponentTyped<{
data?: any;
legend?: any;
title?: any;
legend?: any;
sort?: any;
data?: any;
series?: any;

@@ -14,4 +14,5 @@ y?: any;

x?: any;
xType?: any;
yMin?: any;
subtitle?: any;
xType?: any;
xAxisTitle?: any;

@@ -25,3 +26,2 @@ xBaseline?: any;

yGridlines?: any;
yMin?: any;
outlineColor?: any;

@@ -42,6 +42,6 @@ outlineWidth?: any;

props: {
data?: any;
legend?: any;
title?: any;
legend?: any;
sort?: any;
data?: any;
series?: any;

@@ -51,4 +51,5 @@ y?: any;

x?: any;
xType?: any;
yMin?: any;
subtitle?: any;
xType?: any;
xAxisTitle?: any;

@@ -62,3 +63,2 @@ xBaseline?: any;

yGridlines?: any;
yMin?: any;
outlineColor?: any;

@@ -65,0 +65,0 @@ outlineWidth?: any;

@@ -5,4 +5,4 @@ /** @typedef {typeof __propDef.props} ValueProps */

export default class Value extends SvelteComponentTyped<{
data?: any;
value?: any;
data?: any;
row?: number;

@@ -22,4 +22,4 @@ column?: string;

props: {
data?: any;
value?: any;
data?: any;
row?: number;

@@ -26,0 +26,0 @@ column?: string;

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

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