@ygracs/xepg-lib-js 0.0.19 → 0.0.21
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 +26 -76
- package/LICENSE +1 -1
- package/README.md +10 -8
- package/doc/xepgdoc-lib.md +332 -83
- package/doc/xepgdoc-spec-draft.dtd +65 -0
- package/index.js +5 -2
- package/lib/dts-helper.js +81 -32
- package/lib/file-helper.js +278 -0
- package/lib/xepgdoc-lib.js +580 -301
- package/package.json +7 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
#### *v0.0.21*
|
|
2
|
+
|
|
3
|
+
Pre-release version.
|
|
4
|
+
|
|
5
|
+
> - update `xepgdoc-lib.md`;
|
|
6
|
+
> - update dependency on `@ygracs/bsfoc-lib-js` module to v0.2.2;
|
|
7
|
+
> - update dependency on `@ygracs/dtf-lib-js` module to v0.0.27;
|
|
8
|
+
> - update dependency on `@ygracs/xobj-lib-js` module to v0.2.1;
|
|
9
|
+
> - change name for class `TXepgDTSProvider` into `TXEpgDTSProvider`;
|
|
10
|
+
> - remove method `asXML` for `TXEpgProviderContainer` class.
|
|
11
|
+
|
|
12
|
+
#### *v0.0.20*
|
|
13
|
+
|
|
14
|
+
Pre-release version.
|
|
15
|
+
|
|
16
|
+
> - `xepgdoc-lib.md` updated;
|
|
17
|
+
> - update dependency on `@ygracs/dtf-lib-js` module to v0.0.26;
|
|
18
|
+
> - updated dependency on `@ygracs/xobj-lib-js` module to v0.2.0;
|
|
19
|
+
> - add method `saveToXMLString` of `TXEpgHeaderContainer` class;
|
|
20
|
+
> - add method `saveToXMLString` of `TXEpgProviderContainer` class;
|
|
21
|
+
> - add method `chkIndex` of `TXEpgSchedulesList` class;
|
|
22
|
+
> - deprecate method `chkScheduleIndex` of `TXEpgSchedulesList` class;
|
|
23
|
+
> - some fixes in `dts-helper.js` lib-module;
|
|
24
|
+
> - `$module/lib/file-helper.js` added.
|
|
25
|
+
|
|
1
26
|
#### *v0.0.19*
|
|
2
27
|
|
|
3
28
|
Pre-release version.
|
|
@@ -82,81 +107,6 @@ Pre-release version.
|
|
|
82
107
|
> - add `TXepgDTSProvider` class;
|
|
83
108
|
> - deprecate property `SchedulesQty` of `TXEpgSchedulesList` class.
|
|
84
109
|
|
|
85
|
-
#### *v0.0.10*
|
|
86
|
-
|
|
87
|
-
Pre-release version.
|
|
88
|
-
|
|
89
|
-
> - some fixes in `xepgdoc-lib.js` module.
|
|
90
|
-
|
|
91
|
-
#### *v0.0.9*
|
|
92
|
-
|
|
93
|
-
Pre-release version.
|
|
94
|
-
|
|
95
|
-
> - `xepgdoc-lib.md` updated;
|
|
96
|
-
> - `xepgdoc-spec.md` updated;
|
|
97
|
-
> - some fixes in `xepgdoc-lib.js` module;
|
|
98
|
-
> - some fixes in `dtFunc.js` module;
|
|
99
|
-
> - `$module/lib/dts-helper.js` added;
|
|
100
|
-
> - move module `xepgdoc-lib-v2.js` to its own project;
|
|
101
|
-
> - updated dependency on `@cntwg/xml-lib-js` module to v0.0.13;
|
|
102
|
-
> - updated dependency on `@ygracs/xml-js6` module to v0.0.3b.
|
|
103
|
-
|
|
104
|
-
#### *v0.0.8*
|
|
105
|
-
|
|
106
|
-
Pre-release version.
|
|
107
|
-
|
|
108
|
-
> - updated dependency on `@cntwg/xml-lib-js` module to v0.0.10;
|
|
109
|
-
> - switch dependency from `@cntwg/bsfoc-lib-js` module to `@ygracs/bsfoc-lib-js` module.
|
|
110
|
-
|
|
111
|
-
#### *v0.0.7*
|
|
112
|
-
|
|
113
|
-
Pre-release version.
|
|
114
|
-
|
|
115
|
-
> - updated dependency on `@cntwg/bsfoc-lib-js` module to v0.0.11;
|
|
116
|
-
> - updated dependency on `@cntwg/xml-lib-js` module to v0.0.9.
|
|
117
|
-
|
|
118
|
-
#### *v0.0.6*
|
|
119
|
-
|
|
120
|
-
Pre-release version.
|
|
121
|
-
|
|
122
|
-
> - some fixes in `xepgdoc-lib.js` module.
|
|
123
|
-
|
|
124
|
-
#### *v0.0.5*
|
|
125
|
-
|
|
126
|
-
Pre-release version.
|
|
127
|
-
|
|
128
|
-
> - updated dependency on `@cntwg/bsfoc-lib-js` module to v0.0.8;
|
|
129
|
-
> - updated dependency on `@cntwg/xml-lib-js` module to v0.0.8;
|
|
130
|
-
> - add method `loadFromFileSync` to `TXEpgContentProvider` (v1);
|
|
131
|
-
> - add method `saveToFileSync` to `TXEpgContentProvider` (v1);
|
|
132
|
-
> - some fixes in `xepgdoc-lib.js` module;
|
|
133
|
-
> - `$module/lib/xepgdoc-lib-v2.js` added;
|
|
134
|
-
> - `xepgdoc-lib-v2.md` added;
|
|
135
|
-
> - `xepgdoc-spec.md` added.
|
|
136
|
-
|
|
137
|
-
#### *v0.0.4*
|
|
138
|
-
|
|
139
|
-
Pre-release version.
|
|
140
|
-
|
|
141
|
-
> - removed class `TXEpgContentBodyContainer` from `xepgdoc-lib.js` module;
|
|
142
|
-
> - merdged class `TXEpgContentContainer` into `TXEpgContentProvider`;
|
|
143
|
-
> - `xepgdoc-lib.md` added.
|
|
144
|
-
|
|
145
|
-
#### *v0.0.3*
|
|
146
|
-
|
|
147
|
-
Pre-release version.
|
|
148
|
-
|
|
149
|
-
> - updated dependency on `@cntwg/xml-lib-js` module to v0.0.7;
|
|
150
|
-
> - renamed class `TXEpgScheduleContainer` to `TXEpgSchedulesList`;
|
|
151
|
-
> - `xepgdoc-lib.md` added;
|
|
152
|
-
> - MIT-license applied.
|
|
153
|
-
|
|
154
|
-
#### *v0.0.2*
|
|
155
|
-
|
|
156
|
-
Pre-release version.
|
|
157
|
-
|
|
158
|
-
> - fixed some errors in `xepgdoc-lib.js` module.
|
|
159
|
-
|
|
160
|
-
#### *v0.0.1*
|
|
110
|
+
#### *v0.0.10-v0.0.1*
|
|
161
111
|
|
|
162
112
|
Pre-release version.
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2019-
|
|
3
|
+
Copyright (c) 2019-2025 Yuri Grachev
|
|
4
4
|
|
|
5
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
6
|
|
package/README.md
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
|***rev.*:**|0.0.
|
|
1
|
+
|***rev.*:**|0.0.7|
|
|
2
2
|
|:---|---:|
|
|
3
|
-
|***date***:|
|
|
3
|
+
|***date***:|2025-02-28|
|
|
4
4
|
|
|
5
5
|
## Introduction
|
|
6
6
|
|
|
7
7
|
This module provide a base functionality for handling an EPG-sources based on XEPG-format.
|
|
8
8
|
|
|
9
|
-
> For more information about a XEPG-format see `xepgdoc-spec.md`in the project `doc` directory.
|
|
10
|
-
|
|
11
|
-
## Use cases
|
|
12
|
-
|
|
13
|
-
This module was make for use as a library in a development of a Web-apps based on [Electron](https://en.wikipedia.org/wiki/Electron_(software_framework)) as main target.
|
|
9
|
+
> For more information about a XEPG-format see `xepgdoc-spec.md` in the project `doc` directory.
|
|
14
10
|
|
|
15
11
|
## Description
|
|
16
12
|
|
|
@@ -23,7 +19,7 @@ This module contains the following components:
|
|
|
23
19
|
- classes:
|
|
24
20
|
|
|
25
21
|
+ `TXEpgSchedulesList`;
|
|
26
|
-
+ `
|
|
22
|
+
+ `TXEpgDTSProvider`;
|
|
27
23
|
+ `TXEpgProviderContainer`;
|
|
28
24
|
+ `TXEpgHeaderContainer`;
|
|
29
25
|
+ `TXEpgContentContainer`.
|
|
@@ -37,3 +33,9 @@ For more read the `xepgdoc-lib.md` in the project `doc` directory.
|
|
|
37
33
|
- classes:
|
|
38
34
|
|
|
39
35
|
+ `TXmlContentParseOptions`;
|
|
36
|
+
|
|
37
|
+
## Use cases
|
|
38
|
+
|
|
39
|
+
### Installation
|
|
40
|
+
|
|
41
|
+
`npm install @ygracs/xepg-lib-js`
|