diff --git a/lib/context.js b/lib/context.js index 11e7e8e..1b30f76 100644 --- a/lib/context.js +++ b/lib/context.js @@ -113,7 +113,7 @@ class ContextSession { } catch (err) { // backwards compatibility: // create a new session if parsing fails. - // `Buffer.alloc(size, string, 'base64')` does not seem to crash + // Buffer.alloc(size, string, 'base64') does not seem to crash // when `string` is not base64-encoded. // but `JSON.parse(string)` will crash. debug('decode %j error: %s', cookie, err); diff --git a/package.json b/package.json index d12da0b..4ab9d35 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "license": "MIT", "dependencies": { "crc": "^3.4.4", - "debug": "^2.2.0", + "debug": "^2.6.9", "is-type-of": "^1.0.0", "uid-safe": "^2.1.3" },