Comparing version 2.0.4 to 2.0.5
@@ -0,1 +1,11 @@ | ||
<a name="2.0.5"></a> | ||
## [2.0.5](https://github.com/mongodb/js-bson/compare/v2.0.4...v2.0.5) (2018-04-06) | ||
### Bug Fixes | ||
* **regexp:** properly construct new BSONRegExp when constructor called without new ([#242](https://github.com/mongodb/js-bson/issues/242)) ([93ae799](https://github.com/mongodb/js-bson/commit/93ae799)) | ||
<a name="2.0.4"></a> | ||
@@ -2,0 +12,0 @@ ## [2.0.4](https://github.com/mongodb/js-bson/compare/v2.0.3...v2.0.4) (2018-03-12) |
@@ -17,3 +17,3 @@ 'use strict'; | ||
function BSONRegExp(pattern, options) { | ||
if (!(this instanceof BSONRegExp)) return new BSONRegExp(); | ||
if (!(this instanceof BSONRegExp)) return new BSONRegExp(pattern, options); | ||
@@ -20,0 +20,0 @@ // Execute |
@@ -15,3 +15,3 @@ { | ||
], | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"author": "Christian Amor Kvalheim <christkv@gmail.com>", | ||
@@ -18,0 +18,0 @@ "license": "Apache-2.0", |
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
682616
19173