Socket
Socket
Sign inDemoInstall

@nuxt/server

Package Overview
Dependencies
Maintainers
3
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxt/server - npm Package Compare versions

Comparing version 2.6.1 to 2.6.2

12

dist/server.js
/*!
* @nuxt/server v2.6.1 (c) 2016-2019
* @nuxt/server v2.6.2 (c) 2016-2019

@@ -182,3 +182,3 @@ * - All the amazing contributors

if (options.render.csp) {
if (options.render.csp && cspScriptSrcHashes) {
const { allowedSources, policies } = options.render.csp;

@@ -382,3 +382,3 @@ const cspHeader = options.render.csp.reportOnly ? 'Content-Security-Policy-Report-Only' : 'Content-Security-Policy';

class Listener {
constructor({ port, host, socket, https, app, dev }) {
constructor({ port, host, socket, https, app, dev, baseURL }) {
// Options

@@ -391,2 +391,3 @@ this.port = port;

this.dev = dev;
this.baseURL = baseURL;

@@ -424,3 +425,3 @@ // After listen

this.port = address.port;
this.url = `http${this.https ? 's' : ''}://${this.host}:${this.port}`;
this.url = `http${this.https ? 's' : ''}://${this.host}:${this.port}${this.baseURL}`;
return

@@ -840,3 +841,4 @@ }

app: this.app,
dev: this.options.dev
dev: this.options.dev,
baseURL: this.options.router.base
});

@@ -843,0 +845,0 @@

{
"name": "@nuxt/server",
"version": "2.6.1",
"version": "2.6.2",
"repository": "nuxt/nuxt.js",

@@ -11,4 +11,4 @@ "license": "MIT",

"dependencies": {
"@nuxt/config": "2.6.1",
"@nuxt/utils": "2.6.1",
"@nuxt/config": "2.6.2",
"@nuxt/utils": "2.6.2",
"@nuxtjs/youch": "^4.2.3",

@@ -18,3 +18,3 @@ "chalk": "^2.4.2",

"connect": "^3.6.6",
"consola": "^2.5.8",
"consola": "^2.6.0",
"etag": "^1.8.1",

@@ -21,0 +21,0 @@ "fresh": "^0.5.2",

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