Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update dependencies #10889

Merged
merged 21 commits into from Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/.vuepress/containers/examples/examples.js
Expand Up @@ -164,13 +164,16 @@ module.exports = function(docsVersion, base) {
];

tokens.splice(index + 1, 0, ...newTokens);
const isAngular = /angular(-.*)?/.test(preset);

const displayJsFiddle = Boolean(!noEdit && !isAngular);

return `
<div class="tabs-button-wrapper">
<div class="tabs-button-list">
${Boolean(!noEdit) && stackblitz(id, htmlContent, codeToCompileSandbox, cssContent, docsVersion, preset)}
${Boolean(!noEdit) && codesandbox(id, htmlContent, codeToCompileSandbox, cssContent, docsVersion, preset)}
${Boolean(!noEdit) && jsfiddle(id, htmlContent, codeForPreset, cssContent, docsVersion, preset)}
${displayJsFiddle ? jsfiddle(id, htmlContent, codeForPreset, cssContent, docsVersion, preset) : ''}
</div>
<tabs
:class="$parent.$parent.addClassIfPreviewTabIsSelected('${id}', 'selected-preview')"
Expand Down
6 changes: 3 additions & 3 deletions docs/.vuepress/handsontable-manager/dependencies.js
Expand Up @@ -22,8 +22,8 @@ const getPackageUrls = (packageName, version, fileSelection) => {
js: 'react-handsontable.min.js'
},
'@handsontable/angular': {
js: 'handsontable-angular.umd.js',
subDir: 'bundles/'
js: 'handsontable-angular.mjs',
subDir: 'fesm2022/'
},
'@handsontable/vue': {
js: 'vue-handsontable.min.js'
Expand Down Expand Up @@ -99,7 +99,7 @@ const buildDependencyGetter = (version) => {
'angular-forms': ['https://cdn.jsdelivr.net/npm/@angular/forms@12/bundles/forms.umd.min.js', [/* todo */]],
'angular-platform-browser': ['https://cdn.jsdelivr.net/npm/@angular/platform-browser@12/bundles/platform-browser.umd.min.js', [/* todo */]],
'angular-platform-browser-dynamic': ['https://cdn.jsdelivr.net/npm/@angular/platform-browser-dynamic@12/bundles/platform-browser-dynamic.umd.min.js', [/* todo */]],
'hot-angular': [getPackageUrls('@handsontable/angular', version, 'js'), [/* todo */]],
'hot-angular': ['https://cdn.jsdelivr.net/npm/@handsontable/angular@14.2.0/bundles/handsontable-angular.umd.min.js'],
'hot-vue': [getPackageUrls('@handsontable/vue', version, 'js'), [/* todo */], null, 'hot-vue3'],
'hot-vue3': [getPackageUrls('@handsontable/vue3', version, 'js'), [/* todo */], null, 'hot-vue'],
vue: ['https://cdn.jsdelivr.net/npm/vue@2/dist/vue.min.js', [/* todo */], null, 'vue3'],
Expand Down
4 changes: 4 additions & 0 deletions docs/.vuepress/public/scripts/fixer.js
Expand Up @@ -95,6 +95,10 @@
} else if (key === 'react-colorful') {
return window.exports;

}
else if (key === '@handsontable/angular') {
ns = 'Handsontable.angular';

} else if (key === '@handsontable/react') {
ns = 'Handsontable.react';

Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/tools/example-checker/helpers.js
Expand Up @@ -34,7 +34,7 @@ function logCheck(valid) {
async function sleep(timeout) {
return Promise.resolve({
then(resolve) {
setTimeout(resolve, timeout || 300);
setTimeout(resolve, timeout || 100);
}
});
}
Expand Down
4 changes: 2 additions & 2 deletions docs/.vuepress/tools/example-checker/index.js
Expand Up @@ -40,14 +40,14 @@ const PORT = 8088;
*
* @type {number}
*/
const FILE_SERVE_TIMEOUT = 300;
const FILE_SERVE_TIMEOUT = 100;

/**
* Timout for the examples to get initialized after loading the page.
*
* @type {number}
*/
const EXAMPLE_INIT_TIMEOUT = 300;
const EXAMPLE_INIT_TIMEOUT = 100;

/**
* Number of tries to perform if the number of the rendered examples differs from the expected count.
Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/tools/link-assets.mjs
Expand Up @@ -10,7 +10,7 @@ const docsBasePath = path.resolve(path.dirname(fileURLToPath(import.meta.url)),
const SYMLINK_PATHS = [
{ source: '../handsontable/dist/', target: './.vuepress/public/handsontable/' },
{ source: '../wrappers/react/dist/', target: './.vuepress/public/@handsontable/react/' },
{ source: '../wrappers/angular/dist/hot-table/bundles/', target: './.vuepress/public/@handsontable/angular/' },
{ source: '../wrappers/angular/dist/hot-table/fesm2022', target: './.vuepress/public/@handsontable/angular/' },
{ source: '../wrappers/vue/dist/', target: './.vuepress/public/@handsontable/vue/' },
{ source: '../wrappers/vue3/dist/', target: './.vuepress/public/@handsontable/vue3/' },
];
Expand Down
17 changes: 8 additions & 9 deletions handsontable/package.json
Expand Up @@ -77,12 +77,12 @@
],
"dependencies": {
"@handsontable/pikaday": "^1.0.0",
"@types/pikaday": "1.7.4",
"core-js": "^3.31.1",
"dompurify": "^2.1.1",
"moment": "2.29.4",
"numbro": "2.1.2",
"pikaday": "1.8.2",
"@types/pikaday": "1.7.4"
"pikaday": "1.8.2"
},
"optionalDependencies": {
"hyperformula": "^2.6.2"
Expand All @@ -98,6 +98,7 @@
"@babel/register": "^7.8.3",
"@babel/runtime": "^7.11.2",
"@babel/types": "^7.12.12",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^11.0.0-beta.2",
"babel-jest": "^26.6.3",
Expand All @@ -108,9 +109,9 @@
"chalk": "^4.1.2",
"concurrently": "^6.4.0",
"copy-webpack-plugin": "^6.0.3",
"cpy-cli": "^3.1.1",
"cross-env": "^7.0.3",
"css-loader": "^6.8.1",
"css-loader": "6.10.0",
"css-minimizer-webpack-plugin": "^5.0.1",
"dtslint": "^4.2.0",
"env-cmd": "^9.0.3",
"eslint": "^7.25.0",
Expand All @@ -129,23 +130,21 @@
"jasmine-console-reporter": "^3.1.0",
"jasmine-core": "^3.4.0",
"jasmine-terminal-reporter": "^1.0.3",
"jest": "^26.6.3",
"jest": "29.7.0",
"jest-cli": "^26.6.3",
"jsdom": "^15.2.1",
"jsdom": "^24.0.0",
"loader-utils": "^1.1.0",
"lodash": "^4.17.20",
"mini-css-extract-plugin": "^2.7.6",
"minimatch": "^3.0.4",
"css-minimizer-webpack-plugin": "^5.0.1",
"puppeteer": "^19.2.2",
"replace-in-file": "^6.1.0",
"rimraf": "^3.0.2",
"sass": "^1.58.0",
"sass-loader": "^10.4.1",
"string-replace-loader": "^3.1.0",
"stylelint": "^13.3.3",
"stylelint": "^16.3.1",
"typescript": "3.8.2",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"webpack": "^5.88.1",
"webpack-cli": "^5.1.4"
},
Expand Down
8 changes: 1 addition & 7 deletions handsontable/stylelint.config.js
@@ -1,9 +1,3 @@
module.exports = {
rules: {
indentation: 2,
'max-empty-lines': 2,
'no-eol-whitespace': true,
'no-missing-end-of-source-newline': true,
'no-empty-first-line': true
}
rules: {},
};