Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

next-multilingual

Package Overview
Dependencies
Maintainers
1
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next-multilingual - npm Package Compare versions

Comparing version 5.0.18 to 5.0.19

11

lib/config/index.d.ts
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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc