lodash-walk-object 13.1.44 → 13.1.45
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/assets/shared/shared_folder_info.txt +1 -1
- package/browser/README.md +24 -24
- package/browser/esm2020/lib/index.mjs +337 -337
- package/browser/esm2020/lib/models.mjs +3 -3
- package/browser/esm2020/lodash-walk-object.mjs +4 -4
- package/browser/esm2020/public-api.mjs +1 -1
- package/browser/fesm2015/lodash-walk-object.mjs +336 -336
- package/browser/fesm2020/lodash-walk-object.mjs +336 -336
- package/browser/lib/index.d.ts +26 -26
- package/browser/lib/models.d.ts +43 -43
- package/browser/lodash-walk-object.d.ts +4 -4
- package/client/README.md +24 -24
- package/client/esm2020/lib/index.mjs +337 -337
- package/client/esm2020/lib/models.mjs +3 -3
- package/client/esm2020/lodash-walk-object.mjs +4 -4
- package/client/esm2020/public-api.mjs +1 -1
- package/client/fesm2015/lodash-walk-object.mjs +336 -336
- package/client/fesm2020/lodash-walk-object.mjs +336 -336
- package/client/lib/index.d.ts +26 -26
- package/client/lib/models.d.ts +43 -43
- package/client/lodash-walk-object.d.ts +4 -4
- package/client/package.json +33 -31
- package/index.d.ts +1 -1
- package/index.js.map +1 -1
- package/lib/index.d.ts +27 -27
- package/lib/index.js.map +1 -1
- package/lib/models.d.ts +44 -44
- package/lib/models.js.map +1 -1
- package/package.json +3 -3
- package/package.json_devDependencies.json +224 -224
- package/package.json_tnp.json5 +40 -40
- package/tmp-environment.json +37 -35
- package/websql/README.md +24 -24
- package/websql/esm2020/lib/index.mjs +337 -337
- package/websql/esm2020/lib/models.mjs +3 -3
- package/websql/esm2020/lodash-walk-object.mjs +4 -4
- package/websql/esm2020/public-api.mjs +1 -1
- package/websql/fesm2015/lodash-walk-object.mjs +336 -336
- package/websql/fesm2020/lodash-walk-object.mjs +336 -336
- package/websql/lib/index.d.ts +26 -26
- package/websql/lib/models.d.ts +43 -43
- package/websql/lodash-walk-object.d.ts +4 -4
package/browser/lib/index.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
import { Models } from './models';
|
|
3
|
-
export * from './models';
|
|
4
|
-
export declare type Iterator = (value: any, lodashPath: string, changeValueTo: (newValue: any) => void, options?: Models.AdditionalIteratorOptions) => void;
|
|
5
|
-
export declare class Helpers {
|
|
6
|
-
static get Walk(): {
|
|
7
|
-
Object(json: Object, iterator: Iterator, optionsOrWalkGettersValue?: Models.StartIteratorOptions): {
|
|
8
|
-
circs: Models.Circ[];
|
|
9
|
-
};
|
|
10
|
-
ObjectBy(property: string, inContext: Object, iterator: Iterator, options?: Models.StartIteratorOptions): {
|
|
11
|
-
circs: Models.Circ[];
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
private static _changeValue;
|
|
15
|
-
private static _prepareParams;
|
|
16
|
-
private static get _Helpers();
|
|
17
|
-
private static _shoudlReturn;
|
|
18
|
-
private static prepareOptions;
|
|
19
|
-
private static _walk;
|
|
20
|
-
}
|
|
21
|
-
export declare const walk: {
|
|
22
|
-
Object: (json: Object, iterator: Iterator, optionsOrWalkGettersValue?: Models.StartIteratorOptions) => {
|
|
23
|
-
circs: Models.Circ[];
|
|
24
|
-
};
|
|
25
|
-
ObjectBy: (property: string, inContext: Object, iterator: Iterator, options?: Models.StartIteratorOptions) => {
|
|
26
|
-
circs: Models.Circ[];
|
|
27
|
-
};
|
|
2
|
+
import { Models } from './models';
|
|
3
|
+
export * from './models';
|
|
4
|
+
export declare type Iterator = (value: any, lodashPath: string, changeValueTo: (newValue: any) => void, options?: Models.AdditionalIteratorOptions) => void;
|
|
5
|
+
export declare class Helpers {
|
|
6
|
+
static get Walk(): {
|
|
7
|
+
Object(json: Object, iterator: Iterator, optionsOrWalkGettersValue?: Models.StartIteratorOptions): {
|
|
8
|
+
circs: Models.Circ[];
|
|
9
|
+
};
|
|
10
|
+
ObjectBy(property: string, inContext: Object, iterator: Iterator, options?: Models.StartIteratorOptions): {
|
|
11
|
+
circs: Models.Circ[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
private static _changeValue;
|
|
15
|
+
private static _prepareParams;
|
|
16
|
+
private static get _Helpers();
|
|
17
|
+
private static _shoudlReturn;
|
|
18
|
+
private static prepareOptions;
|
|
19
|
+
private static _walk;
|
|
20
|
+
}
|
|
21
|
+
export declare const walk: {
|
|
22
|
+
Object: (json: Object, iterator: Iterator, optionsOrWalkGettersValue?: Models.StartIteratorOptions) => {
|
|
23
|
+
circs: Models.Circ[];
|
|
24
|
+
};
|
|
25
|
+
ObjectBy: (property: string, inContext: Object, iterator: Iterator, options?: Models.StartIteratorOptions) => {
|
|
26
|
+
circs: Models.Circ[];
|
|
27
|
+
};
|
|
28
28
|
};
|
package/browser/lib/models.d.ts
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
-
export declare namespace Models {
|
|
3
|
-
type InDBType = {
|
|
4
|
-
target: any;
|
|
5
|
-
path: string;
|
|
6
|
-
};
|
|
7
|
-
type Circ = {
|
|
8
|
-
pathToObj: string;
|
|
9
|
-
circuralTargetPath: string;
|
|
10
|
-
};
|
|
11
|
-
type Ver = {
|
|
12
|
-
v: any;
|
|
13
|
-
p: string;
|
|
14
|
-
parent: Ver;
|
|
15
|
-
isGetter?: boolean;
|
|
16
|
-
};
|
|
17
|
-
interface StartIteratorOptions {
|
|
18
|
-
walkGetters?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Default in breadhTwalk
|
|
21
|
-
*/
|
|
22
|
-
checkCircural?: boolean;
|
|
23
|
-
breadthWalk?: boolean;
|
|
24
|
-
include?: string[];
|
|
25
|
-
exclude?: string[];
|
|
26
|
-
}
|
|
27
|
-
interface AdditionalIteratorOptions extends StartIteratorOptions {
|
|
28
|
-
skipObject?: () => void;
|
|
29
|
-
isGetter?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Breadth walk will skip content of circural objects
|
|
32
|
-
*/
|
|
33
|
-
isCircural?: boolean;
|
|
34
|
-
exit?: () => void;
|
|
35
|
-
}
|
|
36
|
-
interface InternalValues extends AdditionalIteratorOptions {
|
|
37
|
-
db?: any;
|
|
38
|
-
stack?: any[];
|
|
39
|
-
circural?: Circ[];
|
|
40
|
-
hasIterator?: boolean;
|
|
41
|
-
_valueChanged: boolean;
|
|
42
|
-
_skip: boolean;
|
|
43
|
-
_exit: boolean;
|
|
44
|
-
}
|
|
2
|
+
export declare namespace Models {
|
|
3
|
+
type InDBType = {
|
|
4
|
+
target: any;
|
|
5
|
+
path: string;
|
|
6
|
+
};
|
|
7
|
+
type Circ = {
|
|
8
|
+
pathToObj: string;
|
|
9
|
+
circuralTargetPath: string;
|
|
10
|
+
};
|
|
11
|
+
type Ver = {
|
|
12
|
+
v: any;
|
|
13
|
+
p: string;
|
|
14
|
+
parent: Ver;
|
|
15
|
+
isGetter?: boolean;
|
|
16
|
+
};
|
|
17
|
+
interface StartIteratorOptions {
|
|
18
|
+
walkGetters?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Default in breadhTwalk
|
|
21
|
+
*/
|
|
22
|
+
checkCircural?: boolean;
|
|
23
|
+
breadthWalk?: boolean;
|
|
24
|
+
include?: string[];
|
|
25
|
+
exclude?: string[];
|
|
26
|
+
}
|
|
27
|
+
interface AdditionalIteratorOptions extends StartIteratorOptions {
|
|
28
|
+
skipObject?: () => void;
|
|
29
|
+
isGetter?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Breadth walk will skip content of circural objects
|
|
32
|
+
*/
|
|
33
|
+
isCircural?: boolean;
|
|
34
|
+
exit?: () => void;
|
|
35
|
+
}
|
|
36
|
+
interface InternalValues extends AdditionalIteratorOptions {
|
|
37
|
+
db?: any;
|
|
38
|
+
stack?: any[];
|
|
39
|
+
circural?: Circ[];
|
|
40
|
+
hasIterator?: boolean;
|
|
41
|
+
_valueChanged: boolean;
|
|
42
|
+
_skip: boolean;
|
|
43
|
+
_exit: boolean;
|
|
44
|
+
}
|
|
45
45
|
}
|
package/client/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# MyLib
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
-
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
# MyLib
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
|
|
8
|
+
> Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|