Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@itentialopensource/adapter-utils

Package Overview
Dependencies
Maintainers
6
Versions
215
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@itentialopensource/adapter-utils - npm Package Compare versions

Comparing version 5.3.8 to 5.3.9

10

CHANGELOG.md
## 5.3.9 [03-04-2024]
* Resolve ADAPT-3296
Closes ADAPT-3296
See merge request itentialopensource/adapter-utils!291
---
## 5.3.8 [02-13-2024]

@@ -3,0 +13,0 @@

11

lib/cacheHandler.js

@@ -313,8 +313,9 @@ /* @copyright Itential, LLC 2023 */

// Pagination is not needed when cache is enabled
// pagination: get entities limit*start to limit*(start+1) - 1
if (options.start >= 0 && options.limit > 0) { // Probably should handle this in properties.
// if last "page" then will be returning fewer items
const end = Math.min(arr.length, options.limit * (options.start + 1));
arr = arr.slice(options.limit * options.start, end);
}
// if (options.start >= 0 && options.limit > 0) { // Probably should handle this in properties.
// // if last "page" then will be returning fewer items
// const end = Math.min(arr.length, options.limit * (options.start + 1));
// arr = arr.slice(options.limit * options.start, end);
// }
return callback(arr); // for linting

@@ -321,0 +322,0 @@ });

{
"name": "@itentialopensource/adapter-utils",
"version": "5.3.8",
"version": "5.3.9",
"description": "Itential Adapter Utility Libraries",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc