@ygracs/xobj-lib-js 0.2.0 → 0.2.1
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/CHANGELOG.md +49 -41
- package/LICENSE +9 -9
- package/README.md +18 -18
- package/doc/xObj.md +1191 -790
- package/index.js +18 -18
- package/lib/xObj-defs.js +166 -166
- package/lib/xObj-lib.js +1561 -1562
- package/package.json +41 -41
package/CHANGELOG.md
CHANGED
|
@@ -1,41 +1,49 @@
|
|
|
1
|
-
#### *v0.2.
|
|
2
|
-
|
|
3
|
-
Release version.
|
|
4
|
-
|
|
5
|
-
> - `xObj.md
|
|
6
|
-
> -
|
|
7
|
-
> - change behavior for function: `
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
> -
|
|
14
|
-
> -
|
|
15
|
-
> -
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
> -
|
|
22
|
-
> -
|
|
23
|
-
> -
|
|
24
|
-
|
|
25
|
-
#### *v0.1.
|
|
26
|
-
|
|
27
|
-
Release version.
|
|
28
|
-
|
|
29
|
-
> - updated dependency on `@ygracs/bsfoc-lib-js` module to v0.2.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
> - updated dependency on `@ygracs/bsfoc-lib-js` module to v0.
|
|
38
|
-
|
|
39
|
-
#### *v0.
|
|
40
|
-
|
|
41
|
-
|
|
1
|
+
#### *v0.2.1*
|
|
2
|
+
|
|
3
|
+
Release version.
|
|
4
|
+
|
|
5
|
+
> - update `xObj.md`;
|
|
6
|
+
> - update dependency on `@ygracs/bsfoc-lib-js` module to v0.2.2;
|
|
7
|
+
> - change behavior for function: `readXObjParamEx`, `readXObjAttrEx`, `writeXObjParamEx`, `writeXObjAttrEx` (*check the package docs*).
|
|
8
|
+
|
|
9
|
+
#### *v0.2.0*
|
|
10
|
+
|
|
11
|
+
Release version.
|
|
12
|
+
|
|
13
|
+
> - `xObj.md` updated;
|
|
14
|
+
> - change behavior for function: `deleteXObjElement`, `insertXObjElement`, `renameXObjElement` (*check the package docs*);
|
|
15
|
+
> - change behavior for function: `insertXObjEList`, `insertXObjEChain` (*check the package docs*);
|
|
16
|
+
> - change behavior for function: `writeXObjParamAsBool`, `writeXObjParamAsNum`, `writeXObjAttrAsBool`, `writeXObjAttrAsNum` (*check the package docs*);
|
|
17
|
+
> - added `insertXObjElementEx` function;
|
|
18
|
+
> - added `insertXObjEListEx` function;
|
|
19
|
+
> - added `readXObjParamEx` function;
|
|
20
|
+
> - added `readXObjAttrEx` function;
|
|
21
|
+
> - added `renameXObjAttribute` function;
|
|
22
|
+
> - deprecated `readXObjParamAsStr` function;
|
|
23
|
+
> - deprecated `readXObjAttrAsStr` function.
|
|
24
|
+
|
|
25
|
+
#### *v0.1.2*
|
|
26
|
+
|
|
27
|
+
Release version.
|
|
28
|
+
|
|
29
|
+
> - updated dependency on `@ygracs/bsfoc-lib-js` module to v0.2.1;
|
|
30
|
+
> - move some definitions from `xObj-lib.js` module into `xObj-defs.js`;
|
|
31
|
+
> - fix behavior for function: `evalXObjEName`.
|
|
32
|
+
|
|
33
|
+
#### *v0.1.1*
|
|
34
|
+
|
|
35
|
+
Release version.
|
|
36
|
+
|
|
37
|
+
> - updated dependency on `@ygracs/bsfoc-lib-js` module to v0.2.0.
|
|
38
|
+
|
|
39
|
+
#### *v0.1.0*
|
|
40
|
+
|
|
41
|
+
Release version.
|
|
42
|
+
|
|
43
|
+
> - `xObj-lib.md` updated;
|
|
44
|
+
> - change behavior for function: `insertXObjElement`, `insertXObjElements`, `insertXObjEChain`, `insertXObjEList` (***remove deprecated options parameters**. check the package docs*)
|
|
45
|
+
> - updated dependency on `@ygracs/bsfoc-lib-js` module to v0.1.4.
|
|
46
|
+
|
|
47
|
+
#### *v0.0.1-v0.0.14rc4*
|
|
48
|
+
|
|
49
|
+
Pre-release version.
|
package/LICENSE
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2019-
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019-2025 Yuri Grachev
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|***rev.*:**|0.1.2|
|
|
2
|
-
|:---|---:|
|
|
3
|
-
|***date***:|2024-09-15|
|
|
4
|
-
|
|
5
|
-
## Introduction
|
|
6
|
-
|
|
7
|
-
This module provide a helper functions for object manipulation. It was primarily written to work with a XML-parse provided by a [`xml-js`](https://www.npmjs.com/package/xml-js) module for 'Node.js' running in "compact" mode.
|
|
8
|
-
|
|
9
|
-
> Note: for more see `xObj.md` in the project `doc` directory.
|
|
10
|
-
|
|
11
|
-
> Notes on upgrade to `v0.2.0`
|
|
12
|
-
> > The `v0.2.0` is not fully compatible with a previous one due to some breaking changes. For more details read the docs for a functions used in your project.
|
|
13
|
-
|
|
14
|
-
## Use cases
|
|
15
|
-
|
|
16
|
-
### Installation
|
|
17
|
-
|
|
18
|
-
`npm install @ygracs/xobj-lib-js`
|
|
1
|
+
|***rev.*:**|0.1.2|
|
|
2
|
+
|:---|---:|
|
|
3
|
+
|***date***:|2024-09-15|
|
|
4
|
+
|
|
5
|
+
## Introduction
|
|
6
|
+
|
|
7
|
+
This module provide a helper functions for object manipulation. It was primarily written to work with a XML-parse provided by a [`xml-js`](https://www.npmjs.com/package/xml-js) module for 'Node.js' running in "compact" mode.
|
|
8
|
+
|
|
9
|
+
> Note: for more see `xObj.md` in the project `doc` directory.
|
|
10
|
+
|
|
11
|
+
> Notes on upgrade to `v0.2.0`
|
|
12
|
+
> > The `v0.2.0` is not fully compatible with a previous one due to some breaking changes. For more details read the docs for a functions used in your project.
|
|
13
|
+
|
|
14
|
+
## Use cases
|
|
15
|
+
|
|
16
|
+
### Installation
|
|
17
|
+
|
|
18
|
+
`npm install @ygracs/xobj-lib-js`
|