@nxtedition/rocksdb 15.2.1 → 15.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/binding.cc +6 -6
  2. package/package.json +1 -1
package/binding.cc CHANGED
@@ -591,13 +591,13 @@ class Iterator final : public BaseIterator {
591
591
 
592
592
  bytesRead += CurrentKey().size() + CurrentValue().size();
593
593
 
594
- // if (keyFilter_ && !re2::RE2::PartialMatch(CurrentKey().ToStringView(), *keyFilter_)) {
595
- // continue;
596
- // }
594
+ if (keyFilter_ && !re2::RE2::PartialMatch(CurrentKey().ToStringView(), *keyFilter_)) {
595
+ continue;
596
+ }
597
597
 
598
- // if (valueFilter_ && !re2::RE2::PartialMatch(CurrentValue().ToStringView(), *valueFilter_)) {
599
- // continue;
600
- // }
598
+ if (valueFilter_ && !re2::RE2::PartialMatch(CurrentValue().ToStringView(), *valueFilter_)) {
599
+ continue;
600
+ }
601
601
 
602
602
  if (keys_ && values_) {
603
603
  rocksdb::PinnableSlice k;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/rocksdb",
3
- "version": "15.2.1",
3
+ "version": "15.2.2",
4
4
  "description": "A low-level Node.js RocksDB binding",
5
5
  "license": "MIT",
6
6
  "main": "index.js",