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.104 to 15.0.0-canary.105

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.104";
const nextVersion = "15.0.0-canary.105";
const ArchName = (0, _os.arch)();

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

@@ -83,2 +83,10 @@ import type { NextConfig, NextConfigComplete } from '../server/config-shared';

export declare function getJsPageSizeInKb(routerType: ROUTER_TYPE, page: string, distPath: string, buildManifest: BuildManifest, appBuildManifest?: AppBuildManifest, gzipSize?: boolean, cachedStats?: ComputeFilesManifestResult): Promise<[number, number]>;
export type PrerenderedRoute = {
path: string;
encoded: string;
};
export type StaticPathsResult = {
fallback: boolean | 'blocking';
prerenderedRoutes: PrerenderedRoute[];
};
export declare function buildStaticPaths({ page, getStaticPaths, staticPathsResult, configFileName, locales, defaultLocale, appDir, }: {

@@ -92,6 +100,3 @@ page: string;

appDir?: boolean;
}): Promise<Omit<GetStaticPathsResult, 'paths'> & {
paths: string[];
encodedPaths: string[];
}>;
}): Promise<StaticPathsResult>;
export type AppConfigDynamic = 'auto' | 'error' | 'force-static' | 'force-dynamic';

@@ -130,2 +135,5 @@ export type AppConfig = {

export declare function collectGenerateParams(tree: LoaderTree): Promise<GenerateParamsResults>;
export type PartialStaticPathsResult = {
[P in keyof StaticPathsResult]: StaticPathsResult[P] | undefined;
};
export declare function buildAppStaticPaths({ dir, page, distDir, configFileName, generateParams, isrFlushToDisk, cacheHandler, requestHeaders, maxMemoryCacheSize, fetchCacheKeyPrefix, ComponentMod, }: {

@@ -143,10 +151,17 @@ dir: string;

ComponentMod: AppPageModule;
}): Promise<(Omit<GetStaticPathsResult, "paths"> & {
paths: string[];
encodedPaths: string[];
}) | {
paths: undefined;
fallback: boolean | undefined;
encodedPaths: undefined;
}>;
}): Promise<PartialStaticPathsResult>;
type PageIsStaticResult = {
isRoutePPREnabled?: boolean;
isStatic?: boolean;
isAmpOnly?: boolean;
isHybridAmp?: boolean;
hasServerProps?: boolean;
hasStaticProps?: boolean;
prerenderedRoutes: PrerenderedRoute[] | undefined;
prerenderFallback: boolean | 'blocking' | undefined;
isNextImageImported?: boolean;
traceIncludes?: string[];
traceExcludes?: string[];
appConfig?: AppConfig;
};
export declare function isPageStatic({ dir, page, distDir, configFileName, runtimeEnvConfig, httpAgentOptions, locales, defaultLocale, parentId, pageRuntime, edgeInfo, pageType, originalAppPath, isrFlushToDisk, maxMemoryCacheSize, cacheHandler, pprConfig, }: {

@@ -171,17 +186,3 @@ dir: string;

pprConfig: ExperimentalPPRConfig | undefined;
}): Promise<{
isRoutePPREnabled?: boolean;
isStatic?: boolean;
isAmpOnly?: boolean;
isHybridAmp?: boolean;
hasServerProps?: boolean;
hasStaticProps?: boolean;
prerenderRoutes?: string[];
encodedPrerenderRoutes?: string[];
prerenderFallback?: boolean | 'blocking';
isNextImageImported?: boolean;
traceIncludes?: string[];
traceExcludes?: string[];
appConfig?: AppConfig;
}>;
}): Promise<PageIsStaticResult>;
export declare function hasCustomGetInitialProps({ page, distDir, runtimeEnvConfig, checkingApp, }: {

@@ -198,3 +199,3 @@ page: string;

}): Promise<ReadonlyArray<string>>;
export declare function detectConflictingPaths(combinedPages: string[], ssgPages: Set<string>, additionalSsgPaths: Map<string, string[]>): void;
export declare function detectConflictingPaths(combinedPages: string[], ssgPages: Set<string>, additionalGeneratedSSGPaths: Map<string, string[]>): void;
export declare function copyTracedFiles(dir: string, distDir: string, pageKeys: readonly string[], appPageKeys: readonly string[] | undefined, tracingRoot: string, serverConfig: NextConfig, middlewareManifest: MiddlewareManifest, hasInstrumentationHook: boolean, staticPages: Set<string>): Promise<void>;

@@ -201,0 +202,0 @@ export declare function isReservedPage(page: string): boolean;

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

});
const version = "15.0.0-canary.104";
const version = "15.0.0-canary.105";
window.next = {

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

@@ -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.104";
const version = "15.0.0-canary.105";
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.104";
const nextVersion = "15.0.0-canary.105";
const ArchName = arch();

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

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

* - next/script with `beforeInteractive` strategy
*/ const version = "15.0.0-canary.104";
*/ const version = "15.0.0-canary.105";
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.104";
export const version = "15.0.0-canary.105";
export let router;

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

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

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

@@ -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.104"
version: "15.0.0-canary.105"
});

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

