Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
"build:examples-app": "lerna run build:examples-app && node packages/examples-app/prepare-examples-app.js"
},
"devDependencies": {
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.5",
"@babel/plugin-proposal-optional-chaining": "^7.16.5",
"@babel/preset-env": "^7.29.7",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/lodash": "^4.14.149",
"ajv": "^8.18.0",
Expand Down
29 changes: 13 additions & 16 deletions packages/angular-material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"rxjs": "^6.6.0 || ^7.4.0"
},
"dependencies": {
"lodash": "^4.17.21"
"lodash": "^4.18.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "^20.0.0",
Expand All @@ -87,20 +87,18 @@
"@angular-eslint/eslint-plugin-template": "^20.7.0",
"@angular-eslint/schematics": "^20.7.0",
"@angular-eslint/template-parser": "^20.7.0",
"@angular/animations": "^20.3.24",
"@angular/animations": "^20.3.33",
"@angular/cdk": "^20.2.14",
"@angular/cli": "^20.3.27",
"@angular/common": "^20.3.24",
"@angular/compiler": "^20.3.24",
"@angular/compiler-cli": "^20.3.24",
"@angular/core": "^20.3.24",
"@angular/forms": "^20.3.24",
"@angular/cli": "^20.3.38",
"@angular/common": "^20.3.33",
"@angular/compiler": "^20.3.33",
"@angular/compiler-cli": "^20.3.33",
"@angular/core": "^20.3.33",
"@angular/forms": "^20.3.33",
"@angular/material": "^20.2.14",
"@angular/platform-browser": "^20.3.24",
"@angular/platform-browser-dynamic": "^20.3.24",
"@angular/router": "^20.3.24",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.5",
"@babel/plugin-proposal-optional-chaining": "^7.16.5",
"@angular/platform-browser": "^20.3.33",
"@angular/platform-browser-dynamic": "^20.3.33",
"@angular/router": "^20.3.33",
"@jsonforms/angular": "workspace:*",
"@jsonforms/core": "workspace:*",
"@jsonforms/examples": "workspace:*",
Expand All @@ -110,9 +108,8 @@
"@types/node": "^24.12.2",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"babel-loader": "^8.0.6",
"copy-webpack-plugin": "^11.0.0",
"dayjs": "^1.11.10",
"dayjs": "^1.11.11",
"eslint": "^8.56.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-import": "^2.27.5",
Expand All @@ -134,7 +131,7 @@
"prettier": "^2.8.4",
"protractor": "^7.0.0",
"rimraf": "^6.1.0",
"rxjs": "^6.6.0",
"rxjs": "^6.6.7",
"ts-loader": "^9.5.1",
"tslib": "^2.5.0",
"typedoc": "~0.25.3",
Expand Down
12 changes: 6 additions & 6 deletions packages/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
]
},
"dependencies": {
"lodash": "^4.17.21"
"lodash": "^4.18.1"
},
"peerDependencies": {
"@angular/core": "^20.0.0 || ^21.0.0 || ^22.0.0",
Expand All @@ -81,10 +81,10 @@
"@angular-eslint/eslint-plugin-template": "^20.7.0",
"@angular-eslint/schematics": "^20.7.0",
"@angular-eslint/template-parser": "^20.7.0",
"@angular/compiler": "^20.3.24",
"@angular/compiler-cli": "^20.3.24",
"@angular/core": "^20.3.24",
"@angular/forms": "^20.3.24",
"@angular/compiler": "^20.3.33",
"@angular/compiler-cli": "^20.3.33",
"@angular/core": "^20.3.33",
"@angular/forms": "^20.3.33",
"@jsonforms/core": "workspace:*",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
Expand All @@ -98,7 +98,7 @@
"nyc": "^15.1.0",
"prettier": "^2.8.4",
"rimraf": "^6.1.0",
"rxjs": "^6.6.0",
"rxjs": "^6.6.7",
"source-map-support": "^0.5.21",
"tslib": "^2.3.0",
"typedoc": "~0.25.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@
]
},
"dependencies": {
"@types/json-schema": "^7.0.3",
"@types/json-schema": "^7.0.15",
"ajv": "^8.18.0",
"ajv-formats": "^2.1.0",
"lodash": "^4.17.21"
"ajv-formats": "^2.1.1",
"lodash": "^4.18.1"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
Expand Down
8 changes: 4 additions & 4 deletions packages/examples-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"@jsonforms/examples": "workspace:*",
"@jsonforms/react": "workspace:*",
"@mui/material": "^9.2.0",
"@types/react-highlight": "^0.12.5",
"@types/react-tabs": "^2.3.3",
"highlight.js": "^11.3.1",
"@types/react-highlight": "^0.12.8",
"@types/react-tabs": "^2.3.4",
"highlight.js": "^11.9.0",
"json-refs": "3.0.15",
"lodash": "^4.17.21",
"lodash": "^4.18.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-highlight": "^0.14.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"dependencies": {
"ajv-i18n": "^4.2.0",
"lodash": "^4.17.21"
"lodash": "^4.18.1"
},
"peerDependencies": {
"@jsonforms/core": "3.9.0-alpha.1"
Expand Down
8 changes: 4 additions & 4 deletions packages/material-renderers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@
},
"dependencies": {
"@date-io/dayjs": "^3.0.0",
"dayjs": "1.10.7",
"lodash": "^4.17.21"
"dayjs": "^1.11.11",
"lodash": "^4.18.1"
},
"peerDependencies": {
"@emotion/react": "^11.5.0",
Expand All @@ -101,8 +101,8 @@
"react": "^16.12.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@emotion/react": "^11.5.0",
"@emotion/styled": "^11.3.0",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@jsonforms/core": "workspace:*",
"@jsonforms/react": "workspace:*",
"@mui/icons-material": "^9.2.0",
Expand Down
19 changes: 2 additions & 17 deletions packages/material-renderers/src/util/datejs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,8 @@ export const createOnBlurHandler =
onBlur();
};

