New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

next

Package Overview
Dependencies
Maintainers
3
Versions
2955
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.1.4 to 15.1.5

2

dist/build/swc/index.js

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

}
const nextVersion = "15.1.4";
const nextVersion = "15.1.5";
const ArchName = (0, _os.arch)();

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

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

});
const version = "15.1.4";
const version = "15.1.5";
window.next = {

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

@@ -87,3 +87,7 @@ "use strict";

}
handleClientError(event.error, []);
// When there's an error property present, we log the error to error overlay.
// Otherwise we don't do anything as it's not logging in the console either.
if (event.error) {
handleClientError(event.error, []);
}
}

@@ -90,0 +94,0 @@ function onUnhandledRejection(ev) {

@@ -65,3 +65,3 @@ /* global location */ // imports polyfill from `@next/polyfill-module` after build.

const _isnextroutererror = require("./components/is-next-router-error");
const version = "15.1.4";
const version = "15.1.5";
let router;

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

{
"name": "@vercel/og",
"version": "0.6.4",
"LICENSE": "MLP-2.0",
"license": "MPL-2.0",
"type": "module",

@@ -6,0 +6,0 @@ "main": "./index.node.js",

@@ -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.1.4";
const nextVersion = "15.1.5";
const ArchName = arch();

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

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

* - next/script with `beforeInteractive` strategy
*/ const version = "15.1.4";
*/ const version = "15.1.5";
window.next = {

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

@@ -60,3 +60,7 @@ import { useEffect } from 'react';

}
handleClientError(event.error, []);
// When there's an error property present, we log the error to error overlay.
// Otherwise we don't do anything as it's not logging in the console either.
if (event.error) {
handleClientError(event.error, []);
}
}

@@ -63,0 +67,0 @@ function onUnhandledRejection(ev) {

@@ -30,3 +30,3 @@ /* global location */ // imports polyfill from `@next/polyfill-module` after build.

import { isNextRouterError } from './components/is-next-router-error';
export const version = "15.1.4";
export const version = "15.1.5";
export let router;

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

@@ -69,3 +69,3 @@ import { resolveArray, resolveAsArrayOrUndefined } from '../generate/utils';

// devtools.
const shouldWarn = !isUsingVercelSystemEnvironmentVariables && (process.env.NODE_ENV === 'production' || !isStaticMetadataRouteFile);
const shouldWarn = !isUsingVercelSystemEnvironmentVariables && !metadataBase && (process.env.NODE_ENV === 'production' || !isStaticMetadataRouteFile);
if (shouldWarn) {

@@ -72,0 +72,0 @@ warnOnce(`metadataBase property in metadata export is not set for resolving social open graph or twitter images, using "${fallbackMetadataBase.origin}". See https://nextjs.org/docs/app/api-reference/functions/generate-metadata#metadatabase`);

@@ -158,3 +158,3 @@ import { existsSync } from 'fs';

}
if (!((_process_env___NEXT_VERSION = "15.1.4") == null ? void 0 : _process_env___NEXT_VERSION.includes('canary')) && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_SKIP_CANARY_CHECK) {
if (!((_process_env___NEXT_VERSION = "15.1.5") == null ? void 0 : _process_env___NEXT_VERSION.includes('canary')) && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_SKIP_CANARY_CHECK) {
var _result_experimental7, _result_experimental8, _result_experimental_turbo3, _result_experimental9;

@@ -161,0 +161,0 @@ // Prevents usage of certain experimental features outside of canary

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

const hotReloaderSpan = trace('hot-reloader', undefined, {
version: "15.1.4"
version: "15.1.5"
});

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

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

this.hotReloaderSpan = trace('hot-reloader', undefined, {
version: "15.1.4"
version: "15.1.5"
});

@@ -190,0 +190,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.1.4"}`))}${process.env.TURBOPACK ? ' (Turbopack)' : ''}`);
Log.bootstrap(`${bold(purple(`${Log.prefixes.ready} Next.js ${"15.1.5"}`))}${process.env.TURBOPACK ? ' (Turbopack)' : ''}`);
if (appUrl) {

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

@@ -430,3 +430,3 @@ import { AppRenderSpan, NextNodeServerSpan } from './trace/constants';

await handleUnlock();
// We we return a new Response to the caller.
// We return a new Response to the caller.
return new Response(bodyBuffer, {

@@ -477,2 +477,5 @@ headers: res.headers,

return res;
}).catch((error)=>{
handleUnlock();
throw error;
});

@@ -479,0 +482,0 @@ };

@@ -46,3 +46,3 @@ import { getNetworkHost } from '../../lib/get-network-host';

let { port } = serverOptions;
process.title = `next-server (v${"15.1.4"})`;
process.title = `next-server (v${"15.1.5"})`;
let handlersReady = ()=>{};

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

import { NEXT_TS_ERRORS } from '../constant';
import { getInfo, getSource, getTs, getTypeChecker, isPositionInsideNode } from '../utils';
const TYPE_ANOTATION = ': Metadata';
const TYPE_ANOTATION_ASYNC = ': Promise<Metadata>';
const TYPE_ANNOTATION = ': Metadata | null';
const TYPE_ANNOTATION_ASYNC = ': Promise<Metadata | null>';
const TYPE_IMPORT = `\n\nimport type { Metadata } from 'next'`;

@@ -111,3 +111,3 @@ // Find the `export const metadata = ...` node.

if (!source) return;
// We annotate with the type in a vritual language service
// We annotate with the type in a virtual language service
const sourceText = source.getFullText();

@@ -122,3 +122,3 @@ let nodeEnd;

const isAsync = (_node_modifiers = node.modifiers) == null ? void 0 : _node_modifiers.some((m)=>m.kind === ts.SyntaxKind.AsyncKeyword);
annotation = isAsync ? TYPE_ANOTATION_ASYNC : TYPE_ANOTATION;
annotation = isAsync ? TYPE_ANNOTATION_ASYNC : TYPE_ANNOTATION;
} else {

@@ -129,3 +129,3 @@ return;

nodeEnd = node.name.getFullStart() + node.name.getFullWidth();
annotation = TYPE_ANOTATION;
annotation = TYPE_ANNOTATION;
}

@@ -171,3 +171,3 @@ const newSource = sourceText.slice(0, nodeEnd) + annotation + sourceText.slice(nodeEnd) + TYPE_IMPORT;

const ts = getTs();
// We annotate with the type in a vritual language service
// We annotate with the type in a virtual language service
const pos = updateVirtualFileWithType(fileName, node);

@@ -248,3 +248,3 @@ if (pos === undefined) return prior;

if (isTyped(node)) return [];
// We annotate with the type in a vritual language service
// We annotate with the type in a virtual language service
const pos = updateVirtualFileWithType(fileName, node, true);

@@ -258,3 +258,3 @@ if (!pos) return [];

if (isTyped(declaration)) break;
// We annotate with the type in a vritual language service
// We annotate with the type in a virtual language service
const pos = updateVirtualFileWithType(fileName, declaration);

@@ -310,3 +310,3 @@ if (!pos) break;

const isSameFile = declarationFileName === fileName;
// We annotate with the type in a vritual language service
// We annotate with the type in a virtual language service
const pos = updateVirtualFileWithType(declarationFileName, declaration);

@@ -344,3 +344,3 @@ if (!pos) break;

if (isTyped(node)) return;
// We annotate with the type in a vritual language service
// We annotate with the type in a virtual language service
const pos = updateVirtualFileWithType(fileName, node);

@@ -357,3 +357,3 @@ if (pos === undefined) return;

if (isTyped(node)) return;
// We annotate with the type in a vritual language service
// We annotate with the type in a virtual language service
const pos = updateVirtualFileWithType(fileName, node);

@@ -371,3 +371,3 @@ if (pos === undefined) return;

if (!isPositionInsideNode(position, node)) return;
// We annotate with the type in a vritual language service
// We annotate with the type in a virtual language service
const pos = updateVirtualFileWithType(fileName, node);

@@ -374,0 +374,0 @@ if (pos === undefined) return;

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

// devtools.
const shouldWarn = !isUsingVercelSystemEnvironmentVariables && (process.env.NODE_ENV === 'production' || !isStaticMetadataRouteFile);
const shouldWarn = !isUsingVercelSystemEnvironmentVariables && !metadataBase && (process.env.NODE_ENV === 'production' || !isStaticMetadataRouteFile);
if (shouldWarn) {

@@ -98,0 +98,0 @@ (0, _log.warnOnce)(`metadataBase property in metadata export is not set for resolving social open graph or twitter images, using "${fallbackMetadataBase.origin}". See https://nextjs.org/docs/app/api-reference/functions/generate-metadata#metadatabase`);

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

}
if (!((_process_env___NEXT_VERSION = "15.1.4") == null ? void 0 : _process_env___NEXT_VERSION.includes('canary')) && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_SKIP_CANARY_CHECK) {
if (!((_process_env___NEXT_VERSION = "15.1.5") == null ? void 0 : _process_env___NEXT_VERSION.includes('canary')) && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_SKIP_CANARY_CHECK) {
var _result_experimental7, _result_experimental8, _result_experimental_turbo3, _result_experimental9;

@@ -240,0 +240,0 @@ // Prevents usage of certain experimental features outside of canary

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

const hotReloaderSpan = (0, _trace.trace)('hot-reloader', undefined, {
version: "15.1.4"
version: "15.1.5"
});

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

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

this.hotReloaderSpan = (0, _trace.trace)('hot-reloader', undefined, {
version: "15.1.4"
version: "15.1.5"
});

@@ -266,0 +266,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.1.4"}`))}${process.env.TURBOPACK ? ' (Turbopack)' : ''}`);
_log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"15.1.5"}`))}${process.env.TURBOPACK ? ' (Turbopack)' : ''}`);
if (appUrl) {

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

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

await handleUnlock();
// We we return a new Response to the caller.
// We return a new Response to the caller.
return new Response(bodyBuffer, {

@@ -511,2 +511,5 @@ headers: res.headers,

return res;
}).catch((error)=>{
handleUnlock();
throw error;
});

@@ -513,0 +516,0 @@ };

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

let { port } = serverOptions;
process.title = `next-server (v${"15.1.4"})`;
process.title = `next-server (v${"15.1.5"})`;
let handlersReady = ()=>{};

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

@@ -13,4 +13,4 @@ "use strict";

const _utils = require("../utils");
const TYPE_ANOTATION = ': Metadata';
const TYPE_ANOTATION_ASYNC = ': Promise<Metadata>';
const TYPE_ANNOTATION = ': Metadata | null';
const TYPE_ANNOTATION_ASYNC = ': Promise<Metadata | null>';
const TYPE_IMPORT = `\n\nimport type { Metadata } from 'next'`;

@@ -122,3 +122,3 @@ // Find the `export const metadata = ...` node.

if (!source) return;
// We annotate with the type in a vritual language service
// We annotate with the type in a virtual language service
const sourceText = source.getFullText();

@@ -133,3 +133,3 @@ let nodeEnd;

const isAsync = (_node_modifiers = node.modifiers) == null ? void 0 : _node_modifiers.some((m)=>m.kind === ts.SyntaxKind.AsyncKeyword);
annotation = isAsync ? TYPE_ANOTATION_ASYNC : TYPE_ANOTATION;
annotation = isAsync ? TYPE_ANNOTATION_ASYNC : TYPE_ANNOTATION;
} else {

@@ -140,3 +140,3 @@ return;

nodeEnd = node.name.getFullStart() + node.name.getFullWidth();
annotation = TYPE_ANOTATION;
annotation = TYPE_ANNOTATION;
}

@@ -182,3 +182,3 @@ const newSource = sourceText.slice(0, nodeEnd) + annotation + sourceText.slice(nodeEnd) + TYPE_IMPORT;

const ts = (0, _utils.getTs)();
// We annotate with the type in a vritual language service
// We annotate with the type in a virtual language service
const pos = updateVirtualFileWithType(fileName, node);

@@ -259,3 +259,3 @@ if (pos === undefined) return prior;

if (isTyped(node)) return [];
// We annotate with the type in a vritual language service
// We annotate with the type in a virtual language service
const pos = updateVirtualFileWithType(fileName, node, true);

@@ -269,3 +269,3 @@ if (!pos) return [];

if (isTyped(declaration)) break;
// We annotate with the type in a vritual language service
// We annotate with the type in a virtual language service
const pos = updateVirtualFileWithType(fileName, declaration);

@@ -321,3 +321,3 @@ if (!pos) break;

const isSameFile = declarationFileName === fileName;
// We annotate with the type in a vritual language service
// We annotate with the type in a virtual language service
const pos = updateVirtualFileWithType(declarationFileName, declaration);

@@ -355,3 +355,3 @@ if (!pos) break;

if (isTyped(node)) return;
// We annotate with the type in a vritual language service
// We annotate with the type in a virtual language service
const pos = updateVirtualFileWithType(fileName, node);

@@ -368,3 +368,3 @@ if (pos === undefined) return;

if (isTyped(node)) return;
// We annotate with the type in a vritual language service
// We annotate with the type in a virtual language service
const pos = updateVirtualFileWithType(fileName, node);

@@ -382,3 +382,3 @@ if (pos === undefined) return;

if (!(0, _utils.isPositionInsideNode)(position, node)) return;
// We annotate with the type in a vritual language service
// We annotate with the type in a virtual language service
const pos = updateVirtualFileWithType(fileName, node);

@@ -385,0 +385,0 @@ if (pos === undefined) return;

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

ciName: _ciinfo.isCI && _ciinfo.name || null,
nextVersion: "15.1.4"
nextVersion: "15.1.5"
};

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

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

const payload = {
nextVersion: "15.1.4",
nextVersion: "15.1.5",
nodeVersion: process.version,

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

{
"name": "next",
"version": "15.1.4",
"version": "15.1.5",
"description": "The React Framework",

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

"dependencies": {
"@next/env": "15.1.4",
"@next/env": "15.1.5",
"@swc/counter": "0.1.3",

@@ -133,10 +133,10 @@ "@swc/helpers": "0.5.15",

"sharp": "^0.33.5",
"@next/swc-darwin-arm64": "15.1.4",
"@next/swc-darwin-x64": "15.1.4",
"@next/swc-linux-arm64-gnu": "15.1.4",
"@next/swc-linux-arm64-musl": "15.1.4",
"@next/swc-linux-x64-gnu": "15.1.4",
"@next/swc-linux-x64-musl": "15.1.4",
"@next/swc-win32-arm64-msvc": "15.1.4",
"@next/swc-win32-x64-msvc": "15.1.4"
"@next/swc-darwin-arm64": "15.1.5",
"@next/swc-darwin-x64": "15.1.5",
"@next/swc-linux-arm64-gnu": "15.1.5",
"@next/swc-linux-arm64-musl": "15.1.5",
"@next/swc-linux-x64-gnu": "15.1.5",
"@next/swc-linux-x64-musl": "15.1.5",
"@next/swc-win32-arm64-msvc": "15.1.5",
"@next/swc-win32-x64-msvc": "15.1.5"
},

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

"@napi-rs/triples": "1.2.0",
"@next/font": "15.1.4",
"@next/polyfill-module": "15.1.4",
"@next/polyfill-nomodule": "15.1.4",
"@next/react-refresh-utils": "15.1.4",
"@next/swc": "15.1.4",
"@next/font": "15.1.5",
"@next/polyfill-module": "15.1.5",
"@next/polyfill-nomodule": "15.1.5",
"@next/react-refresh-utils": "15.1.5",
"@next/swc": "15.1.5",
"@opentelemetry/api": "1.6.0",

@@ -181,0 +181,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 too big to display

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

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