Socket
Socket
Sign inDemoInstall

next

Package Overview
Dependencies
Maintainers
3
Versions
2741
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next - npm Package Compare versions

Comparing version 15.0.0-canary.94 to 15.0.0-canary.95

2

dist/build/swc/index.js

@@ -134,3 +134,3 @@ /* eslint-disable @typescript-eslint/no-use-before-define */ "use strict";

}
const nextVersion = "15.0.0-canary.94";
const nextVersion = "15.0.0-canary.95";
const ArchName = (0, _os.arch)();

@@ -137,0 +137,0 @@ const PlatformName = (0, _os.platform)();

@@ -418,2 +418,20 @@ "use strict";

}
declare module 'next/form' {
import type { FormProps as OriginalFormProps } from 'next/dist/client/form.js'
type FormRestProps = Omit<OriginalFormProps, 'action'>
export type FormProps<RouteInferType> = {
/**
* \`action\` can be either a \`string\` or a function.
* - If \`action\` is a string, it will be interpreted as a path or URL to navigate to when the form is submitted.
* The path will be prefetched when the form becomes visible.
* - If \`action\` is a function, it will be called when the form is submitted. See the [React docs](https://react.dev/reference/react-dom/components/form#props) for more.
*/
action: __next_route_internal_types__.RouteImpl<RouteInferType> | ((formData: FormData) => void)
} & FormRestProps
export default function Form<RouteType>(props: FormProps<RouteType>): JSX.Element
}
`;

@@ -420,0 +438,0 @@ }

@@ -16,3 +16,3 @@ /**

});
const version = "15.0.0-canary.94";
const version = "15.0.0-canary.95";
window.next = {

@@ -19,0 +19,0 @@ version,

@@ -5,3 +5,3 @@ import { type HTMLProps } from 'react';

type DisallowedFormProps = (typeof DISALLOWED_FORM_PROPS)[number];
export type FormProps = {
type InternalFormProps = {
/**

@@ -29,3 +29,4 @@ * `action` can be either a `string` or a function.

} & Omit<HTMLFormProps, 'action' | DisallowedFormProps>;
export type FormProps<RouteInferType = any> = InternalFormProps;
export default function Form({ replace, scroll, ref: externalRef, ...props }: FormProps): import("react/jsx-runtime").JSX.Element;
export {};

@@ -63,3 +63,3 @@ /* global location */ "use strict";

const _reporttosocket = /*#__PURE__*/ _interop_require_default._(require("./tracing/report-to-socket"));
const version = "15.0.0-canary.94";
const version = "15.0.0-canary.95";
let router;

@@ -66,0 +66,0 @@ const emitter = (0, _mitt.default)();

@@ -14,3 +14,3 @@ /* eslint-disable @typescript-eslint/no-use-before-define */ import path from 'path';

import { TurbopackInternalError } from '../../server/dev/turbopack-utils';
const nextVersion = "15.0.0-canary.94";
const nextVersion = "15.0.0-canary.95";
const ArchName = arch();

@@ -17,0 +17,0 @@ const PlatformName = platform();

@@ -403,2 +403,20 @@ import fs from 'fs/promises';

}
declare module 'next/form' {
import type { FormProps as OriginalFormProps } from 'next/dist/client/form.js'
type FormRestProps = Omit<OriginalFormProps, 'action'>
export type FormProps<RouteInferType> = {
/**
* \`action\` can be either a \`string\` or a function.
* - If \`action\` is a string, it will be interpreted as a path or URL to navigate to when the form is submitted.
* The path will be prefetched when the form becomes visible.
* - If \`action\` is a function, it will be called when the form is submitted. See the [React docs](https://react.dev/reference/react-dom/components/form#props) for more.
*/
action: __next_route_internal_types__.RouteImpl<RouteInferType> | ((formData: FormData) => void)
} & FormRestProps
export default function Form<RouteType>(props: FormProps<RouteType>): JSX.Element
}
`;

@@ -405,0 +423,0 @@ }

