@e-mc/document 0.8.1 → 0.8.3

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
@@ -1,5 +1,7 @@
1
1
  ### @e-mc/document
2
2
 
3
+ https://e-mc.readthedocs.io
4
+
3
5
  ### LICENSE
4
6
 
5
7
  BSD 3-Clause
package/index.js CHANGED
@@ -627,9 +627,6 @@ class Document extends core_1.Client {
627
627
  return null;
628
628
  }
629
629
  try {
630
- if (!persist) {
631
- delete require.cache[pkgName];
632
- }
633
630
  result = require(pkgName);
634
631
  if (persist && result) {
635
632
  CACHE_REQUIRE[pkgName] = result;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/document",
3
- "version": "0.8.1",
3
+ "version": "0.8.3",
4
4
  "description": "Document constructor for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "https://github.com/anpham6/e-mc.git",
12
+ "url": "git+https://github.com/anpham6/e-mc.git",
13
13
  "directory": "src/document"
14
14
  },
15
15
  "keywords": [
@@ -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.8.1",
24
- "@e-mc/db": "0.8.1",
25
- "@e-mc/types": "0.8.1",
23
+ "@e-mc/core": "0.8.3",
24
+ "@e-mc/db": "0.8.3",
25
+ "@e-mc/types": "0.8.3",
26
26
  "chalk": "4.1.2",
27
27
  "htmlparser2": "^9.0.0",
28
28
  "js-yaml": "^4.1.0",
package/parse/dom.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { IGNORE_FLAG, DomWriterConstructor, HtmlElementConstructor } from './types';
1
+ import type { DomWriterConstructor, HtmlElementConstructor, IGNORE_FLAG } from './types';
2
2
 
3
3
  declare namespace dom {
4
4
  const IGNORE_FLAG: IGNORE_FLAG;
package/parse/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { IGNORE_FLAG, XmlWriterConstructor, XmlElementConstructor } from './types';
1
+ import type { IGNORE_FLAG, XmlElementConstructor, XmlWriterConstructor } from './types';
2
2
 
3
3
  declare namespace parse {
4
4
  const IGNORE_FLAG: IGNORE_FLAG;
package/util.d.ts CHANGED
@@ -3,7 +3,7 @@ declare namespace util {
3
3
  function loadPlugins<T = unknown>(name: string | unknown[], plugins?: unknown[]): T[];
4
4
  function replaceAll(source: string, valueOf: (name: string) => string, opening?: string, closing?: string): string;
5
5
  function concatString(values: string[] | string | undefined, newline?: string): string;
6
- function splitEnclosing(value: string, pattern?: string | RegExp, options?: { trim?: boolean, start?: number, startWith?: number, count?: number } | boolean | number, opening?: string, closing?: string): string[];
6
+ function splitEnclosing(value: string, pattern?: string | RegExp, options?: { trim?: boolean; start?: number; startWith?: number; count?: number } | boolean | number, opening?: string, closing?: string): string[];
7
7
  function appendSuffix(filename: string, value: string, separator?: string): string;
8
8
  function getIndent(value: string, spaces?: number): string;
9
9
  function getNewline(value: string): string;