Socket
Socket
Sign inDemoInstall

@jsonforms/core

Package Overview
Dependencies
Maintainers
5
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsonforms/core - npm Package Compare versions

Comparing version 2.3.2 to 2.4.0-alpha.0

3

lib/actions/index.d.ts

@@ -26,2 +26,3 @@ import AJV, { ErrorObject } from 'ajv';

export declare const REMOVE_DEFAULT_DATA: 'jsonforms/REMOVE_DEFAULT_DATA';
export declare type CoreActions = InitAction | UpdateAction | UpdateErrorsAction | SetAjvAction | SetSchemaAction | SetUISchemaAction;
export interface UpdateAction {

@@ -127,2 +128,3 @@ type: 'jsonforms/UPDATE';

export declare const setConfig: (config: any) => (dispatch: Dispatch<AnyAction>) => void;
export declare type UISchemaActions = AddUISchemaAction | RemoveUISchemaAction;
export interface AddUISchemaAction {

@@ -139,2 +141,3 @@ type: 'jsonforms/ADD_UI_SCHEMA';

export declare const unregisterUISchema: (tester: UISchemaTester) => RemoveUISchemaAction;
export declare type LocaleActions = SetLocaleAction | SetLocalizedSchemasAction | SetLocalizedUISchemasAction;
export interface SetLocaleAction {

@@ -141,0 +144,0 @@ type: 'jsonforms/SET_LOCALE';

10

lib/generators/uischema.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/*

@@ -30,5 +28,5 @@ The MIT License

*/
var isEmpty_1 = __importDefault(require("lodash/isEmpty"));
var startCase_1 = __importDefault(require("lodash/startCase"));
var keys_1 = __importDefault(require("lodash/keys"));
var isEmpty_1 = tslib_1.__importDefault(require("lodash/isEmpty"));
var startCase_1 = tslib_1.__importDefault(require("lodash/startCase"));
var keys_1 = tslib_1.__importDefault(require("lodash/keys"));
var uischema_1 = require("../models/uischema");

@@ -35,0 +33,0 @@ var resolvers_1 = require("../util/resolvers");

"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/*

@@ -37,12 +28,12 @@ The MIT License

*/
__export(require("./util"));
__export(require("./actions"));
var Actions = __importStar(require("./actions"));
tslib_1.__exportStar(require("./util"), exports);
tslib_1.__exportStar(require("./actions"), exports);
var Actions = tslib_1.__importStar(require("./actions"));
exports.Actions = Actions;
__export(require("./reducers"));
__export(require("./generators"));
__export(require("./models/uischema"));
var Test = __importStar(require("./testers"));
tslib_1.__exportStar(require("./reducers"), exports);
tslib_1.__exportStar(require("./generators"), exports);
tslib_1.__exportStar(require("./models/uischema"), exports);
var Test = tslib_1.__importStar(require("./testers"));
exports.Test = Test;
__export(require("./testers"));
tslib_1.__exportStar(require("./testers"), exports);
var util_1 = require("./util");

@@ -54,3 +45,3 @@ var Helpers = {

exports.Helpers = Helpers;
__export(require("./util"));
tslib_1.__exportStar(require("./util"), exports);
//# sourceMappingURL=index.js.map
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/*

@@ -30,3 +28,3 @@ The MIT License

*/
var merge_1 = __importDefault(require("lodash/merge"));
var merge_1 = tslib_1.__importDefault(require("lodash/merge"));
var actions_1 = require("../actions");

@@ -33,0 +31,0 @@ var configDefault_1 = require("../configDefault");

import { Ajv, ErrorObject, ValidateFunction } from 'ajv';
import RefParser from 'json-schema-ref-parser';
import { InitAction, SetAjvAction, SetSchemaAction, SetUISchemaAction, UpdateAction, UpdateErrorsAction } from '../actions';
import { CoreActions } from '../actions';
import { JsonSchema, UISchemaElement } from '..';

@@ -15,4 +15,3 @@ export declare const sanitizeErrors: (validator: ValidateFunction, data: any) => ErrorObject[];

}
declare type ValidCoreActions = InitAction | UpdateAction | UpdateErrorsAction | SetAjvAction | SetSchemaAction | SetUISchemaAction;
export declare const coreReducer: (state: JsonFormsCore, action: ValidCoreActions) => JsonFormsCore;
export declare const coreReducer: (state: JsonFormsCore, action: CoreActions) => JsonFormsCore;
export declare const extractData: (state: JsonFormsCore) => any;

@@ -25,2 +24,1 @@ export declare const extractSchema: (state: JsonFormsCore) => JsonSchema;

export declare const extractRefParserOptions: (state: JsonFormsCore) => RefParser.Options;
export {};
"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/*

@@ -41,8 +28,8 @@ The MIT License

*/
var cloneDeep_1 = __importDefault(require("lodash/cloneDeep"));
var set_1 = __importDefault(require("lodash/set"));
var get_1 = __importDefault(require("lodash/get"));
var filter_1 = __importDefault(require("lodash/filter"));
var isEqual_1 = __importDefault(require("lodash/isEqual"));
var isFunction_1 = __importDefault(require("lodash/isFunction"));
var cloneDeep_1 = tslib_1.__importDefault(require("lodash/cloneDeep"));
var set_1 = tslib_1.__importDefault(require("lodash/set"));
var get_1 = tslib_1.__importDefault(require("lodash/get"));
var filter_1 = tslib_1.__importDefault(require("lodash/filter"));
var isEqual_1 = tslib_1.__importDefault(require("lodash/isEqual"));
var isFunction_1 = tslib_1.__importDefault(require("lodash/isFunction"));
var actions_1 = require("../actions");

@@ -118,3 +105,3 @@ var validator_1 = require("../util/validator");

var o = getRefParserOptions(state, action);
return __assign({}, state, { data: action.data, schema: action.schema, uischema: action.uischema, errors: e, validator: v, ajv: thisAjv, refParserOptions: o });
return tslib_1.__assign(tslib_1.__assign({}, state), { data: action.data, schema: action.schema, uischema: action.uischema, errors: e, validator: v, ajv: thisAjv, refParserOptions: o });
}

@@ -125,3 +112,3 @@ case actions_1.SET_AJV: {

var errors = exports.sanitizeErrors(validator, state.data);
return __assign({}, state, { validator: validator,
return tslib_1.__assign(tslib_1.__assign({}, state), { validator: validator,
errors: errors });

@@ -133,6 +120,6 @@ }

: state.validator;
return __assign({}, state, { validator: v, schema: action.schema });
return tslib_1.__assign(tslib_1.__assign({}, state), { validator: v, schema: action.schema });
}
case actions_1.SET_UISCHEMA: {
return __assign({}, state, { uischema: action.uischema });
return tslib_1.__assign(tslib_1.__assign({}, state), { uischema: action.uischema });
}

@@ -147,6 +134,6 @@ case actions_1.UPDATE_DATA: {

if (result === undefined || result === null) {
return __assign({}, state, { data: state.data, uischema: state.uischema, schema: state.schema });
return tslib_1.__assign(tslib_1.__assign({}, state), { data: state.data, uischema: state.uischema, schema: state.schema });
}
var errors = exports.sanitizeErrors(state.validator, result);
return __assign({}, state, { data: result, errors: errors });
return tslib_1.__assign(tslib_1.__assign({}, state), { data: result, errors: errors });
}

@@ -158,7 +145,7 @@ else {

var errors = exports.sanitizeErrors(state.validator, newState);
return __assign({}, state, { data: newState, errors: errors });
return tslib_1.__assign(tslib_1.__assign({}, state), { data: newState, errors: errors });
}
}
case actions_1.UPDATE_ERRORS: {
return __assign({}, state, { errors: action.errors });
return tslib_1.__assign(tslib_1.__assign({}, state), { errors: action.errors });
}

@@ -165,0 +152,0 @@ default:

"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/*

@@ -49,7 +39,7 @@ The MIT License

case actions_1.SET_LOCALIZED_SCHEMAS:
return __assign({}, state, { localizedSchemas: action.localizedSchemas });
return tslib_1.__assign(tslib_1.__assign({}, state), { localizedSchemas: action.localizedSchemas });
case __1.SET_LOCALIZED_UISCHEMAS:
return __assign({}, state, { localizedUISchemas: action.localizedUISchemas });
return tslib_1.__assign(tslib_1.__assign({}, state), { localizedUISchemas: action.localizedUISchemas });
case actions_1.SET_LOCALE:
return __assign({}, state, { locale: action.locale === undefined ? navigator.languages[0] : action.locale });
return tslib_1.__assign(tslib_1.__assign({}, state), { locale: action.locale === undefined ? navigator.languages[0] : action.locale });
default:

@@ -56,0 +46,0 @@ return state;

@@ -8,6 +8,8 @@ import { cellReducer } from './cells';

import { JsonFormsState, JsonFormsSubStates } from '../store';
import { findMatchingUISchema, UISchemaTester } from './uischemas';
import { findMatchingUISchema, uischemaRegistryReducer, UISchemaTester } from './uischemas';
import { i18nReducer } from './i18n';
import { JsonSchema } from '../models/jsonSchema';
import { ControlElement, UISchemaElement } from '../models/uischema';
export { rendererReducer, cellReducer, coreReducer, UISchemaTester, findMatchingUISchema };
import { JsonFormsCellRendererRegistryEntry } from './cells';
export { rendererReducer, cellReducer, coreReducer, i18nReducer, UISchemaTester, uischemaRegistryReducer, findMatchingUISchema };
export { JsonFormsCore };

@@ -21,2 +23,3 @@ export declare const jsonformsReducer: (additionalReducers?: {}) => Reducer<JsonFormsSubStates, import("redux").AnyAction>;

export declare const getRenderers: (state: JsonFormsState) => JsonFormsRendererRegistryEntry[];
export declare const getCells: (state: JsonFormsState) => JsonFormsCellRendererRegistryEntry[];
/**

@@ -23,0 +26,0 @@ * Finds a registered UI schema to use, if any.

"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/*

@@ -43,3 +30,3 @@ The MIT License

exports.cellReducer = cells_1.cellReducer;
var get_1 = __importDefault(require("lodash/get"));
var get_1 = tslib_1.__importDefault(require("lodash/get"));
var default_data_1 = require("./default-data");

@@ -55,7 +42,9 @@ var redux_1 = require("redux");

exports.findMatchingUISchema = uischemas_1.findMatchingUISchema;
exports.uischemaRegistryReducer = uischemas_1.uischemaRegistryReducer;
var i18n_1 = require("./i18n");
exports.i18nReducer = i18n_1.i18nReducer;
var generators_1 = require("../generators");
exports.jsonformsReducer = function (additionalReducers) {
if (additionalReducers === void 0) { additionalReducers = {}; }
return redux_1.combineReducers(__assign({ core: core_1.coreReducer, renderers: renderers_1.rendererReducer, cells: cells_1.cellReducer, config: config_1.configReducer, uischemas: uischemas_1.uischemaRegistryReducer, defaultData: default_data_1.defaultDataReducer, i18n: i18n_1.i18nReducer }, additionalReducers));
return redux_1.combineReducers(tslib_1.__assign({ core: core_1.coreReducer, renderers: renderers_1.rendererReducer, cells: cells_1.cellReducer, config: config_1.configReducer, uischemas: uischemas_1.uischemaRegistryReducer, defaultData: default_data_1.defaultDataReducer, i18n: i18n_1.i18nReducer }, additionalReducers));
};

@@ -78,2 +67,3 @@ exports.getData = function (state) {

exports.getRenderers = function (state) { return get_1.default(state, 'jsonforms.renderers'); };
exports.getCells = function (state) { return get_1.default(state, 'jsonforms.cells'); };
/**

@@ -80,0 +70,0 @@ * Finds a registered UI schema to use, if any.

@@ -1,9 +0,8 @@

import { AddUISchemaAction, RemoveUISchemaAction } from '../actions';
import { UISchemaActions } from '../actions';
import { JsonSchema, UISchemaElement } from '..';
export declare type UISchemaTester = (schema: JsonSchema, schemaPath: string, path: string) => number;
declare type ValidUISchemaReducerActions = AddUISchemaAction | RemoveUISchemaAction;
export declare const uischemaRegistryReducer: (state: {
tester: UISchemaTester;
uischema: UISchemaElement;
}[], action: ValidUISchemaReducerActions) => {
}[], action: UISchemaActions) => {
tester: UISchemaTester;

@@ -16,2 +15,1 @@ uischema: UISchemaElement;

}[]) => (jsonSchema: JsonSchema, schemaPath: string, path: string) => UISchemaElement;
export {};
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/*

@@ -30,4 +28,4 @@ The MIT License

*/
var maxBy_1 = __importDefault(require("lodash/maxBy"));
var remove_1 = __importDefault(require("lodash/remove"));
var maxBy_1 = tslib_1.__importDefault(require("lodash/maxBy"));
var remove_1 = tslib_1.__importDefault(require("lodash/remove"));
var actions_1 = require("../actions");

@@ -34,0 +32,0 @@ var __1 = require("..");

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/*

@@ -30,10 +28,10 @@ The MIT License

*/
var isEmpty_1 = __importDefault(require("lodash/isEmpty"));
var get_1 = __importDefault(require("lodash/get"));
var endsWith_1 = __importDefault(require("lodash/endsWith"));
var last_1 = __importDefault(require("lodash/last"));
var isArray_1 = __importDefault(require("lodash/isArray"));
var reduce_1 = __importDefault(require("lodash/reduce"));
var toPairs_1 = __importDefault(require("lodash/toPairs"));
var includes_1 = __importDefault(require("lodash/includes"));
var isEmpty_1 = tslib_1.__importDefault(require("lodash/isEmpty"));
var get_1 = tslib_1.__importDefault(require("lodash/get"));
var endsWith_1 = tslib_1.__importDefault(require("lodash/endsWith"));
var last_1 = tslib_1.__importDefault(require("lodash/last"));
var isArray_1 = tslib_1.__importDefault(require("lodash/isArray"));
var reduce_1 = tslib_1.__importDefault(require("lodash/reduce"));
var toPairs_1 = tslib_1.__importDefault(require("lodash/toPairs"));
var includes_1 = tslib_1.__importDefault(require("lodash/includes"));
var resolvers_1 = require("../util/resolvers");

@@ -40,0 +38,0 @@ var util_1 = require("../util");

"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
t[p[i]] = s[p[i]];
return t;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/*

@@ -50,4 +28,4 @@ The MIT License

*/
var isEmpty_1 = __importDefault(require("lodash/isEmpty"));
var union_1 = __importDefault(require("lodash/union"));
var isEmpty_1 = tslib_1.__importDefault(require("lodash/isEmpty"));
var union_1 = tslib_1.__importDefault(require("lodash/union"));
var reducers_1 = require("../reducers");

@@ -64,3 +42,3 @@ var _1 = require(".");

exports.mapStateToCellProps = function (state, ownProps) {
var id = ownProps.id, schema = ownProps.schema, path = ownProps.path, uischema = ownProps.uischema;
var id = ownProps.id, schema = ownProps.schema, path = ownProps.path, uischema = ownProps.uischema, renderers = ownProps.renderers, cells = ownProps.cells;
var rootData = reducers_1.getData(state);

@@ -87,3 +65,5 @@ var visible = ownProps.visible !== undefined

config: reducers_1.getConfig(state),
rootSchema: rootSchema
rootSchema: rootSchema,
renderers: renderers,
cells: cells
};

@@ -93,4 +73,4 @@ };

var props = exports.mapStateToCellProps(state, ownProps);
var renderers = ownProps.renderers, otherOwnProps = __rest(ownProps, ["renderers"]);
return __assign({}, props, otherOwnProps, { cells: state.jsonforms.cells || [] });
var renderers = ownProps.renderers, cells = ownProps.cells, otherOwnProps = tslib_1.__rest(ownProps, ["renderers", "cells"]);
return tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, props), otherOwnProps), { cells: cells || state.jsonforms.cells || [] });
};

