@djangocfg/nextjs 2.1.408 → 2.1.411

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import * as next_dist_client_components_redirect_error from 'next/dist/client/components/redirect-error';
2
2
  import * as next_dist_shared_lib_app_router_context_shared_runtime from 'next/dist/shared/lib/app-router-context.shared-runtime';
3
3
  import * as next_intl_navigation from 'next-intl/navigation';
4
- import * as url from 'url';
4
+ import * as node_url from 'node:url';
5
5
  import * as next_intl from 'next-intl';
6
6
  import * as react from 'react';
7
7
  import { createRouting } from './routing.mjs';
@@ -31,7 +31,7 @@ declare function createNavigation(routingConfig?: ReturnType<typeof createRoutin
31
31
  ref?: react.Ref<HTMLAnchorElement> | undefined;
32
32
  prefix?: string | undefined | undefined;
33
33
  key?: react.Key | null | undefined;
34
- as?: (string | url.UrlObject) | undefined;
34
+ as?: (string | node_url.UrlObject) | undefined;
35
35
  scroll?: boolean | undefined;
36
36
  shallow?: boolean | undefined;
37
37
  passHref?: boolean | undefined;
@@ -150,7 +150,7 @@ declare function createNavigation(routingConfig?: ReturnType<typeof createRoutin
150
150
  "aria-valuemin"?: number | undefined | undefined;
151
151
  "aria-valuenow"?: number | undefined | undefined;
152
152
  "aria-valuetext"?: string | undefined | undefined;
153
- href: string | url.UrlObject;
153
+ href: string | node_url.UrlObject;
154
154
  children?: react.ReactNode;
155
155
  dangerouslySetInnerHTML?: {
156
156
  __html: string | TrustedHTML;
@@ -389,7 +389,7 @@ declare function createNavigationFromConfig(config: Partial<I18nConfig>): {
389
389
  ref?: react.Ref<HTMLAnchorElement> | undefined;
390
390
  prefix?: string | undefined | undefined;
391
391
  key?: react.Key | null | undefined;
392
- as?: (string | url.UrlObject) | undefined;
392
+ as?: (string | node_url.UrlObject) | undefined;
393
393
  scroll?: boolean | undefined;
394
394
  shallow?: boolean | undefined;
395
395
  passHref?: boolean | undefined;
@@ -508,7 +508,7 @@ declare function createNavigationFromConfig(config: Partial<I18nConfig>): {
508
508
  "aria-valuemin"?: number | undefined | undefined;
509
509
  "aria-valuenow"?: number | undefined | undefined;
510
510
  "aria-valuetext"?: string | undefined | undefined;
511
- href: string | url.UrlObject;
511
+ href: string | node_url.UrlObject;
512
512
  children?: react.ReactNode;
513
513
  dangerouslySetInnerHTML?: {
514
514
  __html: string | TrustedHTML;
@@ -747,7 +747,7 @@ declare const Link: react.ForwardRefExoticComponent<Omit<{
747
747
  ref?: react.Ref<HTMLAnchorElement> | undefined;
748
748
  prefix?: string | undefined | undefined;
749
749
  key?: react.Key | null | undefined;
750
- as?: (string | url.UrlObject) | undefined;
750
+ as?: (string | node_url.UrlObject) | undefined;
751
751
  scroll?: boolean | undefined;
752
752
  shallow?: boolean | undefined;
753
753
  passHref?: boolean | undefined;
@@ -866,7 +866,7 @@ declare const Link: react.ForwardRefExoticComponent<Omit<{
866
866
  "aria-valuemin"?: number | undefined | undefined;
867
867
  "aria-valuenow"?: number | undefined | undefined;
868
868
  "aria-valuetext"?: string | undefined | undefined;
869
- href: string | url.UrlObject;
869
+ href: string | node_url.UrlObject;
870
870
  children?: react.ReactNode;
871
871
  dangerouslySetInnerHTML?: {
872
872
  __html: string | TrustedHTML;
package/dist/index.mjs CHANGED
@@ -14,7 +14,7 @@ var require_package = __commonJS({
14
14
  "package.json"(exports, module) {
15
15
  module.exports = {
16
16
  name: "@djangocfg/nextjs",
17
- version: "2.1.408",
17
+ version: "2.1.411",
18
18
  description: "Next.js server utilities: sitemap, health, OG images, contact forms, navigation, config",
19
19
  keywords: [
20
20
  "nextjs",
@@ -186,14 +186,14 @@ var require_package = __commonJS({
186
186
  "@djangocfg/ui-core": "workspace:*",
187
187
  "@djangocfg/layouts": "workspace:*",
188
188
  "@djangocfg/typescript-config": "workspace:*",
189
- "@types/node": "^24.7.2",
190
- "@types/react": "^19.1.0",
191
- "@types/react-dom": "^19.1.0",
189
+ "@types/node": "^25.2.3",
190
+ "@types/react": "^19.2.15",
191
+ "@types/react-dom": "^19.2.3",
192
192
  "@types/semver": "^7.7.1",
193
193
  "@types/webpack": "^5.28.5",
194
194
  eslint: "^9.37.0",
195
195
  "lucide-react": "^0.545.0",
196
- tsup: "^8.0.1",
196
+ tsup: "^8.5.0",
197
197
  tsx: "^4.19.2",
198
198
  typescript: "^5.9.3"
199
199
  },