Comparing version 3.0.0-canary-20240421092859.51567005c5bcf38543a73f7661b7889e6034d374 to 3.0.0-canary-20240421092950.f6e0cfd461e459107f632cfe4e231af4ab97a791
@@ -5,2 +5,3 @@ 'use strict'; | ||
const frailMap = require('frail-map'); | ||
const set = require('just-safe-set'); | ||
@@ -10,3 +11,2 @@ const multidict = require('multidict'); | ||
const deepCopy = require('../Helpers/deepCopy.js'); | ||
const FrailMap = require('../Helpers/FrailMap.js'); | ||
require('../Utils/hash.js'); | ||
@@ -63,3 +63,3 @@ const select = require('../Helpers/select.js'); | ||
*/ | ||
__privateAdd(this, _data, new FrailMap.FrailMap()); | ||
__privateAdd(this, _data, new frailMap.FrailMap()); | ||
/** Look up table for normalized objects. */ | ||
@@ -168,4 +168,4 @@ __privateAdd(this, _normalizedObjects, /* @__PURE__ */ new Map()); | ||
const { query, mutation, subscription, normalizedObjects } = (_a = persistence.importCacheSnapshot(data, this.normalizationOptions)) != null ? _a : {}; | ||
__privateSet(this, _normalizedObjects, normalizedObjects != null ? normalizedObjects : new FrailMap.FrailMap()); | ||
__privateSet(this, _data, new FrailMap.FrailMap()); | ||
__privateSet(this, _normalizedObjects, normalizedObjects != null ? normalizedObjects : new frailMap.FrailMap()); | ||
__privateSet(this, _data, new frailMap.FrailMap()); | ||
this.set({ query, mutation, subscription }, { skipNotify: true }); | ||
@@ -172,0 +172,0 @@ } |
@@ -0,3 +1,3 @@ | ||
import { FrailMap } from 'frail-map'; | ||
import type { Cache, CacheLeaf, CacheNode, CacheObject, CacheRoot } from '.'; | ||
import { FrailMap } from '../Helpers/FrailMap'; | ||
import { type CacheNormalizationHandler, type NormalizedObjectShell } from './normalization'; | ||
@@ -4,0 +4,0 @@ export type Persistors = { |
@@ -6,4 +6,4 @@ 'use strict'; | ||
const flatted = require('flatted'); | ||
const frailMap = require('frail-map'); | ||
const index = require('../Error/index.js'); | ||
const FrailMap = require('../Helpers/FrailMap.js'); | ||
const deepCopy = require('../Helpers/deepCopy.js'); | ||
@@ -52,3 +52,3 @@ require('../Utils/hash.js'); | ||
}, | ||
new FrailMap.FrailMap() | ||
new frailMap.FrailMap() | ||
); | ||
@@ -55,0 +55,0 @@ } |
@@ -15,3 +15,2 @@ 'use strict'; | ||
require('flatted'); | ||
require('../Helpers/FrailMap.js'); | ||
const getFields = require('../Helpers/getFields.js'); | ||
@@ -18,0 +17,0 @@ const prepass = require('../Helpers/prepass.js'); |
export * from './casters'; | ||
export * from './deepCopy'; | ||
export * from './FrailMap'; | ||
export * from './getFields'; | ||
@@ -5,0 +4,0 @@ export * from './prepass'; |
@@ -7,3 +7,2 @@ 'use strict'; | ||
const deepCopy = require('./deepCopy.js'); | ||
const FrailMap = require('./FrailMap.js'); | ||
const getFields = require('./getFields.js'); | ||
@@ -19,3 +18,2 @@ const prepass = require('./prepass.js'); | ||
exports.deepCopy = deepCopy.deepCopy; | ||
exports.FrailMap = FrailMap.FrailMap; | ||
exports.getArrayFields = getFields.getArrayFields; | ||
@@ -22,0 +20,0 @@ exports.getFields = getFields.getFields; |
@@ -1,4 +0,4 @@ | ||
import { FrailMap } from './FrailMap'; | ||
import { FrailMap } from 'frail-map'; | ||
export declare class InfiniteFrailMap<K extends object, V> extends FrailMap<K, V | InfiniteFrailMap<K, V | InfiniteFrailMap<K, V>>> { | ||
get(key: K): V | InfiniteFrailMap<K, V | InfiniteFrailMap<K, V>>; | ||
} |
@@ -5,5 +5,5 @@ 'use strict'; | ||
const FrailMap = require('./FrailMap.js'); | ||
const frailMap = require('frail-map'); | ||
class InfiniteFrailMap extends FrailMap.FrailMap { | ||
class InfiniteFrailMap extends frailMap.FrailMap { | ||
get(key) { | ||
@@ -10,0 +10,0 @@ var _a; |
@@ -10,3 +10,2 @@ 'use strict'; | ||
const deepCopy = require('./Helpers/deepCopy.js'); | ||
const FrailMap = require('./Helpers/FrailMap.js'); | ||
const getFields = require('./Helpers/getFields.js'); | ||
@@ -32,3 +31,2 @@ const prepass = require('./Helpers/prepass.js'); | ||
exports.deepCopy = deepCopy.deepCopy; | ||
exports.FrailMap = FrailMap.FrailMap; | ||
exports.getArrayFields = getFields.getArrayFields; | ||
@@ -35,0 +33,0 @@ exports.getFields = getFields.getFields; |
{ | ||
"name": "gqty", | ||
"version": "3.0.0-canary-20240421092859.51567005c5bcf38543a73f7661b7889e6034d374", | ||
"version": "3.0.0-canary-20240421092950.f6e0cfd461e459107f632cfe4e231af4ab97a791", | ||
"description": "gqty client without queries", | ||
@@ -24,2 +24,3 @@ "sideEffects": false, | ||
"flatted": "^3.2.7", | ||
"frail-map": "^1.0.9", | ||
"just-extend": "^6.2.0", | ||
@@ -26,0 +27,0 @@ "just-has": "^2.3.0", |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
275777
14
159
7867
+ Addedfrail-map@^1.0.9
+ Addedfrail-map@1.0.10(transitive)