@warp-drive/core 5.6.0-alpha.11 → 5.6.0-alpha.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/declarations/graph/-private/edges/implicit.d.ts +30 -0
- package/declarations/graph/-private/edges/implicit.d.ts.map +1 -1
- package/declarations/graph/-private/graph.d.ts.map +1 -1
- package/declarations/request/-private/fetch.d.ts +8 -16
- package/declarations/request/-private/fetch.d.ts.map +1 -1
- package/dist/{configure-Bz49BEZQ.js → configure-BgaZESRo.js} +1 -1
- package/dist/{configure-Bz49BEZQ.js.map → configure-BgaZESRo.js.map} +1 -1
- package/dist/configure.js +1 -1
- package/dist/{context-DE5sFezZ.js → context-COmAnXUQ.js} +2 -2
- package/dist/{context-DE5sFezZ.js.map → context-COmAnXUQ.js.map} +1 -1
- package/dist/graph/-private.js +37 -29
- package/dist/graph/-private.js.map +1 -1
- package/dist/{handler-DYUefHNU.js → handler-cHghx9Y9.js} +2 -2
- package/dist/{handler-DYUefHNU.js.map → handler-cHghx9Y9.js.map} +1 -1
- package/dist/index.js +15 -24
- package/dist/index.js.map +1 -1
- package/dist/reactive/-private.js +1 -1
- package/dist/reactive.js +9 -9
- package/dist/{request-state-Bv5CY_H0.js → request-state-DgwTEXLU.js} +7 -7
- package/dist/{request-state-Bv5CY_H0.js.map → request-state-DgwTEXLU.js.map} +1 -1
- package/dist/request.js +1 -1
- package/dist/store/-private.js +3 -3
- package/dist/store.js +1 -1
- package/dist/{symbols-DyqeYQTe.js → symbols-BmDcn6hS.js} +1 -1
- package/dist/{symbols-DyqeYQTe.js.map → symbols-BmDcn6hS.js.map} +1 -1
- package/dist/types/-private.js +1 -1
- package/dist/types/request.js +1 -1
- package/dist/types/runtime.js +1 -1
- package/dist/types/symbols.js +1 -1
- package/package.json +3 -3
package/dist/request.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { c as createDeferred, g as getPromiseResult, s as setPromiseResult } from "./context-
|
|
1
|
+
export { c as createDeferred, g as getPromiseResult, s as setPromiseResult } from "./context-COmAnXUQ.js";
|
package/dist/store/-private.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { C as CollectionRecordArray, I as LiveArray, M as MUTATE, R as RecordArrayManager, l as RelatedCollection, d as SOURCE, z as Signals, S as Store, j as StoreMap, _ as _clearCaches, n as _deprecatingNormalize, b as coerceId, c as constructResource, E as consumeInternalSignal, y as defineNonEnumerableSignal, x as defineSignal, e as ensureStringId, w as entangleSignal, f as fastPush, v as gate, F as getOrCreateInternalSignal, q as getPromiseState, t as getRequestState, a as isDocumentIdentifier, i as isStableIdentifier, m as log, o as logGroup, u as memoized, D as notifyInternalSignal, p as peekCache, A as peekInternalSignal, r as recordIdentifierFor, g as removeRecordDataFor, k as setCacheFor, h as setRecordIdentifier, s as storeFor, B as withSignalStore } from "../request-state-
|
|
2
|
-
export { C as CacheHandler } from "../handler-
|
|
3
|
-
export { A as ARRAY_SIGNAL, O as OBJECT_SIGNAL, c as createMemo, w as waitFor } from "../configure-
|
|
1
|
+
export { C as CollectionRecordArray, I as LiveArray, M as MUTATE, R as RecordArrayManager, l as RelatedCollection, d as SOURCE, z as Signals, S as Store, j as StoreMap, _ as _clearCaches, n as _deprecatingNormalize, b as coerceId, c as constructResource, E as consumeInternalSignal, y as defineNonEnumerableSignal, x as defineSignal, e as ensureStringId, w as entangleSignal, f as fastPush, v as gate, F as getOrCreateInternalSignal, q as getPromiseState, t as getRequestState, a as isDocumentIdentifier, i as isStableIdentifier, m as log, o as logGroup, u as memoized, D as notifyInternalSignal, p as peekCache, A as peekInternalSignal, r as recordIdentifierFor, g as removeRecordDataFor, k as setCacheFor, h as setRecordIdentifier, s as storeFor, B as withSignalStore } from "../request-state-DgwTEXLU.js";
|
|
2
|
+
export { C as CacheHandler } from "../handler-cHghx9Y9.js";
|
|
3
|
+
export { A as ARRAY_SIGNAL, O as OBJECT_SIGNAL, c as createMemo, w as waitFor } from "../configure-BgaZESRo.js";
|
package/dist/store.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { deprecate } from '@ember/debug';
|
|
2
|
-
import { LRUCache } from
|
|
2
|
+
import { LRUCache } from './utils/string.js';
|
|
3
3
|
import { macroCondition, getGlobalConfig } from '@embroider/macros';
|
|
4
4
|
const NUMERIC_KEYS = new Set(['max-age', 's-maxage', 'stale-if-error', 'stale-while-revalidate']);
|
|
5
5
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"symbols-
|
|
1
|
+
{"version":3,"file":"symbols-BmDcn6hS.js","sources":["../src/reactive/-private/symbols.ts"],"sourcesContent":["///////////////////\n///// WARNING /////\n///////////////////\n\nimport { getOrSetGlobal } from '../../types/-private';\n\n// Great, got your attention with that warning didn't we?\n// Good. Here's the deal: typescript treats symbols as unique types.\n// If by accident a module creating a symbol is processed more than\n// once, the symbol will be different in each processing. This will\n// cause a type error.\n// It could also cause a runtime error if the symbol is used innapropriately.\n// However, this case is extremely hard to hit and would require other things\n// to go wrong first.\n//\n// So, why do the warning? And why do we lie about the types of the symbols?\n//\n// Because we intentionally create multiple copies of them within the types\n// at build time. This is because we rollup our d.ts files in order to give\n// our consumers a better experience.\n//\n// However, no tool today supports rolling up d.ts files with multiple entry\n// points correctly. The tool we use currently (vite-plugin-dts) uses @microsoft/api-extractor\n// which creates a fully unique stand-alone types file per-entry-point. Thus\n// every entry point that uses one of these symbols somewhere will have accidentally\n// created a new symbol type.\n//\n// This cast allows us to rollup these types using this tool while not encountering\n// the unique symbol type issue.\n//\n// Note that none of these symbols are part of the public API, these are used for\n// debugging DX and as a safe way to provide an intimate contract on public objects.\n\nexport const SOURCE = getOrSetGlobal('SOURCE', Symbol('#source'));\nexport const MUTATE = getOrSetGlobal('MUTATE', Symbol('#update'));\n\nexport const Destroy = getOrSetGlobal('Destroy', Symbol('Destroy'));\nexport const Identifier = getOrSetGlobal('Identifier', Symbol('Identifier'));\nexport const Editable = getOrSetGlobal('Editable', Symbol('Editable'));\nexport const Parent = getOrSetGlobal('Parent', Symbol('Parent'));\nexport const Checkout = getOrSetGlobal('Checkout', Symbol('Checkout'));\nexport const Legacy = getOrSetGlobal('Legacy', Symbol('Legacy'));\n\nexport const EmbeddedPath = getOrSetGlobal('EmbeddedPath', Symbol('EmbeddedPath'));\nexport const EmbeddedType = getOrSetGlobal('EmbeddedType', Symbol('EmbeddedType'));\n"],"names":["SOURCE","getOrSetGlobal","Symbol","Destroy","Identifier","Editable","Parent","Checkout","Legacy","EmbeddedPath","EmbeddedType"],"mappings":";;AAAA;AACA;AACA;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEO,MAAMA,MAAM,GAAGC,cAAc,CAAC,QAAQ,EAAEC,MAAM,CAAC,SAAS,CAAC;AAC1CD,cAAc,CAAC,QAAQ,EAAEC,MAAM,CAAC,SAAS,CAAC;AAEzD,MAAMC,OAAO,GAAGF,cAAc,CAAC,SAAS,EAAEC,MAAM,CAAC,SAAS,CAAC;AAC3D,MAAME,UAAU,GAAGH,cAAc,CAAC,YAAY,EAAEC,MAAM,CAAC,YAAY,CAAC;AACpE,MAAMG,QAAQ,GAAGJ,cAAc,CAAC,UAAU,EAAEC,MAAM,CAAC,UAAU,CAAC;AAC9D,MAAMI,MAAM,GAAGL,cAAc,CAAC,QAAQ,EAAEC,MAAM,CAAC,QAAQ,CAAC;AACxD,MAAMK,QAAQ,GAAGN,cAAc,CAAC,UAAU,EAAEC,MAAM,CAAC,UAAU,CAAC;AAC9D,MAAMM,MAAM,GAAGP,cAAc,CAAC,QAAQ,EAAEC,MAAM,CAAC,QAAQ,CAAC;AAExD,MAAMO,YAAY,GAAGR,cAAc,CAAC,cAAc,EAAEC,MAAM,CAAC,cAAc,CAAC;AAC1E,MAAMQ,YAAY,GAAGT,cAAc,CAAC,cAAc,EAAEC,MAAM,CAAC,cAAc,CAAC;;;;"}
|
package/dist/types/-private.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { macroCondition, getGlobalConfig } from '@embroider/macros';
|
|
2
2
|
const name = "@warp-drive/core";
|
|
3
|
-
const version = "5.6.0-alpha.
|
|
3
|
+
const version = "5.6.0-alpha.13";
|
|
4
4
|
|
|
5
5
|
// in testing mode, we utilize globals to ensure only one copy exists of
|
|
6
6
|
// these maps, due to bugs in ember-auto-import
|
package/dist/types/request.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getOrSetUniversal, getOrSetGlobal } from
|
|
1
|
+
import { getOrSetUniversal, getOrSetGlobal } from './-private.js';
|
|
2
2
|
const SkipCache = getOrSetUniversal('SkipCache', Symbol.for('wd:skip-cache'));
|
|
3
3
|
const EnableHydration = getOrSetUniversal('EnableHydration', Symbol.for('wd:enable-hydration'));
|
|
4
4
|
const IS_FUTURE = getOrSetGlobal('IS_FUTURE', Symbol('IS_FUTURE'));
|
package/dist/types/runtime.js
CHANGED
package/dist/types/symbols.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warp-drive/core",
|
|
3
|
-
"version": "5.6.0-alpha.
|
|
3
|
+
"version": "5.6.0-alpha.13",
|
|
4
4
|
"description": "Core package for WarpDrive | All the Universal Basics",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@embroider/macros": "^1.16.12",
|
|
40
|
-
"@warp-drive/build-config": "5.6.0-alpha.
|
|
40
|
+
"@warp-drive/build-config": "5.6.0-alpha.13"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@babel/core": "^7.26.10",
|
|
44
44
|
"@babel/plugin-transform-typescript": "^7.27.0",
|
|
45
45
|
"@babel/preset-typescript": "^7.27.0",
|
|
46
|
-
"@warp-drive/internal-config": "5.6.0-alpha.
|
|
46
|
+
"@warp-drive/internal-config": "5.6.0-alpha.13",
|
|
47
47
|
"decorator-transforms": "^2.3.0",
|
|
48
48
|
"ember-source": "~6.3.0",
|
|
49
49
|
"expect-type": "^1.2.1",
|