Socket
Socket
Sign inDemoInstall

@splunk/dashboard-validation

Package Overview
Dependencies
Maintainers
0
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@splunk/dashboard-validation - npm Package Compare versions

Comparing version 27.2.0 to 27.3.0

README.md

1

dist/types/components/Validator.d.ts

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

/// <reference types="react" />
import type { ValidatorArgs } from '../types';
export declare const Validator: import("react").MemoExoticComponent<({ schema, definition, onError, readOnlyTokenNamespaces, }: ValidatorArgs) => null>;
//# sourceMappingURL=Validator.d.ts.map

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

import type { useCallback } from 'react';
import type { ErrorObject, JSONSchemaType } from 'ajv';
import type { DashboardJSON } from '@splunk/dashboard-types';
export type ValidationErrors = Partial<ErrorObject>[];
export interface ValidatorArgs {
schema: JSONSchemaType<DashboardJSON>;
definition: DashboardJSON;
onError: (ev: MessageEvent) => void;
onError: (errs: Error | ValidationErrors | null) => void;
readOnlyTokenNamespaces?: string[];
}
export type ValidationErrors = Partial<ErrorObject>[];
type ConstructableWorker = Worker & {
new (): Worker;
};
export type EventHandler = (...args: any[]) => void;
export type useWorkerArgs = {
WorkerClass: ConstructableWorker;
onMessage: Parameters<typeof useCallback>[0];
onMessage: EventHandler;
postMessage: (worker: Worker) => void;

@@ -18,0 +18,0 @@ };

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

export declare const handleEvent: (event: MessageEvent) => import("../types").ValidationErrors | Error | null;
export declare const handleEvent: (event: MessageEvent) => Error | import("../types").ValidationErrors | null;
//# sourceMappingURL=validationEventHandler.d.ts.map
{
"name": "@splunk/dashboard-validation",
"version": "27.2.0",
"version": "27.3.0",
"license": "SEE LICENSE IN LICENSE.md",

@@ -27,11 +27,11 @@ "author": "Splunk",

"devDependencies": {
"@splunk/dashboard-build-tools": "27.2.0",
"@splunk/dashboard-test-utils": "27.2.0",
"@splunk/dashboard-types": "^27.2.0",
"@splunk/dashboard-build-tools": "27.3.0",
"@splunk/dashboard-test-utils": "27.3.0",
"@splunk/dashboard-types": "^27.3.0",
"@testing-library/react": "^12.1.5",
"@testing-library/react-hooks": "^8.0.1",
"@types/jest": "^28.1.0",
"@types/jest": "^29.5.12",
"@types/react": "^16.14.5",
"jest": "^28.1.0",
"ts-jest": "^28.0.3"
"jest": "^29.7.0",
"ts-jest": "^29.2.3"
},

@@ -38,0 +38,0 @@ "peerDependencies": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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

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