@e-mc/document 0.8.18 → 0.8.20

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
@@ -9,7 +9,7 @@
9
9
 
10
10
  ## Interface
11
11
 
12
- - https://www.unpkg.com/@e-mc/types@0.8.18/lib/index.d.ts
12
+ - https://www.unpkg.com/@e-mc/types@0.8.20/lib/index.d.ts
13
13
 
14
14
  ```typescript
15
15
  import type { DataSource, ViewEngine } from "./squared";
@@ -85,14 +85,14 @@ interface DocumentConstructor extends ModuleConstructor {
85
85
 
86
86
  ## References
87
87
 
88
- - https://www.unpkg.com/@e-mc/types@0.8.18/lib/squared.d.ts
89
- - https://www.unpkg.com/@e-mc/types@0.8.18/lib/asset.d.ts
90
- - https://www.unpkg.com/@e-mc/types@0.8.18/lib/core.d.ts
91
- - https://www.unpkg.com/@e-mc/types@0.8.18/lib/document.d.ts
92
- - https://www.unpkg.com/@e-mc/types@0.8.18/lib/filemanager.d.ts
93
- - https://www.unpkg.com/@e-mc/types@0.8.18/lib/logger.d.ts
94
- - https://www.unpkg.com/@e-mc/types@0.8.18/lib/settings.d.ts
95
- - https://www.unpkg.com/@e-mc/types@0.8.18/lib/watch.d.ts
88
+ - https://www.unpkg.com/@e-mc/types@0.8.20/lib/squared.d.ts
89
+ - https://www.unpkg.com/@e-mc/types@0.8.20/lib/asset.d.ts
90
+ - https://www.unpkg.com/@e-mc/types@0.8.20/lib/core.d.ts
91
+ - https://www.unpkg.com/@e-mc/types@0.8.20/lib/document.d.ts
92
+ - https://www.unpkg.com/@e-mc/types@0.8.20/lib/filemanager.d.ts
93
+ - https://www.unpkg.com/@e-mc/types@0.8.20/lib/logger.d.ts
94
+ - https://www.unpkg.com/@e-mc/types@0.8.20/lib/settings.d.ts
95
+ - https://www.unpkg.com/@e-mc/types@0.8.20/lib/watch.d.ts
96
96
 
97
97
  ## LICENSE
98
98
 
package/asset.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ExternalAsset, InitialValue } from '../types/lib/asset';
1
+ import type { ExternalAsset, InitialValue } from '@e-mc/types/lib/asset';
2
2
 
3
3
  declare namespace asset {
4
4
  function isEqual(item: ExternalAsset, other: ExternalAsset): boolean;
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { DocumentConstructor, IFileManager } from '../types/lib';
2
-
3
- declare const Document: DocumentConstructor<IFileManager>;
4
-
1
+ import type { DocumentConstructor, IFileManager } from '@e-mc/types/lib';
2
+
3
+ declare const Document: DocumentConstructor<IFileManager>;
4
+
5
5
  export = Document;
package/index.js CHANGED
@@ -5,12 +5,12 @@ const fs = require("fs");
5
5
  const pm = require("picomatch");
6
6
  const yaml = require("js-yaml");
7
7
  const chalk = require("chalk");
8
- const types_1 = require("@e-mc/types");
9
8
  const core_1 = require("@e-mc/core");
10
9
  const db_1 = require("@e-mc/db");
11
- const util_1 = require("@e-mc/document/util");
10
+ const types_1 = require("@e-mc/types");
12
11
  const transform_1 = require("@e-mc/document/transform");
13
12
  const parse_1 = require("@e-mc/document/parse");
13
+ const util_1 = require("@e-mc/document/util");
14
14
  const PLATFORM_WIN32 = process.platform === 'win32';
15
15
  const CACHE_PACKAGE = {};
16
16
  const CACHE_REQUIRE = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/document",
3
- "version": "0.8.18",
3
+ "version": "0.8.20",
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": "MIT",
21
21
  "homepage": "https://github.com/anpham6/e-mc#readme",
22
22
  "dependencies": {
23
- "@e-mc/core": "0.8.18",
24
- "@e-mc/db": "0.8.18",
25
- "@e-mc/types": "0.8.18",
23
+ "@e-mc/core": "0.8.20",
24
+ "@e-mc/db": "0.8.20",
25
+ "@e-mc/types": "0.8.20",
26
26
  "chalk": "4.1.2",
27
27
  "htmlparser2": "^9.1.0",
28
28
  "js-yaml": "^4.1.0",
@@ -1,4 +1,4 @@
1
- import type { XmlTagNode as IXmlTagNode, TagAppend, TagData } from '../../../types/lib/squared';
1
+ import type { XmlTagNode as IXmlTagNode, TagAppend, TagData } from '@e-mc/types/lib/squared';
2
2
 
3
3
  import type { ParserOptions } from 'htmlparser2';
4
4
  import type { AnyNode, Element } from 'domhandler';
@@ -1,8 +1,8 @@
1
- import type { SourceMapConstructor, TransformSeriesConstructor } from '../../types/lib/document';
2
-
3
- declare namespace transform {
4
- const TransformSeries: TransformSeriesConstructor;
5
- const SourceMap: SourceMapConstructor;
6
- }
7
-
1
+ import type { SourceMapConstructor, TransformSeriesConstructor } from '@e-mc/types/lib/document';
2
+
3
+ declare namespace transform {
4
+ const TransformSeries: TransformSeriesConstructor;
5
+ const SourceMap: SourceMapConstructor;
6
+ }
7
+
8
8
  export = transform;