@e-mc/document 0.9.11 → 0.9.12
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 +9 -9
- package/index.js +1 -1
- package/package.json +4 -4
- package/parse/dom.js +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
## Interface
|
|
11
11
|
|
|
12
|
-
* [View Source](https://www.unpkg.com/@e-mc/types@0.9.
|
|
12
|
+
* [View Source](https://www.unpkg.com/@e-mc/types@0.9.12/lib/index.d.ts)
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
15
|
import type { DataSource, ViewEngine } from "./squared";
|
|
@@ -183,14 +183,14 @@ NOTE: **@e-mc/document** is an abstract base class and cannot be instantiated. *
|
|
|
183
183
|
|
|
184
184
|
## References
|
|
185
185
|
|
|
186
|
-
- https://www.unpkg.com/@e-mc/types@0.9.
|
|
187
|
-
- https://www.unpkg.com/@e-mc/types@0.9.
|
|
188
|
-
- https://www.unpkg.com/@e-mc/types@0.9.
|
|
189
|
-
- https://www.unpkg.com/@e-mc/types@0.9.
|
|
190
|
-
- https://www.unpkg.com/@e-mc/types@0.9.
|
|
191
|
-
- https://www.unpkg.com/@e-mc/types@0.9.
|
|
192
|
-
- https://www.unpkg.com/@e-mc/types@0.9.
|
|
193
|
-
- https://www.unpkg.com/@e-mc/types@0.9.
|
|
186
|
+
- https://www.unpkg.com/@e-mc/types@0.9.12/lib/squared.d.ts
|
|
187
|
+
- https://www.unpkg.com/@e-mc/types@0.9.12/lib/asset.d.ts
|
|
188
|
+
- https://www.unpkg.com/@e-mc/types@0.9.12/lib/core.d.ts
|
|
189
|
+
- https://www.unpkg.com/@e-mc/types@0.9.12/lib/document.d.ts
|
|
190
|
+
- https://www.unpkg.com/@e-mc/types@0.9.12/lib/filemanager.d.ts
|
|
191
|
+
- https://www.unpkg.com/@e-mc/types@0.9.12/lib/logger.d.ts
|
|
192
|
+
- https://www.unpkg.com/@e-mc/types@0.9.12/lib/settings.d.ts
|
|
193
|
+
- https://www.unpkg.com/@e-mc/types@0.9.12/lib/watch.d.ts
|
|
194
194
|
|
|
195
195
|
## LICENSE
|
|
196
196
|
|
package/index.js
CHANGED
|
@@ -7,9 +7,9 @@ const chalk = require("chalk");
|
|
|
7
7
|
const types_1 = require("@e-mc/types");
|
|
8
8
|
const core_1 = require("@e-mc/core");
|
|
9
9
|
const db_1 = require("@e-mc/db");
|
|
10
|
-
const util_1 = require("@e-mc/document/util");
|
|
11
10
|
const transform_1 = require("@e-mc/document/transform");
|
|
12
11
|
const parse_1 = require("@e-mc/document/parse");
|
|
12
|
+
const util_1 = require("@e-mc/document/util");
|
|
13
13
|
const PLATFORM_WIN32 = process.platform === 'win32';
|
|
14
14
|
const CACHE_PACKAGE = {};
|
|
15
15
|
const CACHE_REQUIRE = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@e-mc/document",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.12",
|
|
4
4
|
"description": "Document constructor for E-mc.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"license": "BSD 3-Clause",
|
|
21
21
|
"homepage": "https://github.com/anpham6/e-mc#readme",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@e-mc/core": "0.9.
|
|
24
|
-
"@e-mc/db": "0.9.
|
|
25
|
-
"@e-mc/types": "0.9.
|
|
23
|
+
"@e-mc/core": "0.9.12",
|
|
24
|
+
"@e-mc/db": "0.9.12",
|
|
25
|
+
"@e-mc/types": "0.9.12",
|
|
26
26
|
"chalk": "4.1.2",
|
|
27
27
|
"htmlparser2": "^9.1.0",
|
|
28
28
|
"js-yaml": "^4.1.0",
|
package/parse/dom.js
CHANGED
|
@@ -4,9 +4,9 @@ const htmlparser2 = require("htmlparser2");
|
|
|
4
4
|
const domhandler = require("domhandler");
|
|
5
5
|
const domutils = require("domutils");
|
|
6
6
|
const types_1 = require("@e-mc/types");
|
|
7
|
-
const util_1 = require("@e-mc/document/util");
|
|
8
7
|
const index_1 = require("@e-mc/document/parse");
|
|
9
8
|
Object.defineProperty(exports, "IGNORE_FLAG", { enumerable: true, get: function () { return index_1.IGNORE_FLAG; } });
|
|
9
|
+
const util_1 = require("@e-mc/document/util");
|
|
10
10
|
const Parser = htmlparser2.Parser;
|
|
11
11
|
const DomHandler = domhandler.DomHandler;
|
|
12
12
|
const TAG_VOID = ['area', 'base', 'br', 'col', 'embed', 'hr', 'img', 'input', 'link', 'meta', 'param', 'source', 'track', 'wbr'];
|