@@ -6,3 +6,3 @@ /**

* - next/script with `beforeInteractive` strategy
*/ const version = "15.0.0-canary.94";
*/ const version = "15.0.0-canary.95";
window.next = {

@@ -9,0 +9,0 @@ version,

@@ -28,3 +28,3 @@ /* global location */ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";

import reportToSocket from './tracing/report-to-socket';
export const version = "15.0.0-canary.94";
export const version = "15.0.0-canary.95";
export let router;

@@ -31,0 +31,0 @@ export const emitter = mitt();

@@ -1,2 +0,2 @@

import { resolveAsArrayOrUndefined } from '../generate/utils';
import { resolveArray, resolveAsArrayOrUndefined } from '../generate/utils';
import { getSocialImageFallbackMetadataBase, isStringOrURL, resolveUrl, resolveAbsoluteUrlWithPathname } from './resolve-url';

@@ -96,6 +96,3 @@ import { resolveTitle } from './resolve-title';

const value = og[key];
if (value) {
const arrayValue = resolveAsArrayOrUndefined(value);
target[key] = arrayValue;
}
target[key] = value ? resolveArray(value) : null;
}

@@ -102,0 +99,0 @@ }

@@ -46,3 +46,3 @@ import { mkdir, writeFile } from 'fs/promises';

const hotReloaderSpan = trace('hot-reloader', undefined, {
version: "15.0.0-canary.94"
version: "15.0.0-canary.95"
});

@@ -49,0 +49,0 @@ // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing

@@ -185,3 +185,3 @@ import { webpack, StringXor } from 'next/dist/compiled/webpack/webpack';

this.hotReloaderSpan = trace('hot-reloader', undefined, {
version: "15.0.0-canary.94"
version: "15.0.0-canary.95"
});

@@ -188,0 +188,0 @@ // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing

@@ -7,3 +7,3 @@ import { loadEnvConfig } from '@next/env';

export function logStartInfo({ networkUrl, appUrl, envInfo, expFeatureInfo, maxExperimentalFeatures = Infinity }) {
Log.bootstrap(`${bold(purple(`${Log.prefixes.ready} Next.js ${"15.0.0-canary.94"}`))}${process.env.TURBOPACK ? ' (turbo)' : ''}`);
Log.bootstrap(`${bold(purple(`${Log.prefixes.ready} Next.js ${"15.0.0-canary.95"}`))}${process.env.TURBOPACK ? ' (turbo)' : ''}`);
if (appUrl) {

@@ -10,0 +10,0 @@ Log.bootstrap(`- Local: ${appUrl}`);

@@ -43,3 +43,3 @@ if (performance.getEntriesByName('next-start').length === 0) {

let { port } = serverOptions;
process.title = `next-server (v${"15.0.0-canary.94"})`;
process.title = `next-server (v${"15.0.0-canary.95"})`;
let handlersReady = ()=>{};

@@ -46,0 +46,0 @@ let handlersError = ()=>{};

@@ -122,6 +122,3 @@ "use strict";

const value = og[key];
if (value) {
const arrayValue = (0, _utils.resolveAsArrayOrUndefined)(value);
target[key] = arrayValue;
}
target[key] = value ? (0, _utils.resolveArray)(value) : null;
}

@@ -128,0 +125,0 @@ }

@@ -102,3 +102,3 @@ "use strict";

const hotReloaderSpan = (0, _trace.trace)('hot-reloader', undefined, {
version: "15.0.0-canary.94"
version: "15.0.0-canary.95"
});

@@ -105,0 +105,0 @@ // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing

@@ -261,3 +261,3 @@ "use strict";

this.hotReloaderSpan = (0, _trace.trace)('hot-reloader', undefined, {
version: "15.0.0-canary.94"
version: "15.0.0-canary.95"
});

@@ -264,0 +264,0 @@ // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing

@@ -70,3 +70,3 @@ "use strict";

function logStartInfo({ networkUrl, appUrl, envInfo, expFeatureInfo, maxExperimentalFeatures = Infinity }) {
_log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"15.0.0-canary.94"}`))}${process.env.TURBOPACK ? ' (turbo)' : ''}`);
_log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"15.0.0-canary.95"}`))}${process.env.TURBOPACK ? ' (turbo)' : ''}`);
if (appUrl) {

@@ -73,0 +73,0 @@ _log.bootstrap(`- Local: ${appUrl}`);

@@ -111,3 +111,3 @@ "use strict";

let { port } = serverOptions;
process.title = `next-server (v${"15.0.0-canary.94"})`;
process.title = `next-server (v${"15.0.0-canary.95"})`;
let handlersReady = ()=>{};

@@ -114,0 +114,0 @@ let handlersError = ()=>{};

@@ -84,3 +84,3 @@ "use strict";

ciName: _ciinfo.isCI && _ciinfo.name || null,
nextVersion: "15.0.0-canary.94"
nextVersion: "15.0.0-canary.95"
};

