@indra.ai/deva 1.2.2 → 1.2.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.
Files changed (2) hide show
  1. package/index.js +11 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -28,14 +28,25 @@ class Deva {
28
28
  this._business = false; // inherited Business features.
29
29
  this._legal = false; // inherited Legal features.
30
30
  this._assistant = false; // inherited Assistant features.
31
+ this.os = require('os'); // It is used to provide basic operating system related utility functions.
32
+ this.buffer = require('buffer'); // It is used to provide basic operating system related utility functions.
33
+ this.util = require('util'); // The supports the needs of internal APIs.
34
+ this.querystring = require('querystring'); // Provides utilities for parsing and formatting URL query strings.
31
35
  this.fs = require('fs'); // this is so file system functions are in the core.
32
36
  this.path = require('path'); // this is so we can get path in the system.
37
+ this.crypto = require('crypto'); // It is used to support cryptography for encryption and decryption.
38
+ this.zlib = require('zlib'); // provides compression functionality using Gzip, Deflate/Inflate, and Brotli.
39
+ this.console = require('console'); // It is used to write data to console.
40
+ this.readline = require('readline/promises'); // It is used to write data to console.
33
41
  this.dns = require('dns'); // It is used to lookup and resolve on domain names.
34
42
  this.net = require('net'); // It used to create TCP server/client communicate using TCP protocol.
35
43
  this.http = require('http'); // It is used to create Http server and Http client.
36
44
  this.https = require('https'); // It is used to create Http server and Http client.
37
45
  this.stream = require('stream/promises'); // It is used to stream data between two entities.
38
46
  this.url = require('url'); // It is used for URL resolution and parsing.
47
+ this.vm = require('vm'); // It provides an access to virtual machine to compile and execute code.
48
+ this.inspector = require('inspector'); // It is used to stream data between two entities.
49
+ this.cluster = require('cluster'); // used to take advantage of multi-core systems.
39
50
  this.assert = require('assert'); // It is used for testing itself.
40
51
  this.events = opts.events || new EventEmitter({}); // Event Bus
41
52
  this.libs = opts.libs || {}; // used for loading library functions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "scripts": {