Socket
Socket
Sign inDemoInstall

kinvey-js-sdk

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kinvey-js-sdk - npm Package Compare versions

Comparing version 3.13.0-next.8 to 3.13.0-next.9

2

package.json
{
"name": "kinvey-js-sdk",
"description": "Kinvey JavaScript SDK for JavaScript applications.",
"version": "3.13.0-next.8",
"version": "3.13.0-next.9",
"license": "Apache-2.0",

@@ -6,0 +6,0 @@ "homepage": "https://github.com/Kinvey/js-sdk/tree/master/packages/js-sdk",

@@ -408,3 +408,3 @@ import isArray from 'lodash/isArray';

const pageCounts = await Promise.all(pagePromises);
const totalPageCount = pageCounts.reduce((totalCount, pageCount) => totalCount + pageCount, 0);
const totalPageCount = pageCounts.reduce((totalCount: number, pageCount: number) => totalCount + pageCount, 0);

@@ -411,0 +411,0 @@ // Update the query cache

import isString from 'lodash/isString';
import PQueue from 'p-queue';
import { Base64 } from 'js-base64';
import { ConfigKey, getConfig } from '../config';

@@ -4,0 +5,0 @@ import { InvalidCredentialsError } from '../errors/invalidCredentials';

@@ -99,9 +99,3 @@ import isNumber from 'lodash/isNumber';

set limit(limit) {
let _limit = limit;
if (isString(_limit)) {
_limit = parseFloat(_limit);
}
if (limit && !isNumber(_limit)) {
if (limit && !isNumber(limit)) {
throw new QueryError('limit must be a number');

@@ -111,5 +105,5 @@ }

if (this._parent) {
this._parent.limit = _limit;
this._parent.limit = limit;
} else {
this._limit = _limit;
this._limit = limit;
}

@@ -123,9 +117,3 @@ }

set skip(skip) {
let _skip = skip;
if (isString(_skip)) {
_skip = parseFloat(_skip);
}
if (!isNumber(_skip)) {
if (!isNumber(skip)) {
throw new QueryError('skip must be a number');

@@ -135,5 +123,5 @@ }

if (this._parent) {
this._parent.skip = _skip;
this._parent.skip = skip;
} else {
this._skip = _skip;
this._skip = skip;
}

@@ -140,0 +128,0 @@ }

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