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

@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.10.2 to 2.11.0

8

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

@@ -254,5 +254,5 @@ * - All the amazing contributors

const joinedHashes = cspScriptSrcHashes.join(' ');
const baseCspStr = `script-src 'self'${isDev ? ` 'unsafe-eval'` : ''} ${joinedHashes}`;
const baseCspStr = `script-src 'self'${isDev ? ' \'unsafe-eval\'' : ''} ${joinedHashes}`;
if (Array.isArray(allowedSources)) {
if (Array.isArray(allowedSources) && allowedSources.length) {
return `${baseCspStr} ${allowedSources.join(' ')}`

@@ -278,3 +278,3 @@ }

// Self is always needed for inline-scripts, so add it, no matter if the user specified script-src himself.
const hashAndPolicyList = cspScriptSrcHashes.concat(`'self'`, additionalPolicies);
const hashAndPolicyList = cspScriptSrcHashes.concat('\'self\'', additionalPolicies);

@@ -281,0 +281,0 @@ return { ...policies, 'script-src': hashAndPolicyList }

{
"name": "@nuxt/server",
"version": "2.10.2",
"version": "2.11.0",
"repository": "nuxt/nuxt.js",

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

"dependencies": {
"@nuxt/config": "2.10.2",
"@nuxt/utils": "2.10.2",
"@nuxt/config": "2.11.0",
"@nuxt/utils": "2.11.0",
"@nuxtjs/youch": "^4.2.3",

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

"connect": "^3.7.0",
"consola": "^2.10.1",
"consola": "^2.11.1",
"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