markdown-magic 3.0.1 → 3.0.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/lib/cli.js CHANGED
@@ -15,9 +15,6 @@ const defaultConfigPath = 'md.config.js'
15
15
 
16
16
  const ARRAY_REGEX = /^\[(.*)\]$/
17
17
 
18
- /** @type {BUILD_VERSION} */
19
- const x = 'f'
20
-
21
18
  function isArrayLike(str) {
22
19
  if (typeof str !== 'string') return false
23
20
  return Boolean(ARRAY_REGEX.test(str))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markdown-magic",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "description": "Automatically update markdown files with content from external sources",
5
5
  "main": "lib/index.js",
6
6
  "bin": {
package/lib/globals.d.ts DELETED
@@ -1,66 +0,0 @@
1
- export {}
2
-
3
- declare global {
4
- const BUILD_VERSION: string;
5
- interface TestGlob {
6
- greeting: string;
7
- duration?: number;
8
- color?: string;
9
- }
10
- }
11
-
12
-
13
-
14
- export type TinyProps = {
15
- message: string;
16
- count: number;
17
- disabled: boolean;
18
- };
19
-
20
- declare var Age: number;
21
-
22
- declare function greetTwo(greeting: string): void;
23
-
24
- interface GreetingSettings {
25
- greeting: string;
26
- duration?: number;
27
- color?: string;
28
- }
29
- declare function greet(setting: GreetingSettings): void;
30
-
31
- export namespace testFnTypes {
32
- type input = boolean | Function;
33
- }
34
-
35
- // Use namespaces to organize types.
36
- // Ref like GreetingLib.LogOptions
37
- export declare namespace GreetingLib {
38
- interface LogOptions {
39
- verbose?: boolean;
40
- }
41
- interface AlertOptions {
42
- modal: boolean;
43
- title?: string;
44
- color?: string;
45
- }
46
- }
47
-
48
- export declare namespace Xyz.Options {
49
- // Refer to via Xyz.Options.Log
50
- interface Log {
51
- verbose?: boolean;
52
- }
53
- interface Alert {
54
- modal: boolean;
55
- title?: string;
56
- color?: string;
57
- }
58
- }
59
-
60
- export namespace Dotted {
61
- type Name = number;
62
- }
63
-
64
- export declare class A {
65
- static foo(): void;
66
- }