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

@jsonforms/examples

Package Overview
Dependencies
Maintainers
0
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsonforms/examples - npm Package Compare versions

Comparing version 3.4.0-alpha.2 to 3.4.0-alpha.3

lib/examples/additional-properties.d.ts

6

lib/examples/person.d.ts

@@ -82,7 +82,9 @@ export declare const personCoreSchema: {

scope: string;
suggestion?: undefined;
options?: undefined;
} | {
type: string;
scope: string;
suggestion: string[];
options: {
suggestion: string[];
};
})[];

@@ -89,0 +91,0 @@ text?: undefined;

@@ -52,5 +52,8 @@ import * as allOf from './examples/allOf';

import * as multiEnumWithLabelAndDesc from './examples/enum-multi-with-label-and-desc';
import * as additionalProperties from './examples/additional-properties';
import * as login from './examples/login';
import * as string from './examples/string';
export * from './register';
export * from './example';
import * as ifThenElse from './examples/if_then_else';
export { issue_1948, defaultExample, allOf, anyOf, oneOf, oneOfArray, anyOfOneOfAllOfResolve, stringArray, array, arrayI18n, nestedArray, nestedCategorization, arrayWithDetail, arrayWithDetailAndRule, arrayWithCustomChildLabel, arrayWithSorting, arrayWithTranslatedCustomChildLabel, categorization, stepper, steppershownav, controlOptions, generateSchema, generateUISchema, layout, person, rule, ruleInheritance, dates, generateDynamic, config, text, numbers, scope, listWithDetail, listWithDetailRegistered, object, i18n, oneOfRecursive, huge, ifThenElse, onChange, enumExample, radioGroupExample, multiEnum, multiEnumWithLabelAndDesc, enumInArray, readonly, listWithDetailPrimitives, conditionalSchemaComposition, additionalErrors, issue_1884, arrayWithDefaults, };
export { issue_1948, defaultExample, allOf, anyOf, oneOf, oneOfArray, anyOfOneOfAllOfResolve, stringArray, array, arrayI18n, nestedArray, nestedCategorization, arrayWithDetail, arrayWithDetailAndRule, arrayWithCustomChildLabel, arrayWithSorting, arrayWithTranslatedCustomChildLabel, categorization, stepper, steppershownav, controlOptions, generateSchema, generateUISchema, layout, person, rule, ruleInheritance, dates, generateDynamic, config, text, numbers, scope, listWithDetail, listWithDetailRegistered, object, i18n, oneOfRecursive, huge, ifThenElse, onChange, enumExample, radioGroupExample, multiEnum, multiEnumWithLabelAndDesc, enumInArray, readonly, listWithDetailPrimitives, conditionalSchemaComposition, additionalErrors, additionalProperties, login, issue_1884, arrayWithDefaults, string, };
{
"name": "@jsonforms/examples",
"version": "3.4.0-alpha.2",
"version": "3.4.0-alpha.3",
"description": "JSON Forms Example Data",

@@ -38,7 +38,7 @@ "repository": "https://github.com/eclipsesource/jsonforms",

"dependencies": {
"ajv-i18n": "^3.5.0",
"ajv-i18n": "^4.2.0",
"lodash": "^4.17.21"
},
"peerDependencies": {
"@jsonforms/core": "3.4.0-alpha.2"
"@jsonforms/core": "3.4.0-alpha.3"
},

@@ -62,3 +62,3 @@ "devDependencies": {

"typescript": "~5.2.2",
"@jsonforms/core": "3.4.0-alpha.2"
"@jsonforms/core": "3.4.0-alpha.3"
},

@@ -65,0 +65,0 @@ "scripts": {

@@ -35,5 +35,3 @@ /*

import get from 'lodash/get';
// TODO change import when types are available for ajv-i18n (from v4.x)
// eslint-disable-next-line @typescript-eslint/no-var-requires
const localize = require('ajv-i18n');
import localize from 'ajv-i18n/localize';

@@ -47,3 +45,4 @@ export const onChange =

}
const localiseFunc = localize[extensionState.locale.split('-')[0]];
const localiseFunc =
localize[extensionState.locale.split('-')[0] as keyof typeof localize];
localiseFunc(errors);

@@ -50,0 +49,0 @@ dispatch(updateErrors(errors));

@@ -129,12 +129,14 @@ /*

scope: '#/properties/occupation',
suggestion: [
'Accountant',
'Engineer',
'Freelancer',
'Journalism',
'Physician',
'Student',
'Teacher',
'Other',
],
options: {
suggestion: [
'Accountant',
'Engineer',
'Freelancer',
'Journalism',
'Physician',
'Student',
'Teacher',
'Other',
],
},
},

@@ -141,0 +143,0 @@ ],

@@ -76,2 +76,5 @@ /*

import * as multiEnumWithLabelAndDesc from './examples/enum-multi-with-label-and-desc';
import * as additionalProperties from './examples/additional-properties';
import * as login from './examples/login';
import * as string from './examples/string';
export * from './register';

@@ -133,4 +136,7 @@ export * from './example';

additionalErrors,
additionalProperties,
login,
issue_1884,
arrayWithDefaults,
string,
};

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

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