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

next-server

Package Overview
Dependencies
Maintainers
24
Versions
254
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next-server - npm Package Compare versions

Comparing version 8.0.0-canary.2 to 8.0.0-canary.3

dist/lib/mitt.js

4

dist/lib/router/router.js

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

const url_1 = require("url");
const event_emitter_1 = __importDefault(require("../event-emitter"));
const mitt_1 = __importDefault(require("../mitt"));
const shallow_equals_1 = __importDefault(require("./shallow-equals"));

@@ -375,3 +375,3 @@ const utils_1 = require("../utils");

}
Router.events = new event_emitter_1.default();
Router.events = mitt_1.default();
exports.default = Router;

@@ -378,0 +378,0 @@ function toRoute(path) {

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

if (this.nextConfig.poweredByHeader) {
res.setHeader('X-Powered-By', 'Next.js ' + "8.0.0-canary.2");
res.setHeader('X-Powered-By', 'Next.js ' + "8.0.0-canary.3");
}

@@ -194,0 +194,0 @@ return this.sendHTML(req, res, html);

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

const docProps = await utils_1.loadGetInitialProps(Document, Object.assign({}, ctx, { renderPage }));
// the response might be finshed on the getInitialProps call
// the response might be finished on the getInitialProps call
if (utils_1.isResSent(res))

@@ -103,0 +103,0 @@ return null;

{
"name": "next-server",
"version": "8.0.0-canary.2",
"version": "8.0.0-canary.3",
"main": "./index.js",

@@ -55,3 +55,3 @@ "license": "MIT",

},
"gitHead": "7d080760a89a7e7de3dfc6bae5f4633361a3ead3"
"gitHead": "a9f71e449d4b38d69ddd8b4d0a30ebb944f3cbde"
}
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