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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump test/dev dependencies #18672

Merged
merged 2 commits into from Feb 1, 2023
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
2 changes: 1 addition & 1 deletion jest.config.js
Expand Up @@ -41,7 +41,7 @@ module.exports = {
],

transformIgnorePatterns: [
'node_modules/(?!(@nuxt|nuxt|devalue))',
'node_modules/(?!(@nuxt|@sindresorhus|@szmarczak|nuxt|devalue|got|p-cancelable|cacheable-request|normalize-url|responselike|lowercase-keys|mimic-response|form-data-encoder|cacheable-lookup|get-port))',
'packages/utils/test/serialize\\.test\\.input\\.js'
],

Expand Down
20 changes: 10 additions & 10 deletions package.json
Expand Up @@ -36,8 +36,8 @@
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"@ls-lint/ls-lint": "^1.11.2",
"@nuxtjs/eslint-config": "^11.0.0",
"@nuxtjs/eslint-config-typescript": "^11.0.0",
"@nuxtjs/eslint-config": "^12.0.0",
"@nuxtjs/eslint-config-typescript": "^12.0.0",
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-json": "^4.1.0",
Expand All @@ -61,30 +61,30 @@
"express": "^4.18.2",
"finalhandler": "^1.2.0",
"fs-extra": "^10.1.0",
"get-port": "^5.1.1",
"get-port": "^6.1.2",
"glob": "^7.2.3",
"got": "^11.8.6",
"got": "^12.5.3",
"improved-yarn-audit": "^3.0.0",
"jest": "^28.1.1",
"jest-environment-jsdom": "^29.4.1",
"jest-util": "^29.4.1",
"jiti": "^1.16.2",
"jsdom": "^20.0.3",
"jsdom": "^21.1.0",
"jsonfile": "^6.1.0",
"klaw-sync": "^6.0.0",
"lerna": "^5.6.2",
"lerna": "^6.4.1",
"lodash": "^4.17.21",
"node-fetch-native": "^1.0.1",
"puppeteer-core": "^17.1.3",
"puppeteer-core": "^19.6.3",
"request": "^2.88.2",
"rimraf": "^3.0.2",
"rimraf": "^4.1.2",
"rollup": "2.79.1",
"rollup-plugin-esbuild": "^4.10.3",
"rollup-plugin-license": "^2.9.1",
"sass": "^1.58.0",
"sass-loader": "^10.1.1",
"sort-package-json": "^1.57.0",
"typescript": "~4.9",
"sort-package-json": "^2.4.0",
"typescript": "~4.9.5",
"vue-jest": "^4.0.1"
}
}
2 changes: 1 addition & 1 deletion packages/generator/src/generator.js
Expand Up @@ -121,7 +121,7 @@ or disable the build step: \`generate({ build: false })\``)
)
} catch (e) {
consola.error('Could not resolve routes')
throw e // eslint-disable-line no-unreachable
throw e
}
}
let routes = []
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Expand Up @@ -25,7 +25,7 @@
"@types/serve-static": "1.15.0",
"@types/terser-webpack-plugin": "4.2.1",
"@types/webpack": "4.41.33",
"@types/webpack-bundle-analyzer": "4.4.1",
"@types/webpack-bundle-analyzer": "4.6.0",
"@types/webpack-dev-middleware": "5.3.0",
"@types/webpack-hot-middleware": "2.25.6"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/types/test/vue.ts
Expand Up @@ -61,9 +61,9 @@ options.loading = true

const middlewares: Middleware[] = [
'foo',
// eslint-disable-next-line @typescript-eslint/no-empty-function

() => {},
// eslint-disable-next-line @typescript-eslint/no-empty-function

async () => {}
]

Expand Down
1 change: 0 additions & 1 deletion packages/utils/src/route.js
Expand Up @@ -41,7 +41,6 @@ export const flatRoutes = function flatRoutes (router, fileName = '', routes = [
return routes
}

// eslint-disable-next-line default-param-last
function cleanChildrenRoutes (routes, isChild = false, routeNameSplitter = '-', trailingSlash, parentRouteName) {
const regExpIndex = new RegExp(`${routeNameSplitter}index$`)
const regExpParentRouteName = new RegExp(`^${parentRouteName}${routeNameSplitter}`)
Expand Down
6 changes: 3 additions & 3 deletions packages/utils/test/serialize.test.input.js
Expand Up @@ -9,15 +9,15 @@ module.exports = {
fn3: foobar => {
return 3
},
// eslint-disable-next-line arrow-parens

fn4: arg1 =>
2 * arg1,
fn5: () => {},
// eslint-disable-next-line arrow-parens

fn6: foobar => (foobar ? 1 : 0)
},
normal: {
fn: function () {} // eslint-disable-line object-shorthand
fn: function () {}
},
shorthand: {
fn () {},
Expand Down
7 changes: 5 additions & 2 deletions test/utils/index.js
@@ -1,8 +1,11 @@
import klawSync from 'klaw-sync'
import got from 'got'
import { got } from 'got'

// eslint-disable-next-line
import getPort from 'get-port'

export { getNuxtConfig } from '../../packages/config'
export { default as getPort } from 'get-port'
export { getPort }

export * from './nuxt'
export * from './resource-size'
Expand Down