Socket
Socket
Sign inDemoInstall

@inquirer/core

Package Overview
Dependencies
Maintainers
3
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inquirer/core - npm Package Compare versions

Comparing version 5.1.2 to 6.0.0

2

dist/cjs/lib/pagination/use-pagination.js

@@ -12,3 +12,3 @@ "use strict";

const position_mjs_1 = require('./position.js');
function usePagination({ items, active, renderItem, pageSize = 7, loop = true, }) {
function usePagination({ items, active, renderItem, pageSize, loop = true, }) {
const state = (0, use_ref_mjs_1.useRef)({ position: 0, lastActive: 0 });

@@ -15,0 +15,0 @@ const position = loop

@@ -9,6 +9,6 @@ import { type Prettify } from '@inquirer/type';

renderItem: (layout: Prettify<Layout<T>>) => string;
/** The size of the page. `7` if unspecified. */
pageSize?: number;
/** The size of the page. */
pageSize: number;
/** Allows creating an infinitely looping list. `true` if unspecified. */
loop?: boolean;
}): string;
{
"name": "@inquirer/core",
"version": "5.1.2",
"version": "6.0.0",
"engines": {

@@ -98,3 +98,3 @@ "node": ">=14.18.0"

},
"gitHead": "6c0d1d23e6881a10bc3d718d079a0a09ba382dd5"
"gitHead": "4dee2b11d89a7c8a698c9eeda546ba8092b84f64"
}

Sorry, the diff of this file is not supported yet

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