@ember-data/legacy-compat 5.9.0-alpha.21 → 5.9.0-alpha.23

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.
@@ -0,0 +1 @@
1
+ export * from "@warp-drive/legacy/compat/-private";
package/dist/-private.js CHANGED
@@ -1 +1 @@
1
- export * from '@warp-drive/legacy/compat/-private';
1
+ export * from "@warp-drive/legacy/compat/-private"
@@ -0,0 +1 @@
1
+ export * from "@warp-drive/legacy/compat/builders";
package/dist/builders.js CHANGED
@@ -1 +1 @@
1
- export * from '@warp-drive/legacy/compat/builders';
1
+ export * from "@warp-drive/legacy/compat/builders"
@@ -0,0 +1,2 @@
1
+ import { AdapterPayload, CompatStore, LegacyNetworkHandler, LegacyStoreCompat, MinimumAdapterInterface, MinimumSerializerInterface, SerializerOptions, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor } from "@warp-drive/legacy/compat";
2
+ export { type AdapterPayload, type CompatStore, LegacyNetworkHandler, type LegacyStoreCompat, type MinimumAdapterInterface, type MinimumSerializerInterface, type SerializerOptions, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor };
package/dist/index.js CHANGED
@@ -1 +1,3 @@
1
- export { LegacyNetworkHandler, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor } from '@warp-drive/legacy/compat';
1
+ import { LegacyNetworkHandler, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor } from "@warp-drive/legacy/compat";
2
+
3
+ export { LegacyNetworkHandler, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor };
@@ -0,0 +1 @@
1
+ export * from "@warp-drive/legacy/compat/utils";
package/dist/utils.js CHANGED
@@ -1 +1 @@
1
- export * from '@warp-drive/legacy/compat/utils';
1
+ export * from "@warp-drive/legacy/compat/utils"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ember-data/legacy-compat",
3
3
  "description": "Compatibility Shims for Older (Legacy) EmberData",
4
- "version": "5.9.0-alpha.21",
4
+ "version": "5.9.0-alpha.23",
5
5
  "license": "MIT",
6
6
  "author": "Chris Thoburn <runspired@users.noreply.github.com>",
7
7
  "repository": {
@@ -18,12 +18,12 @@
18
18
  "extends": "../../package.json"
19
19
  },
20
20
  "files": [
21
- "unstable-preview-types",
22
21
  "addon-main.cjs",
23
22
  "dist",
24
23
  "README.md",
25
24
  "LICENSE.md",
26
- "logos"
25
+ "logos",
26
+ "unstable-preview-types"
27
27
  ],
28
28
  "exports": {
29
29
  ".": {
@@ -43,18 +43,18 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@embroider/macros": "^1.20.6",
46
- "@warp-drive/core": "5.9.0-alpha.21",
47
- "@warp-drive/legacy": "5.9.0-alpha.21",
48
- "@warp-drive/utilities": "5.9.0-alpha.21"
46
+ "@warp-drive/core": "5.9.0-alpha.23",
47
+ "@warp-drive/legacy": "5.9.0-alpha.23",
48
+ "@warp-drive/utilities": "5.9.0-alpha.23"
49
49
  },
50
50
  "devDependencies": {
51
- "@babel/core": "^7.28.3",
52
- "@babel/plugin-transform-typescript": "^7.28.0",
53
- "@babel/preset-env": "^7.28.3",
54
- "@babel/preset-typescript": "^7.27.1",
55
- "@warp-drive/internal-config": "5.9.0-alpha.21",
56
- "typescript": "^5.9.3",
57
- "vite": "^7.3.1"
51
+ "@babel/core": "^7.29.7",
52
+ "@babel/plugin-transform-typescript": "^7.29.7",
53
+ "@babel/preset-env": "^7.29.7",
54
+ "@babel/preset-typescript": "^7.29.7",
55
+ "@warp-drive/internal-config": "5.9.0-alpha.23",
56
+ "tsdown": "^0.22.14",
57
+ "typescript": "^5.9.3"
58
58
  },
59
59
  "ember": {
60
60
  "edition": "octane"
@@ -68,8 +68,9 @@
68
68
  },
69
69
  "scripts": {
70
70
  "lint": "eslint . --quiet --cache --cache-strategy=content",
71
- "build:pkg": "vite build",
71
+ "check:types": "tsc --noEmit",
72
+ "build:pkg": "node node_modules/tsdown/dist/run.mjs",
72
73
  "sync": "echo \"syncing\"",
73
- "start": "vite"
74
+ "start": "node node_modules/tsdown/dist/run.mjs --watch"
74
75
  }
75
76
  }
@@ -1,10 +1,3 @@
1
1
  declare module '@ember-data/legacy-compat/-private' {
2
- /**
3
- * Utilities - often temporary - for maintaining backwards compatibility with
4
- * older parts of EmberData.
5
- *
6
- @module
7
- */
8
2
  export * from "@warp-drive/legacy/compat/-private";
9
-
10
3
  }
@@ -1,14 +1,3 @@
1
1
  declare module '@ember-data/legacy-compat/builders' {
2
- /**
3
- Builders for migrating from `store` methods to `store.request`.
4
-
5
- These builders enable you to migrate your codebase to using the correct syntax for `store.request` while temporarily preserving legacy behaviors.
6
- This is useful for quickly upgrading an entire app to a unified syntax while a longer incremental migration is made to shift off of adapters and serializers.
7
- To that end, these builders are deprecated and will be removed in a future version of Ember Data.
8
-
9
- @module
10
- @deprecated
11
- */
12
2
  export * from "@warp-drive/legacy/compat/builders";
13
-
14
3
  }
@@ -2,10 +2,6 @@
2
2
  /// <reference path="./utils.d.ts" />
3
3
  /// <reference path="./-private.d.ts" />
4
4
  declare module '@ember-data/legacy-compat' {
5
- /**
6
- * @module
7
- * @mergeModuleWith <project>
8
- */
9
- export { normalize, pushPayload, serializeRecord, cleanup, serializerFor, adapterFor, LegacyNetworkHandler, type MinimumAdapterInterface, type MinimumSerializerInterface, type SerializerOptions, type AdapterPayload, type LegacyStoreCompat, type CompatStore } from "@warp-drive/legacy/compat";
10
-
5
+ import { AdapterPayload, CompatStore, LegacyNetworkHandler, LegacyStoreCompat, MinimumAdapterInterface, MinimumSerializerInterface, SerializerOptions, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor } from "@warp-drive/legacy/compat";
6
+ export { type AdapterPayload, type CompatStore, LegacyNetworkHandler, type LegacyStoreCompat, type MinimumAdapterInterface, type MinimumSerializerInterface, type SerializerOptions, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor };
11
7
  }
@@ -1,11 +1,3 @@
1
1
  declare module '@ember-data/legacy-compat/utils' {
2
- /**
3
- Utilities for helping to migrate to stricter
4
- and more consistent use of IDs and types.
5
-
6
- @module
7
- @deprecated
8
- */
9
2
  export * from "@warp-drive/legacy/compat/utils";
10
-
11
3
  }