diff --git a/docs/02-app/02-api-reference/04-functions/revalidatePath.mdx b/docs/02-app/02-api-reference/04-functions/revalidatePath.mdx index 488cb48be06a0..7d23b8d8e3d13 100644 --- a/docs/02-app/02-api-reference/04-functions/revalidatePath.mdx +++ b/docs/02-app/02-api-reference/04-functions/revalidatePath.mdx @@ -19,7 +19,7 @@ revalidatePath(path: string, type?: 'page' | 'layout'): void; ``` - `path`: Either a string representing the filesystem path associated with the data you want to revalidate (for example, `/product/[slug]/page`), or the literal route segment (for example, `/product/123`). Must be less than 1024 characters. This value is case-sensitive. -- `type`: (optional) `'page'` or `'layout'` string to change the type of path to revalidate. If `path` contains a dynamic segment (for example, `/product/[slug]/page`), this parameter is required. +- `type`: (optional) `'page'` or `'layout'` string to change the type of path to revalidate. If `path` contains a dynamic segment (for example, `/product/[slug]/page`), this parameter is required. If path refers to the literal route segment, e.g., `/product/1` for a dynamic page (e.g., `/product/[slug]/page`), you should not provide `type`. ## Returns diff --git a/lerna.json b/lerna.json index 81269bb474ccf..ffd520ef424e1 100644 --- a/lerna.json +++ b/lerna.json @@ -16,5 +16,5 @@ "registry": "https://registry.npmjs.org/" } }, - "version": "14.3.0-canary.42" + "version": "14.3.0-canary.43" } diff --git a/packages/create-next-app/package.json b/packages/create-next-app/package.json index 5a12b62bad93e..8d083436028fe 100644 --- a/packages/create-next-app/package.json +++ b/packages/create-next-app/package.json @@ -1,6 +1,6 @@ { "name": "create-next-app", - "version": "14.3.0-canary.42", + "version": "14.3.0-canary.43", "keywords": [ "react", "next", diff --git a/packages/eslint-config-next/package.json b/packages/eslint-config-next/package.json index a6a0249c8134d..c6a9a4efab314 100644 --- a/packages/eslint-config-next/package.json +++ b/packages/eslint-config-next/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-next", - "version": "14.3.0-canary.42", + "version": "14.3.0-canary.43", "description": "ESLint configuration used by Next.js.", "main": "index.js", "license": "MIT", @@ -10,7 +10,7 @@ }, "homepage": "https://nextjs.org/docs/app/building-your-application/configuring/eslint#eslint-config", "dependencies": { - "@next/eslint-plugin-next": "14.3.0-canary.42", + "@next/eslint-plugin-next": "14.3.0-canary.43", "@rushstack/eslint-patch": "^1.3.3", "@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || 7.0.0 - 7.2.0", "eslint-import-resolver-node": "^0.3.6", diff --git a/packages/eslint-plugin-next/package.json b/packages/eslint-plugin-next/package.json index d051853d85a83..d67101a1607dd 100644 --- a/packages/eslint-plugin-next/package.json +++ b/packages/eslint-plugin-next/package.json @@ -1,6 +1,6 @@ { "name": "@next/eslint-plugin-next", - "version": "14.3.0-canary.42", + "version": "14.3.0-canary.43", "description": "ESLint plugin for Next.js.", "main": "dist/index.js", "license": "MIT", @@ -15,7 +15,7 @@ "glob": "10.3.10" }, "devDependencies": { - "eslint": "7.24.0" + "eslint": "8.56.0" }, "scripts": { "build": "swc -d dist src", diff --git a/packages/eslint-plugin-next/src/rules/no-before-interactive-script-outside-document.ts b/packages/eslint-plugin-next/src/rules/no-before-interactive-script-outside-document.ts index 5f22931e6a6c1..99723cdd55dca 100644 --- a/packages/eslint-plugin-next/src/rules/no-before-interactive-script-outside-document.ts +++ b/packages/eslint-plugin-next/src/rules/no-before-interactive-script-outside-document.ts @@ -28,7 +28,7 @@ export = defineRule({ scriptImportName = node.local.name }, JSXOpeningElement(node) { - const pathname = convertToCorrectSeparator(context.getFilename()) + const pathname = convertToCorrectSeparator(context.filename) const isInAppDir = pathname.includes(`${path.sep}app${path.sep}`) @@ -57,7 +57,7 @@ export = defineRule({ return } - const document = context.getFilename().split('pages', 2)[1] + const document = context.filename.split('pages', 2)[1] if (document && path.parse(document).name.startsWith('_document')) { return } diff --git a/packages/eslint-plugin-next/src/rules/no-document-import-in-page.ts b/packages/eslint-plugin-next/src/rules/no-document-import-in-page.ts index c5317f9960d94..85736f130fff1 100644 --- a/packages/eslint-plugin-next/src/rules/no-document-import-in-page.ts +++ b/packages/eslint-plugin-next/src/rules/no-document-import-in-page.ts @@ -21,7 +21,7 @@ export = defineRule({ return } - const paths = context.getFilename().split('pages') + const paths = context.filename.split('pages') const page = paths[paths.length - 1] if ( diff --git a/packages/eslint-plugin-next/src/rules/no-duplicate-head.ts b/packages/eslint-plugin-next/src/rules/no-duplicate-head.ts index 0dcfdbe4140fa..73db9718ec683 100644 --- a/packages/eslint-plugin-next/src/rules/no-duplicate-head.ts +++ b/packages/eslint-plugin-next/src/rules/no-duplicate-head.ts @@ -13,6 +13,7 @@ export = defineRule({ schema: [], }, create(context) { + const { sourceCode } = context let documentImportName return { ImportDeclaration(node) { @@ -26,7 +27,7 @@ export = defineRule({ } }, ReturnStatement(node) { - const ancestors = context.getAncestors() + const ancestors = sourceCode.getAncestors(node) const documentClass = ancestors.find( (ancestorNode) => ancestorNode.type === 'ClassDeclaration' && @@ -39,7 +40,6 @@ export = defineRule({ return } - // @ts-expect-error - `node.argument` could be a `JSXElement` which has property `children` if ( node.argument && 'children' in node.argument && diff --git a/packages/eslint-plugin-next/src/rules/no-head-element.ts b/packages/eslint-plugin-next/src/rules/no-head-element.ts index 608993c4023d1..06dcd98b69f1f 100644 --- a/packages/eslint-plugin-next/src/rules/no-head-element.ts +++ b/packages/eslint-plugin-next/src/rules/no-head-element.ts @@ -17,7 +17,7 @@ export = defineRule({ create(context) { return { JSXOpeningElement(node) { - const paths = context.getFilename() + const paths = context.filename const isInAppDir = () => paths.includes(`app${path.sep}`) || diff --git a/packages/eslint-plugin-next/src/rules/no-head-import-in-document.ts b/packages/eslint-plugin-next/src/rules/no-head-import-in-document.ts index d87712d4fa3de..67db0c43b287f 100644 --- a/packages/eslint-plugin-next/src/rules/no-head-import-in-document.ts +++ b/packages/eslint-plugin-next/src/rules/no-head-import-in-document.ts @@ -20,7 +20,7 @@ export = defineRule({ return } - const document = context.getFilename().split('pages', 2)[1] + const document = context.filename.split('pages', 2)[1] if (!document) { return } diff --git a/packages/eslint-plugin-next/src/rules/no-page-custom-font.ts b/packages/eslint-plugin-next/src/rules/no-page-custom-font.ts index 6cbe4f7243a62..57b084f0c21b9 100644 --- a/packages/eslint-plugin-next/src/rules/no-page-custom-font.ts +++ b/packages/eslint-plugin-next/src/rules/no-page-custom-font.ts @@ -20,7 +20,8 @@ export = defineRule({ schema: [], }, create(context) { - const paths = context.getFilename().split('pages') + const { sourceCode } = context + const paths = context.filename.split('pages') const page = paths[paths.length - 1] // outside of a file within `pages`, bail @@ -71,7 +72,7 @@ export = defineRule({ return } - const ancestors = context.getAncestors() + const ancestors = sourceCode.getAncestors(node) // if `export default ` is further down within the file after the // currently traversed component, then `localDefaultExportName` will diff --git a/packages/eslint-plugin-next/src/rules/no-styled-jsx-in-document.ts b/packages/eslint-plugin-next/src/rules/no-styled-jsx-in-document.ts index 741d8ba81dcee..2e2d609742df3 100644 --- a/packages/eslint-plugin-next/src/rules/no-styled-jsx-in-document.ts +++ b/packages/eslint-plugin-next/src/rules/no-styled-jsx-in-document.ts @@ -16,7 +16,7 @@ export = defineRule({ create(context) { return { JSXOpeningElement(node) { - const document = context.getFilename().split('pages', 2)[1] + const document = context.filename.split('pages', 2)[1] if (!document) { return } diff --git a/packages/eslint-plugin-next/src/rules/no-typos.ts b/packages/eslint-plugin-next/src/rules/no-typos.ts index 030d5a186ba6a..8975bbbe9ca31 100644 --- a/packages/eslint-plugin-next/src/rules/no-typos.ts +++ b/packages/eslint-plugin-next/src/rules/no-typos.ts @@ -73,7 +73,7 @@ export = defineRule({ } return { ExportNamedDeclaration(node) { - const page = context.getFilename().split('pages', 2)[1] + const page = context.filename.split('pages', 2)[1] if (!page || path.parse(page).dir.startsWith('/api')) { return } diff --git a/packages/eslint-plugin-next/src/utils/get-root-dirs.ts b/packages/eslint-plugin-next/src/utils/get-root-dirs.ts index 83ab1aa19cc90..661bc7b4a689b 100644 --- a/packages/eslint-plugin-next/src/utils/get-root-dirs.ts +++ b/packages/eslint-plugin-next/src/utils/get-root-dirs.ts @@ -14,7 +14,7 @@ const processRootDir = (rootDir: string): string[] => { * Gets one or more Root, returns an array of root directories. */ export const getRootDirs = (context: Rule.RuleContext) => { - let rootDirs = [context.getCwd()] + let rootDirs = [context.cwd] const nextSettings: { rootDir?: string | string[] } = context.settings.next || {} diff --git a/packages/font/package.json b/packages/font/package.json index 6558b65ff3741..1cd3ac97b1b7c 100644 --- a/packages/font/package.json +++ b/packages/font/package.json @@ -1,6 +1,6 @@ { "name": "@next/font", - "version": "14.3.0-canary.42", + "version": "14.3.0-canary.43", "repository": { "url": "vercel/next.js", "directory": "packages/font" diff --git a/packages/next-bundle-analyzer/package.json b/packages/next-bundle-analyzer/package.json index 2809cceae78a7..4f56c3728fd9f 100644 --- a/packages/next-bundle-analyzer/package.json +++ b/packages/next-bundle-analyzer/package.json @@ -1,6 +1,6 @@ { "name": "@next/bundle-analyzer", - "version": "14.3.0-canary.42", + "version": "14.3.0-canary.43", "main": "index.js", "types": "index.d.ts", "license": "MIT", diff --git a/packages/next-codemod/package.json b/packages/next-codemod/package.json index 2f804b5212044..c9e2a12f7cb51 100644 --- a/packages/next-codemod/package.json +++ b/packages/next-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@next/codemod", - "version": "14.3.0-canary.42", + "version": "14.3.0-canary.43", "license": "MIT", "repository": { "type": "git", diff --git a/packages/next-env/package.json b/packages/next-env/package.json index 8f4f222d020eb..1067e5b271fda 100644 --- a/packages/next-env/package.json +++ b/packages/next-env/package.json @@ -1,6 +1,6 @@ { "name": "@next/env", - "version": "14.3.0-canary.42", + "version": "14.3.0-canary.43", "keywords": [ "react", "next", diff --git a/packages/next-mdx/package.json b/packages/next-mdx/package.json index c025d4dc66bb9..7407c26ee2ae8 100644 --- a/packages/next-mdx/package.json +++ b/packages/next-mdx/package.json @@ -1,6 +1,6 @@ { "name": "@next/mdx", - "version": "14.3.0-canary.42", + "version": "14.3.0-canary.43", "main": "index.js", "license": "MIT", "repository": { diff --git a/packages/next-plugin-storybook/package.json b/packages/next-plugin-storybook/package.json index ab79c229b1f9d..e362313a2f0f7 100644 --- a/packages/next-plugin-storybook/package.json +++ b/packages/next-plugin-storybook/package.json @@ -1,6 +1,6 @@ { "name": "@next/plugin-storybook", - "version": "14.3.0-canary.42", + "version": "14.3.0-canary.43", "repository": { "url": "vercel/next.js", "directory": "packages/next-plugin-storybook" diff --git a/packages/next-polyfill-module/package.json b/packages/next-polyfill-module/package.json index 1c5d5f612aa1b..ea7692ee3e262 100644 --- a/packages/next-polyfill-module/package.json +++ b/packages/next-polyfill-module/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-module", - "version": "14.3.0-canary.42", + "version": "14.3.0-canary.43", "description": "A standard library polyfill for ES Modules supporting browsers (Edge 16+, Firefox 60+, Chrome 61+, Safari 10.1+)", "main": "dist/polyfill-module.js", "license": "MIT", diff --git a/packages/next-polyfill-nomodule/package.json b/packages/next-polyfill-nomodule/package.json index 4f197dacd14d0..c2e7b9adb9e5d 100644 --- a/packages/next-polyfill-nomodule/package.json +++ b/packages/next-polyfill-nomodule/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-nomodule", - "version": "14.3.0-canary.42", + "version": "14.3.0-canary.43", "description": "A polyfill for non-dead, nomodule browsers.", "main": "dist/polyfill-nomodule.js", "license": "MIT", diff --git a/packages/next-swc/crates/next-core/src/next_client/context.rs b/packages/next-swc/crates/next-core/src/next_client/context.rs index b35466ecb3045..475c5e315f7d7 100644 --- a/packages/next-swc/crates/next-core/src/next_client/context.rs +++ b/packages/next-swc/crates/next-core/src/next_client/context.rs @@ -178,6 +178,16 @@ pub async fn get_client_resolve_options_context( .cell()) } +fn internal_assets_conditions() -> ContextCondition { + ContextCondition::any(vec![ + ContextCondition::InPath(next_js_fs().root()), + ContextCondition::InPath( + turbopack_binding::turbopack::ecmascript_runtime::embed_fs().root(), + ), + ContextCondition::InPath(turbopack_binding::turbopack::node::embed_js::embed_fs().root()), + ]) +} + #[turbo_tasks::function] pub async fn get_client_module_options_context( project_path: Vc, @@ -288,10 +298,8 @@ pub async fn get_client_module_options_context( foreign_code_context_condition(next_config, project_path).await?, foreign_codes_options_context.cell(), ), - // If the module is an internal asset (i.e overlay, fallback) coming from the embedded - // FS, don't apply user defined transforms. ( - ContextCondition::InPath(next_js_fs().root()), + internal_assets_conditions(), ModuleOptionsContext { enable_typescript_transform: Some(TypescriptTransformOptions::default().cell()), enable_jsx: Some(JsxTransformOptions::default().cell()), diff --git a/packages/next-swc/crates/next-core/src/next_server/context.rs b/packages/next-swc/crates/next-core/src/next_server/context.rs index f516d163bde41..cd15190ba7d61 100644 --- a/packages/next-swc/crates/next-core/src/next_server/context.rs +++ b/packages/next-swc/crates/next-core/src/next_server/context.rs @@ -312,6 +312,23 @@ pub async fn get_server_compile_time_info( .cell() } +/// Determins if the module is an internal asset (i.e overlay, fallback) coming +/// from the embedded FS, don't apply user defined transforms. +/// +/// [TODO] turbopack specific embed fs should be handled by internals of +/// turbopack itself and user config should not try to leak this. However, +/// currently we apply few transform options subject to next.js's configuration +/// even if it's embedded assets. +fn internal_assets_conditions() -> ContextCondition { + ContextCondition::any(vec![ + ContextCondition::InPath(next_js_fs().root()), + ContextCondition::InPath( + turbopack_binding::turbopack::ecmascript_runtime::embed_fs().root(), + ), + ContextCondition::InPath(turbopack_binding::turbopack::node::embed_js::embed_fs().root()), + ]) +} + #[turbo_tasks::function] pub async fn get_server_module_options_context( project_path: Vc, @@ -485,7 +502,7 @@ pub async fn get_server_module_options_context( foreign_code_module_options_context.cell(), ), ( - ContextCondition::InPath(next_js_fs().root()), + internal_assets_conditions(), internal_module_options_context.cell(), ), ], @@ -537,7 +554,7 @@ pub async fn get_server_module_options_context( foreign_code_module_options_context.cell(), ), ( - ContextCondition::InPath(next_js_fs().root()), + internal_assets_conditions(), internal_module_options_context.cell(), ), ], @@ -604,7 +621,7 @@ pub async fn get_server_module_options_context( foreign_code_module_options_context.cell(), ), ( - ContextCondition::InPath(next_js_fs().root()), + internal_assets_conditions(), internal_module_options_context.cell(), ), ], @@ -667,7 +684,7 @@ pub async fn get_server_module_options_context( foreign_code_module_options_context.cell(), ), ( - ContextCondition::InPath(next_js_fs().root()), + internal_assets_conditions(), internal_module_options_context.cell(), ), ], @@ -714,7 +731,7 @@ pub async fn get_server_module_options_context( foreign_code_module_options_context.cell(), ), ( - ContextCondition::InPath(next_js_fs().root()), + internal_assets_conditions(), internal_module_options_context.cell(), ), ], diff --git a/packages/next-swc/package.json b/packages/next-swc/package.json index f5fc94535cf8a..42753dcc7a5a8 100644 --- a/packages/next-swc/package.json +++ b/packages/next-swc/package.json @@ -1,6 +1,6 @@ { "name": "@next/swc", - "version": "14.3.0-canary.42", + "version": "14.3.0-canary.43", "private": true, "scripts": { "clean": "node ../../scripts/rm.mjs native", diff --git a/packages/next/package.json b/packages/next/package.json index fb0109c45bf78..35a40b27feb21 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "next", - "version": "14.3.0-canary.42", + "version": "14.3.0-canary.43", "description": "The React Framework", "main": "./dist/server/next.js", "license": "MIT", @@ -93,7 +93,7 @@ ] }, "dependencies": { - "@next/env": "14.3.0-canary.42", + "@next/env": "14.3.0-canary.43", "@swc/helpers": "0.5.11", "busboy": "1.6.0", "caniuse-lite": "^1.0.30001579", @@ -153,10 +153,10 @@ "@jest/types": "29.5.0", "@mswjs/interceptors": "0.23.0", "@napi-rs/triples": "1.2.0", - "@next/polyfill-module": "14.3.0-canary.42", - "@next/polyfill-nomodule": "14.3.0-canary.42", - "@next/react-refresh-utils": "14.3.0-canary.42", - "@next/swc": "14.3.0-canary.42", + "@next/polyfill-module": "14.3.0-canary.43", + "@next/polyfill-nomodule": "14.3.0-canary.43", + "@next/react-refresh-utils": "14.3.0-canary.43", + "@next/swc": "14.3.0-canary.43", "@opentelemetry/api": "1.6.0", "@playwright/test": "1.41.2", "@taskr/clear": "1.1.0", diff --git a/packages/next/src/server/lib/incremental-cache/file-system-cache.ts b/packages/next/src/server/lib/incremental-cache/file-system-cache.ts index fa28e86b45f11..cca5da3030263 100644 --- a/packages/next/src/server/lib/incremental-cache/file-system-cache.ts +++ b/packages/next/src/server/lib/incremental-cache/file-system-cache.ts @@ -55,31 +55,33 @@ export default class FileSystemCache implements CacheHandler { this.isAppPPREnabled = ctx.isAppPPREnabled this.debug = !!process.env.NEXT_PRIVATE_DEBUG_CACHE - if (ctx.maxMemoryCacheSize && !memoryCache) { - if (this.debug) { - console.log('using memory store for fetch cache') - } + if (ctx.maxMemoryCacheSize) { + if (!memoryCache) { + if (this.debug) { + console.log('using memory store for fetch cache') + } - memoryCache = new LRUCache({ - max: ctx.maxMemoryCacheSize, - length({ value }) { - if (!value) { - return 25 - } else if (value.kind === 'REDIRECT') { - return JSON.stringify(value.props).length - } else if (value.kind === 'IMAGE') { - throw new Error('invariant image should not be incremental-cache') - } else if (value.kind === 'FETCH') { - return JSON.stringify(value.data || '').length - } else if (value.kind === 'ROUTE') { - return value.body.length - } - // rough estimate of size of cache value - return ( - value.html.length + (JSON.stringify(value.pageData)?.length || 0) - ) - }, - }) + memoryCache = new LRUCache({ + max: ctx.maxMemoryCacheSize, + length({ value }) { + if (!value) { + return 25 + } else if (value.kind === 'REDIRECT') { + return JSON.stringify(value.props).length + } else if (value.kind === 'IMAGE') { + throw new Error('invariant image should not be incremental-cache') + } else if (value.kind === 'FETCH') { + return JSON.stringify(value.data || '').length + } else if (value.kind === 'ROUTE') { + return value.body.length + } + // rough estimate of size of cache value + return ( + value.html.length + (JSON.stringify(value.pageData)?.length || 0) + ) + }, + }) + } } else if (this.debug) { console.log('not using memory store for fetch cache') } diff --git a/packages/react-refresh-utils/package.json b/packages/react-refresh-utils/package.json index ce45c07a95cb6..4cc254e47e913 100644 --- a/packages/react-refresh-utils/package.json +++ b/packages/react-refresh-utils/package.json @@ -1,6 +1,6 @@ { "name": "@next/react-refresh-utils", - "version": "14.3.0-canary.42", + "version": "14.3.0-canary.43", "description": "An experimental package providing utilities for React Refresh.", "repository": { "url": "vercel/next.js", diff --git a/packages/third-parties/package.json b/packages/third-parties/package.json index 469fb45700ef9..bccd1fe4d7043 100644 --- a/packages/third-parties/package.json +++ b/packages/third-parties/package.json @@ -1,6 +1,6 @@ { "name": "@next/third-parties", - "version": "14.3.0-canary.42", + "version": "14.3.0-canary.43", "repository": { "url": "vercel/next.js", "directory": "packages/third-parties" @@ -26,7 +26,7 @@ "third-party-capital": "1.0.20" }, "devDependencies": { - "next": "14.3.0-canary.42", + "next": "14.3.0-canary.43", "outdent": "0.8.0", "prettier": "2.5.1" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 10cad3073f2b9..c1c36883f2a2a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -744,7 +744,7 @@ importers: packages/eslint-config-next: dependencies: '@next/eslint-plugin-next': - specifier: 14.3.0-canary.42 + specifier: 14.3.0-canary.43 version: link:../eslint-plugin-next '@rushstack/eslint-patch': specifier: ^1.3.3 @@ -784,8 +784,8 @@ importers: version: 10.3.10 devDependencies: eslint: - specifier: 7.24.0 - version: 7.24.0 + specifier: 8.56.0 + version: 8.56.0 packages/font: dependencies: @@ -806,7 +806,7 @@ importers: packages/next: dependencies: '@next/env': - specifier: 14.3.0-canary.42 + specifier: 14.3.0-canary.43 version: link:../next-env '@swc/helpers': specifier: 0.5.11 @@ -931,16 +931,16 @@ importers: specifier: 1.2.0 version: 1.2.0 '@next/polyfill-module': - specifier: 14.3.0-canary.42 + specifier: 14.3.0-canary.43 version: link:../next-polyfill-module '@next/polyfill-nomodule': - specifier: 14.3.0-canary.42 + specifier: 14.3.0-canary.43 version: link:../next-polyfill-nomodule '@next/react-refresh-utils': - specifier: 14.3.0-canary.42 + specifier: 14.3.0-canary.43 version: link:../react-refresh-utils '@next/swc': - specifier: 14.3.0-canary.42 + specifier: 14.3.0-canary.43 version: link:../next-swc '@opentelemetry/api': specifier: 1.6.0 @@ -1555,7 +1555,7 @@ importers: version: 1.0.20 devDependencies: next: - specifier: 14.3.0-canary.42 + specifier: 14.3.0-canary.43 version: link:../next outdent: specifier: 0.8.0 @@ -12172,34 +12172,34 @@ packages: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 - debug: 4.3.4 + debug: 4.1.1 doctrine: 3.0.0 enquirer: 2.3.6 eslint-scope: 5.1.1 eslint-utils: 2.1.0 eslint-visitor-keys: 2.1.0 espree: 7.3.1 - esquery: 1.4.0 + esquery: 1.5.0 esutils: 2.0.3 file-entry-cache: 6.0.1 functional-red-black-tree: 1.0.1 glob-parent: 5.1.2 - globals: 13.12.0 + globals: 13.19.0 ignore: 4.0.6 - import-fresh: 3.2.1 + import-fresh: 3.3.0 imurmurhash: 0.1.4 is-glob: 4.0.3 js-yaml: 3.14.1 json-stable-stringify-without-jsonify: 1.0.1 levn: 0.4.1 lodash: 4.17.21 - minimatch: 3.1.2 + minimatch: 3.0.4 natural-compare: 1.4.0 - optionator: 0.9.1 + optionator: 0.9.3 progress: 2.0.3 regexpp: 3.1.0 semver: 7.3.7 - strip-ansi: 6.0.1 + strip-ansi: 6.0.0 strip-json-comments: 3.1.1 table: 6.8.0 text-table: 0.2.0 @@ -12340,6 +12340,7 @@ packages: engines: {node: '>=0.10'} dependencies: estraverse: 5.3.0 + dev: false /esquery@1.5.0: resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==} @@ -13567,13 +13568,6 @@ packages: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} engines: {node: '>=4'} - /globals@13.12.0: - resolution: {integrity: sha512-uS8X6lSKN2JumVoXrbUz+uG4BYG+eiawqm3qFcT7ammfbUHeCBoJMlHcec/S3krSk73/AE/f0szYFmgAA3kYZg==} - engines: {node: '>=8'} - dependencies: - type-fest: 0.20.2 - dev: true - /globals@13.19.0: resolution: {integrity: sha512-dkQ957uSRWHw7CFXLUtUHQI3g3aWApYhfNR2O6jn/907riyTYKVBmxYVROkBcY614FSSeSJh7Xm7SrUWCxvJMQ==} engines: {node: '>=8'} @@ -14355,14 +14349,6 @@ packages: resolve-from: 3.0.0 dev: true - /import-fresh@3.2.1: - resolution: {integrity: sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==} - engines: {node: '>=6'} - dependencies: - parent-module: 1.0.1 - resolve-from: 4.0.0 - dev: true - /import-fresh@3.3.0: resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} engines: {node: '>=6'} @@ -18911,6 +18897,7 @@ packages: prelude-ls: 1.2.1 type-check: 0.4.0 word-wrap: 1.2.3 + dev: false /optionator@0.9.3: resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==}