next-multilingual
Advanced tools
Comparing version 5.0.18 to 5.0.19
import type { NextConfig } from 'next'; | ||
import type { Redirect, Rewrite } from 'next/dist/lib/load-custom-routes'; | ||
import type { WebpackConfigContext } from 'next/dist/server/config-shared'; | ||
import type Webpack from 'webpack'; | ||
import type { Configuration as WebpackConfiguration } from 'webpack'; | ||
import { NormalModuleReplacementPlugin } from 'webpack'; | ||
import { LocalesConfig } from '../'; | ||
@@ -10,7 +11,9 @@ import { MultilingualRoute } from '../helpers/server/get-multilingual-routes'; | ||
* | ||
* @see https://github.com/vercel/next.js/blob/canary/packages/next/compiled/webpack/webpack.d.ts | ||
* @see https://github.com/vercel/next.js/blob/canary/packages/next/src/compiled/webpack/webpack.d.ts | ||
* @see https://github.com/vercel/next.js/blob/60c8e5c29e4da99ac1aa458b1ba3bdf829111115/packages/next/server/config-shared.ts#L67 | ||
*/ | ||
export interface WebpackContext extends WebpackConfigContext { | ||
webpack: typeof Webpack; | ||
webpack: { | ||
NormalModuleReplacementPlugin: typeof NormalModuleReplacementPlugin; | ||
}; | ||
} | ||
@@ -107,3 +110,3 @@ /** | ||
*/ | ||
export declare const webpackConfigurationHandler: (config: Webpack.Configuration, context: WebpackContext) => Webpack.Configuration; | ||
export declare const webpackConfigurationHandler: (config: WebpackConfiguration, context: WebpackContext) => WebpackConfiguration; | ||
/** | ||
@@ -110,0 +113,0 @@ * Returns the Next.js multilingual config. |
{ | ||
"name": "next-multilingual", | ||
"version": "5.0.18", | ||
"version": "5.0.19", | ||
"description": "An opinionated end-to-end solution for Next.js applications that requires multiple languages.", | ||
@@ -116,8 +116,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@babel/core": "7.22.11", | ||
"@babel/core": "7.22.17", | ||
"colorette": "2.0.20", | ||
"intl-messageformat": "10.5.0", | ||
"messages-modules": "1.1.59", | ||
"properties-file": "3.2.19", | ||
"resolve-accept-language": "2.0.16", | ||
"intl-messageformat": "10.5.2", | ||
"messages-modules": "1.1.60", | ||
"properties-file": "3.2.20", | ||
"resolve-accept-language": "2.0.17", | ||
"watchpack": "2.4.0", | ||
@@ -127,11 +127,11 @@ "webpack": "5.88.2" | ||
"devDependencies": { | ||
"@release-it/conventional-changelog": "7.0.0", | ||
"@release-it/conventional-changelog": "7.0.1", | ||
"@types/babel__core": "7.20.1", | ||
"@types/cookie": "0.5.1", | ||
"@types/node": "20.5.8", | ||
"@types/cookie": "0.5.2", | ||
"@types/node": "20.6.0", | ||
"@types/react": "18.2.21", | ||
"@types/react-dom": "18.2.7", | ||
"@types/watchpack": "2.4.1", | ||
"@typescript-eslint/eslint-plugin": "^6.5.0", | ||
"@typescript-eslint/parser": "6.5.0", | ||
"@typescript-eslint/eslint-plugin": "^6.6.0", | ||
"@typescript-eslint/parser": "6.6.0", | ||
"cross-env": "7.0.3", | ||
@@ -142,3 +142,3 @@ "cypress": "13.1.0", | ||
"dotenv-cli": "7.3.0", | ||
"eslint": "8.48.0", | ||
"eslint": "8.49.0", | ||
"eslint-config-next": "v13.4.19", | ||
@@ -145,0 +145,0 @@ "eslint-config-prettier": "9.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
323841
5260
+ Added@babel/core@7.22.17(transitive)
+ Added@formatjs/ecma402-abstract@1.17.2(transitive)
+ Added@formatjs/icu-messageformat-parser@2.6.2(transitive)
+ Added@formatjs/icu-skeleton-parser@1.6.2(transitive)
+ Added@formatjs/intl-localematcher@0.4.2(transitive)
+ Added@types/node@22.10.1(transitive)
+ Addedelectron-to-chromium@1.5.67(transitive)
+ Addedintl-messageformat@10.5.2(transitive)
+ Addedmessages-modules@1.1.60(transitive)
+ Addedproperties-file@3.2.20(transitive)
+ Addedresolve-accept-language@2.0.17(transitive)
- Removed@babel/core@7.22.11(transitive)
- Removed@formatjs/ecma402-abstract@1.17.0(transitive)
- Removed@formatjs/icu-messageformat-parser@2.6.0(transitive)
- Removed@formatjs/icu-skeleton-parser@1.6.0(transitive)
- Removed@formatjs/intl-localematcher@0.4.0(transitive)
- Removed@types/node@22.10.0(transitive)
- Removedelectron-to-chromium@1.5.65(transitive)
- Removedintl-messageformat@10.5.0(transitive)
- Removedmessages-modules@1.1.59(transitive)
- Removedproperties-file@3.2.19(transitive)
- Removedresolve-accept-language@2.0.16(transitive)
Updated@babel/core@7.22.17
Updatedintl-messageformat@10.5.2
Updatedmessages-modules@1.1.60
Updatedproperties-file@3.2.20