Skip to content

Commit 79653ee

Browse files
committed
fix: updated eslint config and npm packages
1 parent e400378 commit 79653ee

7 files changed

+3904
-3391
lines changed

.eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
extends: ['eslint-config-kouts/vue3'],
2+
extends: ['@kouts/eslint-config/vue3'],
33
overrides: [
44
{
55
// Disable multi-word-component-names

PACKAGES.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## NPM packages version information
2+
3+
- `@vue/vue3-jest ^27.0.0 → ^29.2.0`
4+
Required by `@vue/cli-plugin-unit-jest`
5+
6+
- `bootstrap ^4.6.2 → ^5.2.2`
7+
Needed in order for examples to work correctly

dist/vue-dataset.es.js

+13-6
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,19 @@ const y = (t, n) => {
125125
}, P = u(() => (t.dsData, s.value, t.dsSortby, t.dsFilterFields, t.dsSearchIn, t.dsSearchAs, t.dsSortAs, Date.now())), C = u(() => o.value.slice(E.value, k.value)), x = u(() => H(I.value, n.value)), S = u(() => o.value.length), I = u(() => Math.ceil(S.value / e.value)), E = u(() => (n.value - 1) * e.value), k = u(() => n.value * e.value);
126126
return O(S, (m, L) => {
127127
g(1);
128-
}), O(P, (m, L) => {
129-
let h = [];
130-
!s.value && !t.dsSortby.length && V(t.dsFilterFields) ? h = t.dsData.map((b, D) => D) : (h = t.dsData.map((b, D) => ({ index: D, value: b })), V(t.dsFilterFields) || (h = Q(h, t.dsFilterFields)), s.value && (h = h.filter((b) => U(t.dsSearchIn, t.dsSearchAs, b.value, s.value))), t.dsSortby.length && h.sort(J(t.dsSortby, t.dsSortAs)), h = h.map((b) => b.index)), o.value = h;
131-
}, {
132-
immediate: !0
133-
}), c("dsIndexes", o), c("search", a), c("showEntries", d), c("setActive", g), c("datasetI18n", r), c("dsData", u(() => t.dsData)), c("dsRows", C), c("dsPages", x), c("dsResultsNumber", S), c("dsPagecount", I), c("dsFrom", E), c("dsTo", k), c("dsPage", n), {
128+
}), O(
129+
P,
130+
(m, L) => {
131+
let h = [];
132+
!s.value && !t.dsSortby.length && V(t.dsFilterFields) ? h = t.dsData.map((b, D) => D) : (h = t.dsData.map((b, D) => ({ index: D, value: b })), V(t.dsFilterFields) || (h = Q(h, t.dsFilterFields)), s.value && (h = h.filter((b) => U(t.dsSearchIn, t.dsSearchAs, b.value, s.value))), t.dsSortby.length && h.sort(J(t.dsSortby, t.dsSortAs)), h = h.map((b) => b.index)), o.value = h;
133+
},
134+
{
135+
immediate: !0
136+
}
137+
), c("dsIndexes", o), c("search", a), c("showEntries", d), c("setActive", g), c("datasetI18n", r), c(
138+
"dsData",
139+
u(() => t.dsData)
140+
), c("dsRows", C), c("dsPages", x), c("dsResultsNumber", S), c("dsPagecount", I), c("dsFrom", E), c("dsTo", k), c("dsPage", n), {
134141
dsIndexes: o,
135142
dsShowEntries: e,
136143
dsResultsNumber: S,

package-lock.json

+3,863-3,356
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+18-27
Original file line numberDiff line numberDiff line change
@@ -38,43 +38,34 @@
3838
"docs:build": "vuepress build docs"
3939
},
4040
"dependencies": {
41-
"vue": "^3.2.37"
41+
"vue": "^3.2.41"
4242
},
4343
"devDependencies": {
44-
"@babel/core": "^7.18.9",
45-
"@babel/preset-env": "^7.18.9",
46-
"@commitlint/cli": "^17.0.3",
47-
"@commitlint/config-conventional": "^17.0.3",
48-
"@vitejs/plugin-vue": "^3.0.1",
44+
"@babel/core": "^7.20.2",
45+
"@babel/preset-env": "^7.20.2",
46+
"@commitlint/cli": "^17.2.0",
47+
"@commitlint/config-conventional": "^17.2.0",
48+
"@kouts/eslint-config": "^0.0.8",
49+
"@vitejs/plugin-vue": "^3.2.0",
4950
"@vue/cli-plugin-unit-jest": "^5.0.8",
5051
"@vue/cli-service": "^5.0.8",
51-
"@vue/compiler-sfc": "^3.2.37",
52-
"@vue/test-utils": "^2.0.2",
52+
"@vue/compiler-sfc": "^3.2.41",
53+
"@vue/test-utils": "^2.2.1",
5354
"@vue/vue3-jest": "^27.0.0",
54-
"@vuepress/plugin-docsearch": "^2.0.0-beta.49",
55+
"@vuepress/plugin-docsearch": "^2.0.0-beta.53",
5556
"bootstrap": "^4.6.2",
56-
"core-js": "^3.23.5",
57-
"eslint": "^8.20.0",
58-
"eslint-config-kouts": "^2.2.0",
59-
"eslint-config-prettier": "^8.5.0",
60-
"eslint-config-standard": "^17.0.0",
61-
"eslint-plugin-html": "^6.2.0",
62-
"eslint-plugin-import": "^2.26.0",
63-
"eslint-plugin-n": "^15.2.4",
64-
"eslint-plugin-prettier": "^4.2.1",
65-
"eslint-plugin-promise": "^6.0.0",
66-
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
67-
"eslint-plugin-vue": "^9.2.0",
57+
"core-js": "^3.26.0",
58+
"eslint": "^8.27.0",
6859
"husky": "^8.0.1",
6960
"lint-staged": "^13.0.3",
7061
"make-coverage-badge": "^1.2.0",
7162
"prettier": "2.7.1",
72-
"sass": "^1.53.0",
73-
"vite": "^3.0.2",
63+
"sass": "^1.56.0",
64+
"vite": "^3.2.2",
7465
"vite-plugin-html": "^3.2.0",
75-
"vue-router": "^4.1.2",
66+
"vue-router": "^4.1.6",
7667
"vuepress-plugin-vue-example": "^2.0.4",
77-
"vuepress-webpack": "^2.0.0-beta.49",
78-
"vuex": "^4.0.2"
68+
"vuepress-webpack": "^2.0.0-beta.53",
69+
"vuex": "^4.1.0"
7970
}
80-
}
71+
}

prettier.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require('eslint-config-kouts/prettier.config.js')
1+
module.exports = require('@kouts/eslint-config/prettier.config.js')

vite.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import vue from '@vitejs/plugin-vue'
22
import { createHtmlPlugin } from 'vite-plugin-html'
3+
34
const path = require('path')
45
const { defineConfig } = require('vite')
56

0 commit comments

Comments
 (0)