export const formatDate = (date: dayjs.Dayjs, saveFormat: string) => {
let formatedDate = date.format(saveFormat);
// Workaround to address a bug in Dayjs, neglecting leading 0 (https://github.com/iamkun/dayjs/issues/1849)
const indexOfYear = saveFormat.indexOf('YYYY');
if (date.year() < 1000 && indexOfYear !== -1) {
const stringUpToYear = formatedDate.slice(0, indexOfYear);
const stringFromYear = formatedDate.slice(indexOfYear);
if (date.year() >= 100) {
formatedDate = [stringUpToYear, 0, stringFromYear].join('');
} else if (date.year() >= 10) {
formatedDate = [stringUpToYear, 0, 0, stringFromYear].join('');
} else if (date.year() >= 1) {
formatedDate = [stringUpToYear, 0, 0, 0, stringFromYear].join('');
}
}
return formatedDate;
};
export const formatDate = (date: dayjs.Dayjs, saveFormat: string) =>
date.format(saveFormat);

export const getData = (
data: any,
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
]
},
"dependencies": {
"lodash": "^4.17.21"
"lodash": "^4.18.1"
},
"peerDependencies": {
"@jsonforms/core": "3.9.0-alpha.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/vanilla-renderers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"customization"
],
"dependencies": {
"lodash": "^4.17.21"
"lodash": "^4.18.1"
},
"peerDependencies": {
"@jsonforms/core": "3.9.0-alpha.1",
Expand Down
7 changes: 0 additions & 7 deletions packages/vue-vanilla/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,4 @@ const devPresets = ['@vue/cli-plugin-babel/preset'];
const buildPresets = ['@babel/preset-env', '@babel/preset-typescript'];
module.exports = {
presets: process.env.NODE_ENV === 'production' ? buildPresets : devPresets,
plugins:
process.env.NODE_ENV === 'test'
? [
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-nullish-coalescing-operator',
]
: [],
};
8 changes: 4 additions & 4 deletions packages/vue-vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@
"test": "vue-cli-service test:unit"
},
"dependencies": {
"lodash": "^4.17.21"
"lodash": "^4.18.1"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-typescript": "^7.9.0",
"@babel/core": "^7.29.7",
"@babel/preset-env": "^7.29.7",
"@babel/preset-typescript": "^7.29.7",
"@jsonforms/core": "workspace:*",
"@jsonforms/vue": "workspace:*",
"@types/chai": "^4.2.11",
Expand Down
6 changes: 3 additions & 3 deletions packages/vue-vuetify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@
"ajv-keywords": "^5.1.0",
"core-js": "^3.9.1",
"cross-env": "^10.1.0",
"dayjs": "^1.10.6",
"dayjs": "^1.11.11",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.23.0",
"eslint-plugin-vue-scoped-css": "^2.8.0",
"jsdom": "^27.2.0",
"json-refs": "3.0.15",
"lodash": "^4.17.21",
"lodash": "^4.18.1",
"maska": "^2.1.11",
"monaco-editor": "^0.49.0",
"npm-run-all2": "^6.1.2",
Expand All @@ -119,6 +119,6 @@
"vue": "^3.5.17",
"vue-eslint-parser": "^9.4.2",
"vue-tsc": "^2.2.0",
"vuetify": "^3.11.0"
"vuetify": "^3.12.8"
}
}
7 changes: 0 additions & 7 deletions packages/vue/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,4 @@ const devPresets = ['@vue/cli-plugin-babel/preset'];
const buildPresets = ['@babel/preset-env', '@babel/preset-typescript'];
module.exports = {
presets: process.env.NODE_ENV === 'production' ? buildPresets : devPresets,
plugins:
process.env.NODE_ENV === 'test'
? [
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-nullish-coalescing-operator',
]
: [],
};
8 changes: 4 additions & 4 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@
"test": "jest"
},
"dependencies": {
"lodash": "^4.17.21"
"lodash": "^4.18.1"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.4",
"@babel/preset-typescript": "^7.9.0",
"@babel/core": "^7.29.7",
"@babel/preset-env": "^7.29.7",
"@babel/preset-typescript": "^7.29.7",
"@jsonforms/core": "workspace:*",
"@rollup/plugin-alias": "^3.1.8",
"@types/jest": "^29.5.14",
Expand Down
Loading
Loading