@@ -508,3 +508,3 @@ import { getRequestMeta } from '../request-meta';

const nextInvoke = withCoalescedInvoke(__getStaticPaths)(`staticPaths-${pathname}`, []).then((res)=>{
const { paths: staticPaths = [], fallback } = res.value;
const { prerenderedRoutes: staticPaths = [], fallback } = res.value;
if (!isAppPath && this.nextConfig.output === 'export') {

@@ -518,3 +518,3 @@ if (fallback === 'blocking') {

const value = {
staticPaths,
staticPaths: staticPaths.map((route)=>route.path),
fallbackMode: fallback === 'blocking' ? 'blocking' : fallback === true ? 'static' : fallback

@@ -521,0 +521,0 @@ };

@@ -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.104"}`))}${process.env.TURBOPACK ? ' (turbo)' : ''}`);
Log.bootstrap(`${bold(purple(`${Log.prefixes.ready} Next.js ${"15.0.0-canary.105"}`))}${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.104"})`;
process.title = `next-server (v${"15.0.0-canary.105"})`;
let handlersReady = ()=>{};

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

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

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

@@ -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.104"
version: "15.0.0-canary.105"
});

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

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

const nextInvoke = (0, _coalescedfunction.withCoalescedInvoke)(__getStaticPaths)(`staticPaths-${pathname}`, []).then((res)=>{
const { paths: staticPaths = [], fallback } = res.value;
const { prerenderedRoutes: staticPaths = [], fallback } = res.value;
if (!isAppPath && this.nextConfig.output === 'export') {

@@ -574,3 +574,3 @@ if (fallback === 'blocking') {

const value = {
staticPaths,
staticPaths: staticPaths.map((route)=>route.path),
fallbackMode: fallback === 'blocking' ? 'blocking' : fallback === true ? 'static' : fallback

@@ -577,0 +577,0 @@ };

import type { NextConfigComplete } from '../config-shared';
import '../require-hook';
import '../node-environment';
import type { PartialStaticPathsResult } from '../../build/utils';
import type { IncrementalCache } from '../lib/incremental-cache';

@@ -29,7 +30,3 @@ type RuntimeConfig = {

cacheHandler?: string;
}): Promise<{
paths?: string[];
encodedPaths?: string[];
fallback?: boolean | 'blocking';
}>;
}): Promise<PartialStaticPathsResult>;
export {};

@@ -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.104"}`))}${process.env.TURBOPACK ? ' (turbo)' : ''}`);
_log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"15.0.0-canary.105"}`))}${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.104"})`;
process.title = `next-server (v${"15.0.0-canary.105"})`;
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.104"
nextVersion: "15.0.0-canary.105"
};

@@ -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.104" !== 'string') {
if (typeof "15.0.0-canary.105" !== 'string') {
return [];
}
const payload = {
nextVersion: "15.0.0-canary.104",
nextVersion: "15.0.0-canary.105",
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.104" !== 'string') {
if (typeof "15.0.0-canary.105" !== 'string') {
return [];

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

const payload = {
nextVersion: "15.0.0-canary.104",
nextVersion: "15.0.0-canary.105",
nodeVersion: process.version,

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

{
"name": "next",
"version": "15.0.0-canary.104",
"version": "15.0.0-canary.105",
"description": "The React Framework",

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

"dependencies": {
"@next/env": "15.0.0-canary.104",
"@next/env": "15.0.0-canary.105",
"@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.104",
"@next/swc-darwin-x64": "15.0.0-canary.104",
"@next/swc-linux-arm64-gnu": "15.0.0-canary.104",
"@next/swc-linux-arm64-musl": "15.0.0-canary.104",
"@next/swc-linux-x64-gnu": "15.0.0-canary.104",
"@next/swc-linux-x64-musl": "15.0.0-canary.104",
"@next/swc-win32-arm64-msvc": "15.0.0-canary.104",
"@next/swc-win32-ia32-msvc": "15.0.0-canary.104",
"@next/swc-win32-x64-msvc": "15.0.0-canary.104"
"@next/swc-darwin-arm64": "15.0.0-canary.105",
"@next/swc-darwin-x64": "15.0.0-canary.105",
"@next/swc-linux-arm64-gnu": "15.0.0-canary.105",
"@next/swc-linux-arm64-musl": "15.0.0-canary.105",
"@next/swc-linux-x64-gnu": "15.0.0-canary.105",
"@next/swc-linux-x64-musl": "15.0.0-canary.105",
"@next/swc-win32-arm64-msvc": "15.0.0-canary.105",
"@next/swc-win32-ia32-msvc": "15.0.0-canary.105",
"@next/swc-win32-x64-msvc": "15.0.0-canary.105"
},

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

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

@@ -180,0 +180,0 @@ "@playwright/test": "1.41.2",

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 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 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