Upgrade more packages - only 47 moderate vuln left!!!
This commit is contained in:
parent
294add9d16
commit
4475c642a0
9 changed files with 6425 additions and 15622 deletions
|
|
@ -3,7 +3,7 @@ module.exports = {
|
|||
coverageReporters: ["html", "text", "jest-junit", "cobertura"],
|
||||
testResultsProcessor: "jest-junit",
|
||||
preset: "@vue/cli-plugin-unit-jest",
|
||||
transform: { "^.+\\.vue$": "vue-jest" },
|
||||
transform: { "^.+\\.vue$": "@vue/vue3-jest" },
|
||||
moduleFileExtensions: ["js", "vue"],
|
||||
modulePathIgnorePatterns: ["vin-lookup"],
|
||||
collectCoverageFrom: [
|
||||
|
|
|
|||
22004
package-lock.json
generated
22004
package-lock.json
generated
File diff suppressed because it is too large
Load diff
18
package.json
18
package.json
|
|
@ -23,7 +23,7 @@
|
|||
"jquery-ui": "^1.14.0",
|
||||
"maska": "^1.5.2",
|
||||
"vee-validate": "^4.13.2",
|
||||
"vue": "^3.0.0",
|
||||
"vue": "^3.4.38",
|
||||
"vue-plugin-load-script": "^2.1.1",
|
||||
"vue-router": "^4.4.3",
|
||||
"vuex": "^4.1.0",
|
||||
|
|
@ -31,22 +31,22 @@
|
|||
"yup": "^0.32.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vue/cli-plugin-babel": "~4.5.0",
|
||||
"@vue/cli-plugin-eslint": "~4.5.0",
|
||||
"@vue/cli-plugin-unit-jest": "~4.5.0",
|
||||
"@vue/cli-service": "~4.5.0",
|
||||
"@vue/compiler-sfc": "^3.0.0",
|
||||
"@vue/cli-plugin-babel": "~5.0.8",
|
||||
"@vue/cli-plugin-eslint": "~5.0.8",
|
||||
"@vue/cli-plugin-unit-jest": "~5.0.8",
|
||||
"@vue/cli-service": "~5.0.8",
|
||||
"@vue/compiler-sfc": "^3.4.38",
|
||||
"@vue/eslint-config-prettier": "^6.0.0",
|
||||
"@vue/test-utils": "^2.4.6",
|
||||
"@vue/vue3-jest": "^27.0.0",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-plugin-prettier": "^3.4.1",
|
||||
"eslint-plugin-vue": "^7.20.0",
|
||||
"prettier": "^2.8.8",
|
||||
"sass": "^1.77.8",
|
||||
"sass-loader": "^8.0.2",
|
||||
"typescript": "~3.9.3",
|
||||
"vue-jest": "^5.0.0-0"
|
||||
"typescript": "^4.8.4"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"root": true,
|
||||
|
|
|
|||
|
|
@ -1148,7 +1148,6 @@ function setupMocks(mountOptionsMockData = {}) {
|
|||
Object.assign(defaultMountOptions, mountOptionsMockData)
|
||||
);
|
||||
|
||||
|
||||
const allMountOptions = Object.assign(defaultMountOptions, baseMountOptions);
|
||||
// Add in group name to avoid vee-validate failures
|
||||
if (!allMountOptions.propsData.groupName) {
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ describe("service-package-radio.vue", () => {
|
|||
});
|
||||
|
||||
const mockProps = {
|
||||
groupName: 'group-name',
|
||||
groupName: "group-name",
|
||||
buttonLabel: "buttonLabel test copy",
|
||||
buttonLabelAuxillaryCopy: "buttonLabelAuxillaryCopy test copy",
|
||||
buttonLabelSubCopy: "buttonLabelSubCopy test copy",
|
||||
|
|
|
|||
|
|
@ -43,13 +43,15 @@ describe("checkbox.vue", () => {
|
|||
|
||||
it("Should have correct screenreader-only text", async () => {
|
||||
// Act
|
||||
let { wrapper } = setupMocks({mountOptionsMockData: {
|
||||
propsData: {
|
||||
groupName: "checkbox-button-test",
|
||||
buttonLabel: "label text",
|
||||
value: "test value",
|
||||
let { wrapper } = setupMocks({
|
||||
mountOptionsMockData: {
|
||||
propsData: {
|
||||
groupName: "checkbox-button-test",
|
||||
buttonLabel: "label text",
|
||||
value: "test value",
|
||||
},
|
||||
},
|
||||
},});
|
||||
});
|
||||
|
||||
// Arrange
|
||||
await wrapper.setProps({
|
||||
|
|
|
|||
|
|
@ -297,7 +297,7 @@ describe("list-button.vue", () => {
|
|||
function setupMocks({ mockData }) {
|
||||
// Add in group name to avoid vee-validate failures
|
||||
if (!mockData.propsData) {
|
||||
mockData.propsData = {groupName : "group-name"};
|
||||
mockData.propsData = { groupName: "group-name" };
|
||||
} else if (!mockData.propsData.groupName) {
|
||||
mockData.propsData.groupName = "group-name";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ describe("radio.vue", () => {
|
|||
function setupMocks({ mountOptionsMockData = {} }) {
|
||||
// Add in group name to avoid vee-validate failures
|
||||
if (!mountOptionsMockData.propsData) {
|
||||
mountOptionsMockData.propsData = {groupName : "group-name"};
|
||||
mountOptionsMockData.propsData = { groupName: "group-name" };
|
||||
} else if (!mountOptionsMockData.propsData.groupName) {
|
||||
mountOptionsMockData.propsData.groupName = "group-name";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue