Comparing version 0.20.12 to 0.20.13
# Master (Unreleased) | ||
# 0.20.13 - 23 March, 2020 | ||
### Bug fixes: | ||
- Correctly handle dateToString escaping without timezone passed #3742 | ||
- Make protocol length check more defensive #3744 | ||
### Typings: | ||
- Make the ChainableInterface conform to Promise<T> #3724 | ||
# 0.20.12 - 19 March, 2020 | ||
@@ -4,0 +15,0 @@ |
@@ -95,3 +95,7 @@ const { isEmpty, map, clone } = require('lodash'); | ||
Object.defineProperty(Target.prototype, Symbol.toStringTag, { | ||
get: () => 'object', | ||
}); | ||
finallyMixin(Target.prototype); | ||
}; |
@@ -104,3 +104,3 @@ /*eslint max-len: 0, no-var:0 */ | ||
function dateToString(date, finalEscape, ctx) { | ||
function dateToString(date, finalEscape, ctx = {}) { | ||
const timeZone = ctx.timeZone || 'local'; | ||
@@ -107,0 +107,0 @@ |
@@ -9,3 +9,3 @@ const url = require('url'); | ||
let { protocol } = parsed; | ||
const isDriveLetter = isWindows && protocol.length === 2; | ||
const isDriveLetter = isWindows && protocol && protocol.length === 2; | ||
if (protocol === null || isDriveLetter) { | ||
@@ -12,0 +12,0 @@ return { |
{ | ||
"name": "knex", | ||
"version": "0.20.12", | ||
"version": "0.20.13", | ||
"description": "A batteries-included SQL query & schema builder for Postgres, MySQL and SQLite3 and the Browser", | ||
@@ -5,0 +5,0 @@ "main": "knex.js", |
Sorry, the diff of this file is too big to display
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
571791
15161