@vue/apollo-util
Advanced tools
Comparing version 4.0.0-alpha.15 to 4.0.0-alpha.16
@@ -17,7 +17,7 @@ "use strict"; | ||
var message = _a.message, locations = _a.locations; | ||
messages.push("[GraphQL error] " + message); | ||
messages.push("[GraphQL error] ".concat(message)); | ||
if (operation) { | ||
messages.push(logOperation(printedQuery, locations)); | ||
if (Object.keys(operation.variables).length) { | ||
messages.push("with variables: " + JSON.stringify(operation.variables, null, 2)); | ||
messages.push("with variables: ".concat(JSON.stringify(operation.variables, null, 2))); | ||
} | ||
@@ -28,3 +28,3 @@ } | ||
if (networkError) | ||
messages.push("[Network error] " + networkError); | ||
messages.push("[Network error] ".concat(networkError)); | ||
if (stack) | ||
@@ -41,3 +41,3 @@ messages.push(stack); | ||
var tag = result[1], msg = result[2]; | ||
console.log("%c" + tag, 'color:white;border-radius:3px;background:#ff4400;font-weight:bold;padding:2px 6px;', msg); | ||
console.log("%c".concat(tag), 'color:white;border-radius:3px;background:#ff4400;font-weight:bold;padding:2px 6px;', msg); | ||
} | ||
@@ -54,3 +54,3 @@ else { | ||
stack = stack.substr(stack.indexOf('\n', newLineIndex + 1)); | ||
console.log("%c" + stack, 'color:grey;'); | ||
console.log("%c".concat(stack), 'color:grey;'); | ||
} | ||
@@ -57,0 +57,0 @@ } |
{ | ||
"name": "@vue/apollo-util", | ||
"version": "4.0.0-alpha.15", | ||
"version": "4.0.0-alpha.16", | ||
"description": "Apollo GraphQL for Vue - Utilities", | ||
@@ -35,6 +35,3 @@ "repository": { | ||
}, | ||
"devDependencies": { | ||
"typescript": "^4" | ||
}, | ||
"gitHead": "e952766bcf556791402fbaf90498fff7ef362d1f" | ||
"gitHead": "cb0e79489177be4d4c90cbe8a442e812c194cb4a" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8646
0