Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

next-server

Package Overview
Dependencies
Maintainers
15
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 7.0.2-canary.8 to 7.0.2-canary.9

2

dist/server/next-server.js

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

if (this.nextConfig.poweredByHeader) {
res.setHeader('X-Powered-By', "Next.js 7.0.2-canary.8");
res.setHeader('X-Powered-By', "Next.js 7.0.2-canary.9");
}

@@ -425,0 +425,0 @@

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

throw new Error("The default export is not a React Component in page: \"".concat(pathname, "\""));
throw new Error("The default export is not a React Component in page: \"".concat(page, "\""));

@@ -257,7 +257,7 @@ case 19:

res: res,
pathname: pathname,
pathname: page,
query: query,
asPath: asPath
};
router = new _router.Router(pathname, query, asPath);
router = new _router.Router(page, query, asPath);
_context3.next = 26;

@@ -376,4 +376,2 @@ return (0, _utils.loadGetInitialProps)(App, {

// The rendered page
pathname: pathname,
// The requested path
query: query,

@@ -380,0 +378,0 @@ // querystring parsed / passed by the user

{
"name": "next-server",
"version": "7.0.2-canary.8",
"version": "7.0.2-canary.9",
"main": "./index.js",

@@ -54,8 +54,7 @@ "files": [

"@babel/preset-react": "7.0.0",
"@babel/runtime": "7.1.2",
"@babel/runtime-corejs2": "7.1.2",
"@taskr/clear": "1.1.0",
"@taskr/watch": "1.1.0"
"@taskr/watch": "1.1.0",
"taskr": "1.1.0"
},
"gitHead": "ee696683ca95fc441a80edb58422a490dd2fd5a6"
"gitHead": "384fbdc3aa3b1817dad414306bea74e3a59fcb6f"
}
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