@kawalir/extension-node 2.0.2 → 2.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/CHANGELOG.md CHANGED
@@ -1,22 +1 @@
1
- # New
2
-
3
- Central object and namespace `Kawalir` holding all functions and types
4
-
5
- # Breaking Changes
6
-
7
- ## Dependencies
8
-
9
- Update to @kawalir/extension@2.0.2 with its **big list** of breaking changes (see CHANGELOG.md [here](https://www.npmjs.com/package/@kawalir/extension/v/2.0.0?activeTab=code))
10
-
11
- ## Removed/Moved
12
-
13
- - Methods
14
- - `Console.ReadLine` -> `Kawalir.Console.Read.line`
15
- - Global objects
16
- - `Path` -> `Kawalir.Node.Path`
17
- - `FileSystem` -> `Kawalir.Node.FileSystem`
18
- - `Process` -> `Kawalir.Process`
19
- - The following globally available classes are no longer globally available and need to be imported instead:
20
- - `Folder`
21
- - `TextFile`
22
- - `JsonFile`
1
+ Declaration fixes
@@ -1,12 +1,10 @@
1
1
  import * as KAW from "@kawalir/extension/Kawalir";
2
2
  import * as CORE from "../Core";
3
3
 
4
- declare global {
5
- var Kawalir: KAW.Kawalir & {
4
+ declare module "@kawalir/extension/Kawalir" {
5
+ interface Kawalir {
6
6
  Node: typeof CORE.NodeFunctions;
7
7
  Console: typeof CORE.ConsoleFunctions;
8
8
  Process: typeof CORE.ProcessFunctions;
9
- };
9
+ }
10
10
  }
11
-
12
- export {};
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "Node",
8
8
  "Node Extension"
9
9
  ],
10
- "version": "2.0.2",
10
+ "version": "2.0.3",
11
11
  "author": "Denis Mijatovic",
12
12
  "license": "MIT",
13
13
  "type": "commonjs",