🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

mongo-cursor-pagination

Package Overview
Dependencies
Maintainers
24
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongo-cursor-pagination - npm Package Compare versions

Comparing version

to
8.1.2

7

CHANGELOG.md

@@ -0,1 +1,8 @@

### [8.1.2](https://github.com/mixmaxhq/mongo-cursor-pagination/compare/v8.1.1...v8.1.2) (2022-08-26)
### Bug Fixes
* use the transpiled version in node 12 ([a705377](https://github.com/mixmaxhq/mongo-cursor-pagination/commit/a705377f0a191dd2f27482a8cd09f46ce5825829))
### [8.1.1](https://github.com/mixmaxhq/mongo-cursor-pagination/compare/v8.1.0...v8.1.1) (2022-08-26)

@@ -2,0 +9,0 @@

6

index.js

@@ -1,7 +0,7 @@

// This file was created by running mixmax-runner/scripts/migrate-module.sh
// See mixmax-runner/scripts/unmigrate-module.sh for resetting this project
const semver = require('semver');
let main;
if (semver.lt(process.version, '7.6.0')) {
// We use optional chaining (?.), so we need to use the transpiled versions
// in node versions earlier than 14.0.0:
if (semver.lt(process.version, '14.0.0')) {
main = require('./dist/node/index.js');

@@ -8,0 +8,0 @@ } else {

{
"name": "mongo-cursor-pagination",
"version": "8.1.1",
"version": "8.1.2",
"description": "Make it easy to return cursor-paginated results from a Mongo collection",

@@ -19,3 +19,3 @@ "main": "index.js",

"semantic-release": "SEMANTIC_COMMITLINT_SKIP=f4543f643bac890c627d538e6200c5f5a1d45ebc semantic-release",
"test": "DRIVER=mongoist jest && DRIVER=native jest"
"test": "npm run babelBuild; DRIVER=mongoist jest && DRIVER=native jest"
},

@@ -22,0 +22,0 @@ "repository": {