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

gqty

Package Overview
Dependencies
Maintainers
1
Versions
318
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gqty - npm Package Compare versions

Comparing version 2.3.0-alpha-2a632b3.0 to 2.3.0-alpha-2b05e17.0

8

Cache/dataCache.js

@@ -6,8 +6,4 @@ 'use strict';

const object = require('../Utils/object.js');
const mergeWith = require('lodash/mergeWith.js');
const mergeWith = require('@gqty/utils/mergeWith');
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
const mergeWith__default = /*#__PURE__*/_interopDefault(mergeWith);
function createCache(normalization) {

@@ -33,3 +29,3 @@ const cache = {};

normalization == null ? void 0 : normalization.scanNormalizedObjects(data);
mergeWith__default["default"](cache, { [prefix]: data }, onObjectMergeConflict);
mergeWith.mergeWith(cache, { [prefix]: data }, onObjectMergeConflict);
}

@@ -36,0 +32,0 @@ return {

@@ -7,3 +7,3 @@ 'use strict';

const cycle = require('../Utils/cycle.js');
require('lodash/mergeWith.js');
require('@gqty/utils/mergeWith');

@@ -10,0 +10,0 @@ function createPersistenceHelpers(clientCache, selectionManager) {

@@ -11,3 +11,3 @@ 'use strict';

const object = require('../Utils/object.js');
require('lodash/mergeWith.js');
require('@gqty/utils/mergeWith');
const promise = require('../Utils/promise.js');

@@ -14,0 +14,0 @@

@@ -6,3 +6,3 @@ 'use strict';

const object = require('../Utils/object.js');
require('lodash/mergeWith.js');
require('@gqty/utils/mergeWith');

@@ -9,0 +9,0 @@ function getFields(accessor, ...keys) {

@@ -6,3 +6,3 @@ 'use strict';

const object = require('../Utils/object.js');
require('lodash/mergeWith.js');
require('@gqty/utils/mergeWith');

@@ -9,0 +9,0 @@ function getFirstNonNullValue(list) {

@@ -6,3 +6,3 @@ 'use strict';

const object = require('../Utils/object.js');
require('lodash/mergeWith.js');
require('@gqty/utils/mergeWith');

@@ -9,0 +9,0 @@ function selectFields(accessor, fields = "*", recursionDepth = 1) {

@@ -7,8 +7,4 @@ 'use strict';

const object = require('../Utils/object.js');
const mergeWith = require('lodash/mergeWith.js');
const mergeWith = require('@gqty/utils/mergeWith');
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
const mergeWith__default = /*#__PURE__*/_interopDefault(mergeWith);
function toString(v) {

@@ -162,3 +158,3 @@ switch (typeof v) {

if (currentObject !== incomingValue) {
return normalizedCache[idNewValue] = mergeWith__default["default"]({}, currentObject, incomingValue, onObjectMergeConflict);
return normalizedCache[idNewValue] = mergeWith.mergeWith({}, currentObject, incomingValue, onObjectMergeConflict);
}

@@ -165,0 +161,0 @@ return incomingValue;

{
"name": "gqty",
"version": "2.3.0-alpha-2a632b3.0",
"version": "2.3.0-alpha-2b05e17.0",
"description": "gqty client without queries",

@@ -15,4 +15,3 @@ "sideEffects": false,

"dependencies": {
"@gqty/utils": "^1.0.0-alpha-2a632b3.0",
"lodash": "^4.17.21"
"@gqty/utils": "^0.1.0-alpha-2b05e17.0"
},

@@ -31,3 +30,2 @@ "repository": {

"module": "index.mjs",
"types": "index.d.ts",
"exports": {

@@ -34,0 +32,0 @@ ".": {

@@ -6,3 +6,3 @@ 'use strict';

const object = require('../Utils/object.js');
require('lodash/mergeWith.js');
require('@gqty/utils/mergeWith');
const cachedJSON = require('../Utils/cachedJSON.js');

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

@@ -7,3 +7,3 @@ 'use strict';

const debounce = require('../Utils/debounce.js');
require('lodash/mergeWith.js');
require('@gqty/utils/mergeWith');
const promise = require('../Utils/promise.js');

@@ -10,0 +10,0 @@

@@ -40,3 +40,3 @@ 'use strict';

function isSelectionsBackup(selectionsBackup) {
return Array.isArray(selectionsBackup) && Array.isArray(selectionsBackup[0]) && Array.isArray(selectionsBackup[1]) && Array.isArray(selectionsBackup[2]) && selectionsBackup[3] === selectionsBackupVersion;
return Array.isArray(selectionsBackup) && Array.isArray(selectionsBackup[0]) && selectionsBackup[1] === selectionsBackupVersion;
}

@@ -62,3 +62,3 @@ let uniqueSelectionId = 0;

restoredBackup = backup2;
for (const [stringKey, hashIdValue] of backup2[1]) {
for (const [stringKey, hashIdValue] of backup2[0]) {
stringsHash[stringKey] = hashIdValue;

@@ -65,0 +65,0 @@ }

@@ -6,4 +6,4 @@ export declare const isInteger: (v: any) => v is number;

export * from './cycle';
export { default as mergeWith } from 'lodash/mergeWith.js';
export { mergeWith } from '@gqty/utils/mergeWith';
export * from './selectionsInclude';
export * from './promise';

@@ -8,10 +8,6 @@ 'use strict';

const cycle = require('./cycle.js');
const mergeWith = require('lodash/mergeWith.js');
const mergeWith = require('@gqty/utils/mergeWith');
const selectionsInclude = require('./selectionsInclude.js');
const promise = require('./promise.js');
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
const mergeWith__default = /*#__PURE__*/_interopDefault(mergeWith);
const isInteger = (v) => Number.isInteger(v);

@@ -35,3 +31,3 @@ function isEmptyObject(obj) {

enumerable: true,
get: function () { return mergeWith__default["default"]; }
get: function () { return mergeWith.mergeWith; }
});

@@ -38,0 +34,0 @@ exports.isAnySelectionIncluded = selectionsInclude.isAnySelectionIncluded;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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