@ibyar/platform 0.8.3 → 0.8.4

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Ibyar Expression
1
+ # Ibyar Platform
2
2
 
3
3
  [![NPM Version][npm-image]][npm-url]
4
4
  [![NPM Downloads][downloads-image]][downloads-url]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibyar/platform",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "description": "Ibyar Platform, A utility package for Aurora",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/ibyar/aurora/tree/dev/packages/platform",
@@ -9,6 +9,16 @@
9
9
  "url": "https://github.com/ibyar/aurora.git",
10
10
  "directory": "packages/platform"
11
11
  },
12
+ "bugs": {
13
+ "url": "https://github.com/ibyar/aurora/issues"
14
+ },
15
+ "author": "The Ibyar Authors (https://github.com/ibyar/aurora/graphs/contributors)",
16
+ "contributors": [
17
+ {
18
+ "name": "Muhammad Salem",
19
+ "email": "salem.ebo@gmail.com"
20
+ }
21
+ ],
12
22
  "main": "./index.js",
13
23
  "module": "./index.js",
14
24
  "types": "./index.d.ts",
@@ -24,10 +34,10 @@
24
34
  },
25
35
  "dependencies": {
26
36
  "reflect-metadata": "^0.1.13",
27
- "tslib": "^2.4.0"
37
+ "tslib": "^2.4.1"
28
38
  },
29
39
  "devDependencies": {
30
- "typescript": "^4.8.4"
40
+ "typescript": "^4.9.4"
31
41
  },
32
42
  "scripts": {
33
43
  "build": "tsc --build --verbose"
@@ -38,5 +48,5 @@
38
48
  "platform",
39
49
  "front-end"
40
50
  ],
41
- "gitHead": "9c3d7e7cf59692bd1cf6d8dfbada3f177ad53c7f"
51
+ "gitHead": "bb412fef645853fc2af3d86e14b633813a988a2b"
42
52
  }
package/patch/diff.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export declare type TrackBy<T, R = T> = (index: number, item: T) => R;
2
- export declare type DiffOptions<T, R = T> = {
1
+ export type TrackBy<T, R = T> = (index: number, item: T) => R;
2
+ export type DiffOptions<T, R = T> = {
3
3
  trackBy?: TrackBy<T, R>;
4
4
  };
5
5
  export declare enum PatchOperation {
@@ -9,13 +9,13 @@ export declare enum PatchOperation {
9
9
  MOVE = "move",
10
10
  KEEP = "keep"
11
11
  }
12
- export declare type PatchArray<T> = {
12
+ export type PatchArray<T> = {
13
13
  currentIndex: number;
14
14
  nextIndex: number;
15
15
  op: PatchOperation;
16
16
  item: T;
17
17
  };
18
- export declare type PatchObject = {
18
+ export type PatchObject = {
19
19
  key: string;
20
20
  op: PatchOperation;
21
21
  };
@@ -23,7 +23,7 @@ export declare const PatchRoot: {
23
23
  op: PatchOperation;
24
24
  root: boolean;
25
25
  };
26
- export declare type DiffPatch<T> = PatchArray<T> | PatchObject;
26
+ export type DiffPatch<T> = PatchArray<T> | PatchObject;
27
27
  export declare class JSONPatch {
28
28
  protected diffArray<T, R = T>(input: T[], output: T[], options?: DiffOptions<T, R>): PatchArray<T>[] | [typeof PatchRoot];
29
29
  protected diffObject<T = any>(input: T, output: T): PatchObject[] | [typeof PatchRoot];