@@ -106,3 +86,3 @@ /**

var options = ownProps.options !== undefined ? ownProps.options : props.schema.enum;
return __assign({}, props, { options: options });
return tslib_1.__assign(tslib_1.__assign({}, props), { options: options });
};

@@ -109,0 +89,0 @@ /**

@@ -26,14 +26,4 @@ "use strict";

*/
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var resolvers_1 = require("./resolvers");

@@ -54,3 +44,3 @@ var reducers_1 = require("../reducers");

if (schemas.findIndex(function (e) { return e.$ref !== undefined; }) !== -1) {
return __assign({}, schema, (_a = {}, _a[keyword] = schema[keyword].map(function (e) {
return tslib_1.__assign(tslib_1.__assign({}, schema), (_a = {}, _a[keyword] = schema[keyword].map(function (e) {
return e.$ref ? resolvers_1.resolveSchema(rootSchema, e.$ref) : e;

@@ -57,0 +47,0 @@ }), _a));

"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/*

@@ -33,6 +28,6 @@ The MIT License

*/
var isEmpty_1 = __importDefault(require("lodash/isEmpty"));
var isArray_1 = __importDefault(require("lodash/isArray"));
var includes_1 = __importDefault(require("lodash/includes"));
var find_1 = __importDefault(require("lodash/find"));
var isEmpty_1 = tslib_1.__importDefault(require("lodash/isEmpty"));
var isArray_1 = tslib_1.__importDefault(require("lodash/isArray"));
var includes_1 = tslib_1.__importDefault(require("lodash/includes"));
var find_1 = tslib_1.__importDefault(require("lodash/find"));
var resolvers_1 = require("./resolvers");

@@ -130,10 +125,10 @@ var path_1 = require("./path");

exports.Runtime = Runtime;
__export(require("./renderer"));
__export(require("./cell"));
__export(require("./runtime"));
__export(require("./ids"));
__export(require("./validator"));
__export(require("./combinators"));
__export(require("./uischema"));
__export(require("./array"));
tslib_1.__exportStar(require("./renderer"), exports);
tslib_1.__exportStar(require("./cell"), exports);
tslib_1.__exportStar(require("./runtime"), exports);
tslib_1.__exportStar(require("./ids"), exports);
tslib_1.__exportStar(require("./validator"), exports);
tslib_1.__exportStar(require("./combinators"), exports);
tslib_1.__exportStar(require("./uischema"), exports);
tslib_1.__exportStar(require("./array"), exports);
//# sourceMappingURL=index.js.map
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/*

@@ -30,3 +28,3 @@ The MIT License

*/
var startCase_1 = __importDefault(require("lodash/startCase"));
var startCase_1 = tslib_1.__importDefault(require("lodash/startCase"));
var deriveLabel = function (controlElement, schemaElement) {

@@ -33,0 +31,0 @@ if (schemaElement && typeof schemaElement.title === 'string') {

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/*

@@ -30,4 +28,4 @@ The MIT License

*/
var isEmpty_1 = __importDefault(require("lodash/isEmpty"));
var range_1 = __importDefault(require("lodash/range"));
var isEmpty_1 = tslib_1.__importDefault(require("lodash/isEmpty"));
var range_1 = tslib_1.__importDefault(require("lodash/range"));
exports.compose = function (path1, path2) {

@@ -34,0 +32,0 @@ var p1 = path1;

@@ -5,2 +5,3 @@ import { ControlElement, UISchemaElement } from '../models/uischema';

import { JsonSchema } from '../models/jsonSchema';
import { CoreActions } from '../actions';
import { ErrorObject } from 'ajv';

@@ -10,3 +11,4 @@ import { JsonFormsState } from '../store';

import { JsonFormsRendererRegistryEntry } from '../reducers/renderers';
export { JsonFormsRendererRegistryEntry };
import { JsonFormsCellRendererRegistryEntry } from '../reducers/cells';
export { JsonFormsRendererRegistryEntry, JsonFormsCellRendererRegistryEntry };
export interface Labels {

@@ -69,2 +71,3 @@ default: string;

renderers?: JsonFormsRendererRegistryEntry[];
cells?: JsonFormsCellRendererRegistryEntry[];
}

@@ -113,2 +116,10 @@ export interface OwnPropsOfControl extends OwnPropsOfRenderer {

path: string;
/**
* All available renderers.
*/
renderers?: JsonFormsRendererRegistryEntry[];
/**
* All available cell renderers.
*/
cells?: JsonFormsCellRendererRegistryEntry[];
}

@@ -185,6 +196,2 @@ /**

/**
* All available renderers.
*/
renderers?: any[];
/**
* Direction for the layout to flow

@@ -247,2 +254,3 @@ */

renderers?: JsonFormsRendererRegistryEntry[];
cells?: JsonFormsCellRendererRegistryEntry[];
}

@@ -299,3 +307,3 @@ export interface OwnPropsOfMasterListItem {

*/
export declare const mapDispatchToArrayControlProps: (dispatch: Dispatch<AnyAction>) => DispatchPropsOfArrayControl;
export declare const mapDispatchToArrayControlProps: (dispatch: Dispatch<CoreActions>) => DispatchPropsOfArrayControl;
/**

@@ -321,3 +329,2 @@ * Props of an array control.

export interface OwnPropsOfJsonFormsRenderer extends OwnPropsOfRenderer {
renderers?: JsonFormsRendererRegistryEntry[];
}

@@ -329,3 +336,2 @@ export interface StatePropsOfJsonFormsRenderer extends OwnPropsOfJsonFormsRenderer {

export interface JsonFormsProps extends StatePropsOfJsonFormsRenderer {
renderers?: JsonFormsRendererRegistryEntry[];
}

@@ -332,0 +338,0 @@ export declare const mapStateToJsonFormsRendererProps: (state: JsonFormsState, ownProps: OwnPropsOfJsonFormsRenderer) => StatePropsOfJsonFormsRenderer;

"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)
t[p[i]] = s[p[i]];
return t;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/*

@@ -50,6 +28,6 @@ The MIT License

*/
var get_1 = __importDefault(require("lodash/get"));
var union_1 = __importDefault(require("lodash/union"));
var find_1 = __importDefault(require("lodash/find"));
var json_schema_ref_parser_1 = __importDefault(require("json-schema-ref-parser"));
var get_1 = tslib_1.__importDefault(require("lodash/get"));
var union_1 = tslib_1.__importDefault(require("lodash/union"));
var find_1 = tslib_1.__importDefault(require("lodash/find"));
var json_schema_ref_parser_1 = tslib_1.__importDefault(require("json-schema-ref-parser"));
var reducers_1 = require("../reducers");

@@ -163,3 +141,3 @@ var util_1 = require("../util");

config: reducers_1.getConfig(state),
cells: state.jsonforms.cells,
cells: ownProps.cells || state.jsonforms.cells,
rootSchema: rootSchema

@@ -191,3 +169,3 @@ };

: props.schema.enum || [props.schema.const];
return __assign({}, props, { options: options });
return tslib_1.__assign(tslib_1.__assign({}, props), { options: options });
};

@@ -213,3 +191,3 @@ /**

var childLabel = firstPrimitiveProp ? childData[firstPrimitiveProp] : '';
return __assign({}, ownProps, { childLabel: childLabel });
return tslib_1.__assign(tslib_1.__assign({}, ownProps), { childLabel: childLabel });
};

@@ -224,4 +202,4 @@ /**

exports.mapStateToControlWithDetailProps = function (state, ownProps) {
var props = __rest(exports.mapStateToControlProps(state, ownProps), []);
return __assign({}, props, { uischemas: state.jsonforms.uischemas });
var props = tslib_1.__rest(exports.mapStateToControlProps(state, ownProps), []);
return tslib_1.__assign(tslib_1.__assign({}, props), { uischemas: state.jsonforms.uischemas });
};

@@ -236,7 +214,7 @@ /**

exports.mapStateToArrayControlProps = function (state, ownProps) {
var _a = exports.mapStateToControlWithDetailProps(state, ownProps), path = _a.path, schema = _a.schema, uischema = _a.uischema, props = __rest(_a, ["path", "schema", "uischema"]);
var _a = exports.mapStateToControlWithDetailProps(state, ownProps), path = _a.path, schema = _a.schema, uischema = _a.uischema, props = tslib_1.__rest(_a, ["path", "schema", "uischema"]);
var resolvedSchema = util_1.Resolve.schema(schema, 'items', props.rootSchema);
var childErrors = reducers_1.getSubErrorsAt(path, resolvedSchema)(state);
return __assign({}, props, { path: path,
uischema: uischema, schema: resolvedSchema, childErrors: childErrors, renderers: ownProps.renderers || reducers_1.getRenderers(state) });
return tslib_1.__assign(tslib_1.__assign({}, props), { path: path,
uischema: uischema, schema: resolvedSchema, childErrors: childErrors, renderers: ownProps.renderers || reducers_1.getRenderers(state), cells: ownProps.cells || reducers_1.getCells(state) });
};

@@ -303,3 +281,3 @@ /**

var data = util_1.Resolve.data(rootData, ownProps.path);
return __assign({}, exports.layoutDefaultProps, { renderers: ownProps.renderers || reducers_1.getRenderers(state), visible: visible,
return tslib_1.__assign(tslib_1.__assign({}, exports.layoutDefaultProps), { renderers: ownProps.renderers || reducers_1.getRenderers(state), cells: ownProps.cells || reducers_1.getCells(state), visible: visible,
enabled: enabled, path: ownProps.path, data: data, uischema: ownProps.uischema, schema: ownProps.schema, direction: ownProps.direction || exports.layoutDefaultProps.direction });

@@ -319,2 +297,3 @@ };

renderers: ownProps.renderers || get_1.default(state.jsonforms, 'renderers') || [],
cells: ownProps.cells || get_1.default(state.jsonforms, 'cells') || [],
schema: ownProps.schema || reducers_1.getSchema(state),

@@ -328,3 +307,3 @@ rootSchema: reducers_1.getSchema(state),

};
exports.controlDefaultProps = __assign({}, exports.layoutDefaultProps, { errors: [] });
exports.controlDefaultProps = tslib_1.__assign(tslib_1.__assign({}, exports.layoutDefaultProps), { errors: [] });
var mapStateToCombinatorRendererProps = function (state, ownProps, keyword) {

@@ -398,3 +377,3 @@ var uischema = ownProps.uischema;

exports.mapStateToArrayLayoutProps = function (state, ownProps) {
var _a = exports.mapStateToControlWithDetailProps(state, ownProps), path = _a.path, schema = _a.schema, uischema = _a.uischema, errors = _a.errors, props = __rest(_a, ["path", "schema", "uischema", "errors"]);
var _a = exports.mapStateToControlWithDetailProps(state, ownProps), path = _a.path, schema = _a.schema, uischema = _a.uischema, errors = _a.errors, props = tslib_1.__rest(_a, ["path", "schema", "uischema", "errors"]);
var resolvedSchema = util_1.Resolve.schema(schema, 'items', props.rootSchema);

@@ -405,5 +384,5 @@ var childErrors = util_1.formatErrorMessage(reducers_1.getSubErrorsAt(path, resolvedSchema)(state).map(function (error) { return error.message; }));

childErrors;
return __assign({}, props, { path: path,
return tslib_1.__assign(tslib_1.__assign({}, props), { path: path,
uischema: uischema, schema: resolvedSchema, data: props.data ? props.data.length : 0, errors: allErrors, minItems: schema.minItems });
};
//# sourceMappingURL=renderer.js.map
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/*

@@ -30,11 +28,11 @@ The MIT License

*/
var isEmpty_1 = __importDefault(require("lodash/isEmpty"));
var get_1 = __importDefault(require("lodash/get"));
var isArray_1 = __importDefault(require("lodash/isArray"));
var isObject_1 = __importDefault(require("lodash/isObject"));
var isFunction_1 = __importDefault(require("lodash/isFunction"));
var isUndefined_1 = __importDefault(require("lodash/isUndefined"));
var forOwn_1 = __importDefault(require("lodash/forOwn"));
var isString_1 = __importDefault(require("lodash/isString"));
var isPlainObject_1 = __importDefault(require("lodash/isPlainObject"));
var isEmpty_1 = tslib_1.__importDefault(require("lodash/isEmpty"));
var get_1 = tslib_1.__importDefault(require("lodash/get"));
var isArray_1 = tslib_1.__importDefault(require("lodash/isArray"));
var isObject_1 = tslib_1.__importDefault(require("lodash/isObject"));
var isFunction_1 = tslib_1.__importDefault(require("lodash/isFunction"));
var isUndefined_1 = tslib_1.__importDefault(require("lodash/isUndefined"));
var forOwn_1 = tslib_1.__importDefault(require("lodash/forOwn"));
var isString_1 = tslib_1.__importDefault(require("lodash/isString"));
var isPlainObject_1 = tslib_1.__importDefault(require("lodash/isPlainObject"));
var uri_js_1 = require("uri-js");

@@ -41,0 +39,0 @@ var isObjectSchema = function (schema) {

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/*

@@ -30,3 +28,3 @@ The MIT License

*/
var has_1 = __importDefault(require("lodash/has"));
var has_1 = tslib_1.__importDefault(require("lodash/has"));
var uischema_1 = require("../models/uischema");

@@ -33,0 +31,0 @@ var resolvers_1 = require("./resolvers");

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/*

@@ -30,3 +28,3 @@ The MIT License

*/
var isEmpty_1 = __importDefault(require("lodash/isEmpty"));
var isEmpty_1 = tslib_1.__importDefault(require("lodash/isEmpty"));
var uischema_1 = require("../models/uischema");

@@ -33,0 +31,0 @@ var setReadonlyPropertyValue = function (value) { return function (child) {

"use strict";
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
/*

@@ -41,6 +28,6 @@ The MIT License

*/
var ajv_1 = __importDefault(require("ajv"));
var ajv_1 = tslib_1.__importDefault(require("ajv"));
var draft4_1 = require("../models/draft4");
exports.createAjv = function (options) {
var ajv = new ajv_1.default(__assign({ schemaId: 'auto', allErrors: true, jsonPointers: true, errorDataPath: 'property', verbose: true }, options));
var ajv = new ajv_1.default(tslib_1.__assign({ schemaId: 'auto', allErrors: true, jsonPointers: true, errorDataPath: 'property', verbose: true }, options));
ajv.addFormat('time', '^([0-1][0-9]|2[0-3]):[0-5][0-9]$');

@@ -47,0 +34,0 @@ ajv.addMetaSchema(draft4_1.Draft4);

{
"name": "@jsonforms/core",
"version": "2.3.2",
"version": "2.4.0-alpha.0",
"description": "Core module of JSON Forms",

@@ -16,2 +16,18 @@ "repository": "https://github.com/eclipsesource/jsonforms",

},
"keywords": [
"form",
"forms",
"json",
"jsonforms",
"frontend",
"generator",
"input",
"validation",
"renderengine",
"jsonschema",
"schema",
"uischema",
"layout",
"customization"
],
"main": "./lib/index.js",

@@ -51,3 +67,3 @@ "typings": "./lib/index.d.ts",

"ajv": "^6.10.2",
"json-schema-ref-parser": "^7.1.2",
"json-schema-ref-parser": "7.1.3",
"lodash": "^4.17.15",

@@ -72,3 +88,3 @@ "uri-js": "^4.2.2",

},
"gitHead": "0cf18d3df877c5240188b0ae4e0d18e3638fc026"
"gitHead": "7dc261f9b71d40d3b4e4faf154e4b70fb6735701"
}

@@ -59,2 +59,10 @@ /*

export type CoreActions =
| InitAction
| UpdateAction
| UpdateErrorsAction
| SetAjvAction
| SetSchemaAction
| SetUISchemaAction;
export interface UpdateAction {

@@ -204,2 +212,4 @@ type: 'jsonforms/UPDATE';

export type UISchemaActions = AddUISchemaAction | RemoveUISchemaAction;
export interface AddUISchemaAction {

@@ -236,2 +246,7 @@ type: 'jsonforms/ADD_UI_SCHEMA';

export type LocaleActions =
| SetLocaleAction
| SetLocalizedSchemasAction
| SetLocalizedUISchemasAction;
export interface SetLocaleAction {

@@ -238,0 +253,0 @@ type: 'jsonforms/SET_LOCALE';

@@ -40,9 +40,5 @@ /*

SET_UISCHEMA,
SetAjvAction,
SetSchemaAction,
SetUISchemaAction,
UPDATE_DATA,
UpdateAction,
UPDATE_ERRORS,
UpdateErrorsAction
CoreActions
} from '../actions';

@@ -90,10 +86,2 @@ import { createAjv } from '../util/validator';

type ValidCoreActions =
| InitAction
| UpdateAction
| UpdateErrorsAction
| SetAjvAction
| SetSchemaAction
| SetUISchemaAction;
const getOrCreateAjv = (state: JsonFormsCore, action?: InitAction): Ajv => {

@@ -146,3 +134,3 @@ if (action) {

state: JsonFormsCore = initState,
action: ValidCoreActions
action: CoreActions
): JsonFormsCore => {

@@ -149,0 +137,0 @@ switch (action.type) {

@@ -63,2 +63,3 @@ /*

import { Generate } from '../generators';
import { JsonFormsCellRendererRegistryEntry } from './cells';

@@ -69,3 +70,5 @@ export {

coreReducer,
i18nReducer,
UISchemaTester,
uischemaRegistryReducer,
findMatchingUISchema

@@ -104,2 +107,5 @@ };

): JsonFormsRendererRegistryEntry[] => get(state, 'jsonforms.renderers');
export const getCells = (
state: JsonFormsState
): JsonFormsCellRendererRegistryEntry[] => get(state, 'jsonforms.cells');

@@ -106,0 +112,0 @@ /**

@@ -27,8 +27,3 @@ /*

import remove from 'lodash/remove';
import {
ADD_UI_SCHEMA,
AddUISchemaAction,
REMOVE_UI_SCHEMA,
RemoveUISchemaAction
} from '../actions';
import { ADD_UI_SCHEMA, REMOVE_UI_SCHEMA, UISchemaActions } from '../actions';
import { JsonSchema, NOT_APPLICABLE, UISchemaElement } from '..';

@@ -42,7 +37,5 @@

type ValidUISchemaReducerActions = AddUISchemaAction | RemoveUISchemaAction;
export const uischemaRegistryReducer = (
state: { tester: UISchemaTester; uischema: UISchemaElement }[] = [],
action: ValidUISchemaReducerActions
action: UISchemaActions
) => {

@@ -49,0 +42,0 @@ switch (action.type) {

@@ -100,3 +100,3 @@ /*

): StatePropsOfCell => {
const { id, schema, path, uischema } = ownProps;
const { id, schema, path, uischema, renderers, cells } = ownProps;
const rootData = getData(state);

@@ -128,3 +128,5 @@ const visible =

config: getConfig(state),
rootSchema
rootSchema,
renderers,
cells
};

@@ -138,7 +140,7 @@ };

const props: StatePropsOfCell = mapStateToCellProps(state, ownProps);
const { renderers, ...otherOwnProps } = ownProps;
const { renderers, cells, ...otherOwnProps } = ownProps;
return {
...props,
...otherOwnProps,
cells: state.jsonforms.cells || []
cells: cells || state.jsonforms.cells || []
};

@@ -145,0 +147,0 @@ };

@@ -32,2 +32,3 @@ /*

findUISchema,
getCells,
getConfig,

@@ -46,9 +47,9 @@ getData,

import {
CombinatorKeyword,
composePaths,
CombinatorKeyword,
composeWithUi,
createLabelDescriptionFrom,
formatErrorMessage,
hasEnableRule,
hasShowRule,
hasEnableRule,
isEnabled,

@@ -61,3 +62,3 @@ isVisible,

} from '../util';
import { update } from '../actions';
import { update, CoreActions } from '../actions';
import { ErrorObject } from 'ajv';

@@ -67,4 +68,5 @@ import { JsonFormsState } from '../store';

import { JsonFormsRendererRegistryEntry } from '../reducers/renderers';
import { JsonFormsCellRendererRegistryEntry } from '../reducers/cells';
export { JsonFormsRendererRegistryEntry };
export { JsonFormsRendererRegistryEntry, JsonFormsCellRendererRegistryEntry };

@@ -203,2 +205,4 @@ export interface Labels {

renderers?: JsonFormsRendererRegistryEntry[];
cells?: JsonFormsCellRendererRegistryEntry[];
}

@@ -257,2 +261,13 @@

path: string;
/**
* All available renderers.
*/
renderers?: JsonFormsRendererRegistryEntry[];
/**
* All available cell renderers.
*/
cells?: JsonFormsCellRendererRegistryEntry[];
}

@@ -342,7 +357,2 @@

/**
* All available renderers.
*/
renderers?: any[];
/**
* Direction for the layout to flow

@@ -423,3 +433,3 @@ */

config: getConfig(state),
cells: state.jsonforms.cells,
cells: ownProps.cells || state.jsonforms.cells,
rootSchema

@@ -502,2 +512,3 @@ };

renderers?: JsonFormsRendererRegistryEntry[];
cells?: JsonFormsCellRendererRegistryEntry[];
}

@@ -574,3 +585,4 @@

childErrors,
renderers: ownProps.renderers || getRenderers(state)
renderers: ownProps.renderers || getRenderers(state),
cells: ownProps.cells || getCells(state)
};

@@ -596,3 +608,3 @@ };

export const mapDispatchToArrayControlProps = (
dispatch: Dispatch<AnyAction>
dispatch: Dispatch<CoreActions>
): DispatchPropsOfArrayControl => ({

@@ -685,2 +697,3 @@ addItem: (path: string, value: any) => () => {

renderers: ownProps.renderers || getRenderers(state),
cells: ownProps.cells || getCells(state),
visible,

@@ -698,5 +711,3 @@ enabled,

export interface OwnPropsOfJsonFormsRenderer extends OwnPropsOfRenderer {
renderers?: JsonFormsRendererRegistryEntry[];
}
export interface OwnPropsOfJsonFormsRenderer extends OwnPropsOfRenderer {}

@@ -709,5 +720,3 @@ export interface StatePropsOfJsonFormsRenderer

export interface JsonFormsProps extends StatePropsOfJsonFormsRenderer {
renderers?: JsonFormsRendererRegistryEntry[];
}
export interface JsonFormsProps extends StatePropsOfJsonFormsRenderer {}

@@ -734,2 +743,3 @@ export const mapStateToJsonFormsRendererProps = (

renderers: ownProps.renderers || get(state.jsonforms, 'renderers') || [],
cells: ownProps.cells || get(state.jsonforms, 'cells') || [],
schema: ownProps.schema || getSchema(state),

@@ -736,0 +746,0 @@ rootSchema: getSchema(state),

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

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

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

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

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 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

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