@fluidframework/map 2.0.0-internal.6.1.0 → 2.0.0-internal.6.2.0

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +4 -3
  3. package/dist/directory.d.ts.map +1 -1
  4. package/dist/directory.js +6 -3
  5. package/dist/directory.js.map +1 -1
  6. package/dist/interfaces.d.ts +1 -2
  7. package/dist/interfaces.d.ts.map +1 -1
  8. package/dist/interfaces.js.map +1 -1
  9. package/dist/internalInterfaces.d.ts.map +1 -1
  10. package/dist/internalInterfaces.js.map +1 -1
  11. package/dist/localValues.d.ts.map +1 -1
  12. package/dist/localValues.js +1 -0
  13. package/dist/localValues.js.map +1 -1
  14. package/dist/mapKernel.d.ts.map +1 -1
  15. package/dist/mapKernel.js +1 -0
  16. package/dist/mapKernel.js.map +1 -1
  17. package/dist/packageVersion.d.ts +1 -1
  18. package/dist/packageVersion.js +1 -1
  19. package/dist/packageVersion.js.map +1 -1
  20. package/lib/directory.d.ts.map +1 -1
  21. package/lib/directory.js +5 -2
  22. package/lib/directory.js.map +1 -1
  23. package/lib/interfaces.d.ts +1 -2
  24. package/lib/interfaces.d.ts.map +1 -1
  25. package/lib/interfaces.js.map +1 -1
  26. package/lib/internalInterfaces.d.ts.map +1 -1
  27. package/lib/internalInterfaces.js.map +1 -1
  28. package/lib/localValues.d.ts.map +1 -1
  29. package/lib/localValues.js +1 -0
  30. package/lib/localValues.js.map +1 -1
  31. package/lib/mapKernel.d.ts.map +1 -1
  32. package/lib/mapKernel.js +1 -0
  33. package/lib/mapKernel.js.map +1 -1
  34. package/lib/packageVersion.d.ts +1 -1
  35. package/lib/packageVersion.js +1 -1
  36. package/lib/packageVersion.js.map +1 -1
  37. package/package.json +17 -18
  38. package/src/directory.ts +6 -1
  39. package/src/interfaces.ts +6 -2
  40. package/src/internalInterfaces.ts +2 -0
  41. package/src/localValues.ts +3 -0
  42. package/src/mapKernel.ts +3 -0
  43. package/src/packageVersion.ts +1 -1
@@ -11,6 +11,7 @@ import {
11
11
  serializeHandles,
12
12
  ValueType,
13
13
  } from "@fluidframework/shared-object-base";
14
+ // eslint-disable-next-line import/no-deprecated
14
15
  import { ISerializableValue, ISerializedValue } from "./interfaces";
15
16
 
16
17
  /**
@@ -51,6 +52,7 @@ export function makeSerializable(
51
52
  localValue: ILocalValue,
52
53
  serializer: IFluidSerializer,
53
54
  bind: IFluidHandle,
55
+ // eslint-disable-next-line import/no-deprecated
54
56
  ): ISerializableValue {
55
57
  const value = localValue.makeSerialized(serializer, bind);
56
58
  return {
@@ -107,6 +109,7 @@ export class LocalValueMaker {
107
109
  * Create a new local value from an incoming serialized value.
108
110
  * @param serializable - The serializable value to make local
109
111
  */
112
+ // eslint-disable-next-line import/no-deprecated
110
113
  public fromSerializable(serializable: ISerializableValue): ILocalValue {
111
114
  // Migrate from old shared value to handles
112
115
  if (serializable.type === ValueType[ValueType.Shared]) {
package/src/mapKernel.ts CHANGED
@@ -6,6 +6,7 @@
6
6
  import { IFluidHandle } from "@fluidframework/core-interfaces";
7
7
  import { IFluidSerializer, ValueType } from "@fluidframework/shared-object-base";
8
8
  import { assert, TypedEventEmitter } from "@fluidframework/common-utils";
9
+ // eslint-disable-next-line import/no-deprecated
9
10
  import { ISerializableValue, ISerializedValue, ISharedMapEvents } from "./interfaces";
10
11
  import {
11
12
  IMapSetOperation,
@@ -59,6 +60,7 @@ export type IMapOperation = IMapKeyOperation | IMapClearOperation;
59
60
  * {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse | JSON.parse}.
60
61
  */
61
62
  export interface IMapDataObjectSerializable {
63
+ // eslint-disable-next-line import/no-deprecated
62
64
  [key: string]: ISerializableValue;
63
65
  }
64
66
 
@@ -572,6 +574,7 @@ export class MapKernel {
572
574
  * @param serializable - The remote information that we can convert into a real object
573
575
  * @returns The local value that was produced
574
576
  */
577
+ // eslint-disable-next-line import/no-deprecated
575
578
  private makeLocal(key: string, serializable: ISerializableValue): ILocalValue {
576
579
  if (
577
580
  serializable.type === ValueType[ValueType.Plain] ||
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/map";
9
- export const pkgVersion = "2.0.0-internal.6.1.0";
9
+ export const pkgVersion = "2.0.0-internal.6.2.0";