mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-19 23:21:09 +00:00
chore: bump test/dev dependencies (#18672)
This commit is contained in:
parent
3abcbd3a77
commit
54f0638551
@ -41,7 +41,7 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
|
|
||||||
transformIgnorePatterns: [
|
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'
|
'packages/utils/test/serialize\\.test\\.input\\.js'
|
||||||
],
|
],
|
||||||
|
|
||||||
|
20
package.json
20
package.json
@ -36,8 +36,8 @@
|
|||||||
"@babel/core": "^7.20.12",
|
"@babel/core": "^7.20.12",
|
||||||
"@babel/preset-env": "^7.20.2",
|
"@babel/preset-env": "^7.20.2",
|
||||||
"@ls-lint/ls-lint": "^1.11.2",
|
"@ls-lint/ls-lint": "^1.11.2",
|
||||||
"@nuxtjs/eslint-config": "^11.0.0",
|
"@nuxtjs/eslint-config": "^12.0.0",
|
||||||
"@nuxtjs/eslint-config-typescript": "^11.0.0",
|
"@nuxtjs/eslint-config-typescript": "^12.0.0",
|
||||||
"@rollup/plugin-alias": "^3.1.9",
|
"@rollup/plugin-alias": "^3.1.9",
|
||||||
"@rollup/plugin-commonjs": "^22.0.2",
|
"@rollup/plugin-commonjs": "^22.0.2",
|
||||||
"@rollup/plugin-json": "^4.1.0",
|
"@rollup/plugin-json": "^4.1.0",
|
||||||
@ -61,30 +61,30 @@
|
|||||||
"express": "^4.18.2",
|
"express": "^4.18.2",
|
||||||
"finalhandler": "^1.2.0",
|
"finalhandler": "^1.2.0",
|
||||||
"fs-extra": "^10.1.0",
|
"fs-extra": "^10.1.0",
|
||||||
"get-port": "^5.1.1",
|
"get-port": "^6.1.2",
|
||||||
"glob": "^7.2.3",
|
"glob": "^7.2.3",
|
||||||
"got": "^11.8.6",
|
"got": "^12.5.3",
|
||||||
"improved-yarn-audit": "^3.0.0",
|
"improved-yarn-audit": "^3.0.0",
|
||||||
"jest": "^28.1.1",
|
"jest": "^28.1.1",
|
||||||
"jest-environment-jsdom": "^29.4.1",
|
"jest-environment-jsdom": "^29.4.1",
|
||||||
"jest-util": "^29.4.1",
|
"jest-util": "^29.4.1",
|
||||||
"jiti": "^1.16.2",
|
"jiti": "^1.16.2",
|
||||||
"jsdom": "^20.0.3",
|
"jsdom": "^21.1.0",
|
||||||
"jsonfile": "^6.1.0",
|
"jsonfile": "^6.1.0",
|
||||||
"klaw-sync": "^6.0.0",
|
"klaw-sync": "^6.0.0",
|
||||||
"lerna": "^5.6.2",
|
"lerna": "^6.4.1",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"node-fetch-native": "^1.0.1",
|
"node-fetch-native": "^1.0.1",
|
||||||
"puppeteer-core": "^17.1.3",
|
"puppeteer-core": "^19.6.3",
|
||||||
"request": "^2.88.2",
|
"request": "^2.88.2",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^4.1.2",
|
||||||
"rollup": "2.79.1",
|
"rollup": "2.79.1",
|
||||||
"rollup-plugin-esbuild": "^4.10.3",
|
"rollup-plugin-esbuild": "^4.10.3",
|
||||||
"rollup-plugin-license": "^2.9.1",
|
"rollup-plugin-license": "^2.9.1",
|
||||||
"sass": "^1.58.0",
|
"sass": "^1.58.0",
|
||||||
"sass-loader": "^10.1.1",
|
"sass-loader": "^10.1.1",
|
||||||
"sort-package-json": "^1.57.0",
|
"sort-package-json": "^2.4.0",
|
||||||
"typescript": "~4.9",
|
"typescript": "~4.9.5",
|
||||||
"vue-jest": "^4.0.1"
|
"vue-jest": "^4.0.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -121,7 +121,7 @@ or disable the build step: \`generate({ build: false })\``)
|
|||||||
)
|
)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
consola.error('Could not resolve routes')
|
consola.error('Could not resolve routes')
|
||||||
throw e // eslint-disable-line no-unreachable
|
throw e
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let routes = []
|
let routes = []
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
"@types/serve-static": "1.15.0",
|
"@types/serve-static": "1.15.0",
|
||||||
"@types/terser-webpack-plugin": "4.2.1",
|
"@types/terser-webpack-plugin": "4.2.1",
|
||||||
"@types/webpack": "4.41.33",
|
"@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-dev-middleware": "5.3.0",
|
||||||
"@types/webpack-hot-middleware": "2.25.6"
|
"@types/webpack-hot-middleware": "2.25.6"
|
||||||
},
|
},
|
||||||
|
@ -61,9 +61,9 @@ options.loading = true
|
|||||||
|
|
||||||
const middlewares: Middleware[] = [
|
const middlewares: Middleware[] = [
|
||||||
'foo',
|
'foo',
|
||||||
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
||||||
() => {},
|
() => {},
|
||||||
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
||||||
async () => {}
|
async () => {}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -41,7 +41,6 @@ export const flatRoutes = function flatRoutes (router, fileName = '', routes = [
|
|||||||
return routes
|
return routes
|
||||||
}
|
}
|
||||||
|
|
||||||
// eslint-disable-next-line default-param-last
|
|
||||||
function cleanChildrenRoutes (routes, isChild = false, routeNameSplitter = '-', trailingSlash, parentRouteName) {
|
function cleanChildrenRoutes (routes, isChild = false, routeNameSplitter = '-', trailingSlash, parentRouteName) {
|
||||||
const regExpIndex = new RegExp(`${routeNameSplitter}index$`)
|
const regExpIndex = new RegExp(`${routeNameSplitter}index$`)
|
||||||
const regExpParentRouteName = new RegExp(`^${parentRouteName}${routeNameSplitter}`)
|
const regExpParentRouteName = new RegExp(`^${parentRouteName}${routeNameSplitter}`)
|
||||||
|
@ -9,15 +9,15 @@ module.exports = {
|
|||||||
fn3: foobar => {
|
fn3: foobar => {
|
||||||
return 3
|
return 3
|
||||||
},
|
},
|
||||||
// eslint-disable-next-line arrow-parens
|
|
||||||
fn4: arg1 =>
|
fn4: arg1 =>
|
||||||
2 * arg1,
|
2 * arg1,
|
||||||
fn5: () => {},
|
fn5: () => {},
|
||||||
// eslint-disable-next-line arrow-parens
|
|
||||||
fn6: foobar => (foobar ? 1 : 0)
|
fn6: foobar => (foobar ? 1 : 0)
|
||||||
},
|
},
|
||||||
normal: {
|
normal: {
|
||||||
fn: function () {} // eslint-disable-line object-shorthand
|
fn: function () {}
|
||||||
},
|
},
|
||||||
shorthand: {
|
shorthand: {
|
||||||
fn () {},
|
fn () {},
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
import klawSync from 'klaw-sync'
|
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 { getNuxtConfig } from '../../packages/config'
|
||||||
export { default as getPort } from 'get-port'
|
export { getPort }
|
||||||
|
|
||||||
export * from './nuxt'
|
export * from './nuxt'
|
||||||
export * from './resource-size'
|
export * from './resource-size'
|
||||||
|
Loading…
Reference in New Issue
Block a user