@@ -87,0 +87,0 @@ return traits;

@@ -14,7 +14,7 @@ "use strict";

// This should be an invariant, if it fails our build tooling is broken.
if (typeof "15.0.0-canary.94" !== 'string') {
if (typeof "15.0.0-canary.95" !== 'string') {
return [];
}
const payload = {
nextVersion: "15.0.0-canary.94",
nextVersion: "15.0.0-canary.95",
nodeVersion: process.version,

@@ -21,0 +21,0 @@ cliCommand: event.cliCommand,

@@ -39,3 +39,3 @@ "use strict";

// This should be an invariant, if it fails our build tooling is broken.
if (typeof "15.0.0-canary.94" !== 'string') {
if (typeof "15.0.0-canary.95" !== 'string') {
return [];

@@ -45,3 +45,3 @@ }

const payload = {
nextVersion: "15.0.0-canary.94",
nextVersion: "15.0.0-canary.95",
nodeVersion: process.version,

@@ -48,0 +48,0 @@ cliCommand: event.cliCommand,

{
"name": "next",
"version": "15.0.0-canary.94",
"version": "15.0.0-canary.95",
"description": "The React Framework",

@@ -98,3 +98,3 @@ "main": "./dist/server/next.js",

"dependencies": {
"@next/env": "15.0.0-canary.94",
"@next/env": "15.0.0-canary.95",
"@swc/counter": "0.1.3",

@@ -132,11 +132,11 @@ "@swc/helpers": "0.5.12",

"sharp": "^0.33.4",
"@next/swc-darwin-arm64": "15.0.0-canary.94",
"@next/swc-darwin-x64": "15.0.0-canary.94",
"@next/swc-linux-arm64-gnu": "15.0.0-canary.94",
"@next/swc-linux-arm64-musl": "15.0.0-canary.94",
"@next/swc-linux-x64-gnu": "15.0.0-canary.94",
"@next/swc-linux-x64-musl": "15.0.0-canary.94",
"@next/swc-win32-arm64-msvc": "15.0.0-canary.94",
"@next/swc-win32-ia32-msvc": "15.0.0-canary.94",
"@next/swc-win32-x64-msvc": "15.0.0-canary.94"
"@next/swc-darwin-arm64": "15.0.0-canary.95",
"@next/swc-darwin-x64": "15.0.0-canary.95",
"@next/swc-linux-arm64-gnu": "15.0.0-canary.95",
"@next/swc-linux-arm64-musl": "15.0.0-canary.95",
"@next/swc-linux-x64-gnu": "15.0.0-canary.95",
"@next/swc-linux-x64-musl": "15.0.0-canary.95",
"@next/swc-win32-arm64-msvc": "15.0.0-canary.95",
"@next/swc-win32-ia32-msvc": "15.0.0-canary.95",
"@next/swc-win32-x64-msvc": "15.0.0-canary.95"
},

@@ -174,6 +174,6 @@ "devDependencies": {

"@napi-rs/triples": "1.2.0",
"@next/polyfill-module": "15.0.0-canary.94",
"@next/polyfill-nomodule": "15.0.0-canary.94",
"@next/react-refresh-utils": "15.0.0-canary.94",
"@next/swc": "15.0.0-canary.94",
"@next/polyfill-module": "15.0.0-canary.95",
"@next/polyfill-nomodule": "15.0.0-canary.95",
"@next/react-refresh-utils": "15.0.0-canary.95",
"@next/swc": "15.0.0-canary.95",
"@opentelemetry/api": "1.6.0",

@@ -223,3 +223,3 @@ "@playwright/test": "1.41.2",

"@vercel/nft": "0.27.1",
"@vercel/turbopack-ecmascript-runtime": "https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240730.2",
"@vercel/turbopack-ecmascript-runtime": "https://gitpkg-fork.vercel.sh/vercel/turbo/crates/turbopack-ecmascript-runtime/js?turbopack-240731.3",
"acorn": "8.11.3",

@@ -226,0 +226,0 @@ "amphtml-validator": "1.0